mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-30 17:20:26 +02:00
Minor cleanups
This commit is contained in:
@@ -18,16 +18,18 @@
|
|||||||
|
|
||||||
#include "DatabaseCommand_LoadAllSources.h"
|
#include "DatabaseCommand_LoadAllSources.h"
|
||||||
|
|
||||||
#include <QSqlQuery>
|
|
||||||
|
|
||||||
#include "network/Servent.h"
|
|
||||||
#include "SourceList.h"
|
|
||||||
#include "DatabaseImpl.h"
|
#include "DatabaseImpl.h"
|
||||||
#include "utils/Logger.h"
|
#include "Source.h"
|
||||||
|
|
||||||
using namespace Tomahawk;
|
using namespace Tomahawk;
|
||||||
|
|
||||||
|
|
||||||
|
DatabaseCommand_LoadAllSources::DatabaseCommand_LoadAllSources( QObject* parent )
|
||||||
|
: DatabaseCommand( parent )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
DatabaseCommand_LoadAllSources::exec( DatabaseImpl* dbi )
|
DatabaseCommand_LoadAllSources::exec( DatabaseImpl* dbi )
|
||||||
{
|
{
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
* along with Tomahawk. If not, see <http://www.gnu.org/licenses/>.
|
* along with Tomahawk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
#ifndef DATABASECOMMAND_LOADALLSOURCES_H
|
#ifndef DATABASECOMMAND_LOADALLSOURCES_H
|
||||||
#define DATABASECOMMAND_LOADALLSOURCES_H
|
#define DATABASECOMMAND_LOADALLSOURCES_H
|
||||||
|
|
||||||
@@ -35,9 +36,7 @@ class DLLEXPORT DatabaseCommand_LoadAllSources : public DatabaseCommand
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit DatabaseCommand_LoadAllSources( QObject* parent = 0 )
|
explicit DatabaseCommand_LoadAllSources( QObject* parent = 0 );
|
||||||
: DatabaseCommand( parent )
|
|
||||||
{}
|
|
||||||
|
|
||||||
virtual void exec( DatabaseImpl* );
|
virtual void exec( DatabaseImpl* );
|
||||||
virtual bool doesMutates() const { return false; }
|
virtual bool doesMutates() const { return false; }
|
||||||
@@ -47,6 +46,6 @@ signals:
|
|||||||
void done( const QList< Tomahawk::source_ptr >& sources );
|
void done( const QList< Tomahawk::source_ptr >& sources );
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
} // namespace Tomahawk
|
||||||
|
|
||||||
#endif // DATABASECOMMAND_LOADALLSOURCES_H
|
#endif // DATABASECOMMAND_LOADALLSOURCES_H
|
||||||
|
Reference in New Issue
Block a user