-rw-r--r-- | libopie2/opiedb/opiedb.pro | 3 | ||||
-rw-r--r-- | libopie2/opiedb/osqlbackend.cpp | 7 | ||||
-rw-r--r-- | libopie2/opiedb/osqlmanager.cpp | 7 |
3 files changed, 14 insertions, 3 deletions
diff --git a/libopie2/opiedb/opiedb.pro b/libopie2/opiedb/opiedb.pro index e5b1ac9..8432674 100644 --- a/libopie2/opiedb/opiedb.pro +++ b/libopie2/opiedb/opiedb.pro | |||
@@ -9,8 +9,9 @@ HEADERS = osqlbackend.h \ | |||
9 | osqlresult.h \ | 9 | osqlresult.h \ |
10 | osqltable.h \ | 10 | osqltable.h \ |
11 | osqlbackendmanager.h \ | 11 | osqlbackendmanager.h \ |
12 | osqlitedriver.h | 12 | osqlitedriver.h |
13 | |||
13 | SOURCES = osqlbackend.cpp \ | 14 | SOURCES = osqlbackend.cpp \ |
14 | osqldriver.cpp \ | 15 | osqldriver.cpp \ |
15 | osqlerror.cpp \ | 16 | osqlerror.cpp \ |
16 | osqlmanager.cpp \ | 17 | osqlmanager.cpp \ |
@@ -18,9 +19,9 @@ SOURCES = osqlbackend.cpp \ | |||
18 | osqlresult.cpp \ | 19 | osqlresult.cpp \ |
19 | osqltable.cpp \ | 20 | osqltable.cpp \ |
20 | osqlbackendmanager.cpp \ | 21 | osqlbackendmanager.cpp \ |
21 | osqlitedriver.cpp | 22 | osqlitedriver.cpp |
22 | INTERFACES = | 23 | |
23 | TARGET = opiedb2 | 24 | TARGET = opiedb2 |
24 | VERSION = 1.9.0 | 25 | VERSION = 1.9.0 |
25 | INCLUDEPATH = $(OPIEDIR)/include | 26 | INCLUDEPATH = $(OPIEDIR)/include |
26 | DEPENDPATH = $(OPIEDIR)/include | 27 | DEPENDPATH = $(OPIEDIR)/include |
diff --git a/libopie2/opiedb/osqlbackend.cpp b/libopie2/opiedb/osqlbackend.cpp index 6e5159f..aede7c1 100644 --- a/libopie2/opiedb/osqlbackend.cpp +++ b/libopie2/opiedb/osqlbackend.cpp | |||
@@ -1,8 +1,9 @@ | |||
1 | 1 | ||
2 | #include "osqlbackend.h" | 2 | #include "osqlbackend.h" |
3 | 3 | ||
4 | using namespace Opie::DB; | 4 | namespace Opie { |
5 | namespace DB { | ||
5 | 6 | ||
6 | 7 | ||
7 | OSQLBackEnd::OSQLBackEnd( const QString& name, | 8 | OSQLBackEnd::OSQLBackEnd( const QString& name, |
8 | const QString& vendor, | 9 | const QString& vendor, |
@@ -72,4 +73,8 @@ void OSQLBackEnd::setDefault( bool def) { | |||
72 | } | 73 | } |
73 | void OSQLBackEnd::setPreference( int pref ) { | 74 | void OSQLBackEnd::setPreference( int pref ) { |
74 | m_pref = pref; | 75 | m_pref = pref; |
75 | } | 76 | } |
77 | |||
78 | |||
79 | } | ||
80 | } \ No newline at end of file | ||
diff --git a/libopie2/opiedb/osqlmanager.cpp b/libopie2/opiedb/osqlmanager.cpp index a6498df..f093766 100644 --- a/libopie2/opiedb/osqlmanager.cpp +++ b/libopie2/opiedb/osqlmanager.cpp | |||
@@ -4,9 +4,10 @@ | |||
4 | #include "osqlmanager.h" | 4 | #include "osqlmanager.h" |
5 | #include "osqlbackendmanager.h" | 5 | #include "osqlbackendmanager.h" |
6 | #include "osqlitedriver.h" | 6 | #include "osqlitedriver.h" |
7 | 7 | ||
8 | using namespace Opie::DB; | 8 | namespace Opie { |
9 | namespace DB { | ||
9 | 10 | ||
10 | OSQLManager::OSQLManager() { | 11 | OSQLManager::OSQLManager() { |
11 | } | 12 | } |
12 | OSQLBackEnd::ValueList OSQLManager::queryBackEnd() { | 13 | OSQLBackEnd::ValueList OSQLManager::queryBackEnd() { |
@@ -80,4 +81,8 @@ OSQLBackEnd::ValueList OSQLManager::builtIn()const { | |||
80 | back.setPreference( 50 ); | 81 | back.setPreference( 50 ); |
81 | list.append( back ); | 82 | list.append( back ); |
82 | return list; | 83 | return list; |
83 | } | 84 | } |
85 | |||
86 | |||
87 | } | ||
88 | } | ||