Quantum GIS API Documentation  1.7.5-Wroclaw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
qgscredentialdialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgscredentialdialog.h - description
3  -------------------
4  begin : February 2010
5  copyright : (C) 2010 by Juergen E. Fischer
6  email : jef at norbit dot de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 /* $Id$ */
18 #ifndef QGSCREDENTIALDIALOG_H
19 #define QGSCREDENTIALDIALOG_H
20 
21 #include <ui_qgscredentialdialog.h>
22 #include <qgisgui.h>
23 #include "qgscredentials.h"
24 
25 #include <QString>
26 
27 
31 class GUI_EXPORT QgsCredentialDialog : public QDialog, public QgsCredentials, private Ui_QgsCredentialDialog
32 {
33  Q_OBJECT
34  public:
35  QgsCredentialDialog( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
37 
38  protected:
39  virtual bool request( QString realm, QString &username, QString &password, QString message = QString::null );
40 };
41 
42 #endif