author | harlekin <harlekin> | 2004-03-01 15:47:43 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2004-03-01 15:47:43 (UTC) |
commit | 87676b131aad1bfe979570a48107527db4040020 (patch) (unidiff) | |
tree | 9f7ee88adc4b8987e8d3387e2370719078f7ff5e /core/pim/today/today.h | |
parent | c50e4c32d34a0550f167480b6306aac632fb201c (diff) | |
download | opie-87676b131aad1bfe979570a48107527db4040020.zip opie-87676b131aad1bfe979570a48107527db4040020.tar.gz opie-87676b131aad1bfe979570a48107527db4040020.tar.bz2 |
today plus datebook, mail, todolist plugins libopie1->libopie2
-rw-r--r-- | core/pim/today/today.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/core/pim/today/today.h b/core/pim/today/today.h index bf2293a..972731c 100644 --- a/core/pim/today/today.h +++ b/core/pim/today/today.h | |||
@@ -1,83 +1,83 @@ | |||
1 | /* | 1 | /* |
2 | * today.h | 2 | * today.h |
3 | * | 3 | * |
4 | * copyright : (c) 2002,2003 by Maximilian Reiß | 4 | * copyright : (c) 2002,2003,2004 by Maximilian Reiß |
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 | |||
17 | |||
18 | #ifndef TODAY_H | 16 | #ifndef TODAY_H |
19 | #define TODAY_H | 17 | #define TODAY_H |
20 | 18 | ||
21 | #include <qscrollview.h> | ||
22 | #include <qvbox.h> | ||
23 | |||
24 | #include <qpe/qlibrary.h> | ||
25 | 19 | ||
26 | #include "todayconfig.h" | 20 | #include "todayconfig.h" |
27 | #include "todaybase.h" | 21 | #include "todaybase.h" |
28 | 22 | ||
29 | #include <opie/todayplugininterface.h> | 23 | #include <opie2/todayplugininterface.h> |
24 | #include <opie2/oclickablelabel.h> | ||
30 | 25 | ||
31 | class QVBoxLayout; | 26 | #include <qpe/qlibrary.h> |
32 | class OClickableLabel; | 27 | |
28 | #include <qscrollview.h> | ||
29 | #include <qvbox.h> | ||
33 | 30 | ||
31 | using namespace Opie; | ||
32 | |||
33 | class QVBoxLayout; | ||
34 | 34 | ||
35 | class Today : public TodayBase { | 35 | class Today : public TodayBase { |
36 | 36 | ||
37 | Q_OBJECT | 37 | Q_OBJECT |
38 | 38 | ||
39 | public: | 39 | public: |
40 | Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 40 | Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
41 | ~Today(); | 41 | ~Today(); |
42 | static QString appName() { return QString::fromLatin1("today"); } | 42 | static QString appName() { return QString::fromLatin1("today"); } |
43 | 43 | ||
44 | private slots: | 44 | private slots: |
45 | void startConfig(); | 45 | void startConfig(); |
46 | void startApplication(); | 46 | void startApplication(); |
47 | void editCard(); | 47 | void editCard(); |
48 | void refresh(); | 48 | void refresh(); |
49 | 49 | ||
50 | private: | 50 | private: |
51 | void init(); | 51 | void init(); |
52 | void setOwnerField(); | 52 | void setOwnerField(); |
53 | void setOwnerField(QString &string); | 53 | void setOwnerField(QString &string); |
54 | void loadPlugins(); | 54 | void loadPlugins(); |
55 | void draw(); | 55 | void draw(); |
56 | void reinitialize(); | 56 | void reinitialize(); |
57 | 57 | ||
58 | void setRefreshTimer( int ); | 58 | void setRefreshTimer( int ); |
59 | 59 | ||
60 | private slots: | 60 | private slots: |
61 | void channelReceived(const QCString &msg, const QByteArray & data); | 61 | void channelReceived(const QCString &msg, const QByteArray & data); |
62 | 62 | ||
63 | private: | 63 | private: |
64 | TodayConfig *conf; | 64 | TodayConfig *conf; |
65 | QStringList m_excludeApplets; | 65 | QStringList m_excludeApplets; |
66 | QStringList m_allApplets; | 66 | QStringList m_allApplets; |
67 | 67 | ||
68 | QScrollView *m_sv; | 68 | QScrollView *m_sv; |
69 | QWidget* m_big_box; | 69 | QWidget* m_big_box; |
70 | QVBoxLayout *m_bblayout; | 70 | QVBoxLayout *m_bblayout; |
71 | 71 | ||
72 | 72 | ||
73 | 73 | ||
74 | QTimer *m_refreshTimer; | 74 | QTimer *m_refreshTimer; |
75 | 75 | ||
76 | bool m_refreshTimerEnabled; | 76 | bool m_refreshTimerEnabled; |
77 | int m_newStart; | 77 | int m_newStart; |
78 | int m_iconSize; | 78 | int m_iconSize; |
79 | int m_maxCharClip; | 79 | int m_maxCharClip; |
80 | int m_hideBanner; | 80 | int m_hideBanner; |
81 | }; | 81 | }; |
82 | 82 | ||
83 | #endif | 83 | #endif |