[Marble-commits] KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCute
Jens-Michael Hoffmann
jensmh at gmx.de
Fri Aug 14 01:14:51 CEST 2009
SVN commit 1011105 by jmhoffmann:
Coding style: opening braces of namespaces, classes, structs should be on their own line.
M +4 -2 Accuracy.h
M +2 -1 AccuracyLevel.h
M +4 -2 MasterClient.h
M +2 -1 MasterClient_p.h
M +4 -2 Position.h
M +4 -2 PositionProvider.h
M +2 -1 PositionProvider_p.h
M +4 -2 Provider.h
M +2 -1 Provider_p.h
M +4 -2 SimpleDBusInterface.h
M +2 -1 Status.h
M +4 -2 Velocity.h
M +4 -2 VelocityProvider.h
M +2 -1 VelocityProvider_p.h
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCute/Accuracy.h #1011104:1011105
@@ -9,9 +9,11 @@
class QDBusArgument;
-namespace GeoCute {
+namespace GeoCute
+{
-class Accuracy {
+class Accuracy
+{
public:
AccuracyLevel level;
qreal horizontal;
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCute/AccuracyLevel.h #1011104:1011105
@@ -3,7 +3,8 @@
-namespace GeoCute {
+namespace GeoCute
+{
enum AccuracyLevel {
AccuracyLevelNone = 0,
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCute/MasterClient.h #1011104:1011105
@@ -7,7 +7,8 @@
-namespace GeoCute {
+namespace GeoCute
+{
enum ResourceFlags {
ResourceNone = 0,
@@ -24,7 +25,8 @@
class PositionProvider;
-class MasterClient : public QObject {
+class MasterClient : public QObject
+{
Q_OBJECT
public:
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCute/MasterClient_p.h #1011104:1011105
@@ -16,7 +16,8 @@
static QString createClientPath();
-class GeoCute::MasterClient::Private {
+class GeoCute::MasterClient::Private
+{
public:
Private();
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCute/Position.h #1011104:1011105
@@ -8,7 +8,8 @@
-namespace GeoCute {
+namespace GeoCute
+{
enum PositionFieldFlag {
PositionFieldNone = 0,
@@ -20,7 +21,8 @@
Q_DECLARE_FLAGS(PositionFields, PositionFieldFlag)
Q_DECLARE_OPERATORS_FOR_FLAGS(PositionFields)
-struct Position {
+struct Position
+{
Accuracy accuracy;
qreal altitude;
PositionFields fields;
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCute/PositionProvider.h #1011104:1011105
@@ -10,9 +10,11 @@
class QString;
-namespace GeoCute {
+namespace GeoCute
+{
-class PositionProvider : public Provider {
+class PositionProvider : public Provider
+{
Q_OBJECT
public:
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCute/PositionProvider_p.h #1011104:1011105
@@ -12,7 +12,8 @@
static const QString interfaceName = "org.freedesktop.Geoclue.Position";
-class GeoCute::PositionProvider::Private {
+class GeoCute::PositionProvider::Private
+{
public:
Private(PositionProvider& parent, const QString& service,
const QString& path);
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCute/Provider.h #1011104:1011105
@@ -8,9 +8,11 @@
-namespace GeoCute {
+namespace GeoCute
+{
-class Provider : public QObject {
+class Provider : public QObject
+{
Q_OBJECT
public:
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCute/Provider_p.h #1011104:1011105
@@ -11,7 +11,8 @@
static const QString interfaceName = "org.freedesktop.Geoclue";
-class GeoCute::Provider::Private {
+class GeoCute::Provider::Private
+{
public:
Private(Provider& parent, const QString& service,
const QString& path);
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCute/SimpleDBusInterface.h #1011104:1011105
@@ -11,9 +11,11 @@
-namespace GeoCute {
+namespace GeoCute
+{
-class SimpleDBusInterface : public QObject {
+class SimpleDBusInterface : public QObject
+{
Q_OBJECT
public:
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCute/Status.h #1011104:1011105
@@ -3,7 +3,8 @@
-namespace GeoCute {
+namespace GeoCute
+{
enum Status {
StatusError = 0,
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCute/Velocity.h #1011104:1011105
@@ -5,7 +5,8 @@
-namespace GeoCute {
+namespace GeoCute
+{
enum VelocityFieldFlag {
VelocityFieldsNone = 0,
@@ -17,7 +18,8 @@
Q_DECLARE_FLAGS(VelocityFields, VelocityFieldFlag)
Q_DECLARE_OPERATORS_FOR_FLAGS(VelocityFields)
-struct Velocity {
+struct Velocity
+{
VelocityFields fields;
qreal speed;
qreal direction;
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCute/VelocityProvider.h #1011104:1011105
@@ -8,9 +8,11 @@
class QString;
-namespace GeoCute {
+namespace GeoCute
+{
-class VelocityProvider : public Provider {
+class VelocityProvider : public Provider
+{
Q_OBJECT
public:
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/geoclue/GeoCute/VelocityProvider_p.h #1011104:1011105
@@ -12,7 +12,8 @@
static const QString interfaceName = "org.freedesktop.Geoclue.Velocity";
-class GeoCute::VelocityProvider::Private {
+class GeoCute::VelocityProvider::Private
+{
public:
Private(VelocityProvider& parent, const QString& service,
const QString& path);
More information about the Marble-commits
mailing list