~yschatzb/mixxx/1.11-yoav-bugfixing

« back to all changes in this revision

Viewing changes to mixxx/mixxx/mixxxdoc.h

  • Committer: tuehaste
  • Date: 2002-02-26 11:12:07 UTC
  • Revision ID: vcs-imports@canonical.com-20020226111207-5rly26cj9gdd19ba
Initial revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
                          mixxxdoc.h  -  description
 
3
                             -------------------
 
4
    begin                : Mon Feb 18 09:48:17 CET 2002
 
5
    copyright            : (C) 2002 by Tue and Ken Haste Andersen
 
6
    email                : 
 
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 MIXXXDOC_H
 
18
#define MIXXXDOC_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 MixxxDoc : public QObject
 
30
{
 
31
  Q_OBJECT
 
32
 
 
33
  public:
 
34
    MixxxDoc();
 
35
    ~MixxxDoc();
 
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