00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef QGSCREDENTIALDIALOG_H
00019 #define QGSCREDENTIALDIALOG_H
00020
00021 #include <ui_qgscredentialdialog.h>
00022 #include <qgisgui.h>
00023 #include "qgscredentials.h"
00024
00025 #include <QString>
00026
00027
00031 class GUI_EXPORT QgsCredentialDialog : public QDialog, public QgsCredentials, private Ui_QgsCredentialDialog
00032 {
00033 Q_OBJECT
00034 public:
00035 QgsCredentialDialog( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
00036 ~QgsCredentialDialog();
00037
00038 protected:
00039 virtual bool request( QString realm, QString &username, QString &password, QString message = QString::null );
00040 };
00041
00042 #endif