Commit a0b3581d authored by Jan Möbius's avatar Jan Möbius
Browse files

Removed check for Qt less than 5

parent 0ef9b558
...@@ -49,10 +49,6 @@ ...@@ -49,10 +49,6 @@
#include "DataControlPlugin.hh" #include "DataControlPlugin.hh"
#if QT_VERSION >= 0x050000
#else
#include <QtGui>
#endif
#include <ACG/QtWidgets/QtMaterialDialog.hh> #include <ACG/QtWidgets/QtMaterialDialog.hh>
...@@ -936,7 +932,4 @@ void DataControlPlugin::slotObjectUpdated( int _identifier, const UpdateType& _t ...@@ -936,7 +932,4 @@ void DataControlPlugin::slotObjectUpdated( int _identifier, const UpdateType& _t
} }
} }
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( datacontrolplugin , DataControlPlugin );
#endif
...@@ -84,9 +84,7 @@ class DataControlPlugin : public QObject, BaseInterface, ToolboxInterface, KeyIn ...@@ -84,9 +84,7 @@ class DataControlPlugin : public QObject, BaseInterface, ToolboxInterface, KeyIn
Q_INTERFACES(ScriptInterface) Q_INTERFACES(ScriptInterface)
Q_INTERFACES(LoadSaveInterface) Q_INTERFACES(LoadSaveInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-DataControl") Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-DataControl")
#endif
signals: signals:
// BaseInterface // BaseInterface
......
...@@ -49,11 +49,7 @@ ...@@ -49,11 +49,7 @@
#include "ui_toolbox.hh" #include "ui_toolbox.hh"
#if QT_VERSION >= 0x050000
#include <QtWidgets> #include <QtWidgets>
#else
#include <QtGui>
#endif
class DatacontrolToolboxWidget : public QWidget, public Ui::dctoolbox class DatacontrolToolboxWidget : public QWidget, public Ui::dctoolbox
......
...@@ -49,11 +49,7 @@ ...@@ -49,11 +49,7 @@
#include "TreeModel.hh" #include "TreeModel.hh"
#if QT_VERSION >= 0x050000
#include <QtWidgets> #include <QtWidgets>
#else
#include <QtGui>
#endif
#include <OpenFlipper/BasePlugin/PluginFunctions.hh> #include <OpenFlipper/BasePlugin/PluginFunctions.hh>
......
...@@ -49,11 +49,7 @@ ...@@ -49,11 +49,7 @@
#include <QTreeView> #include <QTreeView>
#if QT_VERSION >= 0x050000
#include <QtWidgets> #include <QtWidgets>
#else
#include <QtGui>
#endif
class DataControlTreeView : public QTreeView class DataControlTreeView : public QTreeView
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment