summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/addressbook/addresspluginwidget.h
Unidiff
Diffstat (limited to 'core/pim/today/plugins/addressbook/addresspluginwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/addressbook/addresspluginwidget.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/core/pim/today/plugins/addressbook/addresspluginwidget.h b/core/pim/today/plugins/addressbook/addresspluginwidget.h
new file mode 100644
index 0000000..75e223a
--- a/dev/null
+++ b/core/pim/today/plugins/addressbook/addresspluginwidget.h
@@ -0,0 +1,57 @@
1/*
2 * addresspluginwidget.h
3 *
4 * copyright : (c) 2003 by Stefan Eilers
5 * email : eilers.stefan@epost.de
6 *
7 * This implementation was derived from the todolist plugin implementation
8 *
9 */
10/***************************************************************************
11 * *
12 * This program is free software; you can redistribute it and/or modify *
13 * it under the terms of the GNU General Public License as published by *
14 * the Free Software Foundation; either version 2 of the License, or *
15 * (at your option) any later version. *
16 * *
17 ***************************************************************************/
18
19#ifndef ADDRESSBOOK_PLUGIN_WIDGET_H
20#define ADDRESSBOOK_PLUGIN_WIDGET_H
21
22#include <qstring.h>
23#include <qwidget.h>
24#include <qlayout.h>
25
26#include <opie/ocontactaccess.h>
27#include <opie/oclickablelabel.h>
28
29
30class AddressBookPluginWidget : public QWidget {
31
32 Q_OBJECT
33
34public:
35 AddressBookPluginWidget( QWidget *parent, const char *name );
36 ~AddressBookPluginWidget();
37
38protected slots:
39 void startAddressBook();
40 void refresh( const OContactAccess* db );
41
42private:
43 OClickableLabel* addressLabel;
44 QVBoxLayout* layoutTodo;
45 OContactAccess * m_contactdb;
46
47 OContactAccess::List m_list;
48 OContactAccess::List::Iterator m_it;
49
50 void readConfig();
51 void getAddress();
52 int m_maxLinesTask;
53 int m_maxCharClip;
54 int m_daysLookAhead;
55};
56
57#endif