summaryrefslogtreecommitdiff
path: root/libsql/osqlbackend.cpp
authormickeyl <mickeyl>2003-08-10 15:42:26 (UTC)
committer mickeyl <mickeyl>2003-08-10 15:42:26 (UTC)
commit90dbd3e9e7139c1280e71f9c77ed4362b8d0f367 (patch) (side-by-side diff)
tree22f0947337ea9b21a1d8f56d04ce3292c9d6f19e /libsql/osqlbackend.cpp
parent616e919ff6aea6a30e18edb37128c229e806beae (diff)
downloadopie-90dbd3e9e7139c1280e71f9c77ed4362b8d0f367.zip
opie-90dbd3e9e7139c1280e71f9c77ed4362b8d0f367.tar.gz
opie-90dbd3e9e7139c1280e71f9c77ed4362b8d0f367.tar.bz2
libsql is now a part of libopie2
Diffstat (limited to 'libsql/osqlbackend.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libsql/osqlbackend.cpp73
1 files changed, 0 insertions, 73 deletions
diff --git a/libsql/osqlbackend.cpp b/libsql/osqlbackend.cpp
deleted file mode 100644
index d6c39a9..0000000
--- a/libsql/osqlbackend.cpp
+++ b/dev/null
@@ -1,73 +0,0 @@
-
-#include "osqlbackend.h"
-
-
-OSQLBackEnd::OSQLBackEnd( const QString& name,
- const QString& vendor,
- const QString& license,
- const QCString& lib )
- : m_name( name), m_vendor( vendor), m_license( license ), m_lib( lib )
-{
- m_default = false;
- m_pref = -1;
-}
-OSQLBackEnd::OSQLBackEnd( const OSQLBackEnd& back ) {
- (*this) = back;
-}
-OSQLBackEnd::~OSQLBackEnd() {
-}
-bool OSQLBackEnd::operator==( const OSQLBackEnd& other ) {
- if ( m_pref != other.m_pref ) return false;
- if ( m_default != other.m_default ) return false;
- if ( m_name != other.m_name ) return false;
- if ( m_vendor != other.m_vendor ) return false;
- if ( m_license != other.m_license ) return false;
- if ( m_lib != other.m_lib ) return false;
-
- return true;
-}
-OSQLBackEnd &OSQLBackEnd::operator=(const OSQLBackEnd& back ) {
- m_name = back.m_name;
- m_vendor = back.m_vendor;
- m_license = back.m_license;
- m_lib = back.m_lib;
- m_pref = back.m_pref;
- m_default = back.m_default;
- return *this;
-}
-QString OSQLBackEnd::name() const {
- return m_name;
-}
-QString OSQLBackEnd::vendor() const {
- return m_vendor;
-}
-QString OSQLBackEnd::license() const {
- return m_license;
-}
-QCString OSQLBackEnd::library() const {
- return m_lib;
-}
-bool OSQLBackEnd::isDefault()const {
- return m_default;
-}
-int OSQLBackEnd::preference()const {
- return m_pref;
-}
-void OSQLBackEnd::setName( const QString& name ) {
- m_name = name;
-}
-void OSQLBackEnd::setVendor( const QString& vendor ) {
- m_vendor = vendor;
-}
-void OSQLBackEnd::setLicense( const QString & license ) {
- m_license = license;
-}
-void OSQLBackEnd::setLibrary( const QCString& lib ) {
- m_lib = lib;
-}
-void OSQLBackEnd::setDefault( bool def) {
- m_default = def;
-}
-void OSQLBackEnd::setPreference( int pref ) {
- m_pref = pref;
-}