diff options
Diffstat (limited to 'kommander/editor/formwindow.h')
-rw-r--r-- | kommander/editor/formwindow.h | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/kommander/editor/formwindow.h b/kommander/editor/formwindow.h index fd0964e7..214ea668 100644 --- a/kommander/editor/formwindow.h +++ b/kommander/editor/formwindow.h @@ -1,5 +1,5 @@ /********************************************************************** - This file is based on Qt Designer, Copyright (C) 2000 Trolltech AS. All rights reserved. + This file is based on TQt Designer, Copyright (C) 2000 Trolltech AS. All rights reserved. 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 @@ -49,20 +49,21 @@ class TQPixmap; class TQSizeGrip; class FormFile; -#if defined(Q_FULL_TEMPLATE_INSTANTIATION) +#if defined(TQ_FULL_TEMPLATE_INSTANTIATION) #include "orderindicator.h" #else class OrderIndicator; #endif -class FormWindow : public QWidget +class FormWindow : public TQWidget { Q_OBJECT - Q_PROPERTY( TQString fileName READ fileName WRITE setFileName ) + TQ_OBJECT + TQ_PROPERTY( TQString fileName READ fileName WRITE setFileName ) public: - FormWindow( FormFile *f, MainWindow *mw, TQWidget *parent, const char *name = 0 ); - FormWindow( FormFile *f, TQWidget *parent, const char *name = 0 ); + FormWindow( FormFile *f, MainWindow *mw, TQWidget *tqparent, const char *name = 0 ); + FormWindow( FormFile *f, TQWidget *tqparent, const char *name = 0 ); ~FormWindow(); void init(); @@ -79,20 +80,20 @@ public: virtual void undo(); virtual void redo(); virtual TQString copy(); - virtual void paste( const TQString &cb, TQWidget *parent ); + virtual void paste( const TQString &cb, TQWidget *tqparent ); virtual void lowerWidgets(); virtual void raiseWidgets(); virtual void checkAccels(); - virtual void layoutHorizontal(); - virtual void layoutVertical(); - virtual void layoutHorizontalSplit(); - virtual void layoutVerticalSplit(); - virtual void layoutGrid(); + virtual void tqlayoutHorizontal(); + virtual void tqlayoutVertical(); + virtual void tqlayoutHorizontalSplit(); + virtual void tqlayoutVerticalSplit(); + virtual void tqlayoutGrid(); - virtual void layoutHorizontalContainer( TQWidget *w ); - virtual void layoutVerticalContainer( TQWidget *w ); - virtual void layoutGridContainer( TQWidget *w ); + virtual void tqlayoutHorizontalContainer( TQWidget *w ); + virtual void tqlayoutVerticalContainer( TQWidget *w ); + virtual void tqlayoutGridContainer( TQWidget *w ); virtual void breakLayout( TQWidget *w ); @@ -100,7 +101,7 @@ public: virtual void selectAll(); virtual void updateSelection( TQWidget *w ); virtual void raiseSelection( TQWidget *w ); - virtual void repaintSelection( TQWidget *w ); + virtual void tqrepaintSelection( TQWidget *w ); virtual void clearSelection( bool changePropertyDisplay = TRUE ); virtual void selectWidgets(); bool isWidgetSelected( TQObject *w ); @@ -177,8 +178,8 @@ public: void killAccels( TQObject *top ); - int layoutDefaultSpacing() const; - int layoutDefaultMargin() const; + int tqlayoutDefaultSpacing() const; + int tqlayoutDefaultMargin() const; void setLayoutDefaultSpacing( int s ); void setLayoutDefaultMargin( int s ); |