From 2416de9697987b2915b929cd17e8eab2ebe17734 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Sun, 16 Jun 2013 14:35:24 +0200 Subject: [PATCH] Just say NO to implementations in headers! --- src/libtomahawk/accounts/LocalConfigStorage.cpp | 7 +++++++ src/libtomahawk/accounts/LocalConfigStorage.h | 2 +- .../configstorage/telepathy/TelepathyConfigStorage.cpp | 7 +++++++ .../configstorage/telepathy/TelepathyConfigStorage.h | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/libtomahawk/accounts/LocalConfigStorage.cpp b/src/libtomahawk/accounts/LocalConfigStorage.cpp index 51e6e8d79..a8a8c7ed4 100644 --- a/src/libtomahawk/accounts/LocalConfigStorage.cpp +++ b/src/libtomahawk/accounts/LocalConfigStorage.cpp @@ -53,6 +53,13 @@ LocalConfigStorage::init() } +QString +LocalConfigStorage::id() const +{ + return "localconfigstorage"; +} + + void LocalConfigStorage::onCredentialsManagerReady( const QString& service ) { diff --git a/src/libtomahawk/accounts/LocalConfigStorage.h b/src/libtomahawk/accounts/LocalConfigStorage.h index 4303c463f..c2aff5edd 100644 --- a/src/libtomahawk/accounts/LocalConfigStorage.h +++ b/src/libtomahawk/accounts/LocalConfigStorage.h @@ -35,7 +35,7 @@ public: virtual void init(); - QString id() const { return "localconfigstorage"; } + QString id() const; QStringList accountIds() const; diff --git a/src/libtomahawk/accounts/configstorage/telepathy/TelepathyConfigStorage.cpp b/src/libtomahawk/accounts/configstorage/telepathy/TelepathyConfigStorage.cpp index b738639f6..b74164d56 100644 --- a/src/libtomahawk/accounts/configstorage/telepathy/TelepathyConfigStorage.cpp +++ b/src/libtomahawk/accounts/configstorage/telepathy/TelepathyConfigStorage.cpp @@ -53,6 +53,13 @@ Tomahawk::Accounts::TelepathyConfigStorage::init() } +QString +Tomahawk::Accounts::TelepathyConfigStorage::id() const +{ + return "telepathyconfigstorage"; +} + + void Tomahawk::Accounts::TelepathyConfigStorage::onTpAccountManagerReady( Tp::PendingOperation* op ) { diff --git a/src/libtomahawk/accounts/configstorage/telepathy/TelepathyConfigStorage.h b/src/libtomahawk/accounts/configstorage/telepathy/TelepathyConfigStorage.h index 3c063d43f..872b6d268 100644 --- a/src/libtomahawk/accounts/configstorage/telepathy/TelepathyConfigStorage.h +++ b/src/libtomahawk/accounts/configstorage/telepathy/TelepathyConfigStorage.h @@ -44,7 +44,7 @@ public: void init(); - QString id() const { return "telepathyconfigstorage"; } + QString id() const; QStringList accountIds() const;