summaryrefslogtreecommitdiff
path: root/core/pim/today/today.h
Unidiff
Diffstat (limited to 'core/pim/today/today.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/core/pim/today/today.h b/core/pim/today/today.h
index ca17020..0a9a705 100644
--- a/core/pim/today/today.h
+++ b/core/pim/today/today.h
@@ -1,81 +1,73 @@
1/* 1/*
2 * today.h 2 * today.h
3 * 3 *
4 * copyright : (c) 2002 by Maximilian Reiß 4 * copyright : (c) 2002 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 <opie/tododb.h> 21#include <opie/tododb.h>
22 22
23#include <qdatetime.h> 23#include <qdatetime.h>
24#include <qlist.h> 24#include <qlist.h>
25#include <qhbox.h>
25 26
26#include <qpe/qlibrary.h> 27#include <qpe/qlibrary.h>
27#include <qpe/event.h> 28#include <qpe/event.h>
28 29
29#include "todayconfig.h" 30#include "todayconfig.h"
30#include "todaybase.h" 31#include "todaybase.h"
31#include "todayplugininterface.h" 32#include "todayplugininterface.h"
32 33
33class QVBoxLayout; 34class QVBoxLayout;
34 35
35struct TodayPlugin {
36 QLibrary *library;
37 TodayPluginInterface *iface;
38 TodayPluginObject *guiPart;
39 QString name;
40 bool active;
41 int pos;
42};
43 36
44class Today : public TodayBase { 37class Today : public TodayBase {
45 38
46 Q_OBJECT 39 Q_OBJECT
47 40
48 public: 41 public:
49 Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 42 Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
50 ~Today(); 43 ~Today();
51 44
52 private slots: 45 private slots:
53 void startConfig(); 46 void startConfig();
54 void startAddressbook(); 47 void startAddressbook();
55 void launchApp( QString appName ); 48 void launchApp( QString appName );
56 void editCard(); 49 void editCard();
57 void draw(); 50 void draw();
58 void refresh();
59 51
60private: 52private:
61 void init(); 53 void init();
62 void setOwnerField(); 54 void setOwnerField();
63 void setOwnerField(QString &string); 55 void setOwnerField(QString &string);
64 void loadPlugins(); 56 void loadPlugins();
65 57
66private slots: 58private slots:
67 void channelReceived(const QCString &msg, const QByteArray & data); 59 void channelReceived(const QCString &msg, const QByteArray & data);
68 60
69 private: 61 private:
70 TodayConfig *conf; 62 TodayConfig *conf;
71 QStringList m_excludeApplets; 63 QStringList m_excludeApplets;
72 64
73 QVBoxLayout *pluginLayout; 65 QVBoxLayout *pluginLayout;
74 66
75 // QString m_autoStartTimer; 67 // QString m_autoStartTimer;
76 int m_newStart; 68 int m_newStart;
77 // int m_autoStart; 69 // int m_autoStart;
78 int m_maxCharClip; 70 int m_maxCharClip;
79}; 71};
80 72
81#endif 73#endif