]> ruin.nu Git - eonsl.git/blob - eonsl/eonsldoc.h
These files is for making the project
[eonsl.git] / eonsl / eonsldoc.h
1 /***************************************************************************
2                           eonsldoc.h  -  description
3                              -------------------
4     begin     : mån okt 23 17:11:28 CEST 2000
5     copyright : (C) 2000 by Michael Andreen
6     email     : whale@linux.nu
7     changes   :
8  ***************************************************************************/
9
10 /***************************************************************************
11  *                                                                         *
12  *   This program is free software; you can redistribute it and/or modify  *
13  *   it under the terms of the GNU General Public License as published by  *
14  *   the Free Software Foundation; either version 2 of the License, or     *
15  *   (at your option) any later version.                                   *
16  *                                                                         *
17  ***************************************************************************/
18 #ifndef EONSLDOC_H
19 #define EONSLDOC_H
20
21 // include files for QT
22 #include <qobject.h>
23
24 // application specific includes
25
26 /**
27   * the Document Class
28   */
29
30 class EonSLDoc : public QObject
31 {
32   Q_OBJECT
33
34   public:
35     EonSLDoc();
36     ~EonSLDoc();
37     void newDoc();
38     bool save();
39     bool saveAs(const QString &filename);
40     bool load(const QString &filename);
41     bool isModified() const;
42
43   signals:
44     void documentChanged();
45
46   protected:
47     bool modified;
48 };
49
50 #endif