Build, if that was not necessary blame cartman who told me "sure" :-D
[kdepim.git] / libkdepim / categoryeditdialog.h
blobd0330e83174b54c8cf4df21afd42c01d2dd49f30
1 /*
2 This file is part of libkdepim.
4 Copyright (c) 2000, 2001, 2002 Cornelius Schumacher <schumacher@kde.org>
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public
8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (at your option) any later version.
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details.
16 You should have received a copy of the GNU Library General Public License
17 along with this library; see the file COPYING.LIB. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.
21 #ifndef KPIM_CATEGORYEDITDIALOG_H
22 #define KPIM_CATEGORYEDITDIALOG_H
24 #include <kdialogbase.h>
26 class KPimPrefs;
27 class CategoryEditDialog_base;
29 namespace KPIM {
31 class CategoryEditDialog : public KDialogBase
33 Q_OBJECT
34 public:
35 CategoryEditDialog( KPimPrefs *prefs, QWidget* parent = 0,
36 const char* name = 0,
37 bool modal = false );
38 ~CategoryEditDialog();
40 public slots:
41 void reload();
43 protected slots:
44 void slotOk();
45 void slotApply();
46 void slotTextChanged(const QString &text);
47 void add();
48 void modify();
49 void remove();
50 void editItem( QListViewItem *item );
52 signals:
53 void categoryConfigChanged();
55 private:
56 KPimPrefs *mPrefs;
57 CategoryEditDialog_base *mWidget;
62 #endif