[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase
From: André Wöbbeking <woebbeking () kde ! org>
Date: 2010-10-16 13:53:51
Message-ID: 20101016135351.C911DAC896 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1186462 by woebbe:
-pedantic
M +1 -1 runtime/plasma/declarativeimports/core/corebindingsplugin.h
M +7 -7 runtime/plasma/declarativeimports/core/datasource_p.h
M +1 -1 runtime/plasma/declarativeimports/graphicslayouts/graphicslayoutsbindingsplugin.h \
M +1 -1 runtime/plasma/declarativeimports/graphicswidgets/graphicswidgetsbindingsplugin.h \
M +2 -2 workspace/libs/solid/control/modemcdmainterface.h
M +1 -1 workspace/libs/solid/control/modemgsmnetworkinterface.h
M +7 -7 workspace/libs/solid/control/modeminterface.h
--- trunk/KDE/kdebase/runtime/plasma/declarativeimports/core/corebindingsplugin.h \
#1186461:1186462 @@ -36,6 +36,6 @@
void registerTypes(const char *uri);
};
-Q_EXPORT_PLUGIN2(corebindingsplugin, CoreBindingsPlugin);
+Q_EXPORT_PLUGIN2(corebindingsplugin, CoreBindingsPlugin)
#endif
--- trunk/KDE/kdebase/runtime/plasma/declarativeimports/core/datasource_p.h \
#1186461:1186462 @@ -45,31 +45,31 @@
typedef QHash<QString, QVariant> Data;
DataSource(QObject* parent=0);
- Q_PROPERTY(bool valid READ valid);
+ Q_PROPERTY(bool valid READ valid)
bool valid() const {return m_dataEngine != 0;}
- Q_PROPERTY(int interval READ interval WRITE setInterval NOTIFY \
intervalChanged); + Q_PROPERTY(int interval READ interval WRITE setInterval \
NOTIFY intervalChanged) int interval() const {return m_interval;}
void setInterval(int i) {if(i==m_interval) return; m_interval=i; emit \
intervalChanged();}
- Q_PROPERTY(QString engine READ engine WRITE setEngine NOTIFY engineChanged);
+ Q_PROPERTY(QString engine READ engine WRITE setEngine NOTIFY engineChanged)
QString engine() const {return m_engine;}
void setEngine(const QString &e) {if(e==m_engine) return; m_engine=e; emit \
engineChanged();}
- Q_PROPERTY(QString source READ source WRITE setSource NOTIFY sourceChanged);
+ Q_PROPERTY(QString source READ source WRITE setSource NOTIFY sourceChanged)
QString source() const {return m_source;}
void setSource(const QString &s);
- Q_PROPERTY(QStringList keys READ keys NOTIFY keysChanged);
+ Q_PROPERTY(QStringList keys READ keys NOTIFY keysChanged)
QStringList keys() const {return m_keys;}
- Q_PROPERTY(QStringList allSources READ allSources NOTIFY sourcesChanged);
+ Q_PROPERTY(QStringList allSources READ allSources NOTIFY sourcesChanged)
QStringList allSources() const {if (m_dataEngine) return \
m_dataEngine->sources(); else return QStringList();}
Q_PROPERTY(QObject *data READ data NOTIFY dataChanged);
QObject *data() const {return m_data;}
- Q_PROPERTY(Plasma::Service *service READ service CONSTANT);
+ Q_PROPERTY(Plasma::Service *service READ service CONSTANT)
Plasma::Service *service();
public Q_SLOTS:
--- trunk/KDE/kdebase/runtime/plasma/declarativeimports/graphicslayouts/graphicslayoutsbindingsplugin.h \
#1186461:1186462 @@ -33,6 +33,6 @@
void registerTypes(const char *uri);
};
-Q_EXPORT_PLUGIN2(graphicslayoutsbindingsplugin, GraphicsLayoutsBindingsPlugin);
+Q_EXPORT_PLUGIN2(graphicslayoutsbindingsplugin, GraphicsLayoutsBindingsPlugin)
#endif
--- trunk/KDE/kdebase/runtime/plasma/declarativeimports/graphicswidgets/graphicswidgetsbindingsplugin.h \
#1186461:1186462 @@ -33,6 +33,6 @@
void registerTypes(const char *uri);
};
-Q_EXPORT_PLUGIN2(graphicswidgetsbindingsplugin, GraphicsWidgetsBindingsPlugin);
+Q_EXPORT_PLUGIN2(graphicswidgetsbindingsplugin, GraphicsWidgetsBindingsPlugin)
#endif
--- trunk/KDE/kdebase/workspace/libs/solid/control/modemcdmainterface.h \
#1186461:1186462 @@ -41,7 +41,7 @@
virtual ~ModemCdmaInterface();
- enum BandClass { Unknown = 0x0, B800 = 0x01, B1900 = 0x2, };
+ enum BandClass { Unknown = 0x0, B800 = 0x01, B1900 = 0x2 };
class ServingSystemType
{
@@ -51,7 +51,7 @@
uint systemId;
};
- enum RegistrationState { UnknownState = 0x0, Registered = 0x1, Home = 0x2, \
Roaming = 0x3, }; + enum RegistrationState { UnknownState = 0x0, Registered = \
0x1, Home = 0x2, Roaming = 0x3 };
class RegistrationStateResult
{
--- trunk/KDE/kdebase/workspace/libs/solid/control/modemgsmnetworkinterface.h \
#1186461:1186462 @@ -64,7 +64,7 @@
StatusSearching, /* Not registered, searching for new operator to \
register with. */ StatusDenied, /* Registration denied. */
StatusUnknown, /* Unknown registration status. */
- StatusRoaming, /* Registered on a roaming network. */
+ StatusRoaming /* Registered on a roaming network. */
};
class RegistrationInfoType
--- trunk/KDE/kdebase/workspace/libs/solid/control/modeminterface.h #1186461:1186462
@@ -43,14 +43,14 @@
enum Type {
UnknownType = 0, /* MM specification does not include this type though. \
*/ GsmType = 1,
- CdmaType = 2,
+ CdmaType = 2
};
enum Method {
Ppp = 0, /* Use PPP to get the address. */
Static = 1, /* Static configuration, the modem will provide IP \
information. */ Dhcp = 2, /*Use DHCP */
- UnknownMethod = 0xff,
+ UnknownMethod = 0xff
};
/* Describes the device's current access mode preference;
@@ -61,7 +61,7 @@
Prefer2g, /* Prefer 2G (GPRS or EDGE) */
Prefer3g, /* Prefer 3G (UMTS or HSxPA) */
UseOnly2g, /* Use only 2G (GPRS or EDGE) */
- UseOnly3g, /* Use only 3G (UMTS or HSxPA) */
+ UseOnly3g /* Use only 3G (UMTS or HSxPA) */
};
/* Describes various access technologies that a device uses when connected \
to a mobile network. */ @@ -74,7 +74,7 @@
Umts, /* UMTS (ETSI 27.007: "UTRAN") */
Hsdpa, /* HSDPA (ETSI 27.007: "UTRAN w/HSDPA") */
Hsupa, /* HSUPA (ETSI 27.007: "UTRAN w/HSUPA") */
- Hspa, /* HSPA (ETSI 27.007: "UTRAN w/HSDPA and HSUPA") */
+ Hspa /* HSPA (ETSI 27.007: "UTRAN w/HSDPA and HSUPA") */
};
/* A bitfield describing the specifc access modes and technologies supported \
by a device @@ -93,7 +93,7 @@
HsupaMode = 0x200, /* HSUPA (3G) */
HspaMode = 0x400, /* HSPA (3G) */
GsmMode = 0x800, /* GSM */
- GsmCompactMode = 0x1000, /* GSM Compact */
+ GsmCompactMode = 0x1000 /* GSM Compact */
};
/* A bitfield describing the specific radio bands supported by the device
@@ -112,7 +112,7 @@
U850 = 0x200, /* WCDMA 3GPP UMTS 850 MHz (Class V) */
U900 = 0x400, /* WCDMA 3GPP UMTS 900 MHz (Class VIII) */
U17IX = 0x800, /* WCDMA 3GPP UMTS 1700 MHz (Class IX) */
- U19IX = 0x1000, /* WCDMA 3GPP UMTS 1900 MHz (Class II) */
+ U19IX = 0x1000 /* WCDMA 3GPP UMTS 1900 MHz (Class II) */
};
enum GsmInterfaceType {
@@ -122,7 +122,7 @@
GsmNetwork,
GsmSms,
GsmHso,
- GsmUssd,
+ GsmUssd
};
class Ip4ConfigType
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic