mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 22:56:42 +02:00
Move includes from global headers into local .cpp
This commit is contained in:
@@ -22,10 +22,9 @@
|
||||
#include "DropJob.h"
|
||||
#include <QFileInfo>
|
||||
|
||||
#include "Artist.h"
|
||||
#include "Album.h"
|
||||
#include "Source.h"
|
||||
|
||||
#include "jobview/JobStatusView.h"
|
||||
#include "jobview/JobStatusModel.h"
|
||||
#include "jobview/ErrorStatusMessage.h"
|
||||
#include "utils/SpotifyParser.h"
|
||||
#include "utils/ItunesParser.h"
|
||||
#include "utils/ItunesLoader.h"
|
||||
@@ -36,12 +35,14 @@
|
||||
#include "utils/ExfmParser.h"
|
||||
#include "utils/Logger.h"
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "GlobalActionManager.h"
|
||||
#include "utils/XspfLoader.h"
|
||||
#include "jobview/JobStatusView.h"
|
||||
#include "jobview/JobStatusModel.h"
|
||||
#include "jobview/ErrorStatusMessage.h"
|
||||
|
||||
#include "Artist.h"
|
||||
#include "Album.h"
|
||||
#include "GlobalActionManager.h"
|
||||
#include "Pipeline.h"
|
||||
#include "Result.h"
|
||||
#include "Source.h"
|
||||
|
||||
#ifdef QCA2_FOUND
|
||||
#include "utils/GroovesharkParser.h"
|
||||
|
@@ -20,16 +20,18 @@
|
||||
|
||||
#include <QMutexLocker>
|
||||
|
||||
#include "FuncTimeout.h"
|
||||
#include "database/Database.h"
|
||||
#include "resolvers/ExternalResolver.h"
|
||||
#include "resolvers/ScriptResolver.h"
|
||||
#include "resolvers/JSResolver.h"
|
||||
#include "Source.h"
|
||||
#include "SourceList.h"
|
||||
#include "utils/ResultUrlChecker.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
#include "FuncTimeout.h"
|
||||
#include "Result.h"
|
||||
#include "Source.h"
|
||||
#include "SourceList.h"
|
||||
|
||||
#include <boost/bind.hpp>
|
||||
|
||||
#define DEFAULT_CONCURRENT_QUERIES 4
|
||||
|
@@ -28,7 +28,6 @@
|
||||
#include <QQueue>
|
||||
|
||||
#include "Typedefs.h"
|
||||
#include "Result.h"
|
||||
#include "PlaylistEntry.h"
|
||||
#include "PlaylistInterface.h"
|
||||
#include "playlist/PlaylistUpdaterInterface.h"
|
||||
|
@@ -21,6 +21,8 @@
|
||||
|
||||
#include <QtAlgorithms>
|
||||
|
||||
#include "audio/AudioEngine.h"
|
||||
#include "collection/Collection.h"
|
||||
#include "database/Database.h"
|
||||
#include "database/DatabaseImpl.h"
|
||||
#include "database/DatabaseCommand_LogPlayback.h"
|
||||
@@ -28,12 +30,12 @@
|
||||
#include "database/DatabaseCommand_LoadSocialActions.h"
|
||||
#include "database/DatabaseCommand_SocialAction.h"
|
||||
#include "database/DatabaseCommand_TrackStats.h"
|
||||
#include "Album.h"
|
||||
#include "collection/Collection.h"
|
||||
#include "Pipeline.h"
|
||||
#include "resolvers/Resolver.h"
|
||||
|
||||
#include "Album.h"
|
||||
#include "Pipeline.h"
|
||||
#include "Result.h"
|
||||
#include "SourceList.h"
|
||||
#include "audio/AudioEngine.h"
|
||||
|
||||
#include "utils/Logger.h"
|
||||
|
||||
|
@@ -21,12 +21,14 @@
|
||||
|
||||
#include <QSqlQuery>
|
||||
|
||||
#include "DatabaseImpl.h"
|
||||
#include "Artist.h"
|
||||
#include "Album.h"
|
||||
#include "SourceList.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
#include "Album.h"
|
||||
#include "Artist.h"
|
||||
#include "DatabaseImpl.h"
|
||||
#include "Result.h"
|
||||
#include "SourceList.h"
|
||||
|
||||
|
||||
void
|
||||
DatabaseCommand_AllTracks::exec( DatabaseImpl* dbi )
|
||||
|
@@ -21,8 +21,10 @@
|
||||
#include "PipelineStatusItem.h"
|
||||
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
|
||||
#include "Pipeline.h"
|
||||
#include "Source.h"
|
||||
#include "Track.h"
|
||||
|
||||
#ifndef ENABLE_HEADLESS
|
||||
#include "JobStatusModel.h"
|
||||
|
@@ -18,23 +18,19 @@
|
||||
|
||||
#include "TransferStatusItem.h"
|
||||
|
||||
|
||||
#include "JobStatusView.h"
|
||||
#include "JobStatusModel.h"
|
||||
#include "network/StreamConnection.h"
|
||||
#include "network/Servent.h"
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "Result.h"
|
||||
#include "Source.h"
|
||||
#include "Artist.h"
|
||||
#include "network/StreamConnection.h"
|
||||
#include "network/Servent.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
|
||||
#include "Artist.h"
|
||||
#include "Result.h"
|
||||
#include "Source.h"
|
||||
#include "Track.h"
|
||||
|
||||
#ifndef ENABLE_HEADLESS
|
||||
#include "JobStatusModel.h"
|
||||
#include "JobStatusView.h"
|
||||
#include "JobStatusModel.h"
|
||||
#include "JobStatusView.h"
|
||||
#endif
|
||||
|
||||
TransferStatusItem::TransferStatusItem( TransferStatusManager* p, StreamConnection* sc )
|
||||
|
@@ -18,12 +18,14 @@
|
||||
|
||||
#include "PlayableItem.h"
|
||||
|
||||
#include "utils/Logger.h"
|
||||
#include "utils/TomahawkUtils.h"
|
||||
|
||||
#include "Artist.h"
|
||||
#include "Album.h"
|
||||
#include "Query.h"
|
||||
#include "Result.h"
|
||||
#include "Source.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
using namespace Tomahawk;
|
||||
|
||||
|
@@ -20,20 +20,22 @@
|
||||
|
||||
#include "PlayableModel.h"
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QMimeData>
|
||||
#include <QTreeView>
|
||||
#include "audio/AudioEngine.h"
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
#include "Artist.h"
|
||||
#include "Album.h"
|
||||
#include "Pipeline.h"
|
||||
#include "PlayableItem.h"
|
||||
#include "PlayableProxyModel.h"
|
||||
#include "Result.h"
|
||||
#include "Source.h"
|
||||
#include "Typedefs.h"
|
||||
#include "audio/AudioEngine.h"
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QMimeData>
|
||||
#include <QTreeView>
|
||||
|
||||
using namespace Tomahawk;
|
||||
|
||||
|
@@ -19,16 +19,17 @@
|
||||
|
||||
#include "PlayableProxyModel.h"
|
||||
|
||||
#include <QTreeView>
|
||||
|
||||
#include "PlayableProxyModelPlaylistInterface.h"
|
||||
#include "Artist.h"
|
||||
#include "Album.h"
|
||||
#include "Query.h"
|
||||
#include "Source.h"
|
||||
#include "PlayableItem.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
#include "Artist.h"
|
||||
#include "Album.h"
|
||||
#include "PlayableItem.h"
|
||||
#include "PlayableProxyModelPlaylistInterface.h"
|
||||
#include "Query.h"
|
||||
#include "Result.h"
|
||||
#include "Source.h"
|
||||
|
||||
#include <QTreeView>
|
||||
|
||||
PlayableProxyModel::PlayableProxyModel( QObject* parent )
|
||||
: QSortFilterProxyModel( parent )
|
||||
|
@@ -19,14 +19,16 @@
|
||||
|
||||
#include "PlayableProxyModelPlaylistInterface.h"
|
||||
|
||||
#include "PlayableProxyModel.h"
|
||||
#include "Artist.h"
|
||||
#include "Album.h"
|
||||
#include "Query.h"
|
||||
#include "PlayableItem.h"
|
||||
#include "Source.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
#include "Album.h"
|
||||
#include "Artist.h"
|
||||
#include "PlayableItem.h"
|
||||
#include "PlayableProxyModel.h"
|
||||
#include "Query.h"
|
||||
#include "Result.h"
|
||||
#include "Source.h"
|
||||
|
||||
using namespace Tomahawk;
|
||||
|
||||
|
||||
|
@@ -21,11 +21,13 @@
|
||||
|
||||
#include "audio/AudioEngine.h"
|
||||
#include "playlist/TrackView.h"
|
||||
#include "PlayableItem.h"
|
||||
#include "ViewManager.h"
|
||||
#include "Source.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
#include "PlayableItem.h"
|
||||
#include "Result.h"
|
||||
#include "Source.h"
|
||||
#include "ViewManager.h"
|
||||
|
||||
using namespace Tomahawk;
|
||||
|
||||
|
||||
|
@@ -20,27 +20,23 @@
|
||||
|
||||
#include "JSResolver.h"
|
||||
|
||||
#include "accounts/AccountConfigWidget.h"
|
||||
#include "network/Servent.h"
|
||||
#include "jobview/JobStatusView.h"
|
||||
#include "jobview/JobStatusModel.h"
|
||||
#include "jobview/ErrorStatusMessage.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
|
||||
#include "Artist.h"
|
||||
#include "Album.h"
|
||||
#include "config.h"
|
||||
#include "Pipeline.h"
|
||||
#include "Result.h"
|
||||
#include "ScriptCollection.h"
|
||||
#include "SourceList.h"
|
||||
#include "TomahawkSettings.h"
|
||||
#include "TomahawkVersion.h"
|
||||
|
||||
#include "accounts/AccountConfigWidget.h"
|
||||
|
||||
#include "network/Servent.h"
|
||||
|
||||
#include "jobview/JobStatusView.h"
|
||||
#include "jobview/JobStatusModel.h"
|
||||
#include "jobview/ErrorStatusMessage.h"
|
||||
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <QImageReader>
|
||||
#include <QMessageBox>
|
||||
#include <QNetworkRequest>
|
||||
|
@@ -23,6 +23,7 @@
|
||||
#include "Artist.h"
|
||||
#include "Album.h"
|
||||
#include "Pipeline.h"
|
||||
#include "Result.h"
|
||||
#include "ScriptCollection.h"
|
||||
#include "SourceList.h"
|
||||
|
||||
|
@@ -21,22 +21,21 @@
|
||||
|
||||
#include "Api_v1.h"
|
||||
|
||||
#include "utils/Logger.h"
|
||||
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "database/Database.h"
|
||||
#include "database/DatabaseCommand_AddClientAuth.h"
|
||||
#include "database/DatabaseCommand_ClientAuthValid.h"
|
||||
#include "network/Servent.h"
|
||||
#include "utils/Logger.h"
|
||||
#include "utils/TomahawkUtils.h"
|
||||
|
||||
#include "Pipeline.h"
|
||||
#include "Result.h"
|
||||
#include "Source.h"
|
||||
|
||||
#include <boost/bind.hpp>
|
||||
|
||||
#include <QHash>
|
||||
|
||||
|
||||
|
||||
using namespace Tomahawk;
|
||||
using namespace TomahawkUtils;
|
||||
|
||||
|
Reference in New Issue
Block a user