Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
6010970d
Commit
6010970d
authored
Jan 08, 2019
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed several large Qt includes from interfaces
parent
4922907f
Changes
44
Hide whitespace changes
Inline
Side-by-side
Showing
44 changed files
with
55 additions
and
551 deletions
+55
-551
BasePlugin/AboutInfoInterface.hh
BasePlugin/AboutInfoInterface.hh
+0
-4
BasePlugin/BackupInterface.hh
BasePlugin/BackupInterface.hh
+1
-15
BasePlugin/BaseInterface.hh
BasePlugin/BaseInterface.hh
+1
-12
BasePlugin/ContextMenuInterface.hh
BasePlugin/ContextMenuInterface.hh
+2
-15
BasePlugin/FileInterface.hh
BasePlugin/FileInterface.hh
+3
-13
BasePlugin/INIInterface.hh
BasePlugin/INIInterface.hh
+2
-20
BasePlugin/InformationInterface.hh
BasePlugin/InformationInterface.hh
+2
-10
BasePlugin/KeyInterface.hh
BasePlugin/KeyInterface.hh
+2
-16
BasePlugin/LoadSaveInterface.hh
BasePlugin/LoadSaveInterface.hh
+1
-11
BasePlugin/LoggingInterface.hh
BasePlugin/LoggingInterface.hh
+1
-13
BasePlugin/MenuInterface.hh
BasePlugin/MenuInterface.hh
+2
-12
BasePlugin/MetadataInterface.hh
BasePlugin/MetadataInterface.hh
+2
-13
BasePlugin/MouseInterface.hh
BasePlugin/MouseInterface.hh
+2
-13
BasePlugin/OptionsInterface.hh
BasePlugin/OptionsInterface.hh
+1
-14
BasePlugin/PickingInterface.hh
BasePlugin/PickingInterface.hh
+3
-19
BasePlugin/PluginConnectionInterface.hh
BasePlugin/PluginConnectionInterface.hh
+1
-12
BasePlugin/PluginFunctions.cc
BasePlugin/PluginFunctions.cc
+0
-12
BasePlugin/PluginFunctions.hh
BasePlugin/PluginFunctions.hh
+1
-15
BasePlugin/PluginFunctionsBaseIterator.cc
BasePlugin/PluginFunctionsBaseIterator.cc
+0
-9
BasePlugin/PluginFunctionsCore.hh
BasePlugin/PluginFunctionsCore.hh
+1
-12
BasePlugin/PluginFunctionsIterator.cc
BasePlugin/PluginFunctionsIterator.cc
+0
-10
BasePlugin/PluginFunctionsSceneGraphWidget.hh
BasePlugin/PluginFunctionsSceneGraphWidget.hh
+0
-9
BasePlugin/PluginFunctionsViewControls.hh
BasePlugin/PluginFunctionsViewControls.hh
+1
-15
BasePlugin/PostProcessorInterface.cc
BasePlugin/PostProcessorInterface.cc
+0
-9
BasePlugin/PostProcessorInterface.hh
BasePlugin/PostProcessorInterface.hh
+1
-12
BasePlugin/ProcessInterface.hh
BasePlugin/ProcessInterface.hh
+1
-13
BasePlugin/RPCInterface.hh
BasePlugin/RPCInterface.hh
+1
-12
BasePlugin/RPCWrappers.cc
BasePlugin/RPCWrappers.cc
+0
-8
BasePlugin/RPCWrappers.hh
BasePlugin/RPCWrappers.hh
+1
-10
BasePlugin/RPCWrappersHelper.cc
BasePlugin/RPCWrappersHelper.cc
+0
-8
BasePlugin/RPCWrappersHelper.hh
BasePlugin/RPCWrappersHelper.hh
+1
-12
BasePlugin/RenderInterface.hh
BasePlugin/RenderInterface.hh
+1
-12
BasePlugin/ScriptInterface.hh
BasePlugin/ScriptInterface.hh
+1
-11
BasePlugin/SecurityInterface.hh
BasePlugin/SecurityInterface.hh
+1
-14
BasePlugin/SelectionInterface.hh
BasePlugin/SelectionInterface.hh
+2
-13
BasePlugin/StatusbarInterface.hh
BasePlugin/StatusbarInterface.hh
+2
-14
BasePlugin/TextureInterface.hh
BasePlugin/TextureInterface.hh
+3
-17
BasePlugin/ToolbarInterface.hh
BasePlugin/ToolbarInterface.hh
+3
-17
BasePlugin/ToolboxInterface.hh
BasePlugin/ToolboxInterface.hh
+2
-16
BasePlugin/TypeInterface.hh
BasePlugin/TypeInterface.hh
+1
-12
BasePlugin/ViewInterface.hh
BasePlugin/ViewInterface.hh
+3
-14
BasePlugin/ViewModeInterface.hh
BasePlugin/ViewModeInterface.hh
+1
-15
BasePlugin/WhatsThisGenerator.cc
BasePlugin/WhatsThisGenerator.cc
+0
-7
BasePlugin/WhatsThisGenerator.hh
BasePlugin/WhatsThisGenerator.hh
+1
-11
No files found.
BasePlugin/AboutInfoInterface.hh
View file @
6010970d
...
...
@@ -50,10 +50,6 @@
#pragma once
#include <QtWidgets>
/** \file AboutInfoInterface.hh
*
* Interface for adding a widget to OpenFlippers About dialog .\ref AboutInfoInterfacePage
...
...
BasePlugin/BackupInterface.hh
View file @
6010970d
...
...
@@ -39,21 +39,9 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#ifndef BACKUPPLUGININTERFACE_HH
#define BACKUPPLUGININTERFACE_HH
#pragma once
#include <OpenFlipper/common/Types.hh>
#include <QtWidgets>
/** \file BackupInterface.hh
*
...
...
@@ -310,5 +298,3 @@ To use the BackupInterface:
Q_DECLARE_INTERFACE
(
BackupInterface
,
"GUI.BackupInterface/1.1"
)
#endif // BACKUPPLUGININTERFACE_HH
BasePlugin/BaseInterface.hh
View file @
6010970d
...
...
@@ -39,18 +39,8 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#ifndef BASEINTERFACE_HH
#define BASEINTERFACE_HH
#pragma once
#include <QtPlugin>
#include <OpenFlipper/common/Types.hh>
#include "WhatsThisGenerator.hh"
...
...
@@ -478,4 +468,3 @@ when running a batch file.
Q_DECLARE_INTERFACE
(
BaseInterface
,
"OpenFlipper.BaseInterface/1.0"
)
#endif // BASEINTERFACE_HH
BasePlugin/ContextMenuInterface.hh
View file @
6010970d
...
...
@@ -39,23 +39,11 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#ifndef CONTEXTMENUINTERFACE_HH
#define CONTEXTMENUINTERFACE_HH
#pragma once
#include <OpenFlipper/common/Types.hh>
#include <QtWidgets>
#include <QMenuBar>
#include <QAction>
/** \file ContextMenuInterface.hh
*
...
...
@@ -250,4 +238,3 @@ your plugin. Therefore the embedding of your menus into the OpenFlippers context
Q_DECLARE_INTERFACE
(
ContextMenuInterface
,
"OpenFlipper.ContextMenuInterface/1.0"
)
#endif // CONTEXTMENUINTERFACE_HH
BasePlugin/FileInterface.hh
View file @
6010970d
...
...
@@ -39,22 +39,13 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#pragma once
#ifndef FILEINTERFACE_HH
#define FILEINTERFACE_HH
class
QWidget
;
class
QWidget
;
#include <QString>
#include <OpenFlipper/common/Types.hh>
#include <OpenFlipper/common/Types.hh>
/** \file FileInterface.hh
*
...
...
@@ -348,4 +339,3 @@ virtual int addEmpty() { return -1; };
Q_DECLARE_INTERFACE
(
FileInterface
,
"OpenFlipper.FileInterface/1.0"
)
#endif // FILEINTERFACE_HH
BasePlugin/INIInterface.hh
View file @
6010970d
...
...
@@ -39,26 +39,9 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#ifndef INIINTERFACE_HH
#define INIINTERFACE_HH
#include <OpenFlipper/common/Types.hh>
#include <QtWidgets>
#include <QMenuBar>
#pragma once
#include <OpenFlipper/INIFile/INIFile.hh>
#include <OpenFlipper/INIFile/INIFile.hh>
/** \brief Interface class for Plugins which have to store information in ini files
*
...
...
@@ -169,4 +152,3 @@ class INIInterface {
Q_DECLARE_INTERFACE
(
INIInterface
,
"OpenFlipper.INIInterface/1.2"
)
#endif // INIINTERFACE_HH
BasePlugin/InformationInterface.hh
View file @
6010970d
...
...
@@ -39,16 +39,8 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision: 11147 $ *
* $LastChangedBy: kremer $ *
* $Date: 2011-03-16 16:01:09 +0100 (Wed, 16 Mar 2011) $ *
* *
\*===========================================================================*/
#ifndef INFORMATIONINTERFACE_HH_
#define INFORMATIONINTERFACE_HH_
#pragma once
#include <OpenFlipper/common/Types.hh>
...
...
@@ -141,4 +133,4 @@ void MyInfoPlugin::slotInformationRequested(const QPoint _clickedPoint, const Da
Q_DECLARE_INTERFACE
(
InformationInterface
,
"OpenFlipper.InformationInterface/1.0"
)
#endif
/* INFORMATIONINTERFACE_HH_ */
BasePlugin/KeyInterface.hh
View file @
6010970d
...
...
@@ -39,22 +39,9 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#ifndef KEYINTERFACE_HH
#define KEYINTERFACE_HH
#include <QtWidgets>
#pragma once
#include <QKeyEvent>
/** \file KeyInterface.hh
...
...
@@ -180,4 +167,3 @@ void MouseAndKeyPlugin::slotKeyEvent( QKeyEvent* _event ) {
Q_DECLARE_INTERFACE
(
KeyInterface
,
"OpenFlipper.KeyInterface/1.1"
)
#endif // KEYINTERFACE_HH
BasePlugin/LoadSaveInterface.hh
View file @
6010970d
...
...
@@ -39,16 +39,7 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#ifndef LOADSAVEINTERFACE_HH
#define LOADSAVEINTERFACE_HH
#pragma once
#include <OpenFlipper/common/Types.hh>
...
...
@@ -232,4 +223,3 @@ To use the LoadSaveInterface:
Q_DECLARE_INTERFACE
(
LoadSaveInterface
,
"OpenFlipper.LoadSaveInterface/1.1"
)
#endif // LOADSAVEINTERFACE_HH
BasePlugin/LoggingInterface.hh
View file @
6010970d
...
...
@@ -39,18 +39,7 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#ifndef LOGGINGINTERFACE_HH
#define LOGGINGINTERFACE_HH
#pragma once
#include <QMetaType>
...
...
@@ -157,4 +146,3 @@ class LoggingInterface {
Q_DECLARE_INTERFACE
(
LoggingInterface
,
"OpenFlipper.LoggingInterface/1.0"
)
#endif // LOGGINGINTERFACE_HH
BasePlugin/MenuInterface.hh
View file @
6010970d
...
...
@@ -39,20 +39,11 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#ifndef MENUBARINTERFACE_HH
#define MENUBARINTERFACE_HH
#pragma once
#include <OpenFlipper/common/Types.hh>
#include <QtWidgets>
#include <QAction>
#include <QMenuBar>
...
...
@@ -199,4 +190,3 @@ your plugin. Therefore the embedding of your menus into the OpenFlippers menu li
Q_DECLARE_INTERFACE
(
MenuInterface
,
"OpenFlipper.MenuInterface/1.0"
)
#endif // MENUBARINTERFACE_HH
BasePlugin/MetadataInterface.hh
View file @
6010970d
...
...
@@ -39,22 +39,12 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision: $ *
* $LastChangedBy: $ *
* $Date: $ *
* *
\*===========================================================================*/
#ifndef METADATAINTERFACE_HH
#define METADATAINTERFACE_HH
#pragma once
#include <OpenFlipper/common/Types.hh>
#include <QObject>
#include <QString>
#include <QString>
#include <QJsonDocument>
...
...
@@ -152,4 +142,3 @@ to find out which specific signal suits your needs.
Q_DECLARE_INTERFACE
(
MetadataInterface
,
"OpenFlipper.MetadataInterface_qt5/1.0"
)
#endif // METADATAINTERFACE_HH
BasePlugin/MouseInterface.hh
View file @
6010970d
...
...
@@ -39,20 +39,10 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#ifndef MOUSEINTERFACE_HH
#define MOUSEINTERFACE_HH
#pragma once
#include <Q
tWidgets
>
#include <Q
MouseEvent
>
/** \file MouseInterface.hh
...
...
@@ -180,4 +170,3 @@ To use the MouseInterface:
Q_DECLARE_INTERFACE
(
MouseInterface
,
"OpenFlipper.MouseInterface/1.0"
)
#endif // MOUSEINTERFACE_HH
BasePlugin/OptionsInterface.hh
View file @
6010970d
...
...
@@ -39,20 +39,8 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#ifndef OPTIONSINTERFACE_HH
#define OPTIONSINTERFACE_HH
#include <Q
t
Widget
s
>
#include <QWidget>
/** \file OptionsInterface.hh
...
...
@@ -157,4 +145,3 @@ void ExamplePlugin::applyOptions(){
Q_DECLARE_INTERFACE
(
OptionsInterface
,
"OpenFlipper.OptionsInterface/1.0"
)
#endif // OPTIONSINTERFACE_HH
BasePlugin/PickingInterface.hh
View file @
6010970d
...
...
@@ -39,25 +39,10 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#ifndef PICKINGINTERFACE_HH
#define PICKINGINTERFACE_HH
#include <OpenFlipper/common/Types.hh>
#include <QtWidgets>
#include <QMenuBar>
#pragma once
#include <OpenFlipper/common/Types.hh>
#include <QToolBar>
/** \file PickingInterface.hh
*
...
...
@@ -248,4 +233,3 @@ To use the PickingInterface:
Q_DECLARE_INTERFACE
(
PickingInterface
,
"OpenFlipper.PickingInterface/1.1"
)
#endif // PICKINGINTERFACE_HH
BasePlugin/PluginConnectionInterface.hh
View file @
6010970d
...
...
@@ -39,17 +39,7 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#ifndef PLUGINCONNECTIONINTERFACE_HH
#define PLUGINCONNECTIONINTERFACE_HH
#pragma once
#include <QString>
...
...
@@ -110,4 +100,3 @@ class PluginConnectionInterface {
Q_DECLARE_INTERFACE
(
PluginConnectionInterface
,
"OpenFlipper.PluginConnectionInterface/1.0"
)
#endif // PLUGINCONNECTIONINTERFACE_HH
BasePlugin/PluginFunctions.cc
View file @
6010970d
...
...
@@ -39,17 +39,6 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
//=============================================================================
//
// Plugin Functions
...
...
@@ -58,7 +47,6 @@
#include <OpenFlipper/common/Types.hh>
#include <OpenFlipper/common/GlobalOptions.hh>
//#include <QGLWidget>
#include "PluginFunctions.hh"
#include "PluginFunctionsCore.hh"
...
...
BasePlugin/PluginFunctions.hh
View file @
6010970d
...
...
@@ -39,17 +39,6 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
//=============================================================================
//
// Standard Functions
...
...
@@ -61,9 +50,7 @@
* This file contains functions which can be used by plugins to access data in the framework.
*/
//
#ifndef PLUGINFUNCTIONS_HH
#define PLUGINFUNCTIONS_HH
#pragma once
#include <QPair>
...
...
@@ -857,4 +844,3 @@ QString getSaveFileName(const QString &configProperty,
}
/* namespace PluginFunctions */
#endif //PLUGINFUNCTIONS_HH
BasePlugin/PluginFunctionsBaseIterator.cc
View file @
6010970d
...
...
@@ -39,15 +39,6 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
//=============================================================================
...
...
BasePlugin/PluginFunctionsCore.hh
View file @
6010970d
...
...
@@ -39,14 +39,6 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
...
...
@@ -62,9 +54,7 @@
* Dont Use these Functions in your Plugins!
*/
//
#ifndef PLUGINFUNCTIONSCORE_HH
#define PLUGINFUNCTIONSCORE_HH
#pragma once
#ifndef OPENFLIPPERCORE
#ifndef OPENFLIPPERPLUGINLIB
...
...
@@ -186,4 +176,3 @@ QMap< std::string ,ACG::QtWidgets::SceneGraphWidgetGenerator* > getSceneGraphGen
}
#endif //PLUGINFUNCTIONSCORE_HH
BasePlugin/PluginFunctionsIterator.cc
View file @
6010970d
...
...
@@ -39,16 +39,6 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
//=============================================================================
//
...
...
BasePlugin/PluginFunctionsSceneGraphWidget.hh
View file @
6010970d
...
...
@@ -39,15 +39,6 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
//=============================================================================
...
...
BasePlugin/PluginFunctionsViewControls.hh
View file @
6010970d
...
...
@@ -39,16 +39,6 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
//=============================================================================
//
...
...
@@ -60,10 +50,7 @@
* \file PluginFunctions.hh
* This file contains functions which can be used by plugins to access data in the framework.
*/
//
#ifndef PLUGINFUNCTIONS_VIEWCONTROL_HH
#define PLUGINFUNCTIONS_VIEWCONTROL_HH
#pragma once
#include <OpenFlipper/common/Types.hh>
...
...
@@ -476,4 +463,3 @@ void invalidatePickCaches();
}
#endif //PLUGINFUNCTIONS_HH
BasePlugin/PostProcessorInterface.cc
View file @
6010970d
...
...
@@ -39,15 +39,6 @@
* *
\*===========================================================================*/
/*===========================================================================*\
* *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
#include <ACG/GL/acg_glew.hh>
#include "PostProcessorInterface.hh"
...
...
BasePlugin/PostProcessorInterface.hh
View file @
6010970d
...
...
@@ -39,17 +39,7 @@
* *