From 007026cdc4d51e217ce6317b87c0ff2b2d120c83 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 8 Nov 2023 11:05:40 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- kcalc/kcalcdisplay.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kcalc') diff --git a/kcalc/kcalcdisplay.cpp b/kcalc/kcalcdisplay.cpp index a335458..1c620b0 100644 --- a/kcalc/kcalcdisplay.cpp +++ b/kcalc/kcalcdisplay.cpp @@ -150,7 +150,7 @@ void KCalcDisplay::slotPaste(bool bClipboard) void KCalcDisplay::slotDisplaySelected(void) { - if(_button == Qt::LeftButton) { + if(_button == TQt::LeftButton) { if(_lit) { slotCopy(); selection_timer->start(100); @@ -182,11 +182,11 @@ void KCalcDisplay::invertColors() void KCalcDisplay::mousePressEvent(TQMouseEvent *e) { - if(e->button() == Qt::LeftButton) { + if(e->button() == TQt::LeftButton) { _lit = !_lit; - _button = Qt::LeftButton; + _button = TQt::LeftButton; } else { - _button = Qt::MidButton; + _button = TQt::MidButton; } emit clicked(); -- cgit v1.2.1