summaryrefslogtreecommitdiff
path: root/library/lightstyle.cpp
Side-by-side diff
Diffstat (limited to 'library/lightstyle.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--library/lightstyle.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/lightstyle.cpp b/library/lightstyle.cpp
index f18bdca..3bd1623 100644
--- a/library/lightstyle.cpp
+++ b/library/lightstyle.cpp
@@ -21,3 +21,3 @@
-#if QT_VERSION < 300
+#if QT_VERSION < 0x030000
@@ -161,3 +161,3 @@ void LightStyle::polish(QWidget *widget)
-#if QT_VERSION >= 300
+#if QT_VERSION >= 0x030000
if (widget->inherits("QLineEdit")) {
@@ -178,3 +178,3 @@ void LightStyle::unPolish(QWidget *widget)
-#if QT_VERSION >= 300
+#if QT_VERSION >= 0x030000
if (widget->inherits("QLineEdit")) {
@@ -416,3 +416,3 @@ void LightStyle::drawComboButton(QPainter *p, int x, int y, int w, int h,
-#if QT_VERSION >= 300
+#if QT_VERSION >= 0x030000
if( QApplication::reverseLayout() )
@@ -433,3 +433,3 @@ QRect LightStyle::comboButtonRect( int x, int y, int w, int h ) const
-#if QT_VERSION >= 300
+#if QT_VERSION >= 0x030000
if( QApplication::reverseLayout() )