summaryrefslogtreecommitdiff
path: root/scripts/kconfig/qconf.cc
Side-by-side diff
Diffstat (limited to 'scripts/kconfig/qconf.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/kconfig/qconf.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 52419ad..0459caf 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -19,3 +19,3 @@
#include <qregexp.h>
-#if QT_VERSION >= 300
+#if QT_VERSION >= 0x030000
#include <qsettings.h>
@@ -32,3 +32,3 @@
static QApplication *configApp;
-#if QT_VERSION >= 300
+#if QT_VERSION >= 0x030000
static QSettings *configSettings;
@@ -104,3 +104,3 @@ void ConfigList::updateMenuList(P* parent, struct menu* menu)
-#if QT_VERSION >= 300
+#if QT_VERSION >= 0x030000
/*
@@ -217,3 +217,3 @@ void ConfigItem::updateMenu(void)
data = sym_get_string_value(sym);
-#if QT_VERSION >= 300
+#if QT_VERSION >= 0x030000
int i = list->mapIdx(dataColIdx);
@@ -492,3 +492,3 @@ void ConfigList::changeValue(ConfigItem* item)
case S_STRING:
-#if QT_VERSION >= 300
+#if QT_VERSION >= 0x030000
if (colMap[dataColIdx] >= 0)
@@ -753,3 +753,3 @@ ConfigMainWindow::ConfigMainWindow(void)
-#if QT_VERSION >= 300
+#if QT_VERSION >= 0x030000
width = configSettings->readNumEntry("/kconfig/qconf/window width", d->width() - 64);
@@ -1268,3 +1268,3 @@ int main(int ac, char** av)
configApp = new QApplication(ac, av);
-#if QT_VERSION >= 300
+#if QT_VERSION >= 0x030000
configSettings = new QSettings;
@@ -1295,3 +1295,3 @@ int main(int ac, char** av)
-#if QT_VERSION >= 300
+#if QT_VERSION >= 0x030000
configSettings->writeEntry("/kconfig/qconf/window x", v->pos().x());