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