Subversion Repositories public iLand

Rev

Rev 341 | Rev 671 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 341 Rev 639
1
Redirecting to URL 'https://iland.boku.ac.at/svn/iland/tags/release_1.0/src/core/timeevents.h':
1
Redirecting to URL 'https://iland.boku.ac.at/svn/iland/tags/release_1.0/src/core/timeevents.h':
2
#ifndef TIMEEVENTS_H
2
#ifndef TIMEEVENTS_H
3
#define TIMEEVENTS_H
3
#define TIMEEVENTS_H
4
#include <QtCore>
4
#include <QtCore>
5
/** */
5
/** */
6
class TimeEvents
6
class TimeEvents
7
{
7
{
8
public:
8
public:
9
    TimeEvents();
9
    TimeEvents();
10
    // setup
10
    // setup
11
    void clear() { mData.clear(); }
11
    void clear() { mData.clear(); }
12
    bool loadFromString(const QString &source);
12
    bool loadFromString(const QString &source);
13
    bool loadFromFile(const QString &fileName);
13
    bool loadFromFile(const QString &fileName);
14
    // excecute
14
    // excecute
15
    void run(); ///< execute all settings
15
    void run(); ///< execute all settings
16
16
17
private:
17
private:
18
    QMultiMap<int, QPair<QString, QVariant> > mData;
18
    QMultiMap<int, QPair<QString, QVariant> > mData;
19
};
19
};
20
20
21
#endif // TIMEEVENTS_H
21
#endif // TIMEEVENTS_H
22
 
22