2 This file is part of KOrganizer.
4 Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
5 Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.
17 You should have received a copy of the GNU Library General Public License
18 along with this library; see the file COPYING.LIB. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA.
23 #ifndef KORG_KCMDESIGNERFIELDS_H
24 #define KORG_KCMDESIGNERFIELDS_H
31 class QTreeWidgetItem
;
33 class KCMDesignerFields
: public KCModule
37 explicit KCMDesignerFields(QWidget
*parent
= Q_NULLPTR
,
38 const QVariantList
&args
= QVariantList());
40 void load() Q_DECL_OVERRIDE
;
41 void save() Q_DECL_OVERRIDE
;
42 void defaults() Q_DECL_OVERRIDE
;
46 void loadActivePages(const QStringList
&);
47 QStringList
saveActivePages();
49 virtual QString
localUiDir() = 0;
50 virtual QString
uiPath() = 0;
51 virtual void writeActivePages(const QStringList
&) = 0;
52 virtual QStringList
readActivePages() = 0;
53 virtual QString
applicationName() = 0;
57 void itemClicked(QTreeWidgetItem
*);
63 void showWhatsThis(const QString
&href
);
68 QTreeWidget
*mPageView
;
71 QPushButton
*mDeleteButton
;
72 QPushButton
*mImportButton
;
73 QPushButton
*mDesignerButton
;