Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
Plugin-Datacontrol
Commits
a0b3581d
Commit
a0b3581d
authored
Apr 16, 2018
by
Jan Möbius
Browse files
Removed check for Qt less than 5
parent
0ef9b558
Changes
5
Hide whitespace changes
Inline
Side-by-side
DataControlPlugin.cc
View file @
a0b3581d
...
...
@@ -49,10 +49,6 @@
#include
"DataControlPlugin.hh"
#if QT_VERSION >= 0x050000
#else
#include
<QtGui>
#endif
#include
<ACG/QtWidgets/QtMaterialDialog.hh>
...
...
@@ -936,7 +932,4 @@ void DataControlPlugin::slotObjectUpdated( int _identifier, const UpdateType& _t
}
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2
(
datacontrolplugin
,
DataControlPlugin
);
#endif
DataControlPlugin.hh
View file @
a0b3581d
...
...
@@ -84,9 +84,7 @@ class DataControlPlugin : public QObject, BaseInterface, ToolboxInterface, KeyIn
Q_INTERFACES
(
ScriptInterface
)
Q_INTERFACES
(
LoadSaveInterface
)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA
(
IID
"org.OpenFlipper.Plugins.Plugin-DataControl"
)
#endif
signals:
// BaseInterface
...
...
Toolbox.hh
View file @
a0b3581d
...
...
@@ -49,11 +49,7 @@
#include
"ui_toolbox.hh"
#if QT_VERSION >= 0x050000
#include
<QtWidgets>
#else
#include
<QtGui>
#endif
class
DatacontrolToolboxWidget
:
public
QWidget
,
public
Ui
::
dctoolbox
...
...
TreeModel.cc
View file @
a0b3581d
...
...
@@ -49,11 +49,7 @@
#include
"TreeModel.hh"
#if QT_VERSION >= 0x050000
#include
<QtWidgets>
#else
#include
<QtGui>
#endif
#include
<OpenFlipper/BasePlugin/PluginFunctions.hh>
...
...
TreeView.hh
View file @
a0b3581d
...
...
@@ -49,11 +49,7 @@
#include
<QTreeView>
#if QT_VERSION >= 0x050000
#include
<QtWidgets>
#else
#include
<QtGui>
#endif
class
DataControlTreeView
:
public
QTreeView
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment