refs #199 , refs #85 Moved specialized value method into right place (impl, not proxy - it is a receiver method)

This specialized method can be removed with refs #116
This commit is contained in:
Klaus Basan
2014-04-01 12:12:01 +02:00
parent 3c23963a25
commit 0d53d44157
4 changed files with 30 additions and 34 deletions

View File

@@ -44,6 +44,7 @@ namespace BlackCore
const QString &getSettingsDirectory() const { return BlackMisc::Settings::CSettingUtilities::getSettingsDirectory(); }
//! \copydoc IContextSettings::value()
virtual BlackMisc::CStatusMessageList value(const QString &path, const QString &command, const QVariant &value) override;
public slots:
//! \copydoc IContextSettings::getNetworkSettings()
@@ -52,8 +53,14 @@ namespace BlackCore
//! \copydoc IContextSettings::getHotkeys()
virtual BlackMisc::Hardware::CKeyboardKeyList getHotkeys() const override;
//! \copydoc IContextSettings::value()
virtual BlackMisc::CStatusMessageList value(const QString &path, const QString &command, const QVariant &value) override;
/*!
* \brief DBus version of value method.
* \remarks Basically an unwanted signature as this is different from the "local" signature and
* contains explicit DBus types (a: QDbusArgument, b: type for conversion).
* If this can be removed, fine. -> https://dev.vatsim-germany.org/issues/116
*/
virtual BlackMisc::CStatusMessageList value(const QString &path, const QString &command, QDBusVariant value, int unifiedBlackMetaType);
private:
friend class CRuntime;