author | mickeyl <mickeyl> | 2003-08-10 15:42:26 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-08-10 15:42:26 (UTC) |
commit | 90dbd3e9e7139c1280e71f9c77ed4362b8d0f367 (patch) (unidiff) | |
tree | 22f0947337ea9b21a1d8f56d04ce3292c9d6f19e /libsql/osqltable.cpp | |
parent | 616e919ff6aea6a30e18edb37128c229e806beae (diff) | |
download | opie-90dbd3e9e7139c1280e71f9c77ed4362b8d0f367.zip opie-90dbd3e9e7139c1280e71f9c77ed4362b8d0f367.tar.gz opie-90dbd3e9e7139c1280e71f9c77ed4362b8d0f367.tar.bz2 |
libsql is now a part of libopie2
-rw-r--r-- | libsql/osqltable.cpp | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/libsql/osqltable.cpp b/libsql/osqltable.cpp deleted file mode 100644 index cde40f4..0000000 --- a/libsql/osqltable.cpp +++ b/dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | #include "osqltable.h" | ||
2 | |||
3 | OSQLTableItem::OSQLTableItem() {} | ||
4 | OSQLTableItem::OSQLTableItem( enum Type type, | ||
5 | const QString& field, | ||
6 | const QVariant& var) | ||
7 | : m_type( type ), m_field( field ), m_var( var ) | ||
8 | { | ||
9 | |||
10 | } | ||
11 | OSQLTableItem::~OSQLTableItem() {} | ||
12 | OSQLTableItem::OSQLTableItem( const OSQLTableItem& item) { | ||
13 | *this = item; | ||
14 | } | ||
15 | OSQLTableItem &OSQLTableItem::operator=(const OSQLTableItem& other) { | ||
16 | m_var = other.m_var; | ||
17 | m_field = other.m_field; | ||
18 | m_type = other.m_type; | ||
19 | return *this; | ||
20 | } | ||
21 | QString OSQLTableItem::fieldName()const{ | ||
22 | return m_field; | ||
23 | } | ||
24 | OSQLTableItem::Type OSQLTableItem::type()const { | ||
25 | return m_type; | ||
26 | } | ||
27 | QVariant OSQLTableItem::more()const { | ||
28 | return m_var; | ||
29 | } | ||
30 | |||
31 | OSQLTable::OSQLTable( const QString& tableName ) | ||
32 | : m_table( tableName ) | ||
33 | { | ||
34 | |||
35 | } | ||
36 | OSQLTable::~OSQLTable() { | ||
37 | } | ||
38 | void OSQLTable::setColumns( const OSQLTableItem::ValueList& list) { | ||
39 | m_list = list; | ||
40 | } | ||
41 | OSQLTableItem::ValueList OSQLTable::columns()const { | ||
42 | return m_list; | ||
43 | } | ||
44 | QString OSQLTable::tableName()const { | ||
45 | return m_table; | ||
46 | } | ||