mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 08:34:34 +02:00
* Style fixes to TomahawkSettings.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
|
||||
*
|
||||
* Copyright 2010-2011, Christian Muehlhaeuser <muesli@tomahawk-player.org>
|
||||
* Copyright 2010-2014, Christian Muehlhaeuser <muesli@tomahawk-player.org>
|
||||
* Copyright 2010-2011 Leo Franchi <lfranchi@kde.org>
|
||||
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
|
||||
*
|
||||
@@ -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
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
|
||||
*
|
||||
* Copyright 2010-2011, Christian Muehlhaeuser <muesli@tomahawk-player.org>
|
||||
* Copyright 2010-2014, Christian Muehlhaeuser <muesli@tomahawk-player.org>
|
||||
* Copyright 2010-2012 Leo Franchi <lfranchi@kde.org>
|
||||
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
|
||||
*
|
||||
@@ -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 );
|
||||
|
Reference in New Issue
Block a user