diff options
Diffstat (limited to 'kexi/widget/tableview/kexitableviewdata.h')
-rw-r--r-- | kexi/widget/tableview/kexitableviewdata.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kexi/widget/tableview/kexitableviewdata.h b/kexi/widget/tableview/kexitableviewdata.h index 7263f3fe..eb3d20df 100644 --- a/kexi/widget/tableview/kexitableviewdata.h +++ b/kexi/widget/tableview/kexitableviewdata.h @@ -359,27 +359,27 @@ public: /*! \return last operation's result information (always not null). */ inline KexiDB::ResultInfo* result() { return &m_result; } - bool saveRowChanges(KexiTableItem& item, bool tqrepaint = false); + bool saveRowChanges(KexiTableItem& item, bool repaint = false); - bool saveNewRow(KexiTableItem& item, bool tqrepaint = false); + bool saveNewRow(KexiTableItem& item, bool repaint = false); - bool deleteRow(KexiTableItem& item, bool tqrepaint = false); + bool deleteRow(KexiTableItem& item, bool repaint = false); /*! Deletes rows (by number) passed with \a rowsToDelete. Currently, this method is only for non data-aware tables. */ - void deleteRows( const TQValueList<int> &rowsToDelete, bool tqrepaint = false ); + void deleteRows( const TQValueList<int> &rowsToDelete, bool repaint = false ); /*! 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 \a tqrepaint is true, reloadRequested() signal + If \a repaint is true, reloadRequested() signal is emitted after deleting (if at least one row was deleted), - so presenters can tqrepaint their contents. + so presenters can repaint their contents. \return true on success. */ - virtual bool deleteAllRows(bool tqrepaint = false); + virtual bool deleteAllRows(bool repaint = false); /*! @internal method, used mostly by specialized classes like KexiTableView. Clears internal row structures. Row-edit buffer is cleared. @@ -390,7 +390,7 @@ public: /*! Inserts new \a item at index \a index. \a item will be owned by this data object. Note: Reasonable only for not not-db-aware version. */ - void insertRow(KexiTableItem& item, uint index, bool tqrepaint = false); + void insertRow(KexiTableItem& item, uint index, bool repaint = false); /*TODO: add this as well? void insertRow(KexiTableItem& item, KexiTableItem& aboveItem); */ @@ -445,7 +445,7 @@ signals: /*! Emited before inserting of a new, current row. Connect this signal to your slot and set \a result->success to false to disallow this inserting. You can also change columns in \a item row. */ - void aboutToInsertRow(KexiTableItem *item, KexiDB::ResultInfo* result, bool tqrepaint); + void aboutToInsertRow(KexiTableItem *item, KexiDB::ResultInfo* result, bool repaint); /*! Emited before changing of an edited, current row. Connect this signal to your slot and set \a result->success to false @@ -455,15 +455,15 @@ signals: void rowUpdated(KexiTableItem*); //!< Current row has been updated - void rowInserted(KexiTableItem*, bool tqrepaint); //!< A row has been inserted + void rowInserted(KexiTableItem*, bool repaint); //!< A row has been inserted //! A row has been inserted at \a index position (not db-aware data only) - void rowInserted(KexiTableItem*, uint index, bool tqrepaint); + void rowInserted(KexiTableItem*, uint index, bool repaint); /*! Emited before deleting of a current row. Connect this signal to your slot and set \a result->success to false to disallow this deleting. */ - void aboutToDeleteRow(KexiTableItem& item, KexiDB::ResultInfo* result, bool tqrepaint); + void aboutToDeleteRow(KexiTableItem& item, KexiDB::ResultInfo* result, bool repaint); //! Current row has been deleted void rowDeleted(); @@ -497,7 +497,7 @@ protected: int cmpBLOB(Item item1, Item item2); //! internal: for saveRowChanges() and saveNewRow() - bool saveRow(KexiTableItem& item, bool insert, bool tqrepaint); + bool saveRow(KexiTableItem& item, bool insert, bool repaint); //! (logical) sorted column number, set by setSorting() //! can differ from m_realSortedColumn if there's lookup column used |