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

« back to all changes in this revision

Viewing changes to src/gui/qgsbookmarks.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
 
               QgsBookmarks.h  - Spatial Bookmarks
3
 
                             -------------------
4
 
    begin                : 2005-04-23
5
 
    copyright            : (C) 2005 Gary Sherman
6
 
    email                : sherman at mrcc dot 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: qgsbookmarks.h 5619 2006-07-21 05:22:38Z gsherman $ */
18
 
#ifndef QGSBOOKMARKS_H
19
 
#define QGSBOOKMARKS_H
20
 
#include "ui_qgsbookmarksbase.h"
21
 
#include <QDialog>
22
 
 
23
 
class QString;
24
 
class QWidget;
25
 
class Q3ListViewItem;
26
 
class sqlite3;
27
 
class QgsBookmarks : public QDialog, private Ui::QgsBookmarksBase
28
 
{
29
 
  Q_OBJECT
30
 
public:
31
 
 QgsBookmarks(QWidget *parent = 0, Qt::WFlags fl = 0);
32
 
 ~QgsBookmarks();
33
 
public slots:
34
 
 void on_btnDelete_clicked();
35
 
 void on_btnZoomTo_clicked();
36
 
 void on_lstBookmarks_doubleClicked(Q3ListViewItem *);
37
 
 void on_btnHelp_clicked();
38
 
 void refreshBookmarks();
39
 
 
40
 
private:
41
 
 QWidget *mParent;
42
 
 void initialise();
43
 
 int connectDb();
44
 
 void zoomToBookmark();
45
 
 sqlite3 *db;
46
 
 static const int context_id = 151694916;
47
 
 
48
 
};
49
 
#endif // QGSBOOKMARKS_H
50