summaryrefslogtreecommitdiffstats
path: root/kommander/editor/actiondnd.h
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/editor/actiondnd.h')
-rw-r--r--kommander/editor/actiondnd.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kommander/editor/actiondnd.h b/kommander/editor/actiondnd.h
index b71d2c2c..2f4649a5 100644
--- a/kommander/editor/actiondnd.h
+++ b/kommander/editor/actiondnd.h
@@ -36,12 +36,12 @@ class FormWindow;
class QDesignerActionGroup : public TQActionGroup
{
- Q_OBJECT
+ TQ_OBJECT
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 ); }
@@ -67,14 +67,14 @@ private:
class QDesignerAction : public TQAction
{
- Q_OBJECT
+ TQ_OBJECT
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; }
@@ -102,7 +102,7 @@ private:
class QDesignerToolBarSeparator : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -122,7 +122,7 @@ private:
class QSeparatorAction : public TQAction
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -141,7 +141,7 @@ private:
class QDesignerToolBar : public TQToolBar
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -200,7 +200,7 @@ private:
class QDesignerMenuBar : public TQMenuBar
{
- Q_OBJECT
+ TQ_OBJECT
friend class QDesignerPopupMenu;
@@ -249,7 +249,7 @@ private:
class QDesignerPopupMenu : public TQPopupMenu
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -298,7 +298,7 @@ private:
class QDesignerIndicatorWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public: