From 51e1505d8c6135e2fbb25ca48b6bfb77015f5402 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 6 Nov 2023 11:28:58 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- kbstateapplet/kbstate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kbstateapplet/kbstate.cpp') diff --git a/kbstateapplet/kbstate.cpp b/kbstateapplet/kbstate.cpp index e0bf552..e93d290 100644 --- a/kbstateapplet/kbstate.cpp +++ b/kbstateapplet/kbstate.cpp @@ -264,7 +264,7 @@ int KbStateApplet::heightForWidth(int w) const { } void KbStateApplet::mousePressEvent(TQMouseEvent *e) { - if (e->button() == Qt::RightButton) + if (e->button() == TQt::RightButton) popup->popup(e->globalPos()); } @@ -308,7 +308,7 @@ void KbStateApplet::layout() { accessxCount++; } - if (orientation() ==Qt::Vertical) { + if (orientation() ==TQt::Vertical) { calculateSizes (width(), modifierCount, lockkeyCount, accessxCount, showMouse, lines, length, size); -- cgit v1.2.1