summaryrefslogtreecommitdiff
path: root/libopie2/opiedb/osqlbackend.cpp
Unidiff
Diffstat (limited to 'libopie2/opiedb/osqlbackend.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiedb/osqlbackend.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie2/opiedb/osqlbackend.cpp b/libopie2/opiedb/osqlbackend.cpp
index d6c39a9..6e5159f 100644
--- a/libopie2/opiedb/osqlbackend.cpp
+++ b/libopie2/opiedb/osqlbackend.cpp
@@ -1,27 +1,29 @@
1 1
2#include "osqlbackend.h" 2#include "osqlbackend.h"
3 3
4using namespace Opie::DB;
5
4 6
5OSQLBackEnd::OSQLBackEnd( const QString& name, 7OSQLBackEnd::OSQLBackEnd( const QString& name,
6 const QString& vendor, 8 const QString& vendor,
7 const QString& license, 9 const QString& license,
8 const QCString& lib ) 10 const QCString& lib )
9 : m_name( name), m_vendor( vendor), m_license( license ), m_lib( lib ) 11 : m_name( name), m_vendor( vendor), m_license( license ), m_lib( lib )
10{ 12{
11 m_default = false; 13 m_default = false;
12 m_pref = -1; 14 m_pref = -1;
13} 15}
14OSQLBackEnd::OSQLBackEnd( const OSQLBackEnd& back ) { 16OSQLBackEnd::OSQLBackEnd( const OSQLBackEnd& back ) {
15 (*this) = back; 17 (*this) = back;
16} 18}
17OSQLBackEnd::~OSQLBackEnd() { 19OSQLBackEnd::~OSQLBackEnd() {
18} 20}
19bool OSQLBackEnd::operator==( const OSQLBackEnd& other ) { 21bool OSQLBackEnd::operator==( const OSQLBackEnd& other ) {
20 if ( m_pref != other.m_pref ) return false; 22 if ( m_pref != other.m_pref ) return false;
21 if ( m_default != other.m_default ) return false; 23 if ( m_default != other.m_default ) return false;
22 if ( m_name != other.m_name ) return false; 24 if ( m_name != other.m_name ) return false;
23 if ( m_vendor != other.m_vendor ) return false; 25 if ( m_vendor != other.m_vendor ) return false;
24 if ( m_license != other.m_license ) return false; 26 if ( m_license != other.m_license ) return false;
25 if ( m_lib != other.m_lib ) return false; 27 if ( m_lib != other.m_lib ) return false;
26 28
27 return true; 29 return true;