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> ===
|
/* === 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-2011 Leo Franchi <lfranchi@kde.org>
|
||||||
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
|
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
|
||||||
*
|
*
|
||||||
@@ -708,18 +708,21 @@ TomahawkSettings::infoSystemCacheVersion() const
|
|||||||
return value( "infosystemcacheversion", 0 ).toUInt();
|
return value( "infosystemcacheversion", 0 ).toUInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
TomahawkSettings::setGenericCacheVersion( uint version )
|
TomahawkSettings::setGenericCacheVersion( uint version )
|
||||||
{
|
{
|
||||||
setValue( "genericcacheversion", version );
|
setValue( "genericcacheversion", version );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
uint
|
uint
|
||||||
TomahawkSettings::genericCacheVersion() const
|
TomahawkSettings::genericCacheVersion() const
|
||||||
{
|
{
|
||||||
return value( "genericcacheversion", 0 ).toUInt();
|
return value( "genericcacheversion", 0 ).toUInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QString
|
QString
|
||||||
TomahawkSettings::storageCacheLocation() const
|
TomahawkSettings::storageCacheLocation() const
|
||||||
{
|
{
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
|
/* === 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 Leo Franchi <lfranchi@kde.org>
|
||||||
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
|
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
|
||||||
*
|
*
|
||||||
@@ -59,7 +59,6 @@ public:
|
|||||||
|
|
||||||
uint infoSystemCacheVersion() const;
|
uint infoSystemCacheVersion() const;
|
||||||
void setInfoSystemCacheVersion( uint version );
|
void setInfoSystemCacheVersion( uint version );
|
||||||
|
|
||||||
uint genericCacheVersion() const;
|
uint genericCacheVersion() const;
|
||||||
void setGenericCacheVersion( uint version );
|
void setGenericCacheVersion( uint version );
|
||||||
|
|
||||||
@@ -242,7 +241,6 @@ public:
|
|||||||
QByteArray playdarKey() const;
|
QByteArray playdarKey() const;
|
||||||
void setPlaydarKey( const QByteArray& key );
|
void setPlaydarKey( const QByteArray& key );
|
||||||
|
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void changed();
|
void changed();
|
||||||
void recentlyPlayedPlaylistAdded( const QString& playlistId, int sourceId );
|
void recentlyPlayedPlaylistAdded( const QString& playlistId, int sourceId );
|
||||||
|
Reference in New Issue
Block a user