~ubuntu-branches/ubuntu/saucy/merkaartor/saucy

« back to all changes in this revision

Viewing changes to Tools/WorldOsbManager.h

  • Committer: Bazaar Package Importer
  • Author(s): Bernd Zeimetz
  • Date: 2009-09-13 00:52:12 UTC
  • mto: (1.2.7 upstream) (0.1.3 upstream) (3.1.7 sid)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20090913005212-pjecal8zxm07x0fj
ImportĀ upstreamĀ versionĀ 0.14+svnfixes~20090912

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//
2
 
// C++ Interface: WorldOsbManager
3
 
//
4
 
// Description: 
5
 
//
6
 
//
7
 
// Author: Chris Browet <cbro@semperpax.com>, (C) 2008
8
 
//
9
 
// Copyright: See COPYING file that comes with this distribution
10
 
//
11
 
//
12
 
#ifndef WORLDOSBMANAGER_H
13
 
#define WORLDOSBMANAGER_H
14
 
 
15
 
#include "IProgressWindow.h"
16
 
#include <ui_WorldOsbManager.h>
17
 
 
18
 
#include <QRectF>
19
 
 
20
 
class QFile;
21
 
 
22
 
class WorldOsbManager: public QDialog , public Ui::WorldOsbManager, public IProgressWindow
23
 
{
24
 
        Q_OBJECT
25
 
 
26
 
        public:
27
 
                WorldOsbManager(QWidget *parent = 0);
28
 
                ~WorldOsbManager();
29
 
 
30
 
                void DoIt();
31
 
                bool generateRegion(quint32 rg);
32
 
                bool deleteRegion(quint32 rg);
33
 
 
34
 
                void setViewport(const QRectF& theViewport);
35
 
 
36
 
        public slots:
37
 
                virtual void on_cbShowGrid_toggled(bool checked);
38
 
                virtual void on_buttonBox_clicked(QAbstractButton * button);
39
 
                virtual void on_WorldDirectoryBrowse_clicked();
40
 
 
41
 
        protected:
42
 
                QFile* WorldFile;
43
 
 
44
 
                void readWorld();
45
 
 
46
 
        private:
47
 
};
48
 
 
49
 
#endif