diff options
author | Michele Calgaro <[email protected]> | 2023-07-11 21:42:08 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-13 09:04:02 +0900 |
commit | 462dc85dcb12aab8e19797dadf48799656708a54 (patch) | |
tree | 901511cb5d29b2a094b1149d0621add8cb15c0e9 /lib/kofficeui/KoSelectAction.cpp | |
parent | 75cc9de8f47db776021b5e8153c930d9af2108b6 (diff) | |
download | koffice-462dc85dcb12aab8e19797dadf48799656708a54.tar.gz koffice-462dc85dcb12aab8e19797dadf48799656708a54.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 20e4a19b0d7cc800d57be50c56d69023adae4046)
Diffstat (limited to 'lib/kofficeui/KoSelectAction.cpp')
-rw-r--r-- | lib/kofficeui/KoSelectAction.cpp | 4 |
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 ); |