summaryrefslogtreecommitdiff
path: root/libopie2/opiedb/osqlerror.cpp
authormickeyl <mickeyl>2003-08-10 15:40:31 (UTC)
committer mickeyl <mickeyl>2003-08-10 15:40:31 (UTC)
commit616e919ff6aea6a30e18edb37128c229e806beae (patch) (side-by-side diff)
tree31e36f7d631b3dc55460aefd05bc6a455e73ace1 /libopie2/opiedb/osqlerror.cpp
parentdfcbe21d8b263c13283e226bd16596c2d7c2f9a3 (diff)
downloadopie-616e919ff6aea6a30e18edb37128c229e806beae.zip
opie-616e919ff6aea6a30e18edb37128c229e806beae.tar.gz
opie-616e919ff6aea6a30e18edb37128c229e806beae.tar.bz2
merge zeckes libsql into libopie2
Diffstat (limited to 'libopie2/opiedb/osqlerror.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiedb/osqlerror.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/libopie2/opiedb/osqlerror.cpp b/libopie2/opiedb/osqlerror.cpp
new file mode 100644
index 0000000..3890a50
--- a/dev/null
+++ b/libopie2/opiedb/osqlerror.cpp
@@ -0,0 +1,23 @@
+#include "osqlerror.h"
+
+OSQLError::OSQLError( const QString& driverText,
+ const QString& driverDatabaseText,
+ int type, int subType )
+ : m_drvText( driverText ), m_drvDBText( driverDatabaseText ),
+ m_type( type ), m_number( subType )
+{
+}
+OSQLError::~OSQLError() {
+}
+QString OSQLError::driverText()const {
+ return m_drvText;
+}
+QString OSQLError::databaseText()const {
+ return m_drvDBText;
+}
+int OSQLError::type()const {
+ return m_type;
+}
+int OSQLError::subNumber()const {
+ return m_number;
+}