summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/mainwindowactions.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:48:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-18 17:07:59 +0900
commite5cb335358db67ee9a68a15d99dc89d1e0da3111 (patch)
tree70cf0b11d74c625d2bbea4f9d3f62ab0c1eb00bc /kdevdesigner/designer/mainwindowactions.cpp
parent57951b635ee02df8266476eafb5094a3b3731a8f (diff)
downloadtdevelop-e5cb335358db67ee9a68a15d99dc89d1e0da3111.tar.gz
tdevelop-e5cb335358db67ee9a68a15d99dc89d1e0da3111.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0813a2c41340ea35119ba3225c8c9b710d9ced07)
Diffstat (limited to 'kdevdesigner/designer/mainwindowactions.cpp')
-rw-r--r--kdevdesigner/designer/mainwindowactions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdevdesigner/designer/mainwindowactions.cpp b/kdevdesigner/designer/mainwindowactions.cpp
index 161d3dae..6f6ff3ad 100644
--- a/kdevdesigner/designer/mainwindowactions.cpp
+++ b/kdevdesigner/designer/mainwindowactions.cpp
@@ -1345,7 +1345,7 @@ bool MainWindow::fileSave()
bool MainWindow::fileSaveForm()
{
for ( SourceEditor *e = sourceEditors.first(); e; e = sourceEditors.next() ) {
- if ( TQT_BASE_OBJECT(e->object()) == formWindow() || e == qWorkspace()->activeWindow() ) {
+ if ( e->object() == formWindow() || e == qWorkspace()->activeWindow() ) {
e->save();
}
}
@@ -1431,7 +1431,7 @@ void MainWindow::fileCreateTemplate()
void MainWindow::createNewTemplate()
{
- CreateTemplate *dia = (CreateTemplate*)TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->parent();
+ CreateTemplate *dia = (CreateTemplate*)sender()->parent();
TQString fn = dia->editName->text();
TQString cn = dia->listClass->currentText();
if ( fn.isEmpty() || cn.isEmpty() ) {