summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/addressbook/addresspluginconfig.h
Unidiff
Diffstat (limited to 'core/pim/today/plugins/addressbook/addresspluginconfig.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/addressbook/addresspluginconfig.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/core/pim/today/plugins/addressbook/addresspluginconfig.h b/core/pim/today/plugins/addressbook/addresspluginconfig.h
new file mode 100644
index 0000000..6f128d4
--- a/dev/null
+++ b/core/pim/today/plugins/addressbook/addresspluginconfig.h
@@ -0,0 +1,60 @@
1/*
2 * addresspluginconfig.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_CONFIG_H
20#define ADDRESSBOOK_PLUGIN_CONFIG_H
21
22#include <qwidget.h>
23#include <qspinbox.h>
24
25#include <opie/todayconfigwidget.h>
26
27class AddressBookPluginConfig : public TodayConfigWidget {
28
29
30public:
31
32 AddressBookPluginConfig( QWidget *parent, const char *name );
33 ~AddressBookPluginConfig();
34
35private:
36 /**
37 * if changed then save
38 */
39 bool changed();
40 void readConfig();
41 void writeConfig();
42
43 QSpinBox* SpinBox2;
44 QSpinBox* SpinBoxClip;
45 QSpinBox* SpinDaysClip;
46
47 // how many lines should be showed in the AddressBook section
48 int m_max_lines_task;
49 // clip the lines after X chars
50 int m_maxCharClip;
51 // How many days look ahead
52 int m_daysLookAhead;
53
54};
55
56
57
58
59
60#endif