summaryrefslogtreecommitdiff
path: root/libopie2
Side-by-side diff
Diffstat (limited to 'libopie2') (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
@@ -10,6 +10,7 @@ HEADERS = osqlbackend.h \
osqltable.h \
osqlbackendmanager.h \
osqlitedriver.h
+
SOURCES = osqlbackend.cpp \
osqldriver.cpp \
osqlerror.cpp \
@@ -19,7 +20,7 @@ SOURCES = osqlbackend.cpp \
osqltable.cpp \
osqlbackendmanager.cpp \
osqlitedriver.cpp
-INTERFACES =
+
TARGET = opiedb2
VERSION = 1.9.0
INCLUDEPATH = $(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,7 +1,8 @@
#include "osqlbackend.h"
-using namespace Opie::DB;
+namespace Opie {
+namespace DB {
OSQLBackEnd::OSQLBackEnd( const QString& name,
@@ -73,3 +74,7 @@ void OSQLBackEnd::setDefault( bool def) {
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
@@ -5,7 +5,8 @@
#include "osqlbackendmanager.h"
#include "osqlitedriver.h"
-using namespace Opie::DB;
+namespace Opie {
+namespace DB {
OSQLManager::OSQLManager() {
}
@@ -81,3 +82,7 @@ OSQLBackEnd::ValueList OSQLManager::builtIn()const {
list.append( back );
return list;
}
+
+
+}
+}