summaryrefslogtreecommitdiffstats
path: root/kexi/widget/tableview/kexidataawareobjectiface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/tableview/kexidataawareobjectiface.cpp')
-rw-r--r--kexi/widget/tableview/kexidataawareobjectiface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/widget/tableview/kexidataawareobjectiface.cpp b/kexi/widget/tableview/kexidataawareobjectiface.cpp
index 5c90eb06..95ed31c0 100644
--- a/kexi/widget/tableview/kexidataawareobjectiface.cpp
+++ b/kexi/widget/tableview/kexidataawareobjectiface.cpp
@@ -1339,10 +1339,10 @@ tristate KexiDataAwareObjectInterface::deleteAllRows(bool ask, bool tqrepaint)
cancelRowEdit();
// acceptRowEdit();
// m_verticalHeader->clear();
- const bool tqrepaintLater = tqrepaint && m_spreadSheetMode;
+ const bool repaintLater = tqrepaint && m_spreadSheetMode;
const int oldRows = rows();
- bool res = m_data->deleteAllRows(tqrepaint && !tqrepaintLater);
+ bool res = m_data->deleteAllRows(tqrepaint && !repaintLater);
if (res) {
if (m_spreadSheetMode) {
@@ -1352,7 +1352,7 @@ tristate KexiDataAwareObjectInterface::deleteAllRows(bool ask, bool tqrepaint)
}
}
}
- if (tqrepaintLater)
+ if (repaintLater)
m_data->reload();
// d->clearVariables();
@@ -1547,7 +1547,7 @@ bool KexiDataAwareObjectInterface::deleteItem(KexiTableItem *item)/*, bool moveC
//d->pCurrentItem = m_data->current();
}
-// tqrepaintAfterDelete();
+// repaintAfterDelete();
if (m_spreadSheetMode) { //append empty row for spreadsheet mode
m_data->append(m_data->createItem());//new KexiTableItem(m_data->columns.count()));
if (m_verticalHeader)