radioapp/radiouiengine/src/radiohistorydatabase.cpp
changeset 51 bbebb0235466
parent 34 bc10a61bd7d3
child 57 21be958eb3ce
equal deleted inserted replaced
47:74b7c6e79031 51:bbebb0235466
    27 
    27 
    28 // User includes
    28 // User includes
    29 #include "radiohistorydatabase.h"
    29 #include "radiohistorydatabase.h"
    30 #include "radiologger.h"
    30 #include "radiologger.h"
    31 
    31 
    32 static const QLatin1String DATABASE_NAME    ( "radioplayhistory.db" );
    32 static const QLatin1String DATABASE_NAME    ( "c:\\radioplayhistory.db" );
    33 static const QLatin1String DATABASE_DRIVER  ( "QSQLITE" );
    33 static const QLatin1String DATABASE_DRIVER  ( "QSQLITE" );
    34 static const QLatin1String HISTORY_TABLE    ( "history" );
    34 static const QLatin1String HISTORY_TABLE    ( "history" );
    35 static const QLatin1String SQL_CREATE_TABLE ( "CREATE TABLE history ("
    35 static const QLatin1String SQL_CREATE_TABLE ( "CREATE TABLE history ("
    36                                                 "id INTEGER PRIMARY KEY AUTOINCREMENT, "
    36                                                 "id INTEGER PRIMARY KEY AUTOINCREMENT, "
    37                                                 "artist TEXT NOT NULL, "
    37                                                 "artist TEXT NOT NULL, "