From a49b0e2c531c81e420dc103b5130e2fa8643f46d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 13 Nov 2023 21:03:36 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f) --- khotkeys/kcontrol/gesturerecorder.cpp | 4 ++-- khotkeys/kcontrol/triggers_tab.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'khotkeys') diff --git a/khotkeys/kcontrol/gesturerecorder.cpp b/khotkeys/kcontrol/gesturerecorder.cpp index 6e4395a5b..db946cf06 100644 --- a/khotkeys/kcontrol/gesturerecorder.cpp +++ b/khotkeys/kcontrol/gesturerecorder.cpp @@ -32,7 +32,7 @@ GestureRecorder::~GestureRecorder() void GestureRecorder::mousePressEvent(TQMouseEvent *ev) { - if (ev->button() == Qt::LeftButton) + if (ev->button() == TQt::LeftButton) { _mouseButtonDown = true; stroke.reset(); @@ -43,7 +43,7 @@ void GestureRecorder::mousePressEvent(TQMouseEvent *ev) void GestureRecorder::mouseReleaseEvent(TQMouseEvent *ev) { - if ((ev->button() == Qt::LeftButton) && (_mouseButtonDown)) + if ((ev->button() == TQt::LeftButton) && (_mouseButtonDown)) { TQPoint pos = ev->pos(); stroke.record(pos.x(), pos.y()); diff --git a/khotkeys/kcontrol/triggers_tab.cpp b/khotkeys/kcontrol/triggers_tab.cpp index d4f7ff9d3..947a148b8 100644 --- a/khotkeys/kcontrol/triggers_tab.cpp +++ b/khotkeys/kcontrol/triggers_tab.cpp @@ -227,7 +227,7 @@ Shortcut_trigger_widget::Shortcut_trigger_widget( TQWidget* parent_P, const char lay->addWidget( lbl ); lay->addSpacing( 10 ); bt = new KKeyButton( this ); - lay->addWidget( bt, 0 , Qt::AlignHCenter ); + lay->addWidget( bt, 0 , TQt::AlignHCenter ); lay->addStretch(); clear_data(); connect( bt, TQT_SIGNAL( capturedShortcut( const TDEShortcut& )), -- cgit v1.2.1