~ubuntu-branches/ubuntu/quantal/qgis/quantal

« back to all changes in this revision

Viewing changes to src/qgsnewconnection.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Halasz
  • Date: 2004-12-21 09:46:27 UTC
  • Revision ID: james.westby@ubuntu.com-20041221094627-r9lb6mlz2o3yp8gn
Tags: upstream-0.6.0
ImportĀ upstreamĀ versionĀ 0.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
                          qgsnewconnection.h  -  description
 
3
                             -------------------
 
4
    begin                : Sat Jun 22 2002
 
5
    copyright            : (C) 2002 by Gary E.Sherman
 
6
    email                : sherman at mrcc.com
 
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
 /* $Id: qgsnewconnection.h,v 1.8 2004/06/12 18:27:11 gsherman Exp $ */
 
18
#ifndef QGSNEWCONNECTION_H
 
19
#define QGSNEWCONNECTION_H
 
20
#ifdef WIN32
 
21
#include "qgsnewconnectionbase.h"
 
22
#else
 
23
#include "qgsnewconnectionbase.uic.h"
 
24
#endif
 
25
/*! \class QgsNewConnection
 
26
 * \brief Dialog to allow the user to configure and save connection
 
27
 * information for a PostgresQl database
 
28
 */
 
29
class QgsNewConnection : public QgsNewConnectionBase 
 
30
{
 
31
  Q_OBJECT
 
32
 public:
 
33
    //! Constructor
 
34
    QgsNewConnection(QString connName= QString::null);
 
35
    //! Destructor
 
36
    ~QgsNewConnection();
 
37
    //! Tests the connection using the parameters supplied
 
38
    void testConnection();
 
39
    //! Saves the connection to ~/.qt/qgisrc
 
40
    void saveConnection();
 
41
};
 
42
 
 
43
#endif //  QGSNEWCONNECTIONBASE_H