author | alwin <alwin> | 2005-03-18 16:57:24 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-18 16:57:24 (UTC) |
commit | 977193cc46768da220ddb01aca74286b28e6b7ee (patch) (unidiff) | |
tree | eff59fc4011b0b3a6fd610b2b04e934eb21a0687 /core/pim/datebook/datebooksettings.h | |
parent | f32b76432aeb554204f06ca15ed1ec8d5387fb12 (diff) | |
download | opie-977193cc46768da220ddb01aca74286b28e6b7ee.zip opie-977193cc46768da220ddb01aca74286b28e6b7ee.tar.gz opie-977193cc46768da220ddb01aca74286b28e6b7ee.tar.bz2 |
work on plugins finished.
these plugins now may have a config-widget (sorry guys - I had to change the
plugininterface and so the UUID again.)
the plugin for nationalholidays now has such a widget, the datebook will insert
configwidgets into its settingsdialog.
corrected the .pro file of opiepim2/ui so it contains the header/cpp files
for that pluginsystem.
Diffstat (limited to 'core/pim/datebook/datebooksettings.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebooksettings.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/pim/datebook/datebooksettings.h b/core/pim/datebook/datebooksettings.h index df7d32c..912088f 100644 --- a/core/pim/datebook/datebooksettings.h +++ b/core/pim/datebook/datebooksettings.h | |||
@@ -21,8 +21,9 @@ | |||
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 | #include <qvaluelist.h> | ||
25 | 26 | ||
26 | namespace Opie { | 27 | namespace Opie { |
27 | namespace Core { | 28 | namespace Core { |
28 | class OPluginManager; | 29 | class OPluginManager; |
@@ -31,8 +32,11 @@ namespace Core { | |||
31 | } | 32 | } |
32 | namespace Ui { | 33 | namespace Ui { |
33 | class OPluginConfigWidget; | 34 | class OPluginConfigWidget; |
34 | } | 35 | } |
36 | namespace Datebook { | ||
37 | class HolidayPluginConfigWidget; | ||
38 | } | ||
35 | } | 39 | } |
36 | 40 | ||
37 | class DateBookSettings : public DateBookSettingsBase | 41 | class DateBookSettings : public DateBookSettingsBase |
38 | { | 42 | { |
@@ -54,8 +58,9 @@ public: | |||
54 | void setRowStyle( int style ); | 58 | void setRowStyle( int style ); |
55 | int rowStyle() const; | 59 | int rowStyle() const; |
56 | 60 | ||
57 | void setPluginList(Opie::Core::OPluginManager*,Opie::Core::OPluginLoader*); | 61 | void setPluginList(Opie::Core::OPluginManager*,Opie::Core::OPluginLoader*); |
62 | void savePlugins(); | ||
58 | private slots: | 63 | private slots: |
59 | void slot12Hour( int ); | 64 | void slot12Hour( int ); |
60 | void slotChangeClock( bool ); | 65 | void slotChangeClock( bool ); |
61 | protected slots: | 66 | protected slots: |
@@ -66,6 +71,7 @@ protected: | |||
66 | bool ampm; | 71 | bool ampm; |
67 | int oldtime; | 72 | int oldtime; |
68 | Opie::Core::OPluginManager*m_manager; | 73 | Opie::Core::OPluginManager*m_manager; |
69 | Opie::Core::OPluginLoader*m_loader; | 74 | Opie::Core::OPluginLoader*m_loader; |
75 | QValueList<Opie::Datebook::HolidayPluginConfigWidget*> m_cfgWidgets; | ||
70 | }; | 76 | }; |
71 | #endif | 77 | #endif |