summaryrefslogtreecommitdiffstats
path: root/kgeography/src/mapwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /kgeography/src/mapwidget.h
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kgeography/src/mapwidget.h')
-rw-r--r--kgeography/src/mapwidget.h9
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);