author | waspe <waspe> | 2003-11-20 19:34:08 (UTC) |
---|---|---|
committer | waspe <waspe> | 2003-11-20 19:34:08 (UTC) |
commit | e6a5ed6de7e821a070d571045ff063f8c41b0b79 (patch) (side-by-side diff) | |
tree | 8455d7bf537cf804337b6c03b28f891ee3f286ce /noncore/multimedia/tonleiter/tonleiterdata.h | |
parent | f43e28fe8f226039d96ebda4e6c4d26e4f3320ba (diff) | |
download | opie-e6a5ed6de7e821a070d571045ff063f8c41b0b79.zip opie-e6a5ed6de7e821a070d571045ff063f8c41b0b79.tar.gz opie-e6a5ed6de7e821a070d571045ff063f8c41b0b79.tar.bz2 |
added preliminary edit dialogs
default config added
Diffstat (limited to 'noncore/multimedia/tonleiter/tonleiterdata.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/tonleiter/tonleiterdata.h | 73 |
1 files changed, 38 insertions, 35 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 @@ -7,38 +7,41 @@ -class TonleiterData : public QObject +namespace Data { - Q_OBJECT -private: - QValueList<Instrument> instruments; - int currentInstrumentID; - - QValueList<Scale> scales; - int currentScaleID; - - int currentNote; - bool drawnames; -public: - TonleiterData(QObject* parent); - ~TonleiterData(); -signals: - void dataChange(); -public slots: - void setCurrentInstrumetID(int id); - void setCurrentScaleID(int id); - void setCurrentNote(int id); - void setDrawNames(bool dn); -private: - void loadData(); - void saveData(); -public: - int noOfInstruments(); - Instrument getInstrument(int id); - int getCurrentInstrumentID(); - - int noOfScales(); - Scale getScale(int id); - int getCurrentScaleID(); - - int getCurrentBaseNote(); - bool isDrawNames(); + class TonleiterData : public QObject + { + Q_OBJECT + private: + QValueList<Instrument> instruments; + int currentInstrumentID; + + QValueList<Scale> scales; + int currentScaleID; + + int currentNote; + bool drawnames; + public: + TonleiterData(QObject* parent); + ~TonleiterData(); + signals: + void dataChange(); + public slots: + void setCurrentInstrumetID(int id); + void setCurrentScaleID(int id); + void setCurrentNote(int id); + void setDrawNames(bool dn); + private: + void loadData(); + void saveData(); + public: + int noOfInstruments(); + Instrument getInstrument(int id); + int getCurrentInstrumentID(); + + int noOfScales(); + Scale getScale(int id); + int getCurrentScaleID(); + + int getCurrentBaseNote(); + bool isDrawNames(); + }; }; |