author | llornkcor <llornkcor> | 2003-11-05 10:45:27 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-11-05 10:45:27 (UTC) |
commit | 8ae3f2f96308505b3a02f5acfedfd45a01fefe1c (patch) (unidiff) | |
tree | def6406f5bc356a15f59e7d78784de16cd21b5d6 | |
parent | e6bb5b92e21ad08d00e399f30abeaea22f08ca18 (diff) | |
download | opie-8ae3f2f96308505b3a02f5acfedfd45a01fefe1c.zip opie-8ae3f2f96308505b3a02f5acfedfd45a01fefe1c.tar.gz opie-8ae3f2f96308505b3a02f5acfedfd45a01fefe1c.tar.bz2 |
fix compile. may need more fixing.. who knows....
-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 | |||
@@ -5,68 +5,79 @@ | |||
5 | * email : harlekin@handhelds.org | 5 | * email : harlekin@handhelds.org |
6 | * | 6 | * |
7 | */ | 7 | */ |
8 | /*************************************************************************** | 8 | /*************************************************************************** |
9 | * * | 9 | * * |
10 | * This program is free software; you can redistribute it and/or modify * | 10 | * This program is free software; you can redistribute it and/or modify * |
11 | * it under the terms of the GNU General Public License as published by * | 11 | * it under the terms of the GNU General Public License as published by * |
12 | * the Free Software Foundation; either version 2 of the License, or * | 12 | * the Free Software Foundation; either version 2 of the License, or * |
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 | ||
29 | class QVBoxLayout; | 31 | class QVBoxLayout; |
30 | class OClickableLabel; | 32 | class OClickableLabel; |
31 | 33 | ||
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 | }; |
71 | 82 | ||
72 | #endif | 83 | #endif |