summaryrefslogtreecommitdiffstats
path: root/kdessh/sshdlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdessh/sshdlg.h')
-rw-r--r--kdessh/sshdlg.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/kdessh/sshdlg.h b/kdessh/sshdlg.h
new file mode 100644
index 0000000..1090312
--- /dev/null
+++ b/kdessh/sshdlg.h
@@ -0,0 +1,32 @@
+/* vi: ts=8 sts=4 sw=4
+ *
+ * $Id$
+ *
+ * This file is part of the KDE project, module kdesu.
+ * Copyright (C) 2000 Geert Jansen <jansen@kde.org>
+ */
+
+#ifndef __SshDlg_h_Included__
+#define __SshDlg_h_Included__
+
+#include <kpassdlg.h>
+
+class KDEsshDialog
+ : public KPasswordDialog
+{
+ Q_OBJECT
+
+public:
+ KDEsshDialog(QCString host, QCString user, QCString stub,
+ QString prompt, bool enableKeep);
+ ~KDEsshDialog();
+
+protected:
+ bool checkPassword(const char *password);
+
+private:
+ QCString m_User, m_Host, m_Stub;
+};
+
+
+#endif // __SshDlg_h_Included__