summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/tabledef.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/checkbook/tabledef.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/checkbook/tabledef.cpp6
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 @@
Boston, MA 02111-1307, USA.
*/
#include "tabledef.h"
+#include <opie2/odebug.h>
+using namespace Opie::Core;
// --- ColumnDef --------------------------------------------------------------
ColumnDef::ColumnDef(const char *sName, ColumnType type, const char *sNewValue)
{
_sName=sName;
_type=type;
@@ -39,20 +41,20 @@ ColumnDef::ColumnDef(const char *sName, ColumnType type, const char *sNewValue)
// --- addColumnValue ---------------------------------------------------------
void ColumnDef::addColumnValue(const QString &sValue)
{
if( (_type & 0x00ffffff) !=typeList )
- qDebug("Column %s is not a list", (const char *)_sName);
+ odebug << "Column " << (const char *)_sName << " is not a list" << oendl;
else
_valueList.append(sValue);
}
void ColumnDef::addColumnValue(const char *sValue)
{
if( (_type & 0x00ffffff)!=typeList )
- qDebug("Column %s is not a list", (const char *)_sName);
+ odebug << "Column " << (const char *)_sName << " is not a list" << oendl;
else
_valueList.append(sValue);
}
// --- TableDef ---------------------------------------------------------------
TableDef::TableDef(const char *sName)