[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [libnm-qt/settings] /: Set the default QObject value to 0
From:       Jan Grulich <jgrulich () redhat ! com>
Date:       2013-02-28 21:13:53
Message-ID: 20130228211353.C20BFA604F () git ! kde ! org
[Download RAW message or body]

Git commit 5ff72ca8feec5c6c76ed56a1b4c0dd4ccf58c2dc by Jan Grulich.
Committed on 28/02/2013 at 22:13.
Pushed by grulich into branch 'settings'.

Set the default QObject value to 0

M  +1    -1    adsldevice.h
M  +1    -1    bluetoothdevice.h
M  +1    -1    bonddevice.h
M  +1    -1    bridgedevice.h
M  +1    -1    device.h
M  +1    -1    infinibanddevice.h
M  +2    -2    modemdevice.h
M  +1    -1    olpcmeshdevice.h
M  +1    -1    vlandevice.h
M  +1    -1    wimaxdevice.h
M  +1    -1    wireddevice.h
M  +1    -1    wirelessdevice.h

http://commits.kde.org/libnm-qt/5ff72ca8feec5c6c76ed56a1b4c0dd4ccf58c2dc

diff --git a/adsldevice.h b/adsldevice.h
index b195943..ec59a80 100644
--- a/adsldevice.h
+++ b/adsldevice.h
@@ -35,7 +35,7 @@ Q_DECLARE_PRIVATE(AdslDevice)
 Q_PROPERTY(bool carrier READ carrier NOTIFY carrierChanged)
 
 public:
-    AdslDevice(const QString& path, QObject* parent);
+    AdslDevice(const QString& path, QObject* parent = 0);
     virtual ~AdslDevice();
 
     virtual Type type() const;
diff --git a/bluetoothdevice.h b/bluetoothdevice.h
index a6b845b..a3d6acc 100644
--- a/bluetoothdevice.h
+++ b/bluetoothdevice.h
@@ -52,7 +52,7 @@ public:
     /**
      * Creates a new BtNetworkInterface object.
      */
-    BluetoothDevice(const QString & path, QObject * parent);
+    BluetoothDevice(const QString & path, QObject * parent = 0);
     /**
      * Destroys a BtNetworkInterface object.
      */
diff --git a/bonddevice.h b/bonddevice.h
index fefa4f5..d54105e 100644
--- a/bonddevice.h
+++ b/bonddevice.h
@@ -37,7 +37,7 @@ Q_PROPERTY(QString hwAddress READ hwAddress NOTIFY hwAddressChanged)
 Q_PROPERTY(QList<QDBusObjectPath> slaves READ slaves NOTIFY slavesChanged)
 
 public:
-    BondDevice(const QString& path, QObject* parent);
+    BondDevice(const QString& path, QObject* parent = 0);
     virtual ~BondDevice();
 
     virtual Type type() const;
diff --git a/bridgedevice.h b/bridgedevice.h
index c9460cd..f014c12 100644
--- a/bridgedevice.h
+++ b/bridgedevice.h
@@ -37,7 +37,7 @@ Q_PROPERTY(QString hwAddress READ hwAddress NOTIFY hwAddressChanged)
 Q_PROPERTY(QList<QDBusObjectPath> slaves READ slaves NOTIFY slavesChanged)
 
 public:
-    BridgeDevice(const QString& path, QObject* parent);
+    BridgeDevice(const QString& path, QObject* parent = 0);
     virtual ~BridgeDevice();
 
     virtual Type type() const;
diff --git a/device.h b/device.h
index e0cfd0d..8c74254 100644
--- a/device.h
+++ b/device.h
@@ -125,7 +125,7 @@ public:
      *
      * @param backendObject the network object provided by the backend
      */
-    explicit Device( const QString & path, QObject * parent );
+    explicit Device( const QString & path, QObject * parent = 0);
     Device( DevicePrivate &dd, QObject * parent );
     /**
      * Destroys a NetworkInterface object.
diff --git a/infinibanddevice.h b/infinibanddevice.h
index e522192..6f0b79c 100644
--- a/infinibanddevice.h
+++ b/infinibanddevice.h
@@ -36,7 +36,7 @@ Q_PROPERTY(bool carrier READ carrier NOTIFY carrierChanged)
 Q_PROPERTY(QString hwAddress READ hwAddress NOTIFY hwAddressChanged)
 
 public:
-    InfinibandDevice(const QString& path, QObject* parent);
+    InfinibandDevice(const QString& path, QObject* parent = 0);
     virtual ~InfinibandDevice();
 
     virtual Type type() const;
diff --git a/modemdevice.h b/modemdevice.h
index b6dbff9..fc68186 100644
--- a/modemdevice.h
+++ b/modemdevice.h
@@ -43,8 +43,8 @@ Q_DECLARE_PRIVATE(ModemDevice)
 public:
     enum Capability { NoCapability = 0x0, Pots = 0x1, CdmaEvdo = 0x2, GsmUmts = 0x4, Lte = 0x8 };
     Q_DECLARE_FLAGS(Capabilities, Capability)
-    ModemDevice(const QString & path, QObject * parent);
-    ModemDevice( ModemDevicePrivate &dd, QObject * parent );
+    ModemDevice(const QString & path, QObject * parent = 0);
+    ModemDevice( ModemDevicePrivate &dd, QObject * parent = 0);
     virtual ~ModemDevice();
     /**
      * Return the type
diff --git a/olpcmeshdevice.h b/olpcmeshdevice.h
index 377a95b..8af1c13 100644
--- a/olpcmeshdevice.h
+++ b/olpcmeshdevice.h
@@ -46,7 +46,7 @@ public:
      *
      * @param path the DBus path of the device
      */
-    OlpcMeshDevice(const QString & path, QObject * parent);
+    OlpcMeshDevice(const QString & path, QObject * parent = 0);
     /**
      * Destroys a OlpcMeshDevice object.
      */
diff --git a/vlandevice.h b/vlandevice.h
index d0f57c2..c9a1975 100644
--- a/vlandevice.h
+++ b/vlandevice.h
@@ -37,7 +37,7 @@ Q_PROPERTY(QString hwAddress READ hwAddress NOTIFY hwAddressChanged)
 Q_PROPERTY(uint vlanId READ vlanId NOTIFY vlanIdChanged)
 
 public:
-    VlanDevice(const QString& path, QObject* parent);
+    VlanDevice(const QString& path, QObject* parent = 0);
     virtual ~VlanDevice();
 
     virtual Type type() const;
diff --git a/wimaxdevice.h b/wimaxdevice.h
index 3604b12..104b807 100644
--- a/wimaxdevice.h
+++ b/wimaxdevice.h
@@ -48,7 +48,7 @@ public:
      *
      * @param path the DBus path of the device
      */
-    WimaxDevice(const QString & path, QObject * parent);
+    WimaxDevice(const QString & path, QObject * parent = 0);
     /**
      * Destroys a WimaxDevice object.
      */
diff --git a/wireddevice.h b/wireddevice.h
index 6a610f4..80c61d6 100644
--- a/wireddevice.h
+++ b/wireddevice.h
@@ -40,7 +40,7 @@ Q_PROPERTY(bool carrier READ carrier NOTIFY carrierChanged)
 Q_PROPERTY(int bitRate READ bitRate NOTIFY bitRateChanged)
 
 public:
-    WiredDevice(const QString & path, QObject * parent);
+    WiredDevice(const QString & path, QObject * parent = 0);
     virtual ~WiredDevice();
     /**
      * Return the type
diff --git a/wirelessdevice.h b/wirelessdevice.h
index e0a9ec1..62e1bcc 100644
--- a/wirelessdevice.h
+++ b/wirelessdevice.h
@@ -70,7 +70,7 @@ public:
      *
      * @param path the DBus path of the devise
      */
-    WirelessDevice(const QString & path, QObject * parent);
+    WirelessDevice(const QString & path, QObject * parent = 0);
     /**
      * Destroys a WirelessNetworkInterface object.
      */
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic