diff options
Diffstat (limited to 'kgeography/src/mapwidget.h')
-rw-r--r-- | kgeography/src/mapwidget.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/kgeography/src/mapwidget.h b/kgeography/src/mapwidget.h index 1bc37cb3..3f6561dc 100644 --- a/kgeography/src/mapwidget.h +++ b/kgeography/src/mapwidget.h @@ -15,18 +15,19 @@ #include <tqpoint.h> #include <tqwidget.h> -class mapWidget : public QWidget +class mapWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: - mapWidget(TQWidget *parent); + mapWidget(TQWidget *tqparent); void init(const TQString &path, int scrollBarWidth, int scrollBarHeight); void setMapMove(bool b); void setMapZoom(bool b); - TQSize sizeHint() const; + TQSize tqsizeHint() const; TQSize mapSize() const; public slots: @@ -38,7 +39,7 @@ Q_OBJECT void setMoveActionChecked(bool b); void setZoomActionChecked(bool b); void setMoveActionEnabled(bool b); - void clicked(QRgb, const TQPoint&); + void clicked(TQRgb, const TQPoint&); void updatePosition(int X, int Y); void updateVisibleSize(int w, int h); void updateMaximumSize(int w, int h); |