summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.h11
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
@@ -1,72 +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 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 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
29class QVBoxLayout; 31class QVBoxLayout;
30class OClickableLabel; 32class OClickableLabel;
31 33
32 34
33class Today : public TodayBase { 35class 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
41private slots: 44private 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
47private: 50private:
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
55private slots: 60private 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