diff options
Diffstat (limited to 'kgeography/src')
-rw-r--r-- | kgeography/src/mapasker.cpp | 4 | ||||
-rw-r--r-- | kgeography/src/mapwidget.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kgeography/src/mapasker.cpp b/kgeography/src/mapasker.cpp index 12ed0f53..c9ea4c78 100644 --- a/kgeography/src/mapasker.cpp +++ b/kgeography/src/mapasker.cpp @@ -27,9 +27,9 @@ mapAsker::mapAsker(TQWidget *parent, KGmap *m, TQWidget *w, bool asker, uint cou p_mapWidget = new mapWidget(this); lay -> addWidget(p_mapWidget, 0, 0); - p_hsb = new TQScrollBar(Qt::Horizontal, this); + p_hsb = new TQScrollBar(TQt::Horizontal, this); lay -> addWidget(p_hsb, 1, 0); - p_vsb = new TQScrollBar(Qt::Vertical, this); + p_vsb = new TQScrollBar(TQt::Vertical, this); lay -> addWidget(p_vsb, 0, 1); lay -> setRowStretch(2, 1); diff --git a/kgeography/src/mapwidget.cpp b/kgeography/src/mapwidget.cpp index 81f55d82..d8fe9282 100644 --- a/kgeography/src/mapwidget.cpp +++ b/kgeography/src/mapwidget.cpp @@ -80,7 +80,7 @@ void mapWidget::updateVPosition(int value) void mapWidget::mousePressEvent(TQMouseEvent *e) { - if (e -> button() == Qt::LeftButton) + if (e -> button() == TQt::LeftButton) { if (p_wantZoom) { |