Quantum GIS API Documentation
1.7.4
|
00001 /*************************************************************************** 00002 qgscredentialdialog.h - description 00003 ------------------- 00004 begin : February 2010 00005 copyright : (C) 2010 by Juergen E. Fischer 00006 email : jef at norbit dot de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 /* $Id$ */ 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