diff options
author | Timothy Pearson <[email protected]> | 2011-12-03 22:23:44 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-03 22:23:44 -0600 |
commit | 203ba231d0276943aae36111f9ec1e949f3c6a4c (patch) | |
tree | f039f7a5b5fc2da88a96876971bac580d87f6788 /sip/tdecore/kdestyle.sip | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
Diffstat (limited to 'sip/tdecore/kdestyle.sip')
-rw-r--r-- | sip/tdecore/kdestyle.sip | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/sip/tdecore/kdestyle.sip b/sip/tdecore/kdestyle.sip index 2456913..520818c 100644 --- a/sip/tdecore/kdestyle.sip +++ b/sip/tdecore/kdestyle.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KDEAniMenu : QObject +class KDEAniMenu : TQObject { %TypeHeaderCode #include <kdestyle.h> @@ -32,7 +32,7 @@ class KDEAniMenu : QObject public: - KDEAniMenu (QPopupMenu*); + KDEAniMenu (TQPopupMenu*); protected: void scrollIn (); @@ -53,56 +53,56 @@ class KDEStyle : KStyle public: KDEStyle (); - virtual void polish (QWidget*); - virtual void unPolish (QWidget*); - virtual void polish (QPalette&); - void drawButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0); - void drawButtonMask (QPainter*, int, int, int, int); - void drawComboButtonMask (QPainter*, int, int, int, int); - QRect buttonRect (int, int, int, int); - void drawBevelButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0); - void drawPushButton (QPushButton*, QPainter*); - virtual void drawPushButtonLabel (QPushButton*, QPainter*); - void drawScrollBarControls (QPainter*, const QScrollBar*, int, uint, uint); - QStyle::ScrollControl scrollBarPointOver (const QScrollBar*, int, const QPoint&); - void scrollBarMetrics (const QScrollBar*, int&/Out/, int&/Out/, int&/Out/, int&/Out/); - QSize indicatorSize () const; - void drawIndicator (QPainter*, int, int, int, int, const QColorGroup&, int, bool = 0, bool = 1); - void drawIndicatorMask (QPainter*, int, int, int, int, int); - QSize exclusiveIndicatorSize () const; - void drawExclusiveIndicator (QPainter*, int, int, int, int, const QColorGroup&, bool, bool = 0, bool = 1); - void drawExclusiveIndicatorMask (QPainter*, int, int, int, int, bool); - void drawComboButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 0, bool = 1, const QBrush* = 0); - QRect comboButtonRect (int, int, int, int); - QRect comboButtonFocusRect (int, int, int, int); + virtual void polish (TQWidget*); + virtual void unPolish (TQWidget*); + virtual void polish (TQPalette&); + void drawButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0); + void drawButtonMask (TQPainter*, int, int, int, int); + void drawComboButtonMask (TQPainter*, int, int, int, int); + TQRect buttonRect (int, int, int, int); + void drawBevelButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0); + void drawPushButton (TQPushButton*, TQPainter*); + virtual void drawPushButtonLabel (TQPushButton*, TQPainter*); + void drawScrollBarControls (TQPainter*, const TQScrollBar*, int, uint, uint); + TQStyle::ScrollControl scrollBarPointOver (const TQScrollBar*, int, const TQPoint&); + void scrollBarMetrics (const TQScrollBar*, int&/Out/, int&/Out/, int&/Out/, int&/Out/); + TQSize indicatorSize () const; + void drawIndicator (TQPainter*, int, int, int, int, const TQColorGroup&, int, bool = 0, bool = 1); + void drawIndicatorMask (TQPainter*, int, int, int, int, int); + TQSize exclusiveIndicatorSize () const; + void drawExclusiveIndicator (TQPainter*, int, int, int, int, const TQColorGroup&, bool, bool = 0, bool = 1); + void drawExclusiveIndicatorMask (TQPainter*, int, int, int, int, bool); + void drawComboButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 0, bool = 1, const TQBrush* = 0); + TQRect comboButtonRect (int, int, int, int); + TQRect comboButtonFocusRect (int, int, int, int); int sliderLength () const; - void drawArrow (QPainter*, Qt::ArrowType, bool, int, int, int, int, const QColorGroup&, bool = 1, const QBrush* = 0); - void drawSlider (QPainter*, int, int, int, int, const QColorGroup&, Orientation, bool, bool); - void drawSliderMask (QPainter*, int, int, int, int, Orientation, bool, bool); - void drawKToolBar (QPainter*, int, int, int, int, const QColorGroup&, KToolBarPos, QBrush* = 0); - void drawKBarHandle (QPainter*, int, int, int, int, const QColorGroup&, KToolBarPos, QBrush* = 0); - void drawKMenuBar (QPainter*, int, int, int, int, const QColorGroup&, bool, QBrush* = 0); - void drawKToolBarButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 1, bool = 1, bool = 0, KToolButtonType = Icon, const QString& = QString::null, const QPixmap* = 0, QFont* = 0, QWidget* = 0); -//ig void drawKMenuItem (QPainter*, int, int, int, int, const QColorGroup&, bool, QMenuItem*, QBrush* = 0); -//ig void drawPopupMenuItem (QPainter*, bool, int, int, QMenuItem*, const QPalette&, bool, bool, int, int, int, int); -//ig int popupMenuItemHeight (bool, QMenuItem*, const QFontMetrics&); - void drawKProgressBlock (QPainter*, int, int, int, int, const QColorGroup&, QBrush*); - void drawFocusRect (QPainter*, const QRect&, const QColorGroup&, const QColor*, bool); + void drawArrow (TQPainter*, TQt::ArrowType, bool, int, int, int, int, const TQColorGroup&, bool = 1, const TQBrush* = 0); + void drawSlider (TQPainter*, int, int, int, int, const TQColorGroup&, Orientation, bool, bool); + void drawSliderMask (TQPainter*, int, int, int, int, Orientation, bool, bool); + void drawKToolBar (TQPainter*, int, int, int, int, const TQColorGroup&, KToolBarPos, TQBrush* = 0); + void drawKBarHandle (TQPainter*, int, int, int, int, const TQColorGroup&, KToolBarPos, TQBrush* = 0); + void drawKMenuBar (TQPainter*, int, int, int, int, const TQColorGroup&, bool, TQBrush* = 0); + void drawKToolBarButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 1, bool = 1, bool = 0, KToolButtonType = Icon, const TQString& = TQString::null, const TQPixmap* = 0, TQFont* = 0, TQWidget* = 0); +//ig void drawKMenuItem (TQPainter*, int, int, int, int, const TQColorGroup&, bool, TQMenuItem*, TQBrush* = 0); +//ig void drawPopupMenuItem (TQPainter*, bool, int, int, TQMenuItem*, const TQPalette&, bool, bool, int, int, int, int); +//ig int popupMenuItemHeight (bool, TQMenuItem*, const TQFontMetrics&); + void drawKProgressBlock (TQPainter*, int, int, int, int, const TQColorGroup&, TQBrush*); + void drawFocusRect (TQPainter*, const TQRect&, const TQColorGroup&, const TQColor*, bool); int defaultFrameWidth () const; - void polishPopupMenu (QPopupMenu*); - void drawTab (QPainter*, const QTabBar*, QTab*, bool); - void drawTabMask (QPainter*, const QTabBar*, QTab*, bool); - void tabbarMetrics (const QTabBar*, int&/Out/, int&/Out/, int&/Out/); - void drawSplitter (QPainter*, int, int, int, int, const QColorGroup&, Orientation); + void polishPopupMenu (TQPopupMenu*); + void drawTab (TQPainter*, const TQTabBar*, TQTab*, bool); + void drawTabMask (TQPainter*, const TQTabBar*, TQTab*, bool); + void tabbarMetrics (const TQTabBar*, int&/Out/, int&/Out/, int&/Out/); + void drawSplitter (TQPainter*, int, int, int, int, const TQColorGroup&, Orientation); int splitterWidth () const; - void drawPanel (QPainter*, int, int, int, int, const QColorGroup&, bool, int, const QBrush*); - void drawKickerAppletHandle (QPainter*, int, int, int, int, const QColorGroup&, QBrush*); - bool eventFilter (QObject*, QEvent*); + void drawPanel (TQPainter*, int, int, int, int, const TQColorGroup&, bool, int, const TQBrush*); + void drawKickerAppletHandle (TQPainter*, int, int, int, int, const TQColorGroup&, TQBrush*); + bool eventFilter (TQObject*, TQEvent*); protected: - void drawSBDeco (QPainter*, const QRect&, const QColorGroup&, bool); - void drawSBButton (QPainter*, const QRect&, const QColorGroup&, bool = 0); - void kColorBitmaps (QPainter*, const QColorGroup&, int, int, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0); + void drawSBDeco (TQPainter*, const TQRect&, const TQColorGroup&, bool); + void drawSBButton (TQPainter*, const TQRect&, const TQColorGroup&, bool = 0); + void kColorBitmaps (TQPainter*, const TQColorGroup&, int, int, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0); }; // class KDEStyle |