summaryrefslogtreecommitdiff
path: root/noncore/net/mail/libmailwrapper/logindialog.h
Side-by-side diff
Diffstat (limited to 'noncore/net/mail/libmailwrapper/logindialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/logindialog.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/noncore/net/mail/libmailwrapper/logindialog.h b/noncore/net/mail/libmailwrapper/logindialog.h
new file mode 100644
index 0000000..7a0d1b0
--- a/dev/null
+++ b/noncore/net/mail/libmailwrapper/logindialog.h
@@ -0,0 +1,23 @@
+#ifndef LOGINDIALOG_H
+#define LOGINDIALOG_H
+
+#include "logindialogui.h"
+
+class LoginDialog : public LoginDialogUI
+{
+ Q_OBJECT
+
+public:
+ LoginDialog( QString user, 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