您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
45 行
1.4 KiB
45 行
1.4 KiB
/***************************************************************************
|
|
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(TQWidget *parent, const char *name )
|
|
: TQDataTable(parent,name)
|
|
{ }
|
|
|
|
MyDataTable::~MyDataTable()
|
|
{
|
|
}
|
|
|
|
bool MyDataTable::update()
|
|
{
|
|
return updateCurrent();
|
|
}
|
|
|
|
|
|
bool MyDataTable::deleteItem()
|
|
{
|
|
return deleteCurrent();
|
|
}
|
|
|
|
bool MyDataTable::newItem()
|
|
{
|
|
return insertCurrent();
|
|
}
|
|
|
|
#include "mydatatable.moc"
|