1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 16:44:05 +02:00

* Style fixes to TomahawkSettings.

This commit is contained in:
Christian Muehlhaeuser
2014-09-12 03:31:12 +02:00
parent 0c50c0ed7e
commit 542f6763af
2 changed files with 5 additions and 4 deletions

View File

@@ -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
{ {

View File

@@ -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 );