radioapp/radiouiengine/src/radiohistorydatabase.cpp
changeset 53 bb6ed1806599
parent 33 11b6825f0862
child 57 21be958eb3ce
equal deleted inserted replaced
50:c44f9bb56771 53:bb6ed1806599
    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, "