Commit 555215e0 authored by Jan Möbius's avatar Jan Möbius

Removed check for Qt less than 5

parent 830dd17e
...@@ -65,10 +65,6 @@ ...@@ -65,10 +65,6 @@
#include "ValenceHistogramDialog.hh" #include "ValenceHistogramDialog.hh"
#if QT_VERSION >= 0x050000
#else
#include <QtGui>
#endif
//== IMPLEMENTATION ========================================================== //== IMPLEMENTATION ==========================================================
...@@ -968,8 +964,5 @@ void InfoMeshObjectPlugin::slotShowHistogram() { ...@@ -968,8 +964,5 @@ void InfoMeshObjectPlugin::slotShowHistogram() {
dialog->raise(); dialog->raise();
} }
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2( InfoMeshObjectPlugin , InfoMeshObjectPlugin );
#endif
...@@ -89,9 +89,7 @@ class InfoMeshObjectPlugin : public QObject, BaseInterface, InformationInterface ...@@ -89,9 +89,7 @@ class InfoMeshObjectPlugin : public QObject, BaseInterface, InformationInterface
Q_INTERFACES(StatusbarInterface) Q_INTERFACES(StatusbarInterface)
Q_INTERFACES(LoadSaveInterface) Q_INTERFACES(LoadSaveInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-MeshObjectInfo") Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-MeshObjectInfo")
#endif
signals: signals:
// BaseInterface // BaseInterface
......
...@@ -54,11 +54,7 @@ ...@@ -54,11 +54,7 @@
#include "ui_infoValenceHistograms.hh" #include "ui_infoValenceHistograms.hh"
#if QT_VERSION >= 0x050000
#include <QtWidgets> #include <QtWidgets>
#else
#include <QtGui>
#endif
class ValenceHistogramDialog: public QDialog, public Ui::ValenceHistogramsDlg { class ValenceHistogramDialog: public QDialog, public Ui::ValenceHistogramsDlg {
......
...@@ -49,11 +49,7 @@ ...@@ -49,11 +49,7 @@
#include "ui_infoBar.hh" #include "ui_infoBar.hh"
#if QT_VERSION >= 0x050000
#include <QtWidgets> #include <QtWidgets>
#else
#include <QtGui>
#endif
class InfoBar : public QWidget, public Ui::InfoBar class InfoBar : public QWidget, public Ui::InfoBar
......
...@@ -49,11 +49,7 @@ ...@@ -49,11 +49,7 @@
#include "ui_infoWidget.hh" #include "ui_infoWidget.hh"
#if QT_VERSION >= 0x050000
#include <QtWidgets> #include <QtWidgets>
#else
#include <QtGui>
#endif
class InfoDialog : public QDialog, public Ui::InfoWidget class InfoDialog : public QDialog, public Ui::InfoWidget
......
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