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