diff options
Diffstat (limited to 'kexi/widget/tableview')
| -rw-r--r-- | kexi/widget/tableview/kexiblobtableedit.cpp | 4 | ||||
| -rw-r--r-- | kexi/widget/tableview/kexibooltableedit.cpp | 4 | ||||
| -rw-r--r-- | kexi/widget/tableview/kexidataawareobjectiface.cpp | 8 | ||||
| -rw-r--r-- | kexi/widget/tableview/kexitableedit.cpp | 2 | ||||
| -rw-r--r-- | kexi/widget/tableview/kexitableedit.h | 2 | ||||
| -rw-r--r-- | kexi/widget/tableview/kexitableview.cpp | 6 | ||||
| -rw-r--r-- | kexi/widget/tableview/kexitableview.h | 2 |
7 files changed, 14 insertions, 14 deletions
diff --git a/kexi/widget/tableview/kexiblobtableedit.cpp b/kexi/widget/tableview/kexiblobtableedit.cpp index 0d19981a1..4352c2604 100644 --- a/kexi/widget/tableview/kexiblobtableedit.cpp +++ b/kexi/widget/tableview/kexiblobtableedit.cpp @@ -328,7 +328,7 @@ void KexiBlobTableEdit::handlePasteAction() } signalEditRequested(); //emit acceptRequested(); - tqrepaintRelatedCell(); + repaintRelatedCell(); } void KexiBlobTableEdit::clear() @@ -336,7 +336,7 @@ void KexiBlobTableEdit::clear() setValueInternal( TQByteArray(), true ); signalEditRequested(); //emit acceptRequested(); - tqrepaintRelatedCell(); + repaintRelatedCell(); } void KexiBlobTableEdit::handleShowPropertiesAction() diff --git a/kexi/widget/tableview/kexibooltableedit.cpp b/kexi/widget/tableview/kexibooltableedit.cpp index e85d0c73e..a9220ea81 100644 --- a/kexi/widget/tableview/kexibooltableedit.cpp +++ b/kexi/widget/tableview/kexibooltableedit.cpp @@ -144,7 +144,7 @@ void KexiBoolTableEdit::handleAction(const TQString& actionName) ? TQVariant(0, false)/*0 instead of NULL - handle case when null is not allowed*/ : TQVariant(); } - tqrepaintRelatedCell(); + repaintRelatedCell(); } else if (actionName=="edit_cut") { emit editRequested(); @@ -153,7 +153,7 @@ void KexiBoolTableEdit::handleAction(const TQString& actionName) ? TQVariant(0, false)/*0 instead of NULL - handle case when null is not allowed*/ : TQVariant(); handleCopyAction(m_origValue, TQVariant()); - tqrepaintRelatedCell(); + repaintRelatedCell(); } } diff --git a/kexi/widget/tableview/kexidataawareobjectiface.cpp b/kexi/widget/tableview/kexidataawareobjectiface.cpp index 5c90eb060..95ed31c0c 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) diff --git a/kexi/widget/tableview/kexitableedit.cpp b/kexi/widget/tableview/kexitableedit.cpp index 6a9008f1c..fd4870fbd 100644 --- a/kexi/widget/tableview/kexitableedit.cpp +++ b/kexi/widget/tableview/kexitableedit.cpp @@ -213,7 +213,7 @@ int KexiTableEdit::widthForValue( TQVariant &val, const TQFontMetrics &fm ) return fm.width( val.toString() ); } -void KexiTableEdit::tqrepaintRelatedCell() +void KexiTableEdit::repaintRelatedCell() { if (dynamic_cast<KexiDataAwareObjectInterface*>(m_scrollView)) dynamic_cast<KexiDataAwareObjectInterface*>(m_scrollView)->updateCurrentCell(); diff --git a/kexi/widget/tableview/kexitableedit.h b/kexi/widget/tableview/kexitableedit.h index d8ac7c86a..1d9378b0c 100644 --- a/kexi/widget/tableview/kexitableedit.h +++ b/kexi/widget/tableview/kexitableedit.h @@ -190,7 +190,7 @@ class KEXIDATATABLE_EXPORT KexiTableEdit : public TQWidget, public KexiDataItemI /*! Allows to force redrawing the related cell by the editor itself. Usable when the editor is not displayed by a TQWidget but rather by table view cell itself, for example KexiBlobTableEdit. */ - void tqrepaintRelatedCell(); + void repaintRelatedCell(); KexiTableViewColumn *m_column; int m_leftMargin; diff --git a/kexi/widget/tableview/kexitableview.cpp b/kexi/widget/tableview/kexitableview.cpp index 229f909c5..799a1a8bf 100644 --- a/kexi/widget/tableview/kexitableview.cpp +++ b/kexi/widget/tableview/kexitableview.cpp @@ -1159,7 +1159,7 @@ void KexiTableView::contentsMouseMoveEvent( TQMouseEvent *e ) d->highlightedRow = row; updateRow(oldRow); updateRow(d->highlightedRow); - //currently selected (not necessary highlighted) row needs to be tqrepainted + //currently selected (not necessary highlighted) row needs to be repainted updateRow(m_curRow); m_verticalHeader->setHighlightedRow(d->highlightedRow); } @@ -1813,7 +1813,7 @@ void KexiTableView::slotColumnWidthChanged( int, int, int ) viewport()->setUpdatesEnabled(true); if (contentsWidth() < w) { updateContents(contentsX(), 0, viewport()->width(), contentsHeight()); -// tqrepaintContents( s.width(), 0, w - s.width() + 1, contentsHeight(), true ); +// repaintContents( s.width(), 0, w - s.width() + 1, contentsHeight(), true ); } else { // updateContents( columnPos(col), 0, contentsWidth(), contentsHeight() ); @@ -2581,7 +2581,7 @@ void KexiTableView::setHighlightedRow(int row) if (m_curRow>=0 && (previouslyHighlightedRow==-1 || previouslyHighlightedRow==m_curRow) && d->highlightedRow!=m_curRow && !d->appearance.persistentSelections) { - //currently selected row needs to be tqrepainted + //currently selected row needs to be repainted updateRow(m_curRow); } } diff --git a/kexi/widget/tableview/kexitableview.h b/kexi/widget/tableview/kexitableview.h index f06fce101..6c03215bd 100644 --- a/kexi/widget/tableview/kexitableview.h +++ b/kexi/widget/tableview/kexitableview.h @@ -627,7 +627,7 @@ protected: KexiTableItem *item, KexiTableViewColumn *tvcol) const; // //! Called to tqrepaint contents after a row is deleted. -// void tqrepaintAfterDelete(); +// void repaintAfterDelete(); KexiTableViewPrivate *d; |
