Rev 340 | Rev 639 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | |||
340 | werner | 2 | #ifndef TIMEEVENTS_H |
3 | #define TIMEEVENTS_H |
||
4 | #include <QtCore> |
||
5 | /** */ |
||
6 | class TimeEvents |
||
7 | { |
||
8 | public: |
||
9 | TimeEvents(); |
||
341 | werner | 10 | // setup |
340 | werner | 11 | void clear() { mData.clear(); } |
12 | bool loadFromString(const QString &source); |
||
13 | bool loadFromFile(const QString &fileName); |
||
341 | werner | 14 | // excecute |
15 | void run(); ///< execute all settings |
||
340 | werner | 16 | |
17 | private: |
||
18 | QMultiMap<int, QPair<QString, QVariant> > mData; |
||
19 | }; |
||
20 | |||
21 | #endif // TIMEEVENTS_H |