summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kivioarrowheadaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kivioarrowheadaction.cpp')
-rw-r--r--kivio/kiviopart/kivioarrowheadaction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kivio/kiviopart/kivioarrowheadaction.cpp b/kivio/kiviopart/kivioarrowheadaction.cpp
index 31c2c5b3..8d7beefa 100644
--- a/kivio/kiviopart/kivioarrowheadaction.cpp
+++ b/kivio/kiviopart/kivioarrowheadaction.cpp
@@ -85,7 +85,7 @@ int KivioArrowHeadAction::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;
@@ -139,7 +139,7 @@ int KivioArrowHeadAction::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 );