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

« back to all changes in this revision

Viewing changes to src/plugins/maplayer/maplayertest.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
 
#ifndef QGSMAPLAYERTESTPLUGIN_H
2
 
#define QGSMAPLAYERTESTPLUGIN_H
3
 
#include <q3mainwindow.h>
4
 
#include <qmenubar.h>
5
 
#include "../../src/qgsmaplayerinterface.h"
6
 
#include "../../src/qgsmaptopixel.h"
7
 
class MapLayerTest : public QgsMapLayerInterface{
8
 
Q_OBJECT
9
 
public:
10
 
MapLayerTest();
11
 
void setQgisMainWindow(Q3MainWindow *app);
12
 
void setCoordinateTransform(QgsMapToPixel *xform);
13
 
public slots:
14
 
void initGui();
15
 
void open();
16
 
void unload();
17
 
void draw();
18
 
private:
19
 
        Q3MainWindow *qgisApp;
20
 
        QMenuBar *menu;
21
 
        int menuId;
22
 
        QgsMapToPixel *coordTransform;
23
 
};
24
 
 
25
 
 
26
 
#endif //QGSMAPLAYERTESTPLUGIN_H