2
Copyright 2000 Peter Putzer <putzer@kde.org>
4
This program is free software; you can redistribute it and/or
5
modify it under the terms of the GNU General Public
6
License as published by the Free Software Foundation; either
7
version 2 of the License, or (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 GNU
12
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.
22
#include <kpropertiesdialog.h>
35
class KSVServicePropertiesDialog : public KPropertiesDialog
40
KSVServicePropertiesDialog (KSVData& data, QWidget* parent);
41
virtual ~KSVServicePropertiesDialog ();
44
void startService (const QString&);
45
void stopService (const QString&);
46
void restartService (const QString&);
47
void editService (const QString&);
60
class KSVEntryPropertiesDialog : public KPropertiesDialog
65
KSVEntryPropertiesDialog (KSVData& data, QWidget* parent);
66
virtual ~KSVEntryPropertiesDialog ();
69
void startService (const QString&);
70
void stopService (const QString&);
71
void restartService (const QString&);
72
void editService (const QString&);
84
class KSVEntryPage : public KPropertiesDialogPlugin
89
KSVEntryPage (KSVData& data, KPropertiesDialog* props);
90
virtual ~KSVEntryPage ();
92
virtual void applyChanges ();
94
inline int pageIndex () const { return mIndex; }
104
KLineEdit* mServiceEdit;
105
KLineEdit* mLabelEdit;
106
KIntSpinBox* mNumberEdit;
109
class KSVServicesPage : public KPropertiesDialogPlugin
114
KSVServicesPage (KSVData& data, KPropertiesDialog* props);
115
virtual ~KSVServicesPage ();
117
virtual void applyChanges ();
119
inline int pageIndex () const { return mIndex; }
128
#endif // PROPERTIES_H