kmdi Library API Documentation

kmdiiterator.h

00001 //---------------------------------------------------------------------------- 00002 // filename : kmdiiterator.h 00003 //---------------------------------------------------------------------------- 00004 // Project : KDE MDI extension 00005 // 00006 // begin : 02/2000 by Massimo Morin 00007 // changes : 02/2000 by Falk Brettschneider to create an 00008 // - 06/2000 stand-alone Qt extension set of 00009 // classes and a Qt-based library 00010 // 2000-2003 maintained by the KDevelop project 00011 // 00012 // copyright : (C) 1999-2003 by Massimo Morin (mmorin@schedsys.com) 00013 // and 00014 // Falk Brettschneider 00015 // email : falkbr@kdevelop.org (Falk Brettschneider) 00016 //---------------------------------------------------------------------------- 00017 // 00018 //---------------------------------------------------------------------------- 00019 // 00020 // This program is free software; you can redistribute it and/or modify 00021 // it under the terms of the GNU Library General Public License as 00022 // published by the Free Software Foundation; either version 2 of the 00023 // License, or (at your option) any later version. 00024 // 00025 //---------------------------------------------------------------------------- 00026 00027 #ifndef _KMDIITERATOR_H_ 00028 #define _KMDIITERATOR_H_ 00029 00030 00031 template<class Item> 00032 class KMdiIterator { 00033 public: 00034 virtual ~KMdiIterator() {} 00035 00036 virtual void first() = 0; 00037 virtual void last() = 0; 00038 virtual void next() = 0; 00039 virtual void prev() = 0; 00040 virtual bool isDone() const = 0; 00041 virtual Item currentItem() const = 0; 00042 00043 protected: 00044 KMdiIterator() {} 00045 }; 00046 00047 #endif // _KMDIITERATOR_H_
KDE Logo
This file is part of the documentation for kmdi Library Version 3.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 16 17:23:30 2005 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003