summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiedb/opiedb.pro3
-rw-r--r--libopie2/opiedb/osqlbackend.cpp7
-rw-r--r--libopie2/opiedb/osqlmanager.cpp7
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
@@ -11,4 +11,5 @@ HEADERS = osqlbackend.h \
osqlbackendmanager.h \
osqlitedriver.h
+
SOURCES = osqlbackend.cpp \
osqldriver.cpp \
@@ -20,5 +21,5 @@ SOURCES = osqlbackend.cpp \
osqlbackendmanager.cpp \
osqlitedriver.cpp
-INTERFACES =
+
TARGET = opiedb2
VERSION = 1.9.0
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
@@ -2,5 +2,6 @@
#include "osqlbackend.h"
-using namespace Opie::DB;
+namespace Opie {
+namespace DB {
@@ -74,2 +75,6 @@ void OSQLBackEnd::setPreference( int pref ) {
m_pref = pref;
}
+
+
+}
+} \ 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
@@ -6,5 +6,6 @@
#include "osqlitedriver.h"
-using namespace Opie::DB;
+namespace Opie {
+namespace DB {
OSQLManager::OSQLManager() {
@@ -82,2 +83,6 @@ OSQLBackEnd::ValueList OSQLManager::builtIn()const {
return list;
}
+
+
+}
+}