diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-22 18:45:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-26 21:26:32 +0900 |
commit | c4a6487c827add9382001ff1892b8fb3bfa94682 (patch) | |
tree | ec6c8a691a15099df946531b66355a76ca02b2db /kicker/libkicker | |
parent | 7c724a49212a9ffdf42381d99648f15457867787 (diff) | |
download | tdebase-c4a6487c827add9382001ff1892b8fb3bfa94682.tar.gz tdebase-c4a6487c827add9382001ff1892b8fb3bfa94682.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kicker/libkicker')
-rw-r--r-- | kicker/libkicker/kickertip.cpp | 4 | ||||
-rw-r--r-- | kicker/libkicker/menuinfo.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kicker/libkicker/kickertip.cpp b/kicker/libkicker/kickertip.cpp index b3716a871..a491aae27 100644 --- a/kicker/libkicker/kickertip.cpp +++ b/kicker/libkicker/kickertip.cpp @@ -452,7 +452,7 @@ void KickerTip::tipperDestroyed(TQObject* o) { // we can't do a dynamic cast because we are in the process of dying // so static it is. - untipFor(TQT_TQWIDGET(o)); + untipFor(static_cast<TQWidget*>(o)); } void KickerTip::internalUpdate() @@ -508,7 +508,7 @@ bool KickerTip::eventFilter(TQObject *object, TQEvent *event) return false; } - TQWidget *widget = TQT_TQWIDGET(object); + TQWidget *widget = static_cast<TQWidget*>(object); switch (event->type()) { diff --git a/kicker/libkicker/menuinfo.cpp b/kicker/libkicker/menuinfo.cpp index a8e4bf1fa..8cdc4c664 100644 --- a/kicker/libkicker/menuinfo.cpp +++ b/kicker/libkicker/menuinfo.cpp @@ -64,5 +64,5 @@ KPanelMenu* MenuInfo::load(TQWidget *parent, const char *name) return KParts::ComponentFactory::createInstanceFromLibrary<KPanelMenu>( TQFile::encodeName( library_ ), - TQT_TQOBJECT(parent), name ); + parent, name ); } |