kexi

kexitableitem.cpp

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 #include "kexitableitem.h"
00026 
00027 KexiTableItem::KexiTableItem(int numCols)
00028 : KexiTableItemBase(numCols)
00029 {
00030 //js    m_userData=0;
00031 //js    m_columns.resize(numCols);
00032 //js    m_insertItem = false;
00033 //js    m_pTable = 0;
00034 }
00035 
00036 KexiTableItem::~KexiTableItem()
00037 {
00038 }
00039 
00040 void
00041 KexiTableItem::init(int numCols)
00042 {
00043     clear();
00044     resize(numCols);
00045 }
00046 
00047 void
00048 KexiTableItem::clearValues()
00049 {
00050     init(count());
00051 }
00052 
KDE Home | KDE Accessibility Home | Description of Access Keys