summaryrefslogtreecommitdiff
path: root/noncore/styles/flat/flat.h
Side-by-side diff
Diffstat (limited to 'noncore/styles/flat/flat.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/styles/flat/flat.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/styles/flat/flat.h b/noncore/styles/flat/flat.h
index ebea95b..4591852 100644
--- a/noncore/styles/flat/flat.h
+++ b/noncore/styles/flat/flat.h
@@ -67,52 +67,51 @@ public:
const QColorGroup &g, bool horizontal );
int sliderLength() const;
void drawSlider( QPainter *p, int x, int y, int w, int h,
const QColorGroup &g, Orientation, bool tickAbove, bool tickBelow );
void drawSliderMask( QPainter *p, int x, int y, int w, int h,
Orientation, bool tickAbove, bool tickBelow );
void drawSliderGrooveMask( QPainter *p, int x, int y, int w, int h,
const QColorGroup& , QCOORD c, Orientation orient );
void drawSliderGroove ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, QCOORD c, Orientation );
void drawTab( QPainter *, const QTabBar *, QTab *, bool selected );
void polishPopupMenu ( QPopupMenu * );
int extraPopupMenuItemWidth( bool checkable, int maxpmw, QMenuItem*, const QFontMetrics& );
int popupMenuItemHeight( bool checkable, QMenuItem*, const QFontMetrics& );
void drawPopupMenuItem( QPainter* p, bool checkable, int maxpmw, int tab, QMenuItem* mi,
const QPalette& pal,
bool act, bool enabled, int x, int y, int w, int h);
int buttonMargin() const;
QSize scrollBarExtent() const;
void getButtonShift( int &x, int &y );
private:
FlatStylePrivate *d;
bool revItem;
bool fillBtnBorder;
QColor btnBg;
// Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
FlatStyle( const FlatStyle & );
FlatStyle& operator=( const FlatStyle & );
#endif
};
class FlatStyleImpl : public StyleInterface
{
public:
FlatStyleImpl();
virtual ~FlatStyleImpl();
QRESULT queryInterface( const QUuid&, QUnknownInterface** );
Q_REFCOUNT
virtual QStyle *style();
virtual QString name() const;
private:
FlatStyle *flat;
- ulong ref;
};
#endif // FLATSTYLE_H