diff options
Diffstat (limited to 'kommander/editor/command.h')
-rw-r--r-- | kommander/editor/command.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kommander/editor/command.h b/kommander/editor/command.h index 3fd83e1c..f56e21a6 100644 --- a/kommander/editor/command.h +++ b/kommander/editor/command.h @@ -44,10 +44,10 @@ class TQIconView; class TQMultiLineEdit; class TQTable; class TQAction; -class TQDesignerToolBar; +class QDesignerToolBar; class TQMainWindow; -class TQDesignerPopupMenu; -class TQDesignerMenuBar; +class QDesignerPopupMenu; +class QDesignerMenuBar; class TQToolBox; class Command : public TQt @@ -779,7 +779,7 @@ class AddActionToToolBarCommand : public Command { public: AddActionToToolBarCommand( const TQString &n, FormWindow *fw, - TQAction *a, TQDesignerToolBar *tb, int idx ); + TQAction *a, QDesignerToolBar *tb, int idx ); void execute(); void unexecute(); @@ -787,7 +787,7 @@ public: private: TQAction *action; - TQDesignerToolBar *toolBar; + QDesignerToolBar *toolBar; int index; }; @@ -796,7 +796,7 @@ class RemoveActionFromToolBarCommand : public AddActionToToolBarCommand { public: RemoveActionFromToolBarCommand( const TQString &n, FormWindow *fw, - TQAction *a, TQDesignerToolBar *tb, int idx ) + TQAction *a, QDesignerToolBar *tb, int idx ) : AddActionToToolBarCommand( n, fw, a, tb, idx ) {} void execute() { AddActionToToolBarCommand::unexecute(); } @@ -809,7 +809,7 @@ class AddActionToPopupCommand : public Command { public: AddActionToPopupCommand( const TQString &n, FormWindow *fw, - TQAction *a, TQDesignerPopupMenu *p, int idx ); + TQAction *a, QDesignerPopupMenu *p, int idx ); void execute(); void unexecute(); @@ -817,7 +817,7 @@ public: private: TQAction *action; - TQDesignerPopupMenu *popup; + QDesignerPopupMenu *popup; int index; }; @@ -826,7 +826,7 @@ class RemoveActionFromPopupCommand : public AddActionToPopupCommand { public: RemoveActionFromPopupCommand( const TQString &n, FormWindow *fw, - TQAction *a, TQDesignerPopupMenu *p, int idx ) + TQAction *a, QDesignerPopupMenu *p, int idx ) : AddActionToPopupCommand( n, fw, a, p, idx ) {} void execute() { AddActionToPopupCommand::unexecute(); } @@ -845,8 +845,8 @@ public: Type type() const { return AddMenu; } protected: - TQDesignerMenuBar *menuBar; - TQDesignerPopupMenu *popup; + QDesignerMenuBar *menuBar; + QDesignerPopupMenu *popup; TQMainWindow *mainWindow; int id; int index; @@ -858,7 +858,7 @@ class RemoveMenuCommand : public AddMenuCommand { public: RemoveMenuCommand( const TQString &n, FormWindow *fw, TQMainWindow *mw, - TQDesignerMenuBar *mb, TQDesignerPopupMenu *p, int i, int idx, const TQString &mn ) + QDesignerMenuBar *mb, QDesignerPopupMenu *p, int i, int idx, const TQString &mn ) : AddMenuCommand( n, fw, mw ) { menuBar = mb; popup = p; id = i; index = idx, name = mn; } void execute() { AddMenuCommand::unexecute(); } @@ -870,7 +870,7 @@ public: class RenameMenuCommand : public Command { public: - RenameMenuCommand( const TQString &n, FormWindow *fw, TQDesignerMenuBar *mb, + RenameMenuCommand( const TQString &n, FormWindow *fw, QDesignerMenuBar *mb, int i, const TQString &on, const TQString &nn ); void execute(); @@ -878,7 +878,7 @@ public: Type type() const { return RenameMenu; } private: - TQDesignerMenuBar *menuBar; + QDesignerMenuBar *menuBar; int id; TQString oldName, newName; @@ -887,16 +887,16 @@ private: class MoveMenuCommand : public Command { public: - MoveMenuCommand( const TQString &n, FormWindow *fw, TQDesignerMenuBar *mb, - TQDesignerPopupMenu *p, int fidx, int tidx, const TQString &txt ); + MoveMenuCommand( const TQString &n, FormWindow *fw, QDesignerMenuBar *mb, + QDesignerPopupMenu *p, int fidx, int tidx, const TQString &txt ); void execute(); void unexecute(); Type type() const { return MoveMenu; } private: - TQDesignerMenuBar *menuBar; - TQDesignerPopupMenu *popup; + QDesignerMenuBar *menuBar; + QDesignerPopupMenu *popup; int fromIdx, toIdx; TQString text; @@ -912,7 +912,7 @@ public: Type type() const { return AddToolBar; } protected: - TQDesignerToolBar *toolBar; + QDesignerToolBar *toolBar; TQMainWindow *mainWindow; }; @@ -920,7 +920,7 @@ protected: class RemoveToolBarCommand : public AddToolBarCommand { public: - RemoveToolBarCommand( const TQString &n, FormWindow *fw, TQMainWindow *mw, TQDesignerToolBar *tb ) + RemoveToolBarCommand( const TQString &n, FormWindow *fw, TQMainWindow *mw, QDesignerToolBar *tb ) : AddToolBarCommand( n, fw, mw ) { toolBar = tb; } void execute() { AddToolBarCommand::unexecute(); } |