From 3c1e2ceb3aac4f825a4774f05dc7316ac85b92f2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:48:13 +0900 Subject: Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro (cherry picked from commit 2ceb4caa0bdb7828fdc87dca7b5a719279e23398) --- umbrello/umbrello/codegenerators/cppcodegenerationform.cpp | 2 +- umbrello/umbrello/dialogs/codegenerationoptionspage.cpp | 2 +- umbrello/umbrello/kplayerslideraction.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'umbrello') diff --git a/umbrello/umbrello/codegenerators/cppcodegenerationform.cpp b/umbrello/umbrello/codegenerators/cppcodegenerationform.cpp index 136f57bc..3a251802 100644 --- a/umbrello/umbrello/codegenerators/cppcodegenerationform.cpp +++ b/umbrello/umbrello/codegenerators/cppcodegenerationform.cpp @@ -70,7 +70,7 @@ CPPCodeGenerationForm::~CPPCodeGenerationForm() void CPPCodeGenerationForm::browseClicked() { - TQString button = TQT_TQOBJECT(const_cast(sender()))->name(); + TQString button = sender()->name(); TQString file = KFileDialog::getOpenFileName( TQString(), "*.h", this, "Get Header File"); if(file.isEmpty()) diff --git a/umbrello/umbrello/dialogs/codegenerationoptionspage.cpp b/umbrello/umbrello/dialogs/codegenerationoptionspage.cpp index d0cb73f2..6aff2b8f 100644 --- a/umbrello/umbrello/dialogs/codegenerationoptionspage.cpp +++ b/umbrello/umbrello/dialogs/codegenerationoptionspage.cpp @@ -171,7 +171,7 @@ void CodeGenerationOptionsPage::setDefaults() { void CodeGenerationOptionsPage::browseClicked() { - TQString button = TQT_TQOBJECT(const_cast(sender()))->name(); + TQString button = sender()->name(); TQString dir = KFileDialog::getExistingDirectory(); if(dir.isEmpty()) return; diff --git a/umbrello/umbrello/kplayerslideraction.cpp b/umbrello/umbrello/kplayerslideraction.cpp index 23c90b41..767aae23 100644 --- a/umbrello/umbrello/kplayerslideraction.cpp +++ b/umbrello/umbrello/kplayerslideraction.cpp @@ -213,7 +213,7 @@ void KPlayerSliderAction::unplug (TQWidget* widget) //Q_ASSERT (isPlugged()); //Q_ASSERT (widget -> inherits ("TDEToolBar")); KWidgetAction::unplug (widget); - if ( ! slider() || ! isPlugged() || TQT_BASE_OBJECT(widget) != TQT_BASE_OBJECT(slider() -> parent()) ) + if ( ! slider() || ! isPlugged() || widget != slider() -> parent() ) return; //TDEToolBar* toolbar = (TDEToolBar*) widget; disconnect (widget, TQT_SIGNAL (orientationChanged (Qt::Orientation)), this, TQT_SLOT (orientationChanged (Qt::Orientation))); -- cgit v1.2.1