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