Commit 837c06ab authored by Jan Möbius's avatar Jan Möbius

Removed check for Qt less than 5

parent 5b524e29
......@@ -47,11 +47,7 @@
* *
\*===========================================================================*/
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include <QListWidget>
......
......@@ -51,10 +51,6 @@
#include "OpenFlipper/common/GlobalOptions.hh"
#if QT_VERSION >= 0x050000
#else
#include <QtGui>
#endif
ScriptingPlugin::ScriptingPlugin() :
......@@ -771,7 +767,4 @@ void ScriptingPlugin::clearEditor() {
scriptWidget_->currentScript->clear();
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( skriptingplugin , ScriptingPlugin );
#endif
......@@ -79,9 +79,7 @@ Q_INTERFACES(ScriptInterface)
Q_INTERFACES(RPCInterface)
Q_INTERFACES(LoggingInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-Scripting")
#endif
signals:
void updateView();
......
......@@ -49,11 +49,7 @@
\*===========================================================================*/
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include "codeeditor.hh"
......
......@@ -47,11 +47,7 @@
* *
\*===========================================================================*/
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
#include "highLighter.hh"
......
......@@ -49,11 +49,7 @@
#include "ui_scriptingWidget.hh"
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
class ScriptWidget : public QMainWindow, public Ui::ScriptWidget
{
......
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