diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-27 18:28:11 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-27 18:28:11 +0000 |
commit | 9ca7f795653bc31cf1d206da1e12c801a8380fa6 (patch) | |
tree | ee829debe9ad76ce8fc3b10cdc376754dba5ed03 /knights/tabpage.h | |
parent | 98cb2d5fa21e616cfea012f80bf1d989cfe264e3 (diff) | |
download | knights-9ca7f795653bc31cf1d206da1e12c801a8380fa6.tar.gz knights-9ca7f795653bc31cf1d206da1e12c801a8380fa6.zip |
TQt4 port knights
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knights@1238529 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knights/tabpage.h')
-rw-r--r-- | knights/tabpage.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/knights/tabpage.h b/knights/tabpage.h index d5aeb28..ba1388c 100644 --- a/knights/tabpage.h +++ b/knights/tabpage.h @@ -18,46 +18,47 @@ #ifndef TABPAGE_H #define TABPAGE_H -#include <qframe.h> -#include <qwidget.h> -#include <qvbox.h> -#include <qhbox.h> -#include <qstring.h> +#include <tqframe.h> +#include <tqwidget.h> +#include <tqvbox.h> +#include <tqhbox.h> +#include <tqstring.h> #include "tabbox.h" /** *@author Troy Corbin Jr. */ class resource; -class QToolButton; +class TQToolButton; class TabGrip; -class TabPage : public QVBox +class TabPage : public TQVBox { Q_OBJECT + TQ_OBJECT public: - TabPage( QWidget *parent, QWidget *child, resource *rsrc ); + TabPage( TQWidget *tqparent, TQWidget *child, resource *rsrc ); ~TabPage(); - void setCaption( const QString& ); - QWidget* getChild( void ); + void setCaption( const TQString& ); + TQWidget* getChild( void ); protected slots: - void tabDragged( const QPoint&, const QPoint& ); + void tabDragged( const TQPoint&, const TQPoint& ); signals: void newParent( TabBox* ); void requestDestruction( void ); protected: - TabBox* parentTabBox( void ); + TabBox* tqparentTabBox( void ); private: - QString myCaption; - QHBox *actionBar; + TQString myCaption; + TQHBox *actionBar; TabGrip *grip; - QToolButton *closeButton; + TQToolButton *closeButton; - QWidget *myChild; + TQWidget *myChild; resource *myResource; }; |