summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-11 21:42:08 +0900
committerMichele Calgaro <[email protected]>2023-07-11 21:42:08 +0900
commit20e4a19b0d7cc800d57be50c56d69023adae4046 (patch)
tree522b0ae95b8f7e9ee59a3b405de24b2dd8180bc4 /kivio/kiviopart
parentc2fdb394e63c0df50f1a38eace1077a9151374ce (diff)
downloadkoffice-20e4a19b0d7cc800d57be50c56d69023adae4046.tar.gz
koffice-20e4a19b0d7cc800d57be50c56d69023adae4046.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]>
Diffstat (limited to 'kivio/kiviopart')
-rw-r--r--kivio/kiviopart/kivioarrowheadaction.cpp4
-rw-r--r--kivio/kiviopart/kiviostencilsetaction.cpp4
2 files changed, 4 insertions, 4 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 );
diff --git a/kivio/kiviopart/kiviostencilsetaction.cpp b/kivio/kiviopart/kiviostencilsetaction.cpp
index d8d08d89..5d004082 100644
--- a/kivio/kiviopart/kiviostencilsetaction.cpp
+++ b/kivio/kiviopart/kiviostencilsetaction.cpp
@@ -98,7 +98,7 @@ int KivioStencilSetAction::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;
@@ -152,7 +152,7 @@ int KivioStencilSetAction::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 );