diff options
Diffstat (limited to 'kbarcode/mydatatable.cpp')
-rw-r--r-- | kbarcode/mydatatable.cpp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/kbarcode/mydatatable.cpp b/kbarcode/mydatatable.cpp new file mode 100644 index 0000000..9ec9dd1 --- /dev/null +++ b/kbarcode/mydatatable.cpp @@ -0,0 +1,44 @@ +/*************************************************************************** + mydatatable.cpp - description + ------------------- + begin : Son Jun 16 2002 + copyright : (C) 2002 by Dominik Seichter + email : domseichter@web.de + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#include "mydatatable.h" + +MyDataTable::MyDataTable(QWidget *parent, const char *name ) + : QDataTable(parent,name) +{ } + +MyDataTable::~MyDataTable() +{ +} + +bool MyDataTable::update() +{ + return updateCurrent(); +} + + +bool MyDataTable::deleteItem() +{ + return deleteCurrent(); +} + +bool MyDataTable::newItem() +{ + return insertCurrent(); +} + +#include "mydatatable.moc" |