mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Remove cruft and fix includes.
This commit is contained in:
@@ -27,7 +27,6 @@
|
|||||||
#define TOMAHAWK_COLLECTION_H
|
#define TOMAHAWK_COLLECTION_H
|
||||||
|
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
#include <QDir>
|
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
|
|
||||||
@@ -90,12 +89,6 @@ signals:
|
|||||||
void changed();
|
void changed();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
//TODO: should be made private and the dbcmd friended
|
|
||||||
// and can probably be moved into database collection
|
|
||||||
// it's a slot so the dynamic hookup will work
|
|
||||||
virtual void addTracks( const QList<QVariant>& newitems ) = 0;
|
|
||||||
virtual void removeTracks( const QDir& dir ) = 0;
|
|
||||||
|
|
||||||
void setPlaylists( const QList<Tomahawk::playlist_ptr>& plists );
|
void setPlaylists( const QList<Tomahawk::playlist_ptr>& plists );
|
||||||
void setAutoPlaylists( const QList< Tomahawk::dynplaylist_ptr >& autoplists );
|
void setAutoPlaylists( const QList< Tomahawk::dynplaylist_ptr >& autoplists );
|
||||||
void setStations( const QList< Tomahawk::dynplaylist_ptr >& stations );
|
void setStations( const QList< Tomahawk::dynplaylist_ptr >& stations );
|
||||||
|
@@ -39,12 +39,13 @@
|
|||||||
#include "jobview/ErrorStatusMessage.h"
|
#include "jobview/ErrorStatusMessage.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QPixmap>
|
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
|
#include <QCoreApplication>
|
||||||
|
#include <QDir>
|
||||||
#include <QHBoxLayout>
|
#include <QHBoxLayout>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QCoreApplication>
|
#include <QPixmap>
|
||||||
|
|
||||||
using namespace Tomahawk;
|
using namespace Tomahawk;
|
||||||
using namespace Accounts;
|
using namespace Accounts;
|
||||||
|
@@ -40,6 +40,7 @@
|
|||||||
#include "playlist/SingleTrackPlaylistInterface.h"
|
#include "playlist/SingleTrackPlaylistInterface.h"
|
||||||
|
|
||||||
#include <QtCore/QUrl>
|
#include <QtCore/QUrl>
|
||||||
|
#include <QDir>
|
||||||
#include <QtNetwork/QNetworkReply>
|
#include <QtNetwork/QNetworkReply>
|
||||||
#include <QTemporaryFile>
|
#include <QTemporaryFile>
|
||||||
|
|
||||||
|
@@ -19,10 +19,6 @@
|
|||||||
|
|
||||||
#include "ScriptResolver.h"
|
#include "ScriptResolver.h"
|
||||||
|
|
||||||
#include <QtEndian>
|
|
||||||
#include <QtNetwork/QNetworkAccessManager>
|
|
||||||
#include <QtNetwork/QNetworkProxy>
|
|
||||||
|
|
||||||
#include "Artist.h"
|
#include "Artist.h"
|
||||||
#include "Album.h"
|
#include "Album.h"
|
||||||
#include "Pipeline.h"
|
#include "Pipeline.h"
|
||||||
@@ -32,6 +28,11 @@
|
|||||||
#include "utils/TomahawkUtilsGui.h"
|
#include "utils/TomahawkUtilsGui.h"
|
||||||
#include "utils/Logger.h"
|
#include "utils/Logger.h"
|
||||||
|
|
||||||
|
#include <QtEndian>
|
||||||
|
#include <QFileInfo>
|
||||||
|
#include <QNetworkAccessManager>
|
||||||
|
#include <QNetworkProxy>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
#include <shlwapi.h>
|
#include <shlwapi.h>
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user