Diffstat (limited to 'noncore/apps/checkbook/tabledef.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/checkbook/tabledef.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/apps/checkbook/tabledef.cpp b/noncore/apps/checkbook/tabledef.cpp index 9a42308..745cd80 100644 --- a/noncore/apps/checkbook/tabledef.cpp +++ b/noncore/apps/checkbook/tabledef.cpp | |||
@@ -25,12 +25,14 @@ | |||
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "tabledef.h" | 29 | #include "tabledef.h" |
30 | 30 | ||
31 | #include <opie2/odebug.h> | ||
32 | using namespace Opie::Core; | ||
31 | 33 | ||
32 | // --- ColumnDef -------------------------------------------------------------- | 34 | // --- ColumnDef -------------------------------------------------------------- |
33 | ColumnDef::ColumnDef(const char *sName, ColumnType type, const char *sNewValue) | 35 | ColumnDef::ColumnDef(const char *sName, ColumnType type, const char *sNewValue) |
34 | { | 36 | { |
35 | _sName=sName; | 37 | _sName=sName; |
36 | _type=type; | 38 | _type=type; |
@@ -39,20 +41,20 @@ ColumnDef::ColumnDef(const char *sName, ColumnType type, const char *sNewValue) | |||
39 | 41 | ||
40 | 42 | ||
41 | // --- addColumnValue --------------------------------------------------------- | 43 | // --- addColumnValue --------------------------------------------------------- |
42 | void ColumnDef::addColumnValue(const QString &sValue) | 44 | void ColumnDef::addColumnValue(const QString &sValue) |
43 | { | 45 | { |
44 | if( (_type & 0x00ffffff) !=typeList ) | 46 | if( (_type & 0x00ffffff) !=typeList ) |
45 | qDebug("Column %s is not a list", (const char *)_sName); | 47 | odebug << "Column " << (const char *)_sName << " is not a list" << oendl; |
46 | else | 48 | else |
47 | _valueList.append(sValue); | 49 | _valueList.append(sValue); |
48 | } | 50 | } |
49 | void ColumnDef::addColumnValue(const char *sValue) | 51 | void ColumnDef::addColumnValue(const char *sValue) |
50 | { | 52 | { |
51 | if( (_type & 0x00ffffff)!=typeList ) | 53 | if( (_type & 0x00ffffff)!=typeList ) |
52 | qDebug("Column %s is not a list", (const char *)_sName); | 54 | odebug << "Column " << (const char *)_sName << " is not a list" << oendl; |
53 | else | 55 | else |
54 | _valueList.append(sValue); | 56 | _valueList.append(sValue); |
55 | } | 57 | } |
56 | 58 | ||
57 | // --- TableDef --------------------------------------------------------------- | 59 | // --- TableDef --------------------------------------------------------------- |
58 | TableDef::TableDef(const char *sName) | 60 | TableDef::TableDef(const char *sName) |