-rw-r--r-- | core/pim/today/today.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/pim/today/today.h b/core/pim/today/today.h index b28ac96..bf2293a 100644 --- a/core/pim/today/today.h +++ b/core/pim/today/today.h | |||
@@ -13,16 +13,18 @@ | |||
13 | * (at your option) any later version. * | 13 | * (at your option) any later version. * |
14 | * * | 14 | * * |
15 | ***************************************************************************/ | 15 | ***************************************************************************/ |
16 | 16 | ||
17 | 17 | ||
18 | #ifndef TODAY_H | 18 | #ifndef TODAY_H |
19 | #define TODAY_H | 19 | #define TODAY_H |
20 | 20 | ||
21 | #include <qscrollview.h> | ||
22 | #include <qvbox.h> | ||
21 | 23 | ||
22 | #include <qpe/qlibrary.h> | 24 | #include <qpe/qlibrary.h> |
23 | 25 | ||
24 | #include "todayconfig.h" | 26 | #include "todayconfig.h" |
25 | #include "todaybase.h" | 27 | #include "todaybase.h" |
26 | 28 | ||
27 | #include <opie/todayplugininterface.h> | 29 | #include <opie/todayplugininterface.h> |
28 | 30 | ||
@@ -32,39 +34,48 @@ class OClickableLabel; | |||
32 | 34 | ||
33 | class Today : public TodayBase { | 35 | class Today : public TodayBase { |
34 | 36 | ||
35 | Q_OBJECT | 37 | Q_OBJECT |
36 | 38 | ||
37 | public: | 39 | public: |
38 | Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 40 | Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
39 | ~Today(); | 41 | ~Today(); |
42 | static QString appName() { return QString::fromLatin1("today"); } | ||
40 | 43 | ||
41 | private slots: | 44 | private slots: |
42 | void startConfig(); | 45 | void startConfig(); |
43 | void startApplication(); | 46 | void startApplication(); |
44 | void editCard(); | 47 | void editCard(); |
45 | void refresh(); | 48 | void refresh(); |
46 | 49 | ||
47 | private: | 50 | private: |
48 | void init(); | 51 | void init(); |
49 | void setOwnerField(); | 52 | void setOwnerField(); |
50 | void setOwnerField(QString &string); | 53 | void setOwnerField(QString &string); |
51 | void loadPlugins(); | 54 | void loadPlugins(); |
52 | void draw(); | 55 | void draw(); |
56 | void reinitialize(); | ||
57 | |||
53 | void setRefreshTimer( int ); | 58 | void setRefreshTimer( int ); |
54 | 59 | ||
55 | private slots: | 60 | private slots: |
56 | void channelReceived(const QCString &msg, const QByteArray & data); | 61 | void channelReceived(const QCString &msg, const QByteArray & data); |
57 | 62 | ||
58 | private: | 63 | private: |
59 | TodayConfig *conf; | 64 | TodayConfig *conf; |
60 | QStringList m_excludeApplets; | 65 | QStringList m_excludeApplets; |
61 | QStringList m_allApplets; | 66 | QStringList m_allApplets; |
62 | 67 | ||
68 | QScrollView *m_sv; | ||
69 | QWidget* m_big_box; | ||
70 | QVBoxLayout *m_bblayout; | ||
71 | |||
72 | |||
73 | |||
63 | QTimer *m_refreshTimer; | 74 | QTimer *m_refreshTimer; |
64 | 75 | ||
65 | bool m_refreshTimerEnabled; | 76 | bool m_refreshTimerEnabled; |
66 | int m_newStart; | 77 | int m_newStart; |
67 | int m_iconSize; | 78 | int m_iconSize; |
68 | int m_maxCharClip; | 79 | int m_maxCharClip; |
69 | int m_hideBanner; | 80 | int m_hideBanner; |
70 | }; | 81 | }; |