diff options
Diffstat (limited to 'sip/tdeui/kdocktabctl.sip')
-rw-r--r-- | sip/tdeui/kdocktabctl.sip | 118 |
1 files changed, 59 insertions, 59 deletions
diff --git a/sip/tdeui/kdocktabctl.sip b/sip/tdeui/kdocktabctl.sip index 33e538f..ed93169 100644 --- a/sip/tdeui/kdocktabctl.sip +++ b/sip/tdeui/kdocktabctl.sip @@ -32,15 +32,15 @@ class KDockTabCtl_PrivateStruct public: - KDockTabCtl_PrivateStruct (QWidget*, int); - QWidget* widget; + KDockTabCtl_PrivateStruct (TQWidget*, int); + TQWidget* widget; int id; bool enabled; }; // class KDockTabCtl_PrivateStruct -class KDockTabBar : QWidget +class KDockTabBar : TQWidget { %TypeHeaderCode #include <kdocktabctl.h> @@ -48,7 +48,7 @@ class KDockTabBar : QWidget public: - KDockTabBar (QWidget*/TransferThis/ = 0, const char* = 0); + KDockTabBar (TQWidget*/TransferThis/ = 0, const char* = 0); enum TabPos { @@ -57,40 +57,40 @@ public: }; void setTabPos (KDockTabBar::TabPos); - int insertTab (const QString&, int = -1, int = -1); - void setPixmap (int, const QPixmap&); - void setToolTip (int, const QString&); - void setTextColor (int, const QColor&); - const QColor& textColor (int); + int insertTab (const TQString&, int = -1, int = -1); + void setPixmap (int, const TQPixmap&); + void setToolTip (int, const TQString&); + void setTextColor (int, const TQColor&); + const TQColor& textColor (int); void removeTab (int); int currentTab (); void setCurrentTab (int, bool = 0); void setTabEnabled (int, bool); bool isTabEnabled (int); - void setTabCaption (int, const QString&); - QString tabCaption (int); + void setTabCaption (int, const TQString&); + TQString tabCaption (int); virtual void show (); - virtual void setFont (const QFont&); + virtual void setFont (const TQFont&); void showTabIcon (bool); bool isShowTabIcon (); signals: void tabSelected (int); - void rightButtonPress (int, QPoint); + void rightButtonPress (int, TQPoint); protected slots: void leftClicked (); void rightClicked (); protected: - virtual void paintEvent (QPaintEvent*); - virtual void resizeEvent (QResizeEvent*); - virtual void keyPressEvent (QKeyEvent*); + virtual void paintEvent (TQPaintEvent*); + virtual void resizeEvent (TQResizeEvent*); + virtual void keyPressEvent (TQKeyEvent*); }; // class KDockTabBar -class KDockTabBarPainter : QWidget +class KDockTabBarPainter : TQWidget { %TypeHeaderCode #include <kdocktabctl.h> @@ -98,22 +98,22 @@ class KDockTabBarPainter : QWidget public: - QString tip (const QPoint&); - QRect findBarRectByPos (int, int); + TQString tip (const TQPoint&); + TQRect findBarRectByPos (int, int); private: KDockTabBarPainter (KDockTabBar*/TransferThis/); protected: - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void resizeEvent (QResizeEvent*); - virtual void paintEvent (QPaintEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseReleaseEvent (TQMouseEvent*); + virtual void resizeEvent (TQResizeEvent*); + virtual void paintEvent (TQPaintEvent*); }; // class KDockTabBarPainter -class KDockTabCtl : QWidget +class KDockTabCtl : TQWidget { %TypeHeaderCode #include <kdocktabctl.h> @@ -121,66 +121,66 @@ class KDockTabCtl : QWidget public: - KDockTabCtl (QWidget*/TransferThis/ = 0, const char* = 0); + KDockTabCtl (TQWidget*/TransferThis/ = 0, const char* = 0); virtual void setTabPos (KDockTabBar::TabPos); KDockTabBar::TabPos getTabPos (); - int insertPage (QWidget*, const QString&, int = -1, int = -1); - void setPageCaption (QWidget*, const QString&); - void setPageCaption (int, const QString&); - QString pageCaption (QWidget*); - QString pageCaption (int); + int insertPage (TQWidget*, const TQString&, int = -1, int = -1); + void setPageCaption (TQWidget*, const TQString&); + void setPageCaption (int, const TQString&); + TQString pageCaption (TQWidget*); + TQString pageCaption (int); void captionAutoSet (bool); bool isCaptionAutoSet (); - void setPixmap (QWidget*, const QPixmap&); - void setPixmap (int, const QPixmap&); - void setToolTip (QWidget*, const QString&); - void setTabTextColor (QWidget*, const QColor&); - void setTabTextColor (int, const QColor&); - const QColor& tabTextColor (QWidget*); - const QColor& tabTextColor (int); - bool isPageEnabled (QWidget*); + void setPixmap (TQWidget*, const TQPixmap&); + void setPixmap (int, const TQPixmap&); + void setToolTip (TQWidget*, const TQString&); + void setTabTextColor (TQWidget*, const TQColor&); + void setTabTextColor (int, const TQColor&); + const TQColor& tabTextColor (TQWidget*); + const TQColor& tabTextColor (int); + bool isPageEnabled (TQWidget*); bool isPageEnabled (int); - void setPageEnabled (QWidget*, bool); + void setPageEnabled (TQWidget*, bool); void setPageEnabled (int, bool); - QWidget* page (int); - int id (QWidget*); - int index (QWidget*); - void removePage (QWidget*); + TQWidget* page (int); + int id (TQWidget*); + int index (TQWidget*); + void removePage (TQWidget*); void removePage (int); - QWidget* visiblePage (); + TQWidget* visiblePage (); int visiblePageId (); - void setVisiblePage (QWidget*, bool = 0); - void setTabFont (const QFont&); - QFont tabFont (); + void setVisiblePage (TQWidget*, bool = 0); + void setTabFont (const TQFont&); + TQFont tabFont (); void showTabIcon (bool); bool isShowTabIcon (); int pageCount (); - QWidget* getFirstPage (); - QWidget* getLastPage (); - QWidget* getNextPage (QWidget*); - QWidget* getPrevPage (QWidget*); + TQWidget* getFirstPage (); + TQWidget* getLastPage (); + TQWidget* getNextPage (TQWidget*); + TQWidget* getPrevPage (TQWidget*); virtual void show (); - virtual bool eventFilter (QObject*, QEvent*); + virtual bool eventFilter (TQObject*, TQEvent*); public slots: virtual void setEnabled (bool); void setVisiblePage (int); protected: - void paintEvent (QPaintEvent*); + void paintEvent (TQPaintEvent*); signals: - void aboutToShow (QWidget*); - void pageSelected (QWidget*); - void tabShowPopup (int, QPoint); + void aboutToShow (TQWidget*); + void pageSelected (TQWidget*); + void tabShowPopup (int, TQPoint); protected slots: - void rightButtonPress (int, QPoint); + void rightButtonPress (int, TQPoint); protected: - KDockTabCtl_PrivateStruct* findData (QWidget*); + KDockTabCtl_PrivateStruct* findData (TQWidget*); KDockTabCtl_PrivateStruct* findData (int); - void showPage (QWidget*, bool = 0); + void showPage (TQWidget*, bool = 0); }; // class KDockTabCtl |