summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/chatwindow/kopeteemoticonaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/kopete/chatwindow/kopeteemoticonaction.cpp')
-rw-r--r--kopete/kopete/chatwindow/kopeteemoticonaction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kopete/kopete/chatwindow/kopeteemoticonaction.cpp b/kopete/kopete/chatwindow/kopeteemoticonaction.cpp
index 8f9447f9..e53d27e4 100644
--- a/kopete/kopete/chatwindow/kopeteemoticonaction.cpp
+++ b/kopete/kopete/chatwindow/kopeteemoticonaction.cpp
@@ -136,7 +136,7 @@ int KopeteEmoticonAction::plug( TQWidget* widget, int index )
// kdDebug(14010) << "KopeteEmoticonAction::plug( " << widget << ", " << index << " )" << endl;
// KDE4/TQt TODO: Use qobject_cast instead.
- if ( widget->inherits(TQPOPUPMENU_OBJECT_NAME_STRING) )
+ if ( widget->inherits("TQPopupMenu") )
{
TQPopupMenu* menu = static_cast<TQPopupMenu*>( widget );
int id;
@@ -202,7 +202,7 @@ int KopeteEmoticonAction::plug( TQWidget* widget, int index )
return containerCount() - 1;
}
// KDE4/TQt TODO: Use qobject_cast instead.
- else if ( widget->inherits( TQMENUBAR_OBJECT_NAME_STRING ) )
+ else if ( widget->inherits( "TQMenuBar" ) )
{
TQMenuBar *bar = static_cast<TQMenuBar *>( widget );