From bcee6c3261309f13cf2ca0ad1d9ddc8ee5624d7a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 6 Nov 2023 11:38:51 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit c8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6) --- kgeography/src/mapasker.cpp | 4 ++-- kgeography/src/mapwidget.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kgeography') 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) { -- cgit v1.2.1