From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/ktabctl.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'kdeui/ktabctl.h') diff --git a/kdeui/ktabctl.h b/kdeui/ktabctl.h index c8cb3cf1b..9c390351f 100644 --- a/kdeui/ktabctl.h +++ b/kdeui/ktabctl.h @@ -23,17 +23,17 @@ #ifndef KTABCTL_H #define KTABCTL_H -#include -#include -#include +#include +#include +#include #include /** * Tabbed dialog with extended features. - * KTabCtl is very similar to QTabDialog, with the following differences: + * KTabCtl is very similar to TQTabDialog, with the following differences: * - * @li To avoid confusion, the API is almost identical with QTabDialog. + * @li To avoid confusion, the API is almost identical with TQTabDialog. * @li Does not create any buttons, therefore KTabCtl is not limited * to dialog boxes. You can use it whereever you want. * @li emits the signal tabSelected(int pagenumber) when the user @@ -50,23 +50,23 @@ class KDEUI_EXPORT KTabCtl : public QWidget Q_OBJECT public: - KTabCtl(QWidget *parent = 0, const char *name = 0); + KTabCtl(TQWidget *parent = 0, const char *name = 0); ~KTabCtl(); void show(); - void setFont(const QFont & font); - void setTabFont( const QFont &font ); + void setFont(const TQFont & font); + void setTabFont( const TQFont &font ); - void addTab(QWidget *, const QString&); - bool isTabEnabled(const QString& ); - void setTabEnabled(const QString&, bool); + void addTab(TQWidget *, const TQString&); + bool isTabEnabled(const TQString& ); + void setTabEnabled(const TQString&, bool); void setBorder(bool); - void setShape( QTabBar::Shape shape ); - virtual QSize sizeHint() const; + void setShape( TQTabBar::Shape shape ); + virtual TQSize sizeHint() const; protected: - void paintEvent(QPaintEvent *); - void resizeEvent(QResizeEvent *); + void paintEvent(TQPaintEvent *); + void resizeEvent(TQResizeEvent *); signals: void tabSelected(int); @@ -76,10 +76,10 @@ protected slots: protected: void setSizes(); - QRect getChildRect() const; + TQRect getChildRect() const; - QTabBar * tabs; - QMemArray pages; + TQTabBar * tabs; + TQMemArray pages; int bh; bool blBorder; protected: -- cgit v1.2.3