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 | 9c49a74a165b8535c28ccbb2fad37334989b2fc7 (patch) | |
tree | f1d72ed61fc64441880b26359d03c58f78b95ada /kate | |
parent | 42037fa1562f00d75f02d019c039d51b2c27cc6f (diff) | |
download | tdelibs-9c49a74a165b8535c28ccbb2fad37334989b2fc7.tar.gz tdelibs-9c49a74a165b8535c28ccbb2fad37334989b2fc7.zip |
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate')
-rw-r--r-- | kate/part/katedocument.cpp | 12 | ||||
-rw-r--r-- | kate/part/katedocument.h | 2 | ||||
-rw-r--r-- | kate/part/kateschema.cpp | 2 | ||||
-rw-r--r-- | kate/part/katesearch.cpp | 2 | ||||
-rw-r--r-- | kate/part/kateview.cpp | 6 | ||||
-rw-r--r-- | kate/part/kateview.h | 2 |
6 files changed, 13 insertions, 13 deletions
diff --git a/kate/part/katedocument.cpp b/kate/part/katedocument.cpp index 3f26d2bb5..dbab1ef08 100644 --- a/kate/part/katedocument.cpp +++ b/kate/part/katedocument.cpp @@ -2050,7 +2050,7 @@ void KateDocument::clearMark( uint line ) emit marksChanged(); delete mark; tagLines( line, line ); - tqrepaintViews(true); + repaintViews(true); } void KateDocument::addMark( uint line, uint markType ) @@ -2087,7 +2087,7 @@ void KateDocument::addMark( uint line, uint markType ) emit marksChanged(); tagLines( line, line ); - tqrepaintViews(true); + repaintViews(true); } void KateDocument::removeMark( uint line, uint markType ) @@ -2119,7 +2119,7 @@ void KateDocument::removeMark( uint line, uint markType ) emit marksChanged(); tagLines( line, line ); - tqrepaintViews(true); + repaintViews(true); } TQPtrList<KTextEditor::Mark> KateDocument::marks() @@ -2146,7 +2146,7 @@ void KateDocument::clearMarks() m_marks.clear(); emit marksChanged(); - tqrepaintViews(true); + repaintViews(true); } void KateDocument::setPixmap( MarkInterface::MarkTypes type, const TQPixmap& pixmap ) @@ -4112,10 +4112,10 @@ void KateDocument::tagLines(KateTextCursor start, KateTextCursor end) m_views.tqat(z)->tagLines(start, end, true); } -void KateDocument::tqrepaintViews(bool paintOnlyDirty) +void KateDocument::repaintViews(bool paintOnlyDirty) { for (uint z = 0; z < m_views.count(); z++) - m_views.tqat(z)->tqrepaintText(paintOnlyDirty); + m_views.tqat(z)->repaintText(paintOnlyDirty); } void KateDocument::tagAll() diff --git a/kate/part/katedocument.h b/kate/part/katedocument.h index 37d9b24e9..5c426761b 100644 --- a/kate/part/katedocument.h +++ b/kate/part/katedocument.h @@ -608,7 +608,7 @@ class KateDocument : public Kate::Document, void setConfigFlags (uint flags); // Repaint all of all of the views - void tqrepaintViews(bool paintOnlyDirty = true); + void repaintViews(bool paintOnlyDirty = true); inline KateHighlighting *highlight () { return m_buffer->highlight(); } diff --git a/kate/part/kateschema.cpp b/kate/part/kateschema.cpp index 5adb89b9c..2b5e2342e 100644 --- a/kate/part/kateschema.cpp +++ b/kate/part/kateschema.cpp @@ -1492,7 +1492,7 @@ void KateStyleListItem::paintCell( TQPainter *p, const TQColorGroup& /*cg*/, int } TQFont f ( ((KateStyleListView*)lv)->docfont ); p->setFont( is->font(f) ); - // FIXME - tqrepainting when text is cropped, and the column is enlarged is buggy. + // FIXME - repainting when text is cropped, and the column is enlarged is buggy. // Maybe I need painting the string myself :( // (wilbert) it depends on the font used TQListViewItem::paintCell( p, mcg, col, width, align ); diff --git a/kate/part/katesearch.cpp b/kate/part/katesearch.cpp index 6ef973030..951316671 100644 --- a/kate/part/katesearch.cpp +++ b/kate/part/katesearch.cpp @@ -110,7 +110,7 @@ void KateSearch::find() } delete findDialog; - m_view->tqrepaintText (); + m_view->repaintText (); } void KateSearch::find( const TQString &pattern, long flags, bool add, bool shownotfound ) diff --git a/kate/part/kateview.cpp b/kate/part/kateview.cpp index bdc11f7cf..cfe6288a7 100644 --- a/kate/part/kateview.cpp +++ b/kate/part/kateview.cpp @@ -1305,7 +1305,7 @@ void KateView::clear () m_viewInternal->clear (); } -void KateView::tqrepaintText (bool paintOnlyDirty) +void KateView::repaintText (bool paintOnlyDirty) { m_viewInternal->paintText(0,0,m_viewInternal->width(),m_viewInternal->height(), paintOnlyDirty); } @@ -1360,7 +1360,7 @@ bool KateView::setSelection( const KateTextCursor& start, const KateTextCursor& tagSelection(oldSelectStart, oldSelectEnd); - tqrepaintText(true); + repaintText(true); emit selectionChanged (); emit m_doc->selectionChanged (); @@ -1405,7 +1405,7 @@ bool KateView::clearSelection(bool redraw, bool finishedChangingSelection) oldSelectEnd = selectEnd; if (redraw) - tqrepaintText(true); + repaintText(true); if (finishedChangingSelection) { diff --git a/kate/part/kateview.h b/kate/part/kateview.h index 0f62fe440..aa428096d 100644 --- a/kate/part/kateview.h +++ b/kate/part/kateview.h @@ -270,7 +270,7 @@ class KateView : public Kate::View, void clear (); - void tqrepaintText (bool paintOnlyDirty = false); + void repaintText (bool paintOnlyDirty = false); void updateView (bool changed = false); //END |