diff options
Diffstat (limited to 'kommander/editor/actionlistview.h')
-rw-r--r-- | kommander/editor/actionlistview.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/kommander/editor/actionlistview.h b/kommander/editor/actionlistview.h index 160d2abb..53a5fda6 100644 --- a/kommander/editor/actionlistview.h +++ b/kommander/editor/actionlistview.h @@ -1,7 +1,7 @@ /********************************************************************** ** Copyright (C) 2000 Trolltech AS. All rights reserved. ** -** This file is part of Qt Designer. +** This file is part of TQt Designer. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software @@ -24,38 +24,39 @@ #include <tqlistview.h> #include "actiondnd.h" -class ActionItem : public QListViewItem +class ActionItem : public TQListViewItem { public: ActionItem( TQListView *lv, bool group ) : TQListViewItem( lv ), - a( group ? 0 : new QDesignerAction( 0 ) ), - g( group ? new QDesignerActionGroup( 0 ) : 0 ) { setDragEnabled( TRUE ); } + a( group ? 0 : new TQDesignerAction( 0 ) ), + g( group ? new TQDesignerActionGroup( 0 ) : 0 ) { setDragEnabled( TRUE ); } ActionItem( TQListView *lv, TQAction *ac ); ActionItem( TQListViewItem *i, TQAction *ac ); - ActionItem( ActionItem *parent, bool group = FALSE ) - : TQListViewItem( parent ), - a( group ? 0 : new QDesignerAction( parent->actionGroup() ) ), - g( group ? new QDesignerActionGroup( parent->actionGroup() ) : 0 ) { setDragEnabled( TRUE ); moveToEnd(); } + ActionItem( ActionItem *tqparent, bool group = FALSE ) + : TQListViewItem( tqparent ), + a( group ? 0 : new TQDesignerAction( tqparent->actionGroup() ) ), + g( group ? new TQDesignerActionGroup( tqparent->actionGroup() ) : 0 ) { setDragEnabled( TRUE ); moveToEnd(); } - QDesignerAction *action() const { return a; } - QDesignerActionGroup *actionGroup() const { return g; } + TQDesignerAction *action() const { return a; } + TQDesignerActionGroup *actionGroup() const { return g; } private: void moveToEnd(); private: - QDesignerAction *a; - QDesignerActionGroup *g; + TQDesignerAction *a; + TQDesignerActionGroup *g; }; -class ActionListView : public QListView +class ActionListView : public TQListView { Q_OBJECT + TQ_OBJECT public: - ActionListView( TQWidget *parent = 0, const char *name = 0 ); + ActionListView( TQWidget *tqparent = 0, const char *name = 0 ); protected: TQDragObject *dragObject(); |