summaryrefslogtreecommitdiff
path: root/libopie2/opiedb/osqlerror.h
Side-by-side diff
Diffstat (limited to 'libopie2/opiedb/osqlerror.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiedb/osqlerror.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libopie2/opiedb/osqlerror.h b/libopie2/opiedb/osqlerror.h
index 35a4368..8fa973d 100644
--- a/libopie2/opiedb/osqlerror.h
+++ b/libopie2/opiedb/osqlerror.h
@@ -1,14 +1,17 @@
#ifndef OSQL_ERROR_H
#define OSQL_ERROR_H
#include <qstring.h>
#include <qvaluelist.h>
+
+namespace Opie {
+namespace DB {
/**
* OSQLError is the base class of all errors
*/
class OSQLError {
public:
typedef QValueList<OSQLError> ValueList;
enum Type { None = 0, // NoError
Internal, // Internal Error in OSQL
@@ -51,9 +54,11 @@ private:
QString m_drvText;
QString m_drvDBText;
int m_type;
int m_number;
class OSQLErrorPrivate;
OSQLErrorPrivate* d;
};
+}
+}
#endif