diff options
Diffstat (limited to 'kexi/widget')
-rw-r--r-- | kexi/widget/kexibrowser.cpp | 2 | ||||
-rw-r--r-- | kexi/widget/kexiscrollview.cpp | 2 | ||||
-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 |
9 files changed, 16 insertions, 16 deletions
diff --git a/kexi/widget/kexibrowser.cpp b/kexi/widget/kexibrowser.cpp index cbaf0e0c..46c7ade9 100644 --- a/kexi/widget/kexibrowser.cpp +++ b/kexi/widget/kexibrowser.cpp @@ -440,7 +440,7 @@ KexiBrowser::slotContextMenu(KListView* /*list*/, TQListViewItem *item, const TQ m_newObjectAction->setText(i18n("&Create Object...")); m_newObjectAction->setIconSet( SmallIconSet(bit->info()->itemIcon()) );*/ m_list->setCurrentItem(item); - m_list->tqrepaintItem(item); + m_list->repaintItem(item); } if (pm) pm->exec(pos); diff --git a/kexi/widget/kexiscrollview.cpp b/kexi/widget/kexiscrollview.cpp index 569d61f8..64d03681 100644 --- a/kexi/widget/kexiscrollview.cpp +++ b/kexi/widget/kexiscrollview.cpp @@ -175,7 +175,7 @@ KexiScrollView::refreshContentsSize() if (change) { tqrepaint(); viewport()->tqrepaint(); - tqrepaintContents(); + repaintContents(); updateContents(0, 0, 2000,2000); clipper()->tqrepaint(); diff --git a/kexi/widget/tableview/kexiblobtableedit.cpp b/kexi/widget/tableview/kexiblobtableedit.cpp index 0d19981a..4352c260 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 e85d0c73..a9220ea8 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 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) diff --git a/kexi/widget/tableview/kexitableedit.cpp b/kexi/widget/tableview/kexitableedit.cpp index 6a9008f1..fd4870fb 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 d8ac7c86..1d9378b0 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 229f909c..799a1a8b 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 f06fce10..6c03215b 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; |