/***************************************************************************
    oracleconnectgui.u
    -------------------
    begin                : Oracle Spatial Plugin
    copyright            : (C) Ivan Lucena
    email                : ivan.lucena@pmldnet.com
 ***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
/* $Id$ */

#ifndef QgsOracleConnect_H
#define QgsOracleConnect_H

// Qt Designer Includes
#include "ui_qgsoracleconnectbase.h"

// QGIS Includes
#include <qgisgui.h>

class QgsOracleConnect : public QDialog, private Ui::OracleConnectGuiBase
{
    Q_OBJECT

  public:
    QgsOracleConnect( QWidget* parent = 0,
                      const QString& connName = QString::null,
                      Qt::WFlags fl = QgisGui::ModalDialogFlags );
    ~QgsOracleConnect();

  private:
    void saveConnection();
    void helpInfo();

  public slots:
    void on_btnOk_clicked();
    void on_btnCancel_clicked();
};

#endif /* _ORACLECONNECTGUI_H */
