summaryrefslogtreecommitdiff
path: root/qt4
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2009-06-03 13:21:22 +0200
committerPino Toscano <pino@kde.org>2009-06-03 13:21:22 +0200
commitdb5102842494a124d813db1696bb60820db3442b (patch)
tree4475349d14597f6961fbfaf8fdcd867c527a324e /qt4
parente8d897581656ee4a20e9bb87dd999425663ace3b (diff)
[Qt4 demo] remove checks for Qt >= 4.2
poppler-qt4 requires Qt 4.3, so checking for 4.2 is no more needed
Diffstat (limited to 'qt4')
-rw-r--r--qt4/demos/embeddedfiles.cpp2
-rw-r--r--qt4/demos/fonts.cpp2
-rw-r--r--qt4/demos/info.cpp2
-rw-r--r--qt4/demos/optcontent.cpp2
-rw-r--r--qt4/demos/permissions.cpp2
-rw-r--r--qt4/demos/toc.cpp2
6 files changed, 0 insertions, 12 deletions
diff --git a/qt4/demos/embeddedfiles.cpp b/qt4/demos/embeddedfiles.cpp
index de8119e1..af26b021 100644
--- a/qt4/demos/embeddedfiles.cpp
+++ b/qt4/demos/embeddedfiles.cpp
@@ -32,9 +32,7 @@ EmbeddedFilesDock::EmbeddedFilesDock(QWidget *parent)
m_table->setHorizontalHeaderLabels(
QStringList() << tr("Name") << tr("Description") << tr("Size") << tr("Creation date")
<< tr("Modification date") << tr("Checksum"));
-#if QT_VERSION >= 0x040200
m_table->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
-#endif
}
EmbeddedFilesDock::~EmbeddedFilesDock()
diff --git a/qt4/demos/fonts.cpp b/qt4/demos/fonts.cpp
index e0ed82b3..bd342bd2 100644
--- a/qt4/demos/fonts.cpp
+++ b/qt4/demos/fonts.cpp
@@ -35,9 +35,7 @@ FontsDock::FontsDock(QWidget *parent)
setWindowTitle(tr("Fonts"));
m_table->setColumnCount(5);
m_table->setHorizontalHeaderLabels(QStringList() << tr("Name") << tr("Type") << tr("Embedded") << tr("Subset") << tr("File"));
-#if QT_VERSION >= 0x040200
m_table->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
-#endif
}
FontsDock::~FontsDock()
diff --git a/qt4/demos/info.cpp b/qt4/demos/info.cpp
index 8fa8bef4..6491e0e4 100644
--- a/qt4/demos/info.cpp
+++ b/qt4/demos/info.cpp
@@ -30,9 +30,7 @@ InfoDock::InfoDock(QWidget *parent)
setWindowTitle(tr("Information"));
m_table->setColumnCount(2);
m_table->setHorizontalHeaderLabels(QStringList() << tr("Key") << tr("Value"));
-#if QT_VERSION >= 0x040200
m_table->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
-#endif
}
InfoDock::~InfoDock()
diff --git a/qt4/demos/optcontent.cpp b/qt4/demos/optcontent.cpp
index a986218a..0c1015b9 100644
--- a/qt4/demos/optcontent.cpp
+++ b/qt4/demos/optcontent.cpp
@@ -28,9 +28,7 @@ OptContentDock::OptContentDock(QWidget *parent)
m_view = new QTreeView(this);
setWidget(m_view);
setWindowTitle(tr("Optional content"));
-#if QT_VERSION >= 0x040200
m_view->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
-#endif
}
OptContentDock::~OptContentDock()
diff --git a/qt4/demos/permissions.cpp b/qt4/demos/permissions.cpp
index e26ba104..0ac3a573 100644
--- a/qt4/demos/permissions.cpp
+++ b/qt4/demos/permissions.cpp
@@ -35,9 +35,7 @@ PermissionsDock::PermissionsDock(QWidget *parent)
setWindowTitle(tr("Permissions"));
m_table->setColumnCount(2);
m_table->setHorizontalHeaderLabels(QStringList() << tr("Permission") << tr("Value"));
-#if QT_VERSION >= 0x040200
m_table->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
-#endif
}
PermissionsDock::~PermissionsDock()
diff --git a/qt4/demos/toc.cpp b/qt4/demos/toc.cpp
index 7c0de9a9..bf3e5cbb 100644
--- a/qt4/demos/toc.cpp
+++ b/qt4/demos/toc.cpp
@@ -59,9 +59,7 @@ TocDock::TocDock(QWidget *parent)
m_tree->setAlternatingRowColors(true);
m_tree->header()->hide();
setWindowTitle(tr("TOC"));
-#if QT_VERSION >= 0x040200
m_tree->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
-#endif
}
TocDock::~TocDock()