diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 11:50:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 12:48:57 +0900 |
commit | d5688771d8a6837975be512ee37f61bad7dbd345 (patch) | |
tree | b8ef261c559484b01e3a035333561e5226042b4e /tdeparts/partmanager.cpp | |
parent | 44e712a770ad0ab59d33790a80b5f6235cff6921 (diff) | |
download | tdelibs-d5688771d8a6837975be512ee37f61bad7dbd345.tar.gz tdelibs-d5688771d8a6837975be512ee37f61bad7dbd345.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeparts/partmanager.cpp')
-rw-r--r-- | tdeparts/partmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeparts/partmanager.cpp b/tdeparts/partmanager.cpp index 140db74e2..8a41eb18c 100644 --- a/tdeparts/partmanager.cpp +++ b/tdeparts/partmanager.cpp @@ -183,7 +183,7 @@ bool PartManager::eventFilter( TQObject *obj, TQEvent *ev ) if ( !obj->isWidgetType() ) return false; - TQWidget *w = TQT_TQWIDGET( obj ); + TQWidget *w = static_cast<TQWidget*>( obj ); if ( ( w->testWFlags( WType_Dialog ) && w->isModal() ) || w->testWFlags( WType_Popup ) || w->testWFlags( WStyle_Tool ) ) @@ -419,7 +419,7 @@ void PartManager::setActivePart( Part *part, TQWidget *widget ) //tree recursively (Simon) if ( part && !d->m_bAllowNestedParts ) { - TQObject *parentPart = TQT_TQOBJECT(part->parent()); // ### this relies on people using KParts::Factory! + TQObject *parentPart = part->parent(); // ### this relies on people using KParts::Factory! if ( parentPart && parentPart->inherits( "KParts::Part" ) ) { KParts::Part *parPart = static_cast<KParts::Part *>( parentPart ); |