Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members

cutedoc.h

00001 /***************************************************************************
00002                           cutedoc.h  -  description
00003                              -------------------
00004     begin                : Sam Sep 28 23:53:49 CEST 2002
00005     copyright            : (C) 2002 by Heiko Köhler
00006     email                : heicom@users.sourceforge.net
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 #ifndef CUTEDOC_H
00018 #define CUTEDOC_H
00019 
00020 // include files for QT
00021 #include <qobject.h>
00022 
00023 // application specific includes
00024 
00029 class CUTEDoc : public QObject
00030 {
00031   Q_OBJECT
00032 
00033   public:
00034     CUTEDoc();
00035     ~CUTEDoc();
00036     void newDoc();
00037     bool save();
00038     bool saveAs(const QString &filename);
00039     bool load(const QString &filename);
00040     bool isModified() const;
00041 
00042   signals:
00043     void documentChanged();
00044 
00045   protected:
00046     bool modified;
00047 };
00048 
00049 #endif

Generated on Sun May 2 20:02:57 2004 by doxygen 1.3.2