summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qs60style.h
diff options
context:
space:
mode:
authorSami Merilä <sami.merila@nokia.com>2009-05-29 07:46:40 (GMT)
committerSami Merilä <sami.merila@nokia.com>2009-05-29 07:46:40 (GMT)
commitdcf5d568aba893d690eedbe1e18148b504de2abb (patch)
tree535355923cce056963a576b72abba9a377466a41 /src/gui/styles/qs60style.h
parenta1ffc561aa6bbbdc1355119d5a43d17d0ff5c560 (diff)
downloadQt-dcf5d568aba893d690eedbe1e18148b504de2abb.zip
Qt-dcf5d568aba893d690eedbe1e18148b504de2abb.tar.gz
Qt-dcf5d568aba893d690eedbe1e18148b504de2abb.tar.bz2
S60Style: Remove unneeded case-statements and own implementation for drawItemText.
Diffstat (limited to 'src/gui/styles/qs60style.h')
-rw-r--r--src/gui/styles/qs60style.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/styles/qs60style.h b/src/gui/styles/qs60style.h
index 945e182..09c6b00 100644
--- a/src/gui/styles/qs60style.h
+++ b/src/gui/styles/qs60style.h
@@ -36,7 +36,6 @@ public:
void drawComplexControl(ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget = 0) const;
void drawControl(ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget = 0) const;
void drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget = 0) const;
- void drawItemText(QPainter *painter, const QRect &rectangle, int alignment, const QPalette &palette, bool enabled, const QString &text, QPalette::ColorRole textRole = QPalette::NoRole) const;
int pixelMetric(PixelMetric metric, const QStyleOption *option = 0, const QWidget *widget = 0) const;
QSize sizeFromContents(ContentsType ct, const QStyleOption *opt, const QSize &contentsSize, const QWidget *w = 0) const;
int styleHint(StyleHint sh, const QStyleOption *opt = 0, const QWidget *w = 0,