~ubuntu-branches/ubuntu/natty/nuapplet/natty

« back to all changes in this revision

Viewing changes to auth_dlg.h

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2010-05-17 15:15:59 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100517151559-lf4zajscmlwf2yef
Tags: 2.3.0-1
* Imported Upstream version 2.3.0
  Add support for new (>= 2.4) libnuclient API (Closes: #573667)
* Urgency high, RC bug
* Bump standards version to 3.8.4
* Update homepage location
* Update dependencies on libnuclient and libnussl >= 2.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 ** Copyright 2004-2007 - INL
3
 
 ** Written by Eric Leblond <eric.leblond@inl.fr>
4
 
 **            Vincent Deffontaines <vincent@inl.fr>
5
 
 ** INL http://www.inl.fr/
6
 
 **
7
 
 ** This program is free software; you can redistribute it and/or modify
8
 
 ** it under the terms of the GNU General Public License as published by
9
 
 ** the Free Software Foundation, version 2 of the License.
10
 
 **
11
 
 ** This program is distributed in the hope that it will be useful,
12
 
 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 ** GNU General Public License for more details.
15
 
 **
16
 
 ** You should have received a copy of the GNU General Public License
17
 
 ** along with this program; if not, write to the Free Software
18
 
 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
 
 */
20
 
 
21
 
#ifndef __AUTH_DLG__
22
 
#define __AUTH_DLG__
23
 
 
24
 
#include <QMainWindow>
25
 
#include <QtGui>
26
 
#include <QSystemTrayIcon>
27
 
 
28
 
#include "editbox.h"
29
 
 
30
 
class NuAppAuthDialog : public QDialog {
31
 
        Q_OBJECT
32
 
 
33
 
        QSettings settings;
34
 
        NuEditBox *username;
35
 
        NuEditBox *password;
36
 
        QObject *parent;
37
 
public:
38
 
        NuAppAuthDialog (QObject* _parent);
39
 
 
40
 
public slots:
41
 
        void get_user_infos();
42
 
        void show();
43
 
 
44
 
signals:
45
 
        void start_auth(QString username, QString password); 
46
 
 
47
 
private:
48
 
        void createDialog();
49
 
};
50
 
 
51
 
#endif /* __AUTH_DLG__ */