mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-22 16:59:58 +01:00
* A little dependency tracking.
This commit is contained in:
parent
2af0d9a027
commit
1c55f56777
@ -28,7 +28,7 @@
|
||||
#include "playlist/PlaylistView.h"
|
||||
#include "database/Database.h"
|
||||
#include "widgets/ImageButton.h"
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
#include "utils/Logger.h"
|
||||
#include "Album.h"
|
||||
#include "DropJob.h"
|
||||
|
@ -35,13 +35,10 @@
|
||||
#include <QTimer>
|
||||
#include <QToolBar>
|
||||
|
||||
#include "Playlist.h"
|
||||
#include "Query.h"
|
||||
#include "Artist.h"
|
||||
#include "ViewManager.h"
|
||||
#include "accounts/AccountManager.h"
|
||||
#include "sourcetree/SourceTreeView.h"
|
||||
#include "network/Servent.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
#include "utils/ProxyStyle.h"
|
||||
#include "widgets/AnimatedSplitter.h"
|
||||
#include "widgets/NewPlaylistWidget.h"
|
||||
@ -52,27 +49,31 @@
|
||||
#include "playlist/PlaylistModel.h"
|
||||
#include "playlist/PlaylistView.h"
|
||||
#include "playlist/QueueView.h"
|
||||
#include "jobview/JobStatusView.h"
|
||||
#include "jobview/JobStatusModel.h"
|
||||
#include "jobview/ErrorStatusMessage.h"
|
||||
#include "jobview/JobStatusModel.h"
|
||||
|
||||
#include "Playlist.h"
|
||||
#include "Query.h"
|
||||
#include "Artist.h"
|
||||
#include "ViewManager.h"
|
||||
#include "ActionCollection.h"
|
||||
#include "AudioControls.h"
|
||||
#include "SettingsDialog.h"
|
||||
#include "DiagnosticsDialog.h"
|
||||
#include "TomahawkSettings.h"
|
||||
#include "SourceList.h"
|
||||
#include "jobview/JobStatusView.h"
|
||||
#include "jobview/JobStatusModel.h"
|
||||
#include "jobview/ErrorStatusMessage.h"
|
||||
#include "TomahawkTrayIcon.h"
|
||||
#include "ScanManager.h"
|
||||
#include "TomahawkApp.h"
|
||||
#include "LoadXSPFDialog.h"
|
||||
|
||||
#ifdef Q_WS_WIN
|
||||
#include <qtsparkle/Updater>
|
||||
#endif
|
||||
|
||||
#include "utils/Logger.h"
|
||||
#include "jobview/JobStatusModel.h"
|
||||
#include "LoadXSPFDialog.h"
|
||||
#include <ActionCollection.h>
|
||||
|
||||
using namespace Tomahawk;
|
||||
using namespace Accounts;
|
||||
|
@ -46,6 +46,7 @@
|
||||
#include "RecentlyPlayedModel.h"
|
||||
#include "dynamic/widgets/DynamicWidget.h"
|
||||
|
||||
#include "widgets/NewReleasesWidget.h"
|
||||
#include "widgets/WelcomeWidget.h"
|
||||
#include "widgets/WhatsHotWidget.h"
|
||||
#include "widgets/infowidgets/SourceInfoWidget.h"
|
||||
@ -1025,3 +1026,44 @@ ViewManager::showCurrentTrack()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Tomahawk::ViewPage*
|
||||
ViewManager::welcomeWidget() const
|
||||
{
|
||||
return m_welcomeWidget;
|
||||
}
|
||||
|
||||
|
||||
Tomahawk::ViewPage*
|
||||
ViewManager::whatsHotWidget() const
|
||||
{
|
||||
return m_whatsHotWidget;
|
||||
}
|
||||
|
||||
|
||||
Tomahawk::ViewPage*
|
||||
ViewManager::newReleasesWidget() const
|
||||
{
|
||||
return m_newReleasesWidget;
|
||||
}
|
||||
|
||||
|
||||
Tomahawk::ViewPage*
|
||||
ViewManager::topLovedWidget() const
|
||||
{
|
||||
return m_topLovedWidget;
|
||||
}
|
||||
|
||||
|
||||
Tomahawk::ViewPage*
|
||||
ViewManager::recentPlaysWidget() const
|
||||
{
|
||||
return m_recentPlaysWidget;
|
||||
}
|
||||
|
||||
|
||||
ArtistView*
|
||||
ViewManager::superCollectionView() const
|
||||
{
|
||||
return m_superCollectionView;
|
||||
}
|
||||
|
@ -29,9 +29,6 @@
|
||||
#include "PlaylistInterface.h"
|
||||
#include "playlist/QueueView.h"
|
||||
#include "ViewPage.h"
|
||||
#include "widgets/WelcomeWidget.h"
|
||||
#include "widgets/WhatsHotWidget.h"
|
||||
#include "widgets/NewReleasesWidget.h"
|
||||
|
||||
#include "DllMacro.h"
|
||||
|
||||
@ -56,6 +53,7 @@ class SourceInfoWidget;
|
||||
class InfoBar;
|
||||
class TopBar;
|
||||
class TrackInfoWidget;
|
||||
class NewReleasesWidget;
|
||||
class WelcomeWidget;
|
||||
class WhatsHotWidget;
|
||||
class QPushButton;
|
||||
@ -91,12 +89,12 @@ public:
|
||||
|
||||
Tomahawk::ViewPage* show( Tomahawk::ViewPage* page );
|
||||
|
||||
Tomahawk::ViewPage* welcomeWidget() const { return m_welcomeWidget; }
|
||||
Tomahawk::ViewPage* whatsHotWidget() const { return m_whatsHotWidget; }
|
||||
Tomahawk::ViewPage* newReleasesWidget() const { return m_newReleasesWidget; }
|
||||
Tomahawk::ViewPage* topLovedWidget() const { return m_topLovedWidget; }
|
||||
Tomahawk::ViewPage* recentPlaysWidget() const { return m_recentPlaysWidget; }
|
||||
ArtistView* superCollectionView() const { return m_superCollectionView; }
|
||||
Tomahawk::ViewPage* welcomeWidget() const;
|
||||
Tomahawk::ViewPage* whatsHotWidget() const;
|
||||
Tomahawk::ViewPage* newReleasesWidget() const;
|
||||
Tomahawk::ViewPage* topLovedWidget() const;
|
||||
Tomahawk::ViewPage* recentPlaysWidget() const;
|
||||
ArtistView* superCollectionView() const;
|
||||
|
||||
/// Get the view page for the given item. Not pretty...
|
||||
Tomahawk::ViewPage* pageForPlaylist( const Tomahawk::playlist_ptr& pl ) const;
|
||||
|
@ -22,14 +22,14 @@
|
||||
|
||||
#include <QLabel>
|
||||
#include <QPixmap>
|
||||
|
||||
#include "ViewManager.h"
|
||||
#include "thirdparty/Qocoa/qsearchfield.h"
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "utils/Logger.h"
|
||||
#include <QCheckBox>
|
||||
#include <QPaintEvent>
|
||||
#include <QPainter>
|
||||
|
||||
#include "ViewManager.h"
|
||||
#include "thirdparty/Qocoa/qsearchfield.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
#include "utils/Logger.h"
|
||||
#include <widgets/QueryLabel.h>
|
||||
|
||||
#define ANIMATION_TIME 400
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "Source.h"
|
||||
#include "audio/AudioEngine.h"
|
||||
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
#include "utils/PixmapDelegateFader.h"
|
||||
#include <utils/Closure.h>
|
||||
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include "context/ContextWidget.h"
|
||||
#include "TomahawkSettings.h"
|
||||
#include "Artist.h"
|
||||
#include "Source.h"
|
||||
#include "PlayableItem.h"
|
||||
#include "AlbumItemDelegate.h"
|
||||
#include "AlbumModel.h"
|
||||
@ -36,6 +37,7 @@
|
||||
#include "ViewManager.h"
|
||||
#include "utils/Logger.h"
|
||||
#include "utils/AnimatedSpinner.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
|
||||
#define SCROLL_TIMEOUT 280
|
||||
|
||||
|
@ -35,7 +35,9 @@
|
||||
#include "TreeItemDelegate.h"
|
||||
#include "TreeModel.h"
|
||||
#include "PlayableItem.h"
|
||||
#include "Source.h"
|
||||
#include "ViewManager.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
#define SCROLL_TIMEOUT 280
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "audio/AudioEngine.h"
|
||||
#include "context/ContextWidget.h"
|
||||
#include "widgets/OverlayWidget.h"
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
#include "utils/Logger.h"
|
||||
#include "utils/Closure.h"
|
||||
#include "DropJob.h"
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include "playlist/TreeProxyModel.h"
|
||||
#include "playlist/PlaylistChartItemDelegate.h"
|
||||
#include "widgets/OverlayWidget.h"
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
#include "utils/Logger.h"
|
||||
#include "Pipeline.h"
|
||||
|
||||
|
@ -30,8 +30,6 @@
|
||||
#include "infosystem/InfoSystem.h"
|
||||
#include "ViewPage.h"
|
||||
|
||||
#include "utils/TomahawkUtils.h"
|
||||
|
||||
#include "DllMacro.h"
|
||||
|
||||
class QSortFilterProxyModel;
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "widgets/OverlayWidget.h"
|
||||
#include "utils/AnimatedSpinner.h"
|
||||
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "playlist/TreeProxyModel.h"
|
||||
#include "playlist/PlaylistChartItemDelegate.h"
|
||||
#include "widgets/OverlayWidget.h"
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
#include "utils/Logger.h"
|
||||
#include "Pipeline.h"
|
||||
|
||||
|
@ -29,8 +29,6 @@
|
||||
#include "infosystem/InfoSystem.h"
|
||||
#include "ViewPage.h"
|
||||
|
||||
#include "utils/TomahawkUtils.h"
|
||||
|
||||
#include "DllMacro.h"
|
||||
|
||||
class QSortFilterProxyModel;
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "database/DatabaseCommand_AllTracks.h"
|
||||
#include "database/DatabaseCommand_AllAlbums.h"
|
||||
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
#include "widgets/OverlayButton.h"
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "database/Database.h"
|
||||
#include "database/DatabaseCommand_AllAlbums.h"
|
||||
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
#include "widgets/OverlayWidget.h"
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "playlist/AlbumModel.h"
|
||||
#include "audio/AudioEngine.h"
|
||||
|
||||
#include "utils/TomahawkUtils.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
using namespace Tomahawk;
|
||||
|
@ -42,12 +42,13 @@
|
||||
#include "TomahawkSettings.h"
|
||||
#include "GlobalActionManager.h"
|
||||
#include "DropJob.h"
|
||||
#include "utils/Logger.h"
|
||||
#include "items/GenericPageItems.h"
|
||||
#include "items/TemporaryPageItem.h"
|
||||
#include "database/DatabaseCommand_SocialAction.h"
|
||||
#include "database/Database.h"
|
||||
#include "LatchManager.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
#include "utils/Logger.h"
|
||||
|
||||
using namespace Tomahawk;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user