From 36c049e135b0cec7cf97b41888860186813df5f0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 11:09:49 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- interfaces/terminal/kde_terminal_interface.h | 2 +- interfaces/terminal/test/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'interfaces') diff --git a/interfaces/terminal/kde_terminal_interface.h b/interfaces/terminal/kde_terminal_interface.h index 83e82e5e2..67edaea3e 100644 --- a/interfaces/terminal/kde_terminal_interface.h +++ b/interfaces/terminal/kde_terminal_interface.h @@ -53,7 +53,7 @@ class TQStrList; * }; * // fetch the part.. * KParts::Part* p = static_cast( - * factory->create( this, "tralala", TQOBJECT_OBJECT_NAME_STRING, + * factory->create( this, "tralala", "TQObject", * "KParts::ReadOnlyPart" ) ); * assert( p ); * setCentralWidget( p->widget() ); diff --git a/interfaces/terminal/test/main.cpp b/interfaces/terminal/test/main.cpp index 8130f85d6..29f01085e 100644 --- a/interfaces/terminal/test/main.cpp +++ b/interfaces/terminal/test/main.cpp @@ -17,7 +17,7 @@ Win::Win() { KLibFactory* factory = KLibLoader::self()->factory( "libkonsolepart" ); assert( factory ); - KParts::Part* p = static_cast( factory->create( this, "tralala", TQOBJECT_OBJECT_NAME_STRING, "KParts::ReadOnlyPart" ) ); + KParts::Part* p = static_cast( factory->create( this, "tralala", "TQObject", "KParts::ReadOnlyPart" ) ); setCentralWidget( p->widget() ); TerminalInterface* t = ::tqqt_cast( p ); -- cgit v1.2.1