Diffstat (limited to 'noncore/multimedia/tonleiter/tonleiterdata.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/tonleiter/tonleiterdata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/multimedia/tonleiter/tonleiterdata.h b/noncore/multimedia/tonleiter/tonleiterdata.h index a5e6884..71d05fd 100644 --- a/noncore/multimedia/tonleiter/tonleiterdata.h +++ b/noncore/multimedia/tonleiter/tonleiterdata.h | |||
@@ -1,19 +1,21 @@ | |||
1 | #ifndef TONLEITER_DATA_H | 1 | #ifndef TONLEITER_DATA_H |
2 | #define TONLEITER_DATA_H | 2 | #define TONLEITER_DATA_H |
3 | 3 | ||
4 | #include <qobject.h> | 4 | #include <qobject.h> |
5 | 5 | ||
6 | #include "tonleiterdatahelper.h" | 6 | #include "tonleiterdatahelper.h" |
7 | 7 | ||
8 | namespace Data | ||
9 | { | ||
8 | class TonleiterData : public QObject | 10 | class TonleiterData : public QObject |
9 | { | 11 | { |
10 | Q_OBJECT | 12 | Q_OBJECT |
11 | private: | 13 | private: |
12 | QValueList<Instrument> instruments; | 14 | QValueList<Instrument> instruments; |
13 | int currentInstrumentID; | 15 | int currentInstrumentID; |
14 | 16 | ||
15 | QValueList<Scale> scales; | 17 | QValueList<Scale> scales; |
16 | int currentScaleID; | 18 | int currentScaleID; |
17 | 19 | ||
18 | int currentNote; | 20 | int currentNote; |
19 | bool drawnames; | 21 | bool drawnames; |
@@ -33,14 +35,15 @@ private: | |||
33 | public: | 35 | public: |
34 | int noOfInstruments(); | 36 | int noOfInstruments(); |
35 | Instrument getInstrument(int id); | 37 | Instrument getInstrument(int id); |
36 | int getCurrentInstrumentID(); | 38 | int getCurrentInstrumentID(); |
37 | 39 | ||
38 | int noOfScales(); | 40 | int noOfScales(); |
39 | Scale getScale(int id); | 41 | Scale getScale(int id); |
40 | int getCurrentScaleID(); | 42 | int getCurrentScaleID(); |
41 | 43 | ||
42 | int getCurrentBaseNote(); | 44 | int getCurrentBaseNote(); |
43 | bool isDrawNames(); | 45 | bool isDrawNames(); |
44 | }; | 46 | }; |
47 | }; | ||
45 | 48 | ||
46 | #endif //TONLEITER_DATA_H | 49 | #endif //TONLEITER_DATA_H |