Quantum GIS API Documentation  1.8
src/gui/qgscredentialdialog.h
Go to the documentation of this file.
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 #ifndef QGSCREDENTIALDIALOG_H
00018 #define QGSCREDENTIALDIALOG_H
00019 
00020 #include <ui_qgscredentialdialog.h>
00021 #include <qgisgui.h>
00022 #include "qgscredentials.h"
00023 
00024 #include <QString>
00025 
00026 
00030 class GUI_EXPORT QgsCredentialDialog : public QDialog, public QgsCredentials, private Ui_QgsCredentialDialog
00031 {
00032     Q_OBJECT
00033   public:
00034     QgsCredentialDialog( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
00035     ~QgsCredentialDialog();
00036 
00037   protected:
00038     virtual bool request( QString realm, QString &username, QString &password, QString message = QString::null );
00039 };
00040 
00041 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines