summaryrefslogtreecommitdiffstats
path: root/tools/shared/qtpropertybrowser/qtvariantproperty.cpp
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2009-04-16 07:54:07 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-04-16 07:54:07 (GMT)
commit876d4b64acce6f9f786d5a59612d73688167ef64 (patch)
tree196d4a703ca127774131b0ce538a9a577e861ff9 /tools/shared/qtpropertybrowser/qtvariantproperty.cpp
parent44ea85fb362ec2938beba477c33dab7baa8d1d42 (diff)
downloadQt-876d4b64acce6f9f786d5a59612d73688167ef64.zip
Qt-876d4b64acce6f9f786d5a59612d73688167ef64.tar.gz
Qt-876d4b64acce6f9f786d5a59612d73688167ef64.tar.bz2
Remove obsolete pre-processor directives that check QT_VERSION.
Reviewed-by: Trust Me ....though discussed with three devs.
Diffstat (limited to 'tools/shared/qtpropertybrowser/qtvariantproperty.cpp')
-rw-r--r--tools/shared/qtpropertybrowser/qtvariantproperty.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/shared/qtpropertybrowser/qtvariantproperty.cpp b/tools/shared/qtpropertybrowser/qtvariantproperty.cpp
index 7e1975e..f712ba6 100644
--- a/tools/shared/qtpropertybrowser/qtvariantproperty.cpp
+++ b/tools/shared/qtpropertybrowser/qtvariantproperty.cpp
@@ -51,9 +51,7 @@
# pragma warning(disable: 4786) /* MS VS 6: truncating debug info after 255 characters */
#endif
-#if QT_VERSION >= 0x040400
QT_BEGIN_NAMESPACE
-#endif
class QtEnumPropertyType
{
@@ -69,17 +67,13 @@ class QtGroupPropertyType
{
};
-#if QT_VERSION >= 0x040400
QT_END_NAMESPACE
-#endif
Q_DECLARE_METATYPE(QtEnumPropertyType)
Q_DECLARE_METATYPE(QtFlagPropertyType)
Q_DECLARE_METATYPE(QtGroupPropertyType)
-#if QT_VERSION >= 0x040400
QT_BEGIN_NAMESPACE
-#endif
/*!
Returns the type id for an enum property.
@@ -2275,8 +2269,6 @@ void QtVariantEditorFactory::disconnectPropertyManager(QtVariantPropertyManager
d_ptr->m_checkBoxFactory->removePropertyManager(itFlag.next()->subBoolPropertyManager());
}
-#if QT_VERSION >= 0x040400
QT_END_NAMESPACE
-#endif
#include "moc_qtvariantproperty.cpp"