summaryrefslogtreecommitdiffabout
path: root/kmicromail/libmailwrapper/logindialog.h
Side-by-side diff
Diffstat (limited to 'kmicromail/libmailwrapper/logindialog.h') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/libmailwrapper/logindialog.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/kmicromail/libmailwrapper/logindialog.h b/kmicromail/libmailwrapper/logindialog.h
new file mode 100644
index 0000000..f406f2c
--- a/dev/null
+++ b/kmicromail/libmailwrapper/logindialog.h
@@ -0,0 +1,23 @@
+#ifndef LOGINDIALOG_H
+#define LOGINDIALOG_H
+
+#include "logindialogui.h"
+
+class LoginDialog : public LoginDialogUI
+{
+ Q_OBJECT
+
+public:
+ LoginDialog(const QString&user,const QString&pass, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 );
+ QString getUser() { return _user; }
+ QString getPassword() { return _pass; }
+
+protected slots:
+ void accept();
+
+private:
+ QString _user, _pass;
+
+};
+
+#endif