From 542f6763afad494f0f93f283207c37b68ef527f4 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 12 Sep 2014 03:31:12 +0200 Subject: [PATCH] * Style fixes to TomahawkSettings. --- src/libtomahawk/TomahawkSettings.cpp | 5 ++++- src/libtomahawk/TomahawkSettings.h | 4 +--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/libtomahawk/TomahawkSettings.cpp b/src/libtomahawk/TomahawkSettings.cpp index 631554d62..31b86c0a4 100644 --- a/src/libtomahawk/TomahawkSettings.cpp +++ b/src/libtomahawk/TomahawkSettings.cpp @@ -1,6 +1,6 @@ /* === This file is part of Tomahawk Player - === * - * Copyright 2010-2011, Christian Muehlhaeuser + * Copyright 2010-2014, Christian Muehlhaeuser * Copyright 2010-2011 Leo Franchi * Copyright 2010-2012, Jeff Mitchell * @@ -708,18 +708,21 @@ TomahawkSettings::infoSystemCacheVersion() const return value( "infosystemcacheversion", 0 ).toUInt(); } + void TomahawkSettings::setGenericCacheVersion( uint version ) { setValue( "genericcacheversion", version ); } + uint TomahawkSettings::genericCacheVersion() const { return value( "genericcacheversion", 0 ).toUInt(); } + QString TomahawkSettings::storageCacheLocation() const { diff --git a/src/libtomahawk/TomahawkSettings.h b/src/libtomahawk/TomahawkSettings.h index 3e9f800d7..716298e7d 100644 --- a/src/libtomahawk/TomahawkSettings.h +++ b/src/libtomahawk/TomahawkSettings.h @@ -1,6 +1,6 @@ /* === This file is part of Tomahawk Player - === * - * Copyright 2010-2011, Christian Muehlhaeuser + * Copyright 2010-2014, Christian Muehlhaeuser * Copyright 2010-2012 Leo Franchi * Copyright 2010-2012, Jeff Mitchell * @@ -59,7 +59,6 @@ public: uint infoSystemCacheVersion() const; void setInfoSystemCacheVersion( uint version ); - uint genericCacheVersion() const; void setGenericCacheVersion( uint version ); @@ -242,7 +241,6 @@ public: QByteArray playdarKey() const; void setPlaydarKey( const QByteArray& key ); - signals: void changed(); void recentlyPlayedPlaylistAdded( const QString& playlistId, int sourceId );