mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
* Tomahawkified some sources.
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
*/
|
||||
|
||||
#include "actioncollection.h"
|
||||
#include <tomahawksettings.h>
|
||||
#include <utils/tomahawkutils.h>
|
||||
#include "tomahawksettings.h"
|
||||
#include "audio/audioengine.h"
|
||||
#include "utils/tomahawkutils.h"
|
||||
|
||||
ActionCollection* ActionCollection::s_instance = 0;
|
||||
ActionCollection* ActionCollection::instance()
|
||||
@@ -53,7 +53,6 @@ ActionCollection::initActions()
|
||||
m_actionCollection[ "togglePrivacy" ] = privacyToggle;
|
||||
connect( m_actionCollection[ "togglePrivacy" ], SIGNAL( triggered() ), SLOT( togglePrivateListeningMode() ), Qt::UniqueConnection );
|
||||
|
||||
|
||||
m_actionCollection[ "loadPlaylist" ] = new QAction( tr( "&Load Playlist" ), this );
|
||||
m_actionCollection[ "renamePlaylist" ] = new QAction( tr( "&Rename Playlist" ), this );
|
||||
m_actionCollection[ "copyPlaylist" ] = new QAction( tr( "&Copy Playlist Link" ), this );
|
||||
@@ -86,6 +85,7 @@ ActionCollection::getAction( const QString& name )
|
||||
return m_actionCollection.contains( name ) ? m_actionCollection[ name ] : 0;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ActionCollection::togglePrivateListeningMode()
|
||||
{
|
||||
|
@@ -21,8 +21,7 @@
|
||||
|
||||
#include "dllmacro.h"
|
||||
|
||||
#include <QtGui/QAction>
|
||||
|
||||
#include <QAction>
|
||||
|
||||
class DLLEXPORT ActionCollection : public QObject
|
||||
{
|
||||
@@ -44,7 +43,6 @@ public slots:
|
||||
signals:
|
||||
void privacyModeChanged();
|
||||
|
||||
|
||||
private:
|
||||
static ActionCollection* s_instance;
|
||||
|
||||
|
Reference in New Issue
Block a user