diff options
Diffstat (limited to 'kbarcode/mydatatable.h')
-rw-r--r-- | kbarcode/mydatatable.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/kbarcode/mydatatable.h b/kbarcode/mydatatable.h new file mode 100644 index 0000000..fa55fb4 --- /dev/null +++ b/kbarcode/mydatatable.h @@ -0,0 +1,37 @@ +/*************************************************************************** + mydatatable.h - 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. * + * * + ***************************************************************************/ + +#ifndef MYDATATABLE_H +#define MYDATATABLE_H + +#include <qwidget.h> +#include <qdatatable.h> + +/** A table to modify SQL tables. + */ +class MyDataTable : public QDataTable { + Q_OBJECT + public: + MyDataTable(QWidget *parent=0, const char *name=0); + ~MyDataTable(); + + bool update(); + bool deleteItem(); + bool newItem(); +}; + +#endif |