summaryrefslogtreecommitdiffstats
path: root/sip/tdeui/kthemestyle.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdeui/kthemestyle.sip')
-rw-r--r--sip/tdeui/kthemestyle.sip89
1 files changed, 89 insertions, 0 deletions
diff --git a/sip/tdeui/kthemestyle.sip b/sip/tdeui/kthemestyle.sip
new file mode 100644
index 0000000..6521f00
--- /dev/null
+++ b/sip/tdeui/kthemestyle.sip
@@ -0,0 +1,89 @@
+//
+// Copyright 2003 Jim Bublitz <jbublitz@nwinternet.com>
+// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson
+// may also apply
+
+
+// Generated by preSip
+// module tdeui version KDE_3_1_1
+
+
+// This software is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License as
+// published by the Free Software Foundation; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This software is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public
+// License along with this library; see the file COPYING.
+// If not, write to the Free Software Foundation, Inc.,
+// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+class KThemeStyle : KThemeBase
+{
+%TypeHeaderCode
+#include <kthemestyle.h>
+%End
+
+
+public:
+ KThemeStyle (const QString& = QString::null);
+ virtual void polish (QWidget*);
+ virtual void unPolish (QWidget*);
+ virtual void polish (QApplication*);
+ virtual void unPolish (QApplication*);
+ virtual void polish (QPalette&);
+ virtual void drawBaseButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 0, WidgetType = Bevel, const QBrush* = 0);
+ virtual void drawBaseMask (QPainter*, int, int, int, int, bool);
+ virtual void drawButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0);
+ virtual void drawBevelButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0);
+ virtual 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);
+ void drawKBarHandle (QPainter*, int, int, int, int, const QColorGroup&, KToolBarPos, QBrush* = 0);
+ void drawKToolBar (QPainter*, int, int, int, int, const QColorGroup&, KToolBarPos, QBrush* = 0);
+ virtual QRect buttonRect (int, int, int, int);
+ virtual void drawArrow (QPainter*, Qt::ArrowType, bool, int, int, int, int, const QColorGroup&, bool = 1, const QBrush* = 0);
+ virtual QSize exclusiveIndicatorSize () const;
+ virtual void drawExclusiveIndicator (QPainter*, int, int, int, int, const QColorGroup&, bool, bool = 0, bool = 1);
+ virtual void drawExclusiveIndicatorMask (QPainter*, int, int, int, int, bool);
+ virtual void drawIndicatorMask (QPainter*, int, int, int, int, int);
+ virtual void drawButtonMask (QPainter*, int, int, int, int);
+ virtual void drawComboButtonMask (QPainter*, int, int, int, int);
+ virtual QSize indicatorSize () const;
+ virtual void drawIndicator (QPainter*, int, int, int, int, const QColorGroup&, int, bool = 0, bool = 1);
+ virtual void drawComboButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 0, bool = 1, const QBrush* = 0);
+ virtual void drawPushButton (QPushButton*, QPainter*);
+//ig virtual void getButtonShift (int&, int&);
+ virtual int defaultFrameWidth () const;
+//ig virtual void scrollBarMetrics (const QScrollBar*, int&, int&, int&, int&);
+ virtual void drawScrollBarControls (QPainter*, const QScrollBar*, int, uint, uint);
+ virtual ScrollControl scrollBarPointOver (const QScrollBar*, int, const QPoint&);
+ virtual int sliderLength () const;
+ virtual void drawSlider (QPainter*, int, int, int, int, const QColorGroup&, Orientation, bool, bool);
+ void drawSliderGroove (QPainter*, int, int, int, int, const QColorGroup&, QCOORD, Orientation);
+ virtual void drawSliderMask (QPainter*, int, int, int, int, Orientation, bool, bool);
+ virtual void drawScrollBarGroove (QPainter*, const QScrollBar*, bool, QRect, QColorGroup);
+ virtual void drawShade (QPainter*, int, int, int, int, const QColorGroup&, bool, bool, int, int, ShadeStyle);
+ virtual void drawPushButtonLabel (QPushButton*, QPainter*);
+ void drawKMenuBar (QPainter*, int, int, int, int, const QColorGroup&, bool, QBrush* = 0);
+//ig virtual void drawKMenuItem (QPainter*, int, int, int, int, const QColorGroup&, bool, QMenuItem*, QBrush* = 0);
+ virtual int splitterWidth () const;
+ virtual void drawSplitter (QPainter*, int, int, int, int, const QColorGroup&, Orientation);
+ virtual void drawCheckMark (QPainter*, int, int, int, int, const QColorGroup&, bool, bool);
+//ig virtual void drawPopupMenuItem (QPainter*, bool, int, int, QMenuItem*, const QPalette&, bool, bool, int, int, int, int);
+//ig int popupMenuItemHeight (bool, QMenuItem*, const QFontMetrics&);
+ void drawFocusRect (QPainter*, const QRect&, const QColorGroup&, const QColor* = 0, bool = 0);
+ virtual void drawKProgressBlock (QPainter*, int, int, int, int, const QColorGroup&, QBrush*);
+ virtual void getKProgressBackground (const QColorGroup&, QBrush&);
+//ig virtual void tabbarMetrics (const QTabBar*, int&, int&, int&);
+ virtual void drawTab (QPainter*, const QTabBar*, QTab*, bool);
+ virtual void drawTabMask (QPainter*, const QTabBar*, QTab*, bool);
+
+protected:
+
+}; // class KThemeStyle
+