diff options
author | ormorph <roma251078@mail.ru> | 2020-08-27 19:48:01 +0300 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-08-28 20:54:25 +0900 |
commit | 155659674046c19b610d38cd2963628798add11d (patch) | |
tree | 9dbb4b553d33996ffc562ac8ab33533e7901087d /kommander/editor/actiondnd.h | |
parent | f3edeac1f13d71e8e12bdc713f1b8c7ad936b548 (diff) | |
download | tdewebdev-155659674046c19b610d38cd2963628798add11d.tar.gz tdewebdev-155659674046c19b610d38cd2963628798add11d.zip |
Rename *OBJECT_NAME_STRING
Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit ae3ed3d32920f5780af51aad9683b82179e9655d)
Diffstat (limited to 'kommander/editor/actiondnd.h')
-rw-r--r-- | kommander/editor/actiondnd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kommander/editor/actiondnd.h b/kommander/editor/actiondnd.h index b71d2c2c..eeb255a2 100644 --- a/kommander/editor/actiondnd.h +++ b/kommander/editor/actiondnd.h @@ -41,7 +41,7 @@ class QDesignerActionGroup : public TQActionGroup public: QDesignerActionGroup( TQObject *parent ) - : TQActionGroup( !parent || parent->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ? parent : 0 ), wid( 0 ), idx( -1 ) {} + : TQActionGroup( !parent || parent->inherits( "TQActionGroup" ) ? parent : 0 ), wid( 0 ), idx( -1 ) {} TQWidget *widget() const { return wid; } TQWidget *widget( TQAction *a ) const { return *widgets.find( a ); } @@ -72,9 +72,9 @@ class QDesignerAction : public TQAction public: QDesignerAction( TQObject *parent ) - : TQAction( !parent || parent->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ? parent : 0 ), wid( 0 ), idx( -1 ), widgetToInsert( 0 ) {} + : TQAction( !parent || parent->inherits( "TQActionGroup" ) ? parent : 0 ), wid( 0 ), idx( -1 ), widgetToInsert( 0 ) {} QDesignerAction( TQWidget *w, TQObject *parent ) - : TQAction( !parent || parent->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ? parent : 0 ), wid( 0 ), idx( -1 ), widgetToInsert( w ) {} + : TQAction( !parent || parent->inherits( "TQActionGroup" ) ? parent : 0 ), wid( 0 ), idx( -1 ), widgetToInsert( w ) {} TQWidget *widget() const { return wid; } int index() const { return idx; } |