mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Move NetworkActivity into correct namespaces
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
#include "WidgetsDllMacro.h"
|
||||
|
||||
class AnimatedSpinner;
|
||||
class NetworkActivityWidgetPrivate;
|
||||
class PlaylistModel;
|
||||
class QModelIndex;
|
||||
class QStandardItemModel;
|
||||
@@ -39,6 +38,8 @@ namespace Tomahawk
|
||||
namespace Widgets
|
||||
{
|
||||
|
||||
class NetworkActivityWidgetPrivate;
|
||||
|
||||
class TOMAHAWK_WIDGETS_EXPORT NetworkActivityWidget : public QWidget, public Tomahawk::ViewPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@@ -24,6 +24,12 @@
|
||||
|
||||
#include "NetworkActivityWorker.h"
|
||||
|
||||
namespace Tomahawk
|
||||
{
|
||||
|
||||
namespace Widgets
|
||||
{
|
||||
|
||||
class NetworkActivityWidgetPrivate
|
||||
{
|
||||
public:
|
||||
@@ -52,8 +58,12 @@ private:
|
||||
QPointer<PlaylistModel> trendingTracksModel;
|
||||
|
||||
Tomahawk::Widgets::NetworkActivityWidget::ViewType activeView;
|
||||
Tomahawk::NetworkActivityWorker* worker;
|
||||
Tomahawk::Widgets::NetworkActivityWorker* worker;
|
||||
QThread* workerThread;
|
||||
};
|
||||
|
||||
} // namespace Widgets
|
||||
|
||||
} // namespace Tomahawk
|
||||
|
||||
#endif // NETWORKACTIVITYWIDGET_P_H
|
||||
|
@@ -28,7 +28,11 @@
|
||||
|
||||
#include <QDateTime>
|
||||
|
||||
namespace Tomahawk {
|
||||
namespace Tomahawk
|
||||
{
|
||||
|
||||
namespace Widgets
|
||||
{
|
||||
|
||||
NetworkActivityWorker::NetworkActivityWorker( QObject* parent )
|
||||
: QObject( parent )
|
||||
@@ -196,4 +200,6 @@ NetworkActivityWorker::checkDone()
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Widgets
|
||||
|
||||
} // namespace Tomahawk
|
||||
|
@@ -23,9 +23,13 @@
|
||||
#include "Playlist.h"
|
||||
#include "Typedefs.h"
|
||||
|
||||
#include <QThread>
|
||||
#include <QObject>
|
||||
|
||||
namespace Tomahawk {
|
||||
namespace Tomahawk
|
||||
{
|
||||
|
||||
namespace Widgets
|
||||
{
|
||||
|
||||
class NetworkActivityWorkerPrivate;
|
||||
|
||||
@@ -62,6 +66,8 @@ private:
|
||||
void checkDone();
|
||||
};
|
||||
|
||||
} // namespace Widgets
|
||||
|
||||
} // namespace Tomahawk
|
||||
|
||||
#endif // TOMAHAWK_NETWORKACTIVITYWORKER_H
|
||||
|
@@ -27,6 +27,9 @@
|
||||
namespace Tomahawk
|
||||
{
|
||||
|
||||
namespace Widgets
|
||||
{
|
||||
|
||||
class NetworkActivityWorkerPrivate
|
||||
{
|
||||
public:
|
||||
@@ -53,6 +56,8 @@ private:
|
||||
QMultiMap<uint, playlist_ptr> playlistCount;
|
||||
};
|
||||
|
||||
} // Tomahawk
|
||||
} // namespace Widgets
|
||||
|
||||
} // namespace Tomahawk
|
||||
|
||||
#endif // NETWORKACTIVITYWORKER_P_H
|
||||
|
Reference in New Issue
Block a user