1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

[OP-1085] Qt5.1.1 - a bit of manual uncrustifying

This commit is contained in:
Philippe Renon 2013-10-23 23:57:04 +02:00
parent 6bfef53b81
commit f85498e7c5
34 changed files with 87 additions and 53 deletions

View File

@ -7,7 +7,8 @@ class AntennaTrackGadgetFactory;
class AntennaTrackPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.AntennaTrack")
Q_PLUGIN_METADATA(IID "OpenPilot.AntennaTrack")
public:
AntennaTrackPlugin();
~AntennaTrackPlugin();

View File

@ -34,15 +34,13 @@
#include "uavtalk/telemetrymanager.h"
#include "objectpersistence.h"
#include <QMessageBox>
class ConfigGadgetFactory;
class ConfigPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.Config")
Q_PLUGIN_METADATA(IID "OpenPilot.Config")
public:
ConfigPlugin();

View File

@ -33,11 +33,12 @@
namespace Core {
namespace Internal {
class MainWindow;
class CorePlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.Core")
Q_PLUGIN_METADATA(IID "OpenPilot.Core")
public:
CorePlugin();
@ -53,6 +54,7 @@ public slots:
private:
MainWindow *m_mainWindow;
};
} // namespace Internal
} // namespace Core

View File

@ -34,7 +34,7 @@ class DebugGadgetFactory;
class DebugPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.Debug")
Q_PLUGIN_METADATA(IID "OpenPilot.Debug")
public:
DebugPlugin();
@ -46,4 +46,5 @@ public:
private:
DebugGadgetFactory *mf;
};
#endif /* DEBUGPLUGIN_H_ */

View File

@ -35,7 +35,8 @@ class DialGadgetFactory;
class DialPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.Dial")
Q_PLUGIN_METADATA(IID "OpenPilot.Dial")
public:
DialPlugin();
~DialPlugin();
@ -46,4 +47,5 @@ public:
private:
DialGadgetFactory *mf;
};
#endif /* DIALPLUGIN_H_ */

View File

@ -34,7 +34,8 @@ class EmptyGadgetFactory;
class EmptyPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.Empty")
Q_PLUGIN_METADATA(IID "OpenPilot.Empty")
public:
EmptyPlugin();
~EmptyPlugin();
@ -45,4 +46,5 @@ public:
private:
EmptyGadgetFactory *mf;
};
#endif /* EMPTYPLUGIN_H_ */

View File

@ -35,7 +35,8 @@ class GCSControlGadgetFactory;
class GCSControlPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.GCSControl")
Q_PLUGIN_METADATA(IID "OpenPilot.GCSControl")
public:
GCSControlPlugin();
~GCSControlPlugin();
@ -48,4 +49,5 @@ public:
private:
GCSControlGadgetFactory *mf;
};
#endif /* GCSControlPLUGIN_H_ */

View File

@ -34,7 +34,8 @@ class GpsDisplayGadgetFactory;
class GpsDisplayPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.GpsDisplay")
Q_PLUGIN_METADATA(IID "OpenPilot.GpsDisplay")
public:
GpsDisplayPlugin();
~GpsDisplayPlugin();
@ -45,4 +46,5 @@ public:
private:
GpsDisplayGadgetFactory *mf;
};
#endif /* GPSDISPLAYPLUGIN_H_ */

View File

@ -37,7 +37,8 @@ class HITLFactory;
class HITLPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.HITL")
Q_PLUGIN_METADATA(IID "OpenPilot.HITL")
public:
HITLPlugin();
~HITLPlugin();
@ -67,4 +68,5 @@ public:
private:
HITLFactory *mf;
};
#endif /* HITLPLUGIN_H */

View File

@ -32,7 +32,7 @@
class IMPORTEXPORT_EXPORT ImportExportPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.ImportExport")
Q_PLUGIN_METADATA(IID "OpenPilot.ImportExport")
public:
ImportExportPlugin();
@ -46,8 +46,5 @@ private:
private slots:
void importExport();
};
#endif /* IMPORTEXPORTPLUGIN_H_ */
/**
* @}
* @}
*/

View File

@ -35,20 +35,20 @@
#include <extensionsystem/iplugin.h>
// #include <QtCore/QSettings>
class QAbstractSocket;
class QTcpSocket;
class QUdpSocket;
class IConnection;
/**
* Define a connection via the IConnection interface
* Plugin will add a instance of this class to the pool,
* so the connection manager can use it.
*/
class IPconnection_EXPORT IPconnectionConnection
: public Core::IConnection {
class IPconnection_EXPORT IPconnectionConnection : public Core::IConnection {
Q_OBJECT
public:
IPconnectionConnection();
virtual ~IPconnectionConnection();
@ -69,7 +69,6 @@ public:
return m_optionspage;
}
protected slots:
void onEnumerationChanged();
@ -84,11 +83,10 @@ private:
// QSettings* settings;
};
class IPconnection_EXPORT IPconnectionPlugin
: public ExtensionSystem::IPlugin {
class IPconnection_EXPORT IPconnectionPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.IPconnection")
Q_PLUGIN_METADATA(IID "OpenPilot.IPconnection")
public:
IPconnectionPlugin();
~IPconnectionPlugin();
@ -100,5 +98,4 @@ private:
IPconnectionConnection *m_connection;
};
#endif // IPconnectionPLUGIN_H

View File

@ -34,7 +34,8 @@ class LineardialGadgetFactory;
class LineardialPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.Lineardial")
Q_PLUGIN_METADATA(IID "OpenPilot.Lineardial")
public:
LineardialPlugin();
~LineardialPlugin();
@ -45,4 +46,5 @@ public:
private:
LineardialGadgetFactory *mf;
};
#endif /* LINEARDIALPLUGIN_H_ */

View File

@ -113,7 +113,8 @@ private:
class LoggingPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.Logging")
Q_PLUGIN_METADATA(IID "OpenPilot.Logging")
public:
LoggingPlugin();
~LoggingPlugin();

View File

@ -34,7 +34,8 @@ class MagicWaypointGadgetFactory;
class MagicWaypointPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.MagicWaypoint")
Q_PLUGIN_METADATA(IID "OpenPilot.MagicWaypoint")
public:
MagicWaypointPlugin();
~MagicWaypointPlugin();
@ -45,4 +46,5 @@ public:
private:
MagicWaypointGadgetFactory *mf;
};
#endif /* GCSControlPLUGIN_H_ */

View File

@ -34,7 +34,8 @@ class ModelViewGadgetFactory;
class ModelViewPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "Openpilot.ModelView")
Q_PLUGIN_METADATA(IID "Openpilot.ModelView")
public:
ModelViewPlugin();
~ModelViewPlugin();
@ -45,4 +46,5 @@ public:
private:
ModelViewGadgetFactory *mvf;
};
#endif /* MODELVIEWPLUGIN_H_ */

View File

@ -49,7 +49,8 @@ typedef struct {
class SoundNotifyPlugin : public Core::IConfigurablePlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "Openpilot.SoundNotify")
Q_PLUGIN_METADATA(IID "Openpilot.SoundNotify")
public:
SoundNotifyPlugin();
~SoundNotifyPlugin();

View File

@ -81,10 +81,9 @@ protected:
bool m_deviceOpened;
};
class OPHID_EXPORT RawHIDPlugin
: public ExtensionSystem::IPlugin {
class OPHID_EXPORT RawHIDPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.RawHID")
Q_PLUGIN_METADATA(IID "OpenPilot.RawHID")
public:
RawHIDPlugin();

View File

@ -34,7 +34,8 @@ class OPMapGadgetFactory;
class OPMapPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.OPMap")
Q_PLUGIN_METADATA(IID "OpenPilot.OPMap")
public:
OPMapPlugin();
~OPMapPlugin();
@ -45,4 +46,5 @@ public:
private:
OPMapGadgetFactory *mf;
};
#endif /* OPMAP_PLUGIN_H_ */

View File

@ -34,7 +34,8 @@ class OsgEarthviewGadgetFactory;
class OsgEarthviewPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.OsgEarthview")
Q_PLUGIN_METADATA(IID "OpenPilot.OsgEarthview")
public:
OsgEarthviewPlugin();
~OsgEarthviewPlugin();
@ -45,4 +46,5 @@ public:
private:
OsgEarthviewGadgetFactory *mf;
};
#endif /* PFDPLUGIN_H_ */

View File

@ -33,7 +33,8 @@ class PathActionEditorGadgetFactory;
class PathActionEditorPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.PathActionEditor")
Q_PLUGIN_METADATA(IID "OpenPilot.PathActionEditor")
public:
PathActionEditorPlugin();
~PathActionEditorPlugin();
@ -44,4 +45,5 @@ public:
private:
PathActionEditorGadgetFactory *mf;
};
#endif /* PathActionEditorPLUGIN_H_ */

View File

@ -23,7 +23,8 @@ class PfdQmlGadgetFactory;
class PfdQmlPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.PfdQml")
Q_PLUGIN_METADATA(IID "OpenPilot.PfdQml")
public:
PfdQmlPlugin();
~PfdQmlPlugin();
@ -34,4 +35,5 @@ public:
private:
PfdQmlGadgetFactory *mf;
};
#endif /* PFDQMLPLUGIN_H_ */

View File

@ -34,7 +34,8 @@ class QmlViewGadgetFactory;
class QmlViewPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.QmlView")
Q_PLUGIN_METADATA(IID "OpenPilot.QmlView")
public:
QmlViewPlugin();
~QmlViewPlugin();
@ -45,4 +46,5 @@ public:
private:
QmlViewGadgetFactory *mf;
};
#endif /* QMLVIEWPLUGIN_H_ */

View File

@ -34,7 +34,8 @@ class ScopeGadgetFactory;
class ScopePlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.Scope")
Q_PLUGIN_METADATA(IID "OpenPilot.Scope")
public:
ScopePlugin();
~ScopePlugin();
@ -46,4 +47,5 @@ public:
private:
ScopeGadgetFactory *mf;
};
#endif /* SCOPEPLUGIN_H_ */

View File

@ -116,10 +116,9 @@ protected:
// class SERIAL_EXPORT SerialPlugin
class SerialPlugin
: public ExtensionSystem::IPlugin {
class SerialPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.Serial")
Q_PLUGIN_METADATA(IID "OpenPilot.Serial")
public:
SerialPlugin();
@ -131,5 +130,4 @@ private:
SerialConnection *m_connection;
};
#endif // SERIALPLUGIN_H

View File

@ -33,7 +33,8 @@
class SetupWizardPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.SetupWizard")
Q_PLUGIN_METADATA(IID "OpenPilot.SetupWizard")
public:
SetupWizardPlugin();
~SetupWizardPlugin();

View File

@ -34,7 +34,8 @@ class SystemHealthGadgetFactory;
class SystemHealthPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.SystemHealth")
Q_PLUGIN_METADATA(IID "OpenPilot.SystemHealth")
public:
SystemHealthPlugin();
~SystemHealthPlugin();
@ -45,4 +46,5 @@ public:
private:
SystemHealthGadgetFactory *mf;
};
#endif /* SYSTEMHEALTHPLUGIN_H_ */

View File

@ -34,7 +34,8 @@ class UAVObjectBrowserFactory;
class BrowserPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.Browser")
Q_PLUGIN_METADATA(IID "OpenPilot.Browser")
public:
BrowserPlugin();
~BrowserPlugin();
@ -45,4 +46,5 @@ public:
private:
UAVObjectBrowserFactory *mf;
};
#endif /* UAVOBJECTBROWSERPLUGIN_H_ */

View File

@ -36,7 +36,7 @@
class UAVOBJECTS_EXPORT UAVObjectsPlugin :
public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.UAVObjects")
Q_PLUGIN_METADATA(IID "OpenPilot.UAVObjects")
public:
UAVObjectsPlugin();

View File

@ -35,7 +35,7 @@
class UAVOBJECTUTIL_EXPORT UAVObjectUtilPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.UAVObjectUtil")
Q_PLUGIN_METADATA(IID "OpenPilot.UAVObjectUtil")
public:
UAVObjectUtilPlugin();

View File

@ -33,7 +33,7 @@
class UAVOBJECTWIDGETUTILS_EXPORT UAVObjectWidgetUtilsPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.UAVObjectWidgetUtils")
Q_PLUGIN_METADATA(IID "OpenPilot.UAVObjectWidgetUtils")
public:
UAVObjectWidgetUtilsPlugin();

View File

@ -31,9 +31,10 @@
#include "uavobjectutil/uavobjectutilmanager.h"
#include "uavsettingsimportexport_global.h"
#include "uavsettingsimportexportfactory.h"
class UAVSETTINGSIMPORTEXPORT_EXPORT UAVSettingsImportExportPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.UAVSettingsImportExport")
Q_PLUGIN_METADATA(IID "OpenPilot.UAVSettingsImportExport")
public:
UAVSettingsImportExportPlugin();

View File

@ -38,7 +38,7 @@
class UAVTALK_EXPORT UAVTalkPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.UAVTalk")
Q_PLUGIN_METADATA(IID "OpenPilot.UAVTalk")
public:
UAVTalkPlugin();

View File

@ -35,7 +35,8 @@ class UploaderGadgetFactory;
class UPLOADER_EXPORT UploaderPlugin : public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.Uploader")
Q_PLUGIN_METADATA(IID "OpenPilot.Uploader")
public:
UploaderPlugin();
~UploaderPlugin();
@ -46,4 +47,5 @@ public:
private:
UploaderGadgetFactory *mf;
};
#endif // UPLOADERPLUGIN_H

View File

@ -32,13 +32,15 @@
#include <extensionsystem/iplugin.h>
namespace Welcome {
class WelcomeMode;
namespace Internal {
class WelcomePlugin
: public ExtensionSystem::IPlugin {
Q_OBJECT
Q_PLUGIN_METADATA(IID "OpenPilot.Welcome")
Q_PLUGIN_METADATA(IID "OpenPilot.Welcome")
public:
WelcomePlugin();
@ -51,6 +53,7 @@ public:
private:
WelcomeMode *m_welcomeMode;
};
} // namespace Welcome
} // namespace Internal