From 5d52b8ff2df2d127a119ffd217a0db49c4d78567 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 8 Nov 2023 11:05:10 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit 1a7a57976491e8df569198d8e903bf9e57e233f0) --- kbabel/catalogmanager/catalogmanagerview.cpp | 4 ++-- kbabel/catalogmanager/findinfilesdialog.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kbabel/catalogmanager') diff --git a/kbabel/catalogmanager/catalogmanagerview.cpp b/kbabel/catalogmanager/catalogmanagerview.cpp index d81e1b23..8eed87f5 100644 --- a/kbabel/catalogmanager/catalogmanagerview.cpp +++ b/kbabel/catalogmanager/catalogmanagerview.cpp @@ -2507,7 +2507,7 @@ void CatalogManagerView::showEvent(TQShowEvent*) void CatalogManagerView::contentsMousePressEvent(TQMouseEvent* event) { - if(event->button() == Qt::LeftButton) + if(event->button() == TQt::LeftButton) _pressPos=event->pos(); TQListView::contentsMousePressEvent( event ); @@ -2515,7 +2515,7 @@ void CatalogManagerView::contentsMousePressEvent(TQMouseEvent* event) void CatalogManagerView::contentsMouseMoveEvent(TQMouseEvent* event) { - if(event->state() & Qt::LeftButton) + if(event->state() & TQt::LeftButton) { const int delay = TDEGlobalSettings::dndEventDelay(); if(TQABS( event->pos().x() - _pressPos.x() ) >= delay || diff --git a/kbabel/catalogmanager/findinfilesdialog.cpp b/kbabel/catalogmanager/findinfilesdialog.cpp index 66926de2..401e63e8 100644 --- a/kbabel/catalogmanager/findinfilesdialog.cpp +++ b/kbabel/catalogmanager/findinfilesdialog.cpp @@ -47,7 +47,7 @@ using namespace KBabel; FindInFilesDialog::FindInFilesDialog(bool forReplace, TQWidget* parent) :FindDialog(forReplace, parent) { - TQGroupBox* box = new TQGroupBox(2, Qt::Horizontal, i18n("File Options"), mainWidget()); + TQGroupBox* box = new TQGroupBox(2, TQt::Horizontal, i18n("File Options"), mainWidget()); mainWidget()->layout()->add(box); _inAllFiles = new TQCheckBox(i18n("&In all files"),box); -- cgit v1.2.1