delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / runtime / kioslave / cgi / kcmcgi / kcmcgi.h
blobd7c416545f6b6a8231fab1823b8b09231e946a78
1 /*
2 Copyright (C) 2002 Cornelius Schumacher <schumacher@kde.org>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 #ifndef KCMCGI_H
19 #define KCMCGI_H
21 #include <kcmodule.h>
23 class QListWidget;
24 class QListWidgetItem;
25 class QPushButton;
27 class KConfig;
29 class KCMCgi : public KCModule
31 Q_OBJECT
32 public:
33 KCMCgi(QWidget *parent, const QVariantList &args);
34 ~KCMCgi();
36 void load();
37 void save();
38 void defaults();
39 QString quickHelp() const;
41 public Q_SLOTS:
43 protected Q_SLOTS:
44 void addPath();
45 void removePath();
46 void slotItemSelected( QListWidgetItem * item );
47 private:
48 void updateButton();
49 QListWidget *mListBox;
50 QPushButton *mAddButton;
51 QPushButton *mRemoveButton;
53 KConfig *mConfig;
56 #endif