2
KSysGuard, the KDE System Guard
4
Copyright (c) 1999, 2000 Chris Schlaeger <cs@kde.org>
6
This program is free software; you can redistribute it and/or
7
modify it under the terms of version 2 of the GNU General Public
8
License as published by the Free Software Foundation.
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
15
You should have received a copy of the GNU General Public License
16
along with this program; if not, write to the Free Software
17
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
#ifndef KSG_HOSTCONNECTOR_H
22
#define KSG_HOSTCONNECTOR_H
33
class HostConnector : public KDialog
38
explicit HostConnector( QWidget *parent, const char *name = 0 );
41
void setHostNames( const QStringList &list );
42
QStringList hostNames() const;
44
void setCommands( const QStringList &list );
45
QStringList commands() const;
47
void setCurrentHostName( const QString &hostName );
49
QString currentHostName() const;
50
QString currentCommand() const;
55
bool useDaemon() const;
56
bool useCustom() const;
59
virtual void slotHelp();
60
void slotHostNameChanged( const QString &_text );
63
KComboBox *mHostNames;
65
QLabel *mHostNameLabel;
67
QRadioButton *mUseSsh;
68
QRadioButton *mUseRsh;
69
QRadioButton *mUseDaemon;
70
QRadioButton *mUseCustom;