OSDN Git Service

remove unused and internal QDBusAbstractInterface::internalPropGet() and QDBusAbstrac...
authorIvailo Monev <xakepa10@laimg.moc>
Wed, 11 Dec 2019 22:03:11 +0000 (22:03 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Wed, 11 Dec 2019 22:03:11 +0000 (22:03 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/dbus/qdbusabstractinterface.cpp
src/dbus/qdbusabstractinterface.h

index 6338b38..cd345aa 100644 (file)
@@ -617,27 +617,6 @@ void QDBusAbstractInterface::disconnectNotify(const char *signal)
 }
 
 /*!
-    \internal
-    Get the value of the property \a propname.
-*/
-QVariant QDBusAbstractInterface::internalPropGet(const char *propname) const
-{
-    // assume this property exists and is readable
-    // we're only called from generated code anyways
-
-    return property(propname);
-}
-
-/*!
-    \internal
-    Set the value of the property \a propname to \a value.
-*/
-void QDBusAbstractInterface::internalPropSet(const char *propname, const QVariant &value)
-{
-    setProperty(propname, value);
-}
-
-/*!
     Calls the method \a method on this interface and passes the parameters to this function to the
     method.
 
index ebd1a9d..8f95672 100644 (file)
@@ -132,8 +132,6 @@ protected:
 
     void connectNotify(const char *signal);
     void disconnectNotify(const char *signal);
-    QVariant internalPropGet(const char *propname) const;
-    void internalPropSet(const char *propname, const QVariant &value);
 
 private:
     Q_DECLARE_PRIVATE(QDBusAbstractInterface)