~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to kde/src/accountwizard.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (1.1.11)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20140128182336-3xenud1kbnwmf3mz
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
 
 *   Copyright (C) 2009-2013 by Savoir-Faire Linux                         *
 
2
 *   Copyright (C) 2009-2014 by Savoir-Faire Linux                         *
3
3
 *   Author : Jérémy Quentin <jeremy.quentin@savoirfairelinux.com>         *
4
4
 *            Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com>*
5
5
 *                                                                         *
28
28
class KLineEdit;
29
29
class QCheckBox;
30
30
 
 
31
typedef struct {
 
32
   bool    success ;
 
33
   QString reason  ;
 
34
   QString user    ;
 
35
   QString passwd  ;
 
36
} rest_account;
 
37
 
31
38
/**
32
39
   @author Jérémy Quentin <jeremy.quentin@savoirfairelinux.com>
33
40
*/
40
47
   explicit AccountWizard(QWidget * parent = nullptr);
41
48
   ~AccountWizard();
42
49
   void accept();
 
50
private:
 
51
   //Helpers
 
52
   rest_account get_rest_account(const QString& host, const QString& email);
 
53
   int sendRequest(const QString& host, int port, const QString& req, QString& ret);
43
54
};
44
55
 
45
56
/***************************************************************************