kexi
kexitableitem.h
00001 /* This file is part of the KDE project 00002 Copyright (C) 2002 Lucijan Busch <lucijan@gmx.at> 00003 Copyright (C) 2003 Daniel Molkentin <molkentin@kde.org> 00004 Copyright (C) 2003 Jaroslaw Staniek <js@iidea.pl> 00005 00006 This program is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Library General Public 00008 License as published by the Free Software Foundation; either 00009 version 2 of the License, or (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Library General Public License for more details. 00015 00016 You should have received a copy of the GNU Library General Public License 00017 along with this program; see the file COPYING. If not, write to 00018 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00019 * Boston, MA 02110-1301, USA. 00020 00021 Original Author: Till Busch <till@bux.at> 00022 Original Project: buX (www.bux.at) 00023 */ 00024 00025 #ifndef KEXITABLEITEM_H 00026 #define KEXITABLEITEM_H 00027 00028 #include <qstring.h> 00029 #include <qdatetime.h> 00030 #include <qvaluevector.h> 00031 #include <qvariant.h> 00032 00033 #include <kexidb/connection.h> 00034 00035 typedef KexiDB::RowData KexiTableItemBase; 00036 00037 class KEXIDATATABLE_EXPORT KexiTableItem : public KexiTableItemBase 00038 { 00039 public: 00040 ~KexiTableItem(); 00041 00044 void init(int numCols); 00045 00047 void clearValues(); 00048 00050 void debug() const; 00051 00052 protected: 00053 KexiTableItem(int numCols); 00054 00055 friend class KexiTableViewData; 00056 }; 00057 00058 #endif