You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.4 KiB
56 lines
1.4 KiB
15 years ago
|
/*
|
||
|
Copyright (C) 2002 Cornelius Schumacher <schumacher@kde.org>
|
||
|
|
||
|
This program is free software; you can redistribute it and/or modify
|
||
|
it under the terms of the GNU General Public License as published by
|
||
|
the Free Software Foundation; either version 2 of the License, or
|
||
|
(at your option) any later version.
|
||
|
|
||
|
This program is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
GNU General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU General Public License
|
||
|
along with this program; if not, write to the Free Software
|
||
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
*/
|
||
|
#ifndef KCMCGI_H
|
||
|
#define KCMCGI_H
|
||
|
|
||
12 years ago
|
#include <tdecmodule.h>
|
||
15 years ago
|
|
||
14 years ago
|
class TQListBox;
|
||
|
class TQPushButton;
|
||
15 years ago
|
|
||
12 years ago
|
class TDEConfig;
|
||
15 years ago
|
|
||
12 years ago
|
class KCMCgi : public TDECModule
|
||
15 years ago
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
15 years ago
|
KCMCgi( TQWidget *parent = 0, const char *name = 0 );
|
||
15 years ago
|
~KCMCgi();
|
||
|
|
||
|
void load();
|
||
|
void save();
|
||
|
void defaults();
|
||
15 years ago
|
TQString quickHelp() const;
|
||
15 years ago
|
|
||
|
public slots:
|
||
|
|
||
|
protected slots:
|
||
|
void addPath();
|
||
|
void removePath();
|
||
15 years ago
|
void slotItemSelected( TQListBoxItem * item );
|
||
15 years ago
|
private:
|
||
|
void updateButton();
|
||
15 years ago
|
TQListBox *mListBox;
|
||
|
TQPushButton *mAddButton;
|
||
|
TQPushButton *mRemoveButton;
|
||
15 years ago
|
|
||
12 years ago
|
TDEConfig *mConfig;
|
||
15 years ago
|
};
|
||
|
|
||
|
#endif
|