~cyberspace/akonadi-facebook/akonadi-facebook-afiestas

« back to all changes in this revision

Viewing changes to libkfacebook/authenticationdialog.h

  • Committer: Alex Fiestas
  • Date: 2012-04-14 01:34:04 UTC
  • Revision ID: git-v1:3e55df70b7af45f3df633e8c97e482968103faca
Be able to preset user/password, and make authdialog auto fill it

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    void setAppId( const QString &appId );
35
35
    void setPermissions( const QStringList &permissions );
36
36
    void start();
 
37
    void setUsername(const QString &username);
 
38
    void setPassword(const QString &password);
37
39
 
38
40
  Q_SIGNALS:
39
41
    void authenticated( const QString &accessToken );
40
42
    void canceled();
41
43
 
42
44
  private Q_SLOTS:
43
 
 
 
45
    void loadFinished();
44
46
    void urlChanged( const QUrl &url );
45
47
    void showErrorDialog();
46
48
 
52
54
    QString mError;
53
55
    QString mErrorReason;
54
56
    QString mErrorDescription;
 
57
    QString mUsername;
 
58
    QString mPassword;
55
59
};
56
60
 
57
61
#endif