|
|
// -*- c++ -*- /*************************************************************************** kparteddoc.h - description ------------------- begin : Fri Jul 13 17:32:54 BST 2001 copyright : (C) 2001 by Richard Moore email : rich@kde.org ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef KPARTEDDOC_H #define KPARTEDDOC_H // include files for QT #include <qobject.h> // application specific includes /** * the Document Class */ class KPartEdDoc : public QObject { Q_OBJECT public: KPartEdDoc(); ~KPartEdDoc(); void newDoc(); bool save(); bool saveAs(const QString &filename); bool load(const QString &filename); bool isModified() const; signals: void documentChanged(); protected: bool modified; }; #endif
Generated by: rich@pegasus on Fri Jul 13 17:33:54 2001, using kdoc 2.0a45. |