~lightdm-team/lightdm/1.4

« back to all changes in this revision

Viewing changes to greeters/qt/loginprompt.h

  • Committer: David Edmundson
  • Date: 2011-05-21 00:58:49 UTC
  • Revision ID: david@davidedmundson.co.uk-20110521005849-nnh50wnbz21jjcb9
Added .h files missing in last commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef LOGINPROMPT_H
 
2
#define LOGINPROMPT_H
 
3
 
 
4
#include <QWidget>
 
5
 
 
6
namespace Ui {
 
7
    class Widget;
 
8
}
 
9
 
 
10
class LdmGreeter;
 
11
 
 
12
class LoginPrompt : public QWidget
 
13
{
 
14
    Q_OBJECT
 
15
 
 
16
public:
 
17
    explicit LoginPrompt(LdmGreeter* greeter, QWidget *parent = 0);
 
18
    virtual ~LoginPrompt();
 
19
 
 
20
private slots:
 
21
    void onLoginButtonClicked();
 
22
    void onAuthenticationComplete(bool success);
 
23
    void prompt(const QString &message);
 
24
 
 
25
private:
 
26
    LdmGreeter *m_greeter;
 
27
    Ui::Widget *ui;
 
28
};
 
29
 
 
30
#endif // WIDGET_H