mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 09:34:53 +02:00
Woops, fix last commit.
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
#include "utils/TomahawkUtilsGui.h"
|
#include "utils/TomahawkUtilsGui.h"
|
||||||
|
|
||||||
using namespace Tomahawk;
|
using namespace Tomahawk;
|
||||||
|
using namespace Tomahawk::Widgets;
|
||||||
|
|
||||||
QString SocialPlaylistWidget::s_popularAlbumsQuery = "SELECT * from album";
|
QString SocialPlaylistWidget::s_popularAlbumsQuery = "SELECT * from album";
|
||||||
QString SocialPlaylistWidget::s_mostPlayedPlaylistsQuery = "asd";
|
QString SocialPlaylistWidget::s_mostPlayedPlaylistsQuery = "asd";
|
||||||
|
@@ -27,17 +27,20 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SOCIALPLAYLISTWIDGET_H
|
#ifndef TOMAHAWK_WIDGETS_SOCIALPLAYLISTWIDGET_H
|
||||||
#define SOCIALPLAYLISTWIDGET_H
|
#define TOMAHAWK_WIDGETS_SOCIALPLAYLISTWIDGET_H
|
||||||
|
|
||||||
#include <QWidget>
|
|
||||||
|
|
||||||
#include "ViewPage.h"
|
#include "ViewPage.h"
|
||||||
#include "DllMacro.h"
|
|
||||||
#include "Typedefs.h"
|
#include "Typedefs.h"
|
||||||
#include "Album.h"
|
#include "Album.h"
|
||||||
#include "Query.h"
|
#include "Query.h"
|
||||||
|
|
||||||
|
#include <QWidget>
|
||||||
|
|
||||||
|
#include "WidgetsDllMacro.h"
|
||||||
|
#include "Dashboard.h"
|
||||||
|
|
||||||
|
|
||||||
class PlayableModel;
|
class PlayableModel;
|
||||||
class PlaylistModel;
|
class PlaylistModel;
|
||||||
class TreeModel;
|
class TreeModel;
|
||||||
@@ -47,7 +50,10 @@ class Ui_SocialPlaylistWidget;
|
|||||||
namespace Tomahawk
|
namespace Tomahawk
|
||||||
{
|
{
|
||||||
|
|
||||||
class DLLEXPORT SocialPlaylistWidget : public QWidget, public Tomahawk::ViewPage
|
namespace Widgets
|
||||||
|
{
|
||||||
|
|
||||||
|
class TOMAHAWK_WIDGETS_EXPORT SocialPlaylistWidget : public QWidget, public Tomahawk::ViewPage
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
@@ -90,6 +96,8 @@ private:
|
|||||||
static QString s_topForeignTracksQuery;
|
static QString s_topForeignTracksQuery;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
} // Widgets
|
||||||
|
|
||||||
#endif // SOCIALPLAYLISTWIDGET_H
|
} // Tomahawk
|
||||||
|
|
||||||
|
#endif // TOMAHAWK_WIDGETS_SOCIALPLAYLISTWIDGET_H
|
||||||
|
@@ -581,7 +581,7 @@ SourceItem::coolPlaylistsClicked()
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if ( !m_coolPlaylistsPage )
|
if ( !m_coolPlaylistsPage )
|
||||||
m_coolPlaylistsPage = new SocialPlaylistWidget( ViewManager::instance()->widget() );
|
m_coolPlaylistsPage = new Tomahawk::Widgets::SocialPlaylistWidget( ViewManager::instance()->widget() );
|
||||||
|
|
||||||
ViewManager::instance()->show( m_coolPlaylistsPage );
|
ViewManager::instance()->show( m_coolPlaylistsPage );
|
||||||
return m_coolPlaylistsPage;
|
return m_coolPlaylistsPage;
|
||||||
|
Reference in New Issue
Block a user