summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-12 09:12:41 +0900
committerMichele Calgaro <[email protected]>2023-07-13 09:13:19 +0900
commitd79e9b5e538bc993cbf1c61e9ae1f67e6e94737d (patch)
tree38d47525bc4867c8eb91179334d81af68e190d3d
parent41c04dc620c76760636ad5d192526d536328e528 (diff)
downloadkdpkg-d79e9b5e538bc993cbf1c61e9ae1f67e6e94737d.tar.gz
kdpkg-d79e9b5e538bc993cbf1c61e9ae1f67e6e94737d.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit fb1e7c0ab5cd5355732fe668a9ce3210346a52db)
-rw-r--r--kdpkg-install/console.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdpkg-install/console.cpp b/kdpkg-install/console.cpp
index fa404ce..d5586b3 100644
--- a/kdpkg-install/console.cpp
+++ b/kdpkg-install/console.cpp
@@ -93,7 +93,7 @@ void console::loadKonsole()
KLibFactory* factory = KLibLoader::self()->factory( "libsanekonsolepart" );
if (!factory)
factory = KLibLoader::self()->factory( "libkonsolepart" );
- konsole = static_cast<KParts::Part*>( factory->create( TQT_TQOBJECT(konsoleFrame), "konsolepart", TQOBJECT_OBJECT_NAME_STRING, "KParts::ReadOnlyPart" ) );
+ konsole = static_cast<KParts::Part*>( factory->create( TQT_TQOBJECT(konsoleFrame), "konsolepart", "TQObject", "KParts::ReadOnlyPart" ) );
terminal()->setAutoDestroy( true );
terminal()->setAutoStartShell( false );
konsole->widget()->setGeometry(0, 0, konsoleFrame->width(), konsoleFrame->height());