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 {
00034 public:
00035     virtual ~KMdiIterator() {}
00036 
00037     virtual void first() = 0;
00038     virtual void last() = 0;
00039     virtual void next() = 0;
00040     virtual void prev() = 0;
00041     virtual bool isDone() const = 0;
00042     virtual Item currentItem() const = 0;
00043 
00044 protected:
00045     KMdiIterator() {}
00046 }
00047 ;
00048 
00049 #endif // _KMDIITERATOR_H_ 
00050 // kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;
00051 
KDE Logo
This file is part of the documentation for kmdi Library Version 3.4.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed May 4 06:56:11 2005 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003