author | mickeyl <mickeyl> | 2003-08-10 15:40:31 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-08-10 15:40:31 (UTC) |
commit | 616e919ff6aea6a30e18edb37128c229e806beae (patch) (unidiff) | |
tree | 31e36f7d631b3dc55460aefd05bc6a455e73ace1 /libopie2/opiedb/osqlerror.cpp | |
parent | dfcbe21d8b263c13283e226bd16596c2d7c2f9a3 (diff) | |
download | opie-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.cpp | 23 |
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 @@ | |||
1 | #include "osqlerror.h" | ||
2 | |||
3 | OSQLError::OSQLError( const QString& driverText, | ||
4 | const QString& driverDatabaseText, | ||
5 | int type, int subType ) | ||
6 | : m_drvText( driverText ), m_drvDBText( driverDatabaseText ), | ||
7 | m_type( type ), m_number( subType ) | ||
8 | { | ||
9 | } | ||
10 | OSQLError::~OSQLError() { | ||
11 | } | ||
12 | QString OSQLError::driverText()const { | ||
13 | return m_drvText; | ||
14 | } | ||
15 | QString OSQLError::databaseText()const { | ||
16 | return m_drvDBText; | ||
17 | } | ||
18 | int OSQLError::type()const { | ||
19 | return m_type; | ||
20 | } | ||
21 | int OSQLError::subNumber()const { | ||
22 | return m_number; | ||
23 | } | ||