summaryrefslogtreecommitdiffstats
path: root/kommander/factory
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:48:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-18 19:12:33 +0900
commit8ac0be0f7fbc73ec137ed768ccc6a2e0f41ee2b9 (patch)
tree2a0d2f7cace40c019136ff68b73df43ad95ddf67 /kommander/factory
parent19e527845958845e1fbd5b6d350e9d15c099f939 (diff)
downloadtdewebdev-8ac0be0f7fbc73ec137ed768ccc6a2e0f41ee2b9.tar.gz
tdewebdev-8ac0be0f7fbc73ec137ed768ccc6a2e0f41ee2b9.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kommander/factory')
-rw-r--r--kommander/factory/kommanderfactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kommander/factory/kommanderfactory.cpp b/kommander/factory/kommanderfactory.cpp
index 57737fb7..aa037002 100644
--- a/kommander/factory/kommanderfactory.cpp
+++ b/kommander/factory/kommanderfactory.cpp
@@ -827,7 +827,7 @@ void KommanderFactory::setProperty( TQObject* obj, const TQString &prop, const T
}
if ( prop == "geometry" ) {
- if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(toplevel) ) {
+ if ( obj == toplevel ) {
toplevel->resize( v.toRect().size() );
return;
}
@@ -1097,7 +1097,7 @@ void KommanderFactory::loadConnections( const TQDomElement &e, TQObject *connect
TQStrList slotList = receiver->metaObject()->slotNames( true );
// if this is a connection to a custom slot and we have a connector, try this as receiver
- if ( slotList.find( conn.slot ) == -1 && TQT_BASE_OBJECT(receiver) == TQT_BASE_OBJECT(toplevel) && connector ) {
+ if ( slotList.find( conn.slot ) == -1 && receiver == toplevel && connector ) {
slotList = connector->metaObject()->slotNames( true );
receiver = connector;
}