1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-30 09:10:53 +02:00

Minor cleanups

This commit is contained in:
Uwe L. Korn
2013-07-16 00:46:03 +02:00
parent 048114dba9
commit b291b81f00
2 changed files with 10 additions and 9 deletions

View File

@@ -18,16 +18,18 @@
#include "DatabaseCommand_LoadAllSources.h"
#include <QSqlQuery>
#include "network/Servent.h"
#include "SourceList.h"
#include "DatabaseImpl.h"
#include "utils/Logger.h"
#include "Source.h"
using namespace Tomahawk;
DatabaseCommand_LoadAllSources::DatabaseCommand_LoadAllSources( QObject* parent )
: DatabaseCommand( parent )
{
}
void
DatabaseCommand_LoadAllSources::exec( DatabaseImpl* dbi )
{

View File

@@ -16,6 +16,7 @@
* along with Tomahawk. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#ifndef DATABASECOMMAND_LOADALLSOURCES_H
#define DATABASECOMMAND_LOADALLSOURCES_H
@@ -35,9 +36,7 @@ class DLLEXPORT DatabaseCommand_LoadAllSources : public DatabaseCommand
Q_OBJECT
public:
explicit DatabaseCommand_LoadAllSources( QObject* parent = 0 )
: DatabaseCommand( parent )
{}
explicit DatabaseCommand_LoadAllSources( QObject* parent = 0 );
virtual void exec( DatabaseImpl* );
virtual bool doesMutates() const { return false; }
@@ -47,6 +46,6 @@ signals:
void done( const QList< Tomahawk::source_ptr >& sources );
};
}
} // namespace Tomahawk
#endif // DATABASECOMMAND_LOADALLSOURCES_H