Kexi API Documentation (2.0 alpha)

KexiTableViewData Class Reference

#include <kexitableviewdata.h>

Inheritance diagram for KexiTableViewData:

KexiTableViewDataBase List of all members.

Detailed Description

Reimplements QPtrList to allow configurable sorting and more. Original author: Till Busch. Reimplemented by Jaroslaw Staniek.

Definition at line 222 of file kexitableviewdata.h.

Public Types

typedef QPtrListIterator<
KexiTableItem
Iterator

Public Slots

void deleteLater ()

Signals

void destroying ()
void aboutToChangeCell (KexiTableItem *item, int colnum, QVariant &newValue, KexiDB::ResultInfo *result)
void aboutToInsertRow (KexiTableItem *item, KexiDB::ResultInfo *result, bool repaint)
void aboutToUpdateRow (KexiTableItem *item, KexiDB::RowEditBuffer *buffer, KexiDB::ResultInfo *result)
void rowUpdated (KexiTableItem *)
 Current row has been updated.
void rowInserted (KexiTableItem *, bool repaint)
 A row has been inserted.
void rowInserted (KexiTableItem *, uint index, bool repaint)
 A row has been inserted at index position (not db-aware data only).
void aboutToDeleteRow (KexiTableItem &item, KexiDB::ResultInfo *result, bool repaint)
void rowDeleted ()
 Current row has been deleted.
void rowsDeleted (const QValueList< int > &rowsToDelete)
 Rows have been deleted.
void reloadRequested ()
 Displayed data needs to be reloaded in all presenters.
void rowRepaintRequested (KexiTableItem &)

Public Member Functions

 KexiTableViewData ()
 not db-aware version
 KexiTableViewData (KexiDB::Cursor *c)
 db-aware version
 KexiTableViewData (const QValueList< QVariant > &keys, const QValueList< QVariant > &values, KexiDB::Field::Type keyType=KexiDB::Field::Text, KexiDB::Field::Type valueType=KexiDB::Field::Text)
 KexiTableViewData (KexiDB::Field::Type keyType, KexiDB::Field::Type valueType)
virtual ~KexiTableViewData ()
void preloadAllRows ()
void setSorting (int column, bool ascending=true)
int sortedColumn () const
int sortingOrder () const
void addColumn (KexiTableViewColumn *col)
int globalColumnID (int visibleID)
int visibleColumnID (int globalID)
bool isDBAware ()
QString dbTableName () const
KexiDB::Cursorcursor () const
uint columnsCount () const
KexiTableViewColumncolumn (uint c)
virtual bool isReadOnly () const
virtual void setReadOnly (bool set)
virtual bool isInsertingEnabled () const
virtual void setInsertingEnabled (bool set)
void clearRowEditBuffer ()
bool updateRowEditBufferRef (KexiTableItem *item, int colnum, KexiTableViewColumn *col, QVariant &newval, bool allowSignals=true, QVariant *visibleValueForLookupField=0)
bool updateRowEditBuffer (KexiTableItem *item, int colnum, KexiTableViewColumn *col, QVariant newval, bool allowSignals=true)
bool updateRowEditBuffer (KexiTableItem *item, int colnum, QVariant newval, bool allowSignals=true)
KexiDB::RowEditBufferrowEditBuffer () const
KexiDB::ResultInforesult ()
bool saveRowChanges (KexiTableItem &item, bool repaint=false)
bool saveNewRow (KexiTableItem &item, bool repaint=false)
bool deleteRow (KexiTableItem &item, bool repaint=false)
void deleteRows (const QValueList< int > &rowsToDelete, bool repaint=false)
virtual bool deleteAllRows (bool repaint=false)
virtual void clearInternal ()
void insertRow (KexiTableItem &item, uint index, bool repaint=false)
int autoIncrementedColumn ()
void reload ()
 Emits reloadRequested() signal to reload presenters.
KexiTableItemat (uint index)
virtual uint count () const
bool isEmpty () const
KexiTableItemfirst ()
KexiTableItemlast ()
int findRef (const KexiTableItem *item)
void sort ()
bool removeFirst ()
bool removeLast ()
void append (const KexiTableItem *item)
void prepend (const KexiTableItem *item)
Iterator iterator ()
IteratorcreateIterator ()
bool containsROWIDInfo () const
KexiTableItemcreateItem () const

Public Attributes

KexiTableViewColumn::List columns

Protected Member Functions

void init ()
void init (const QValueList< QVariant > &keys, const QValueList< QVariant > &values, KexiDB::Field::Type keyType, KexiDB::Field::Type valueType)
virtual int compareItems (Item item1, Item item2)
int cmpStr (Item item1, Item item2)
int cmpInt (Item item1, Item item2)
int cmpUInt (Item item1, Item item2)
int cmpLongLong (Item item1, Item item2)
int cmpULongLong (Item item1, Item item2)
int cmpDouble (Item item1, Item item2)
int cmpDate (Item item1, Item item2)
int cmpDateTime (Item item1, Item item2)
int cmpTime (Item item1, Item item2)
int cmpBLOB (Item item1, Item item2)
 Compare function for BLOB data (QByteArray). Uses size as the weight.
bool saveRow (KexiTableItem &item, bool insert, bool repaint)
 internal: for saveRowChanges() and saveNewRow()

Protected Attributes

int m_sortedColumn
 (logical) sorted column number, set by setSorting() can differ from m_realSortedColumn if there's lookup column used
int m_realSortedColumn
 real sorted column number, set by setSorting(), used by cmp*() methods
short m_order
short m_type
int m_itemSize
KexiDB::RowEditBufferm_pRowEditBuffer
QGuardedPtr< KexiDB::Cursorm_cursor
KexiDB::ResultInfo m_result
 used to faster lookup columns of simple type (not dbaware)
uint m_visibleColumnsCount
QValueVector< int > m_visibleColumnsIDs
QValueVector< int > m_globalColumnsIDs
bool m_readOnly: 1
bool m_insertingEnabled: 1
bool m_inside_acceptEditor: 1
bool m_containsROWIDInfo: 1
int m_autoIncrementedColumn
int(KexiTableViewData::* cmpFunc )(void *, void *)
QVariant m_leftTmp
 Temporary, used in compare functions like cmpInt(), cmpString() to avoid memory allocations.
QVariant m_rightTmp
 Temporary, used in compare functions like cmpInt(), cmpString() to avoid memory allocations.

Static Protected Attributes

static unsigned short charTable []


Member Typedef Documentation

typedef QPtrListIterator<KexiTableItem> KexiTableViewData::Iterator
 

Definition at line 227 of file kexitableviewdata.h.


Constructor & Destructor Documentation

KexiTableViewData::KexiTableViewData  ) 
 

not db-aware version

Definition at line 229 of file kexitableviewdata.cpp.

References init().

KexiTableViewData::KexiTableViewData KexiDB::Cursor c  ) 
 

db-aware version

Definition at line 237 of file kexitableviewdata.cpp.

References addColumn(), columns, KexiDB::QueryColumnInfo::indexForVisibleLookupValue(), init(), m_containsROWIDInfo, m_cursor, m_itemSize, KexiDB::QueryColumnInfo::visible, KexiDB::QuerySchema::WithInternalFields, and KexiDB::QuerySchema::WithInternalFieldsAndRowID.

KexiTableViewData::KexiTableViewData const QValueList< QVariant > &  keys,
const QValueList< QVariant > &  values,
KexiDB::Field::Type  keyType = KexiDB::Field::Text,
KexiDB::Field::Type  valueType = KexiDB::Field::Text
 

Defines two-column table usually used with comboboxes. First column is invisible and contains key values. Second column and contains user-visible value.

Parameters:
keys a list of keys
values a list of text values (must be of the same length as keys list)
keyType a type for keys
valueType a type for values

Definition at line 274 of file kexitableviewdata.cpp.

References init().

KexiTableViewData::KexiTableViewData KexiDB::Field::Type  keyType,
KexiDB::Field::Type  valueType
 

Like above constructor, but keys and values are not provided. You can do this later by calling append(KexiTableItem*) method. (KexiTableItem object must have exactly two columns)

Definition at line 283 of file kexitableviewdata.cpp.

References init().

KexiTableViewData::~KexiTableViewData  )  [virtual]
 

Definition at line 290 of file kexitableviewdata.cpp.

References clearInternal(), and destroying().


Member Function Documentation

void KexiTableViewData::aboutToChangeCell KexiTableItem item,
int  colnum,
QVariant &  newValue,
KexiDB::ResultInfo result
[signal]
 

Emitted before change of the single, currently edited cell. Connect this signal to your slot and set result->success to false to disallow this change. You can also change newValue to other value, or change other columns in item row.

Referenced by updateRowEditBufferRef().

void KexiTableViewData::aboutToDeleteRow KexiTableItem item,
KexiDB::ResultInfo result,
bool  repaint
[signal]
 

Emited before deleting of a current row. Connect this signal to your slot and set result->success to false to disallow this deleting.

Referenced by deleteRow().

void KexiTableViewData::aboutToInsertRow KexiTableItem item,
KexiDB::ResultInfo result,
bool  repaint
[signal]
 

Emited before inserting of a new, current row. Connect this signal to your slot and set result->success to false to disallow this inserting. You can also change columns in item row.

Referenced by saveNewRow().

void KexiTableViewData::aboutToUpdateRow KexiTableItem item,
KexiDB::RowEditBuffer buffer,
KexiDB::ResultInfo result
[signal]
 

Emited before changing of an edited, current row. Connect this signal to your slot and set result->success to false to disallow this change. You can also change columns in item row.

Referenced by saveRowChanges().

void KexiTableViewData::addColumn KexiTableViewColumn col  ) 
 

Adds column col. Warning: col will be owned by this object, and deleted on its destruction.

Definition at line 351 of file kexitableviewdata.cpp.

References columns, m_autoIncrementedColumn, m_containsROWIDInfo, m_cursor, KexiTableViewColumn::m_data, m_globalColumnsIDs, m_itemSize, m_visibleColumnsCount, m_visibleColumnsIDs, and KexiTableViewColumn::visible().

Referenced by init(), KFormDesigner::ConnectionDialog::initTable(), KexiTableDesignerView::KexiTableDesignerView(), KexiTableViewData(), and KexiComboBoxPopup::setData().

void KexiTableViewData::append const KexiTableItem item  )  [inline]
 

Definition at line 414 of file kexitableviewdata.h.

Referenced by KexiTableView::createEditor(), KexiFormScrollView::createEditor(), KexiDataAwareObjectInterface::deleteAllRows(), KexiDataAwareObjectInterface::deleteItem(), init(), KexiTableDesignerView::initData(), preloadAllRows(), KexiComboBoxPopup::setData(), KFormDesigner::ConnectionDialog::updateSignalList(), KFormDesigner::ConnectionDialog::updateSlotList(), and KFormDesigner::ConnectionDialog::updateTableData().

KexiTableItem* KexiTableViewData::at uint  index  )  [inline]
 

Definition at line 405 of file kexitableviewdata.h.

Referenced by KexiTableView::contentsDragMoveEvent(), KexiTableView::contentsDropEvent(), KexiTableView::highlightedItem(), KexiDataAwareObjectInterface::itemAt(), and KexiSimplePrintingEngine::paintPage().

int KexiTableViewData::autoIncrementedColumn  ) 
 

Todo:
what about multiple autoinc columns?

what about changing column order?

Definition at line 836 of file kexitableviewdata.cpp.

References columns, and m_autoIncrementedColumn.

void KexiTableViewData::clearInternal  )  [virtual]
 

Definition at line 805 of file kexitableviewdata.cpp.

References clearRowEditBuffer(), count(), and removeLast().

Referenced by KexiDataAwareObjectInterface::clearColumns(), deleteAllRows(), and ~KexiTableViewData().

void KexiTableViewData::clearRowEditBuffer  ) 
 

Clears and initializes internal row edit buffer for incoming editing. Creates buffer using KexiDB::RowEditBuffer(false) (false means not db-aware type) if our data is not db-aware, or db-aware buffer if data is db-aware (isDBAware()==true).

See also:
KexiDB::RowEditBuffer

Definition at line 561 of file kexitableviewdata.cpp.

References KexiDB::RowEditBuffer::clear(), isDBAware(), and m_pRowEditBuffer.

Referenced by KexiDataAwareObjectInterface::cancelRowEdit(), clearInternal(), KexiTableView::createEditor(), and KexiFormScrollView::createEditor().

int KexiTableViewData::cmpBLOB Item  item1,
Item  item2
[protected]
 

Compare function for BLOB data (QByteArray). Uses size as the weight.

Definition at line 537 of file kexitableviewdata.cpp.

References CMP_NULLS, m_leftTmp, and m_rightTmp.

Referenced by setSorting().

int KexiTableViewData::cmpDate Item  item1,
Item  item2
[protected]
 

Definition at line 481 of file kexitableviewdata.cpp.

References CAST_AND_COMPARE.

Referenced by setSorting().

int KexiTableViewData::cmpDateTime Item  item1,
Item  item2
[protected]
 

Definition at line 486 of file kexitableviewdata.cpp.

References CAST_AND_COMPARE.

Referenced by setSorting().

int KexiTableViewData::cmpDouble Item  item1,
Item  item2
[protected]
 

Definition at line 476 of file kexitableviewdata.cpp.

References CAST_AND_COMPARE.

Referenced by setSorting().

int KexiTableViewData::cmpInt Item  item1,
Item  item2
[protected]
 

Definition at line 456 of file kexitableviewdata.cpp.

References CAST_AND_COMPARE.

Referenced by setSorting().

int KexiTableViewData::cmpLongLong Item  item1,
Item  item2
[protected]
 

Definition at line 466 of file kexitableviewdata.cpp.

References CAST_AND_COMPARE.

Referenced by setSorting().

int KexiTableViewData::cmpStr Item  item1,
Item  item2
[protected]
 

Definition at line 496 of file kexitableviewdata.cpp.

References charTable, CMP_NULLS, m_leftTmp, m_order, and m_rightTmp.

Referenced by setSorting().

int KexiTableViewData::cmpTime Item  item1,
Item  item2
[protected]
 

Definition at line 491 of file kexitableviewdata.cpp.

References CAST_AND_COMPARE.

Referenced by setSorting().

int KexiTableViewData::cmpUInt Item  item1,
Item  item2
[protected]
 

Definition at line 461 of file kexitableviewdata.cpp.

References CAST_AND_COMPARE.

Referenced by setSorting().

int KexiTableViewData::cmpULongLong Item  item1,
Item  item2
[protected]
 

Definition at line 471 of file kexitableviewdata.cpp.

References CAST_AND_COMPARE.

Referenced by setSorting().

KexiTableViewColumn* KexiTableViewData::column uint  c  )  [inline]
 

Definition at line 294 of file kexitableviewdata.h.

Referenced by KexiTableView::adjustColumnWidthToContents(), KFormDesigner::ConnectionDialog::checkConnection(), KexiFormScrollView::column(), KexiDataAwareObjectInterface::column(), KexiTableView::copySelection(), KexiTableView::createEditor(), KexiTableView::editor(), KexiTableView::editorShowFocus(), KexiTableView::field(), KexiTableView::isDefaultValueDisplayed(), KexiTableView::keyPressEvent(), and KexiTableView::paintCell().

uint KexiTableViewData::columnsCount  )  const [inline]
 

Definition at line 292 of file kexitableviewdata.h.

Referenced by KexiTableView::columnPos(), and KexiDataAwareObjectInterface::initDataContents().

int KexiTableViewData::compareItems Item  item1,
Item  item2
[protected, virtual]
 

Definition at line 434 of file kexitableviewdata.cpp.

References cmpFunc.

bool KexiTableViewData::containsROWIDInfo  )  const [inline]
 

Returns:
true if ROWID information is stored within every row. Only reasonable for db-aware version. ROWID information is available if DriverBehaviour::ROW_ID_FIELD_RETURNS_LAST_AUTOINCREMENTED_VALUE == false for a KexiDB database driver and a table has no primary key defined. Phisically, ROWID information is stored after last KexiTableItem's element, so every KexiTableItem's length is expanded by one.

Definition at line 425 of file kexitableviewdata.h.

virtual uint KexiTableViewData::count  )  const [inline, virtual]
 

Definition at line 406 of file kexitableviewdata.h.

Referenced by clearInternal(), KexiTableView::contentsMousePressEvent(), KexiTableView::contentsMouseReleaseEvent(), KexiDataAwareObjectInterface::deleteAllRows(), KexiTableView::handleContentsMousePressOrRelease(), KexiDataAwareObjectInterface::handleKeyPress(), KexiSimplePrintingEngine::init(), insertRow(), KexiTableView::keyPressEvent(), KexiSimplePrintingEngine::paintPage(), KexiDataAwareObjectInterface::reloadData(), KexiTableView::rowAt(), and KexiDataAwareObjectInterface::rows().

KexiTableItem* KexiTableViewData::createItem  )  const [inline]
 

Definition at line 427 of file kexitableviewdata.h.

Referenced by KexiTableView::createEditor(), KexiFormScrollView::createEditor(), KexiDataAwareObjectInterface::deleteAllRows(), KexiDataAwareObjectInterface::deleteItem(), KexiTableDesignerView::initData(), KexiDataAwareObjectInterface::insertEmptyRow(), KexiComboBoxPopup::setData(), KFormDesigner::ConnectionDialog::updateSignalList(), KFormDesigner::ConnectionDialog::updateSlotList(), and KFormDesigner::ConnectionDialog::updateTableData().

Iterator* KexiTableViewData::createIterator  )  [inline]
 

Definition at line 417 of file kexitableviewdata.h.

KexiDB::Cursor* KexiTableViewData::cursor  )  const [inline]
 

Definition at line 290 of file kexitableviewdata.h.

Referenced by KexiTableView::editor().

QString KexiTableViewData::dbTableName  )  const
 

For db-aware data set only: table name is returned; equivalent to cursor()->query()->parentTable()->name().

Definition at line 379 of file kexitableviewdata.cpp.

References m_cursor.

Referenced by KexiDataAwareObjectInterface::deleteAllRows().

bool KexiTableViewData::deleteAllRows bool  repaint = false  )  [virtual]
 

Deletes all rows. Works either for db-aware and non db-aware tables. Column's definition is not changed. For db-aware version, all rows are removed from a database. Row-edit buffer is cleared.

If repaint is true, reloadRequested() signal is emitted after deleting (if at least one row was deleted), so presenters can repaint their contents.

Returns:
true on success.

Definition at line 821 of file kexitableviewdata.cpp.

References clearInternal(), m_cursor, and reloadRequested().

Referenced by KexiDataAwareObjectInterface::deleteAllRows(), KexiTableDesignerView::initData(), KFormDesigner::ConnectionDialog::updateSignalList(), and KFormDesigner::ConnectionDialog::updateSlotList().

void KexiTableViewData::deleteLater  )  [slot]
 

Definition at line 345 of file kexitableviewdata.cpp.

References m_cursor.

bool KexiTableViewData::deleteRow KexiTableItem item,
bool  repaint = false
 

Definition at line 749 of file kexitableviewdata.cpp.

References aboutToDeleteRow(), KexiDB::ResultInfo::clear(), KexiDB::getHTMLErrorMesage(), m_containsROWIDInfo, m_cursor, m_result, KexiDB::ResultInfo::msg, rowDeleted(), and KexiDB::ResultInfo::success.

Referenced by KexiDataAwareObjectInterface::deleteItem().

void KexiTableViewData::deleteRows const QValueList< int > &  rowsToDelete,
bool  repaint = false
 

Deletes rows (by number) passed with rowsToDelete. Currently, this method is only for non data-aware tables.

Definition at line 777 of file kexitableviewdata.cpp.

References first(), and rowsDeleted().

void KexiTableViewData::destroying  )  [signal]
 

Referenced by ~KexiTableViewData().

int KexiTableViewData::findRef const KexiTableItem item  )  [inline]
 

Definition at line 410 of file kexitableviewdata.h.

Referenced by KexiDataAwareObjectInterface::slotAboutToDeleteRow(), KexiDataAwareObjectInterface::slotRowInserted(), KexiTableView::slotRowRepaintRequested(), and KexiDataAwareObjectInterface::sort().

KexiTableItem* KexiTableViewData::first  )  [inline]
 

Definition at line 408 of file kexitableviewdata.h.

Referenced by deleteRows(), and KexiTableView::print().

int KexiTableViewData::globalColumnID int  visibleID  )  [inline]
 

Definition at line 279 of file kexitableviewdata.h.

Referenced by KexiTableView::columnAt().

void KexiTableViewData::init const QValueList< QVariant > &  keys,
const QValueList< QVariant > &  values,
KexiDB::Field::Type  keyType,
KexiDB::Field::Type  valueType
[protected]
 

Definition at line 296 of file kexitableviewdata.cpp.

References addColumn(), append(), init(), KexiDB::Field::setPrimaryKey(), and KexiTableViewColumn::setVisible().

void KexiTableViewData::init  )  [protected]
 

Definition at line 322 of file kexitableviewdata.cpp.

References columns, m_autoIncrementedColumn, m_containsROWIDInfo, m_cursor, m_globalColumnsIDs, m_insertingEnabled, m_itemSize, m_order, m_pRowEditBuffer, m_readOnly, m_realSortedColumn, m_sortedColumn, m_type, m_visibleColumnsCount, and m_visibleColumnsIDs.

Referenced by init(), and KexiTableViewData().

void KexiTableViewData::insertRow KexiTableItem item,
uint  index,
bool  repaint = false
 

Inserts new item at index index. item will be owned by this data object. Note: Reasonable only for not not-db-aware version.

Definition at line 797 of file kexitableviewdata.cpp.

References count(), and rowInserted().

Referenced by KexiDataAwareObjectInterface::insertItem().

bool KexiTableViewData::isDBAware  )  [inline]
 

Returns:
true if this db-aware data set.

Definition at line 284 of file kexitableviewdata.h.

Referenced by clearRowEditBuffer(), and updateRowEditBufferRef().

bool KexiTableViewData::isEmpty  )  const [inline]
 

Definition at line 407 of file kexitableviewdata.h.

Referenced by KexiTableView::adjustColumnWidthToContents().

virtual bool KexiTableViewData::isInsertingEnabled  )  const [inline, virtual]
 

Returns:
true if data inserting is enabled (the default).

Definition at line 310 of file kexitableviewdata.h.

Referenced by KexiDataAwareObjectInterface::isInsertingEnabled(), and KexiDataAwareObjectInterface::setInsertingEnabled().

bool KexiTableViewData::isReadOnly  )  const [virtual]
 

Returns:
true if data is not editable. Can be set using setReadOnly() but it's still true if database cursor returned by cursor() is not 0 and has read-only connection.

Definition at line 872 of file kexitableviewdata.cpp.

References m_cursor, and m_readOnly.

Referenced by KexiDataAwareObjectInterface::isReadOnly(), and KexiDataAwareObjectInterface::setReadOnly().

Iterator KexiTableViewData::iterator  )  [inline]
 

Definition at line 416 of file kexitableviewdata.h.

Referenced by KexiTableView::adjustColumnWidthToContents(), KexiTableView::drawContents(), KexiComboBoxBase::rowToHighlightForLookupTable(), KexiComboBoxBase::selectItemForEnteredValueInLookupTable(), and KexiComboBoxBase::valueForString().

KexiTableItem* KexiTableViewData::last  )  [inline]
 

Definition at line 409 of file kexitableviewdata.h.

Referenced by KexiDataAwareObjectInterface::deleteItem().

void KexiTableViewData::preloadAllRows  ) 
 

Preloads all rows provided by cursor (only for db-aware version).

Todo:
change to bool and return false on error!

Definition at line 852 of file kexitableviewdata.cpp.

References append(), and m_cursor.

Referenced by KexiSimplePrintingEngine::init(), KexiFormView::initDataSource(), and KexiDataTableView::setData().

void KexiTableViewData::prepend const KexiTableItem item  )  [inline]
 

Definition at line 415 of file kexitableviewdata.h.

void KexiTableViewData::reload  )  [inline]
 

Emits reloadRequested() signal to reload presenters.

Definition at line 403 of file kexitableviewdata.h.

Referenced by KexiDataAwareObjectInterface::deleteAllRows().

void KexiTableViewData::reloadRequested  )  [signal]
 

Displayed data needs to be reloaded in all presenters.

Referenced by deleteAllRows().

bool KexiTableViewData::removeFirst  )  [inline]
 

Definition at line 412 of file kexitableviewdata.h.

bool KexiTableViewData::removeLast  )  [inline]
 

Definition at line 413 of file kexitableviewdata.h.

Referenced by KexiDataAwareObjectInterface::cancelRowEdit(), and clearInternal().

KexiDB::ResultInfo* KexiTableViewData::result  )  [inline]
 

Returns:
last operation's result information (always not null).

Definition at line 359 of file kexitableviewdata.h.

Referenced by KexiDataAwareObjectInterface::acceptEditor(), KexiDataAwareObjectInterface::acceptRowEdit(), and KexiDataAwareObjectInterface::deleteItem().

void KexiTableViewData::rowDeleted  )  [signal]
 

Current row has been deleted.

Referenced by deleteRow().

KexiDB::RowEditBuffer* KexiTableViewData::rowEditBuffer  )  const [inline]
 

Definition at line 356 of file kexitableviewdata.h.

Referenced by KexiDataAwareObjectInterface::acceptEditor(), KexiDataAwareObjectInterface::acceptRowEdit(), KexiDataAwareObjectInterface::bufferedValueAt(), KexiTableView::getVisibleLookupValue(), and KexiDataAwareObjectInterface::hasDefaultValueAt().

void KexiTableViewData::rowInserted KexiTableItem ,
uint  index,
bool  repaint
[signal]
 

A row has been inserted at index position (not db-aware data only).

void KexiTableViewData::rowInserted KexiTableItem ,
bool  repaint
[signal]
 

A row has been inserted.

Referenced by insertRow(), and saveNewRow().

void KexiTableViewData::rowRepaintRequested KexiTableItem  )  [signal]
 

Referenced by saveRow().

void KexiTableViewData::rowsDeleted const QValueList< int > &  rowsToDelete  )  [signal]
 

Rows have been deleted.

Referenced by deleteRows().