Added default value = 0 for parent to DbusInterfaces constructors

This commit is contained in:
Albert Vaca 2013-11-15 17:38:41 +01:00
parent e77a2af07b
commit 193f460d84

View file

@ -38,7 +38,7 @@ class KDECONNECT_EXPORT DaemonDbusInterface
{ {
Q_OBJECT Q_OBJECT
public: public:
DaemonDbusInterface(QObject* parent); DaemonDbusInterface(QObject* parent = 0);
}; };
@ -47,7 +47,7 @@ class KDECONNECT_EXPORT DeviceDbusInterface
{ {
Q_OBJECT Q_OBJECT
public: public:
DeviceDbusInterface(const QString& id, QObject* parent); DeviceDbusInterface(const QString& deviceId, QObject* parent = 0);
}; };
@ -56,7 +56,7 @@ class KDECONNECT_EXPORT DeviceBatteryDbusInterface
{ {
Q_OBJECT Q_OBJECT
public: public:
DeviceBatteryDbusInterface(const QString& id, QObject* parent); DeviceBatteryDbusInterface(const QString& deviceId, QObject* parent = 0);
}; };
@ -65,7 +65,7 @@ class KDECONNECT_EXPORT DeviceNotificationsDbusInterface
{ {
Q_OBJECT Q_OBJECT
public: public:
DeviceNotificationsDbusInterface(const QString& id, QObject* parent); DeviceNotificationsDbusInterface(const QString& deviceId, QObject* parent = 0);
}; };
@ -74,9 +74,10 @@ class KDECONNECT_EXPORT NotificationDbusInterface
{ {
Q_OBJECT Q_OBJECT
public: public:
NotificationDbusInterface(const QString& deviceId, const QString& notificationId, QObject* parent); NotificationDbusInterface(const QString& deviceId, const QString& notificationId, QObject* parent = 0);
}; };
#endif // DEVICEINTERFACE_H #endif // DEVICEINTERFACE_H