summaryrefslogtreecommitdiff
path: root/libopie2/examples/opiedb/sqltest/spaltenweise.cpp
Unidiff
Diffstat (limited to 'libopie2/examples/opiedb/sqltest/spaltenweise.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/examples/opiedb/sqltest/spaltenweise.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libopie2/examples/opiedb/sqltest/spaltenweise.cpp b/libopie2/examples/opiedb/sqltest/spaltenweise.cpp
index e1a4d5d..c11724c 100644
--- a/libopie2/examples/opiedb/sqltest/spaltenweise.cpp
+++ b/libopie2/examples/opiedb/sqltest/spaltenweise.cpp
@@ -13,18 +13,18 @@ int main( int argc, char* argv[] ) {
13 QPEApplication app( argc, argv ); 13 QPEApplication app( argc, argv );
14 OSQLManager man; 14 OSQLManager man;
15 man.registerPath( QDir::currentDirPath() ); 15 man.registerPath( QDir::currentDirPath() );
16 OSQLBackEnd::ValueList list = man.queryBackEnd(); 16 OSQLBackEnd::ValueList list = man.queryBackEnd();
17 17
18 OSQLDriver *driver = man.standard(); 18 OSQLDriver *driver = man.standard();
19 qWarning("testmain" + driver->id() ); 19 owarn << "testmain" + driver->id() << oendl;
20 driver->setUrl("/home/ich/spaltenweise"); 20 driver->setUrl("/home/ich/spaltenweise");
21 if ( driver->open() ) { 21 if ( driver->open() ) {
22 qWarning("could open"); 22 owarn << "could open" << oendl;
23 }else 23 }else
24 qWarning("wasn't able to open"); 24 owarn << "wasn't able to open" << oendl;
25 OSQLRawQuery *raw = new OSQLRawQuery("create table todolist(" 25 OSQLRawQuery *raw = new OSQLRawQuery("create table todolist("
26 "uid,categories,completed," 26 "uid,categories,completed,"
27 "progress,summary,HasDate," 27 "progress,summary,HasDate,"
28 "DateDay,DateMonth,DateYear," 28 "DateDay,DateMonth,DateYear,"
29 "priority,description)" ); 29 "priority,description)" );
30 30