mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
* Source & warning cleanup.
This commit is contained in:
@@ -25,18 +25,21 @@
|
||||
|
||||
using namespace Tomahawk;
|
||||
|
||||
|
||||
GeneratorInterface*
|
||||
DatabaseFactory::create()
|
||||
{
|
||||
return new DatabaseGenerator();
|
||||
}
|
||||
|
||||
|
||||
dyncontrol_ptr
|
||||
DatabaseFactory::createControl ( const QString& controlType )
|
||||
{
|
||||
return dyncontrol_ptr( new DatabaseControl( controlType, typeSelectors() ) );
|
||||
}
|
||||
|
||||
|
||||
dyncontrol_ptr
|
||||
DatabaseFactory::createControl ( const QString& sql, DatabaseCommand_GenericSelect::QueryType type, const QString& summary )
|
||||
{
|
||||
@@ -62,11 +65,12 @@ DatabaseGenerator::DatabaseGenerator ( QObject* parent )
|
||||
// m_logo.load( RESPATH "images )
|
||||
}
|
||||
|
||||
|
||||
DatabaseGenerator::~DatabaseGenerator()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
QPixmap
|
||||
DatabaseGenerator::logo()
|
||||
{
|
||||
@@ -77,15 +81,15 @@ DatabaseGenerator::logo()
|
||||
void
|
||||
DatabaseGenerator::dynamicFetched()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
DatabaseGenerator::dynamicStarted()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
DatabaseGenerator::generate( int number )
|
||||
{
|
||||
@@ -136,6 +140,7 @@ DatabaseGenerator::generate( int number )
|
||||
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
DatabaseGenerator::tracksGenerated ( const QList< query_ptr >& tracks )
|
||||
{
|
||||
@@ -150,6 +155,7 @@ DatabaseGenerator::createControl( const QString& type )
|
||||
return m_controls.last();
|
||||
}
|
||||
|
||||
|
||||
dyncontrol_ptr
|
||||
DatabaseGenerator::createControl ( const QString& sql, DatabaseCommand_GenericSelect::QueryType type, const QString& summary )
|
||||
{
|
||||
@@ -160,10 +166,11 @@ DatabaseGenerator::createControl ( const QString& sql, DatabaseCommand_GenericSe
|
||||
|
||||
|
||||
void
|
||||
DatabaseGenerator::fetchNext( int rating )
|
||||
DatabaseGenerator::fetchNext( int /* rating */ )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
QString
|
||||
DatabaseGenerator::sentenceSummary()
|
||||
{
|
||||
@@ -174,8 +181,8 @@ DatabaseGenerator::sentenceSummary()
|
||||
return QString();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
DatabaseGenerator::startOnDemand()
|
||||
{
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user