Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / konsole / src / RemoteConnectionDialog.h
blobee4fe5d1c0026f27f4ffd9ed68107d8f58b491b8
1 /*
2 Copyright 2007-2008 by Robert Knight <robertknight@gmail.com>
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
17 02110-1301 USA.
20 #ifndef REMOTECONNECTIONDIALOG_H
21 #define REMOTECONNECTIONDIALOG_H
23 // KDE
24 #include <KDialog>
26 namespace Ui
28 class RemoteConnectionDialog;
31 namespace Konsole
34 class RemoteConnectionDialog : public KDialog
36 public:
37 RemoteConnectionDialog(QWidget* parent = 0 );
38 ~RemoteConnectionDialog();
40 QString user() const;
41 QString host() const;
42 QString service() const;
44 QString sessionKey() const;
46 private:
47 Ui::RemoteConnectionDialog* _ui;
52 #endif // REMOTECONNECTIONDIALOG_H