summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoSelectAction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui/KoSelectAction.cpp')
-rw-r--r--lib/kofficeui/KoSelectAction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficeui/KoSelectAction.cpp b/lib/kofficeui/KoSelectAction.cpp
index 95238764..0558c512 100644
--- a/lib/kofficeui/KoSelectAction.cpp
+++ b/lib/kofficeui/KoSelectAction.cpp
@@ -90,7 +90,7 @@ int KoSelectAction::plug(TQWidget* widget, int index)
if (kapp && !kapp->authorizeTDEAction(name()))
return -1;
kdDebug(129) << "TDEAction::plug( " << widget << ", " << index << " )" << endl; // remove -- ellis
- if ( widget->inherits(TQPOPUPMENU_OBJECT_NAME_STRING) )
+ if ( widget->inherits("TQPopupMenu") )
{
TQPopupMenu* menu = static_cast<TQPopupMenu*>( widget );
int id;
@@ -144,7 +144,7 @@ int KoSelectAction::plug(TQWidget* widget, int index)
return containerCount() - 1;
}
- else if ( widget->inherits( TQMENUBAR_OBJECT_NAME_STRING ) )
+ else if ( widget->inherits( "TQMenuBar" ) )
{
TQMenuBar *bar = static_cast<TQMenuBar *>( widget );