equal
deleted
inserted
replaced
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, " |