equal
deleted
inserted
replaced
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: Calendar Launcher |
14 * Description: Calendar Launcher |
15 * |
15 * |
16 */ |
16 */ |
17 #include <qobject> |
17 #include <QObject> |
18 #include <qdatetime.h> |
18 #include <qdatetime.h> |
19 |
19 |
20 #ifdef CALENLAUNCHER_LIB |
20 #ifdef CALENLAUNCHER_LIB |
21 # define CALENLAUNCHER_EXPORT Q_DECL_EXPORT |
21 # define CALENLAUNCHER_EXPORT Q_DECL_EXPORT |
22 #else |
22 #else |
27 Q_OBJECT |
27 Q_OBJECT |
28 |
28 |
29 public: |
29 public: |
30 enum CalenView{ |
30 enum CalenView{ |
31 MonthView = 0, |
31 MonthView = 0, |
32 DayView |
32 AgendaView |
33 }; |
33 }; |
34 CalenLauncher(QObject* parent = 0); |
34 CalenLauncher(QObject* parent = 0); |
35 ~CalenLauncher(); |
35 ~CalenLauncher(); |
36 |
36 |
37 void launchCalendarApp(CalenView view, QDateTime& dateTime, |
37 void launchCalendarApp(CalenView view, QDateTime& dateTime, |