diff options
Diffstat (limited to 'knights/tabbox.h')
-rw-r--r-- | knights/tabbox.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/knights/tabbox.h b/knights/tabbox.h index 0f3cffb..3c1f428 100644 --- a/knights/tabbox.h +++ b/knights/tabbox.h @@ -18,37 +18,38 @@ #ifndef TABBOX_H #define TABBOX_H -#include <qvbox.h> +#include <tqvbox.h> #include "accel.h" -class QTabWidget; +class TQTabWidget; class resource; /** *@author Troy Corbin Jr. */ -class TabBox : public QVBox +class TabBox : public TQVBox { Q_OBJECT + TQ_OBJECT public: TabBox( resource *rsrc=0 ); virtual ~TabBox(); - void keyPressEvent( QKeyEvent* ); - void addTab( QWidget *child, const QString &caption ); - void removeTab( QWidget *child, bool deleteChild=FALSE ); - bool isChild( QWidget *child ); - void showTab( QWidget *child ); - void changeCaption( QWidget *child, const QString &caption ); + void keyPressEvent( TQKeyEvent* ); + void addTab( TQWidget *child, const TQString &caption ); + void removeTab( TQWidget *child, bool deleteChild=FALSE ); + bool isChild( TQWidget *child ); + void showTab( TQWidget *child ); + void changeCaption( TQWidget *child, const TQString &caption ); int count( void ); signals: void newTabBox( TabBox* ); - void saveTabGeometry( const QString&, const QSize& ); - void focus( const QChar& ); + void saveTabGeometry( const TQString&, const TQSize& ); + void focus( const TQChar& ); protected slots: - void changeMyCaption( QWidget *child ); + void changeMyCaption( TQWidget *child ); /** This removes and deletes a Tab if it's a child of this widget. @@ -57,7 +58,7 @@ class TabBox : public QVBox void destroyChild( void ); private: - QTabWidget *myTabs; + TQTabWidget *myTabs; Accel *myAccel; resource *myResource; }; |