Diffstat (limited to 'core/pim/datebook/datebooksettings.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebooksettings.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/core/pim/datebook/datebooksettings.h b/core/pim/datebook/datebooksettings.h index cf8a0ff..df7d32c 100644 --- a/core/pim/datebook/datebooksettings.h +++ b/core/pim/datebook/datebooksettings.h | |||
@@ -14,42 +14,58 @@ | |||
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #ifndef DATEBOOKSETTINGS_H | 21 | #ifndef DATEBOOKSETTINGS_H |
22 | #define DATEBOOKSETTINGS_H | 22 | #define DATEBOOKSETTINGS_H |
23 | #include "datebooksettingsbase.h" | 23 | #include "datebooksettingsbase.h" |
24 | #include <qpe/categoryselect.h> | 24 | #include <qpe/categoryselect.h> |
25 | 25 | ||
26 | namespace Opie { | ||
27 | namespace Core { | ||
28 | class OPluginManager; | ||
29 | class OGenericPluginLoader; | ||
30 | class OPluginLoader; | ||
31 | } | ||
32 | namespace Ui { | ||
33 | class OPluginConfigWidget; | ||
34 | } | ||
35 | } | ||
36 | |||
26 | class DateBookSettings : public DateBookSettingsBase | 37 | class DateBookSettings : public DateBookSettingsBase |
27 | { | 38 | { |
28 | Q_OBJECT | 39 | Q_OBJECT |
29 | public: | 40 | public: |
30 | DateBookSettings( bool whichClock, QWidget *parent = 0, | 41 | DateBookSettings( bool whichClock, QWidget *parent = 0, |
31 | const char *name = 0, bool modal = TRUE, WFlags = 0 ); | 42 | const char *name = 0, bool modal = TRUE, WFlags = 0 ); |
32 | ~DateBookSettings(); | 43 | ~DateBookSettings(); |
33 | void setStartTime( int newStartViewTime ); | 44 | void setStartTime( int newStartViewTime ); |
34 | int startTime() const; | 45 | int startTime() const; |
35 | void setAlarmPreset( bool bAlarm, int presetTime ); | 46 | void setAlarmPreset( bool bAlarm, int presetTime ); |
36 | bool alarmPreset() const; | 47 | bool alarmPreset() const; |
37 | int presetTime() const; | 48 | int presetTime() const; |
38 | void setAlarmType( int alarmType ); | 49 | void setAlarmType( int alarmType ); |
39 | int alarmType() const; | 50 | int alarmType() const; |
40 | 51 | ||
41 | void setJumpToCurTime( bool bJump ); | 52 | void setJumpToCurTime( bool bJump ); |
42 | bool jumpToCurTime() const; | 53 | bool jumpToCurTime() const; |
43 | void setRowStyle( int style ); | 54 | void setRowStyle( int style ); |
44 | int rowStyle() const; | 55 | int rowStyle() const; |
45 | 56 | ||
57 | void setPluginList(Opie::Core::OPluginManager*,Opie::Core::OPluginLoader*); | ||
46 | private slots: | 58 | private slots: |
47 | void slot12Hour( int ); | 59 | void slot12Hour( int ); |
48 | void slotChangeClock( bool ); | 60 | void slotChangeClock( bool ); |
61 | protected slots: | ||
62 | virtual void pluginItemClicked(QListViewItem *); | ||
49 | 63 | ||
50 | private: | 64 | protected: |
51 | void init(); | 65 | void init(); |
52 | bool ampm; | 66 | bool ampm; |
53 | int oldtime; | 67 | int oldtime; |
68 | Opie::Core::OPluginManager*m_manager; | ||
69 | Opie::Core::OPluginLoader*m_loader; | ||
54 | }; | 70 | }; |
55 | #endif | 71 | #endif |