diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
commit | afbfdc507bfaafc8824a9808311d57a9ece87510 (patch) | |
tree | 47be45bbd69c321ce79e14b683e59318748be9cb /kexi | |
parent | 880d042b2902fae8007f202dd35ad9330499867b (diff) | |
download | koffice-afbfdc507bfaafc8824a9808311d57a9ece87510.tar.gz koffice-afbfdc507bfaafc8824a9808311d57a9ece87510.zip |
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi')
-rw-r--r-- | kexi/formeditor/kdevelop_plugin/kfd_kdev_part.cpp | 6 | ||||
-rw-r--r-- | kexi/formeditor/test/kfd_part.cpp | 6 | ||||
-rw-r--r-- | kexi/plugins/forms/kexiformview.cpp | 2 | ||||
-rw-r--r-- | kexi/plugins/forms/widgets/kexidbform.cpp | 6 | ||||
-rw-r--r-- | kexi/plugins/forms/widgets/kexidblabel.cpp | 2 | ||||
-rw-r--r-- | kexi/plugins/importexport/csv/kexicsvimportdialog.cpp | 4 | ||||
-rw-r--r-- | kexi/plugins/reports/kexireportform.cpp | 6 | ||||
-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 |
16 files changed, 32 insertions, 32 deletions
diff --git a/kexi/formeditor/kdevelop_plugin/kfd_kdev_part.cpp b/kexi/formeditor/kdevelop_plugin/kfd_kdev_part.cpp index 2c7d2f01..a79374cd 100644 --- a/kexi/formeditor/kdevelop_plugin/kfd_kdev_part.cpp +++ b/kexi/formeditor/kdevelop_plugin/kfd_kdev_part.cpp @@ -536,7 +536,7 @@ KFormDesignerKDevPart::~KFormDesignerKDevPart() ////// FormWidgetBase : helper widget to draw rects on top of widgets //tqrepaint all tqchildren widgets -static void tqrepaintAll(TQWidget *w) +static void repaintAll(TQWidget *w) { TQObjectList *list = w->queryList(TQWIDGET_OBJECT_NAME_STRING); TQObjectListIt it(*list); @@ -588,7 +588,7 @@ FormWidgetBase::drawRect(const TQRect& r, int type) void FormWidgetBase::initRect() { - tqrepaintAll(this); + repaintAll(this); buffer.resize( width(), height() ); buffer = TQPixmap::grabWindow( winId() ); prev_rect = TQRect(); @@ -609,7 +609,7 @@ FormWidgetBase::clearRect() clearWFlags( WPaintUnclipped ); p.end(); - tqrepaintAll(this); + repaintAll(this); } void diff --git a/kexi/formeditor/test/kfd_part.cpp b/kexi/formeditor/test/kfd_part.cpp index bc481594..0e1745dc 100644 --- a/kexi/formeditor/test/kfd_part.cpp +++ b/kexi/formeditor/test/kfd_part.cpp @@ -559,7 +559,7 @@ KFormDesignerPart::setRedoEnabled(bool enabled, const TQString &text) ////// FormWidgetBase : helper widget to draw rects on top of widgets //tqrepaint all tqchildren widgets -static void tqrepaintAll(TQWidget *w) +static void repaintAll(TQWidget *w) { w->tqrepaint(); TQObjectList *list = w->queryList(TQWIDGET_OBJECT_NAME_STRING); @@ -612,7 +612,7 @@ FormWidgetBase::drawRect(const TQRect& r, int type) void FormWidgetBase::initBuffer() { - tqrepaintAll(this); + repaintAll(this); buffer.resize( width(), height() ); buffer = TQPixmap::grabWindow( winId() ); prev_rect = TQRect(); @@ -633,7 +633,7 @@ FormWidgetBase::clearForm() clearWFlags( WPaintUnclipped ); p.end(); - tqrepaintAll(this); + repaintAll(this); } void diff --git a/kexi/plugins/forms/kexiformview.cpp b/kexi/plugins/forms/kexiformview.cpp index 9a14a0c9..189d515f 100644 --- a/kexi/plugins/forms/kexiformview.cpp +++ b/kexi/plugins/forms/kexiformview.cpp @@ -1219,7 +1219,7 @@ KexiFormView::insertAutoFields(const TQString& sourceMimeType, const TQString& s m_scrollView->tqrepaint(); m_scrollView->viewport()->tqrepaint(); - m_scrollView->tqrepaintContents(); + m_scrollView->repaintContents(); m_scrollView->updateContents(); m_scrollView->clipper()->tqrepaint(); m_scrollView->refreshContentsSize(); diff --git a/kexi/plugins/forms/widgets/kexidbform.cpp b/kexi/plugins/forms/widgets/kexidbform.cpp index 12210430..8c9534d2 100644 --- a/kexi/plugins/forms/widgets/kexidbform.cpp +++ b/kexi/plugins/forms/widgets/kexidbform.cpp @@ -126,7 +126,7 @@ KexiDBForm::~KexiDBForm() KexiDataAwareObjectInterface* KexiDBForm::dataAwareObject() const { return d->dataAwareObject; } //tqrepaint all tqchildren widgets -static void tqrepaintAll(TQWidget *w) +static void repaintAll(TQWidget *w) { TQObjectList *list = w->queryList(TQWIDGET_OBJECT_NAME_STRING); TQObjectListIt it(*list); @@ -182,7 +182,7 @@ KexiDBForm::drawRects(const TQValueList<TQRect> &list, int type) void KexiDBForm::initBuffer() { - tqrepaintAll(this); + repaintAll(this); d->buffer.resize( width(), height() ); d->buffer = TQPixmap::grabWindow( winId() ); d->prev_rect = TQRect(); @@ -203,7 +203,7 @@ KexiDBForm::clearForm() clearWFlags( WPaintUnclipped ); p.end(); - tqrepaintAll(this); + repaintAll(this); } void diff --git a/kexi/plugins/forms/widgets/kexidblabel.cpp b/kexi/plugins/forms/widgets/kexidblabel.cpp index db946141..af539e3d 100644 --- a/kexi/plugins/forms/widgets/kexidblabel.cpp +++ b/kexi/plugins/forms/widgets/kexidblabel.cpp @@ -454,7 +454,7 @@ void KexiDBLabel::updatePixmap() { d->internalLabel->setFixedSize( size() ); d->internalLabel->setPalette( palette() ); d->internalLabel->tqsetAlignment( tqalignment() ); -// d->shadowPixmap = KPixmap(); //parallel tqrepaints won't hurt us cause incomplete pixmap +// d->shadowPixmap = KPixmap(); //parallel repaints won't hurt us cause incomplete pixmap KPixmap shadowPixmap = d->internalLabel->getShadowPixmap(); if (shadowPixmap.isNull()) return; diff --git a/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp b/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp index b7bcb80e..bc3efc62 100644 --- a/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp +++ b/kexi/plugins/importexport/csv/kexicsvimportdialog.cpp @@ -1250,7 +1250,7 @@ void KexiCSVImportDialog::delimiterChanged(const TQString& delimiter) Q_UNUSED(delimiter); m_columnsAdjusted = false; m_detectDelimiter = false; //selected by hand: do not detect in the future - //delayed, otherwise combobox won't be tqrepainted + //delayed, otherwise combobox won't be repainted fillTableLater(); } @@ -1264,7 +1264,7 @@ void KexiCSVImportDialog::textquoteSelected(int) kexipluginsdbg << "KexiCSVImportDialog::textquoteSelected(): " << m_textquote << endl; - //delayed, otherwise combobox won't be tqrepainted + //delayed, otherwise combobox won't be repainted fillTableLater(); } diff --git a/kexi/plugins/reports/kexireportform.cpp b/kexi/plugins/reports/kexireportform.cpp index f77b41a5..11c49c84 100644 --- a/kexi/plugins/reports/kexireportform.cpp +++ b/kexi/plugins/reports/kexireportform.cpp @@ -41,7 +41,7 @@ KexiReportForm::~KexiReportForm() } //tqrepaint all tqchildren widgets -static void tqrepaintAll(TQWidget *w) +static void repaintAll(TQWidget *w) { TQObjectList *list = w->queryList(TQWIDGET_OBJECT_NAME_STRING); TQObjectListIt it(*list); @@ -93,7 +93,7 @@ KexiReportForm::drawRects(const TQValueList<TQRect> &list, int type) void KexiReportForm::initBuffer() { - tqrepaintAll(this); + repaintAll(this); buffer.resize( width(), height() ); buffer = TQPixmap::grabWindow( winId() ); prev_rect = TQRect(); @@ -114,7 +114,7 @@ KexiReportForm::clearForm() clearWFlags( WPaintUnclipped ); p.end(); - tqrepaintAll(this); + repaintAll(this); } void 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; |