Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/5/head
Michele Calgaro 11 months ago
parent 339cd31bd6
commit 0e6fbcd9ab
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -266,7 +266,7 @@ void setActionMenuTextOnly( TDEAction *a, TQString const &suffix )
TQWidget *w = a->container( i );
int const id = a->itemId( i );
if (w->inherits( TQPOPUPMENU_OBJECT_NAME_STRING ))
if (w->inherits( "TQPopupMenu" ))
static_cast<TQPopupMenu*>(w)->changeItem( id, menu_text );
else if (w->inherits( "TDEToolBar" )) {

Loading…
Cancel
Save