summaryrefslogtreecommitdiffabout
path: root/libkdepim/kcmconfigs/kdepimconfigwidget.h
Unidiff
Diffstat (limited to 'libkdepim/kcmconfigs/kdepimconfigwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kcmconfigs/kdepimconfigwidget.h86
1 files changed, 86 insertions, 0 deletions
diff --git a/libkdepim/kcmconfigs/kdepimconfigwidget.h b/libkdepim/kcmconfigs/kdepimconfigwidget.h
new file mode 100644
index 0000000..109a847
--- a/dev/null
+++ b/libkdepim/kcmconfigs/kdepimconfigwidget.h
@@ -0,0 +1,86 @@
1/*
2 This file is part of KDEPim/Pi.
3 Copyright (c) 2004 Ulf Schenk
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution.
22*/
23
24/*
25Enhanced Version of the file for platform independent KDE tools.
26Copyright (c) 2004 Ulf Schenk
27
28$Id$
29*/
30
31#ifndef KDEPIMCONFIGWIDGET_H
32#define KDEPIMCONFIGWIDGET_H
33
34#include <qwidget.h>
35
36/*
37class QCheckBox;
38class QListViewItem;
39class QPushButton;
40class KListView;
41*/
42class QComboBox;
43class QLineEdit;
44class KPimPrefs;
45
46class KDEPIMConfigWidget : public QWidget
47{
48 Q_OBJECT
49
50 public:
51 KDEPIMConfigWidget( QWidget *parent, const char *name = 0 );
52
53 void restoreSettings(KPimPrefs* prefs);
54 void saveSettings(KPimPrefs* prefs);
55 void defaults(KPimPrefs* prefs);
56
57 signals:
58 void changed( bool );
59
60 public slots:
61 void modified();
62
63
64
65 private slots:
66// void configureExtension();
67// void selectionChanged( QListViewItem* );
68// void itemClicked( QListViewItem* );
69 void emailclient_changed( int newClient );
70
71 private:
72// void restoreExtensionSettings();
73// void saveExtensionSettings();
74
75// KListView *mExtensionView;
76
77// QCheckBox *mNameParsing;
78// QCheckBox *mViewsSingleClickBox;
79// QPushButton *mConfigureButton;
80 QComboBox* mEmailClient;
81 QLineEdit* mEmailChannel;
82
83// AddresseeWidget *mAddresseeWidget;
84};
85
86#endif