~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to src/plugins/spit/qgsconnectiondialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
                          qgsconnectiondialog.h  -  description
3
 
                             -------------------
4
 
    begin                : Thu Dec 10 2003
5
 
    copyright            : (C) 2003 by Denis Antipov
6
 
    email                : 
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
 
 
18
 
#ifndef QGSCONNECTIONDIALOG_H
19
 
#define QGSCONNECTIONDIALOG_H
20
 
 
21
 
// $Id: qgsconnectiondialog.h 4949 2006-03-03 01:47:39Z wonder $
22
 
 
23
 
#include "ui_qgsconnectiondialogbase.h"
24
 
#include "qgisgui.h"
25
 
 
26
 
class QgsConnectionDialog : public QDialog, private Ui::QgsConnectionDialogBase
27
 
{
28
 
  Q_OBJECT
29
 
 public:
30
 
 
31
 
    QgsConnectionDialog(QWidget *parent = 0, const QString& connName = QString::null, Qt::WFlags fl = QgisGui::ModalDialogFlags);
32
 
    ~QgsConnectionDialog();
33
 
    void testConnection();
34
 
    void saveConnection();
35
 
    void helpInfo();
36
 
 
37
 
public slots:
38
 
 
39
 
  void on_btnOk_clicked()      { saveConnection(); }
40
 
  void on_btnCancel_clicked()  { done(1); }
41
 
  void on_btnHelp_clicked()    { helpInfo(); }
42
 
  void on_btnConnect_clicked() { testConnection(); }
43
 
};
44
 
 
45
 
#endif