From dcb06497ea70d050554422eec10b0756d926a5c0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 7 Jul 2011 21:14:06 +0000 Subject: Rename incorrect instances of tqrepaint[...] to repaint[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kwordquiz/src/kwordquizdoc.cpp | 2 +- kwordquiz/src/kwordquizdoc.h | 2 +- kwordquiz/src/kwordquizview.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kwordquiz') diff --git a/kwordquiz/src/kwordquizdoc.cpp b/kwordquiz/src/kwordquizdoc.cpp index 9325c5bb..c8c6cdd7 100644 --- a/kwordquiz/src/kwordquizdoc.cpp +++ b/kwordquiz/src/kwordquizdoc.cpp @@ -317,7 +317,7 @@ bool KWordQuizDoc::openDocument(const KURL& url, bool append, int index) } g->setUpdatesEnabled(true); - g->tqrepaintContents(); + g->repaintContents(); } modified=false; if (append) diff --git a/kwordquiz/src/kwordquizdoc.h b/kwordquiz/src/kwordquizdoc.h index 724b8f61..73b0db0d 100644 --- a/kwordquiz/src/kwordquizdoc.h +++ b/kwordquiz/src/kwordquizdoc.h @@ -77,7 +77,7 @@ class KWordQuizDoc : public TQObject public slots: /** calls tqrepaint() on all views connected to the document object and is called by the view by which the document has been changed. - * As this view normally tqrepaints itself, it is excluded from the paintEvent. + * As this view normally repaints itself, it is excluded from the paintEvent. */ void slotUpdateAllViews(KWordQuizView *sender); void slotModifiedOnDisk(const TQString &); diff --git a/kwordquiz/src/kwordquizview.cpp b/kwordquiz/src/kwordquizview.cpp index 6db0f3a9..568b23fd 100644 --- a/kwordquiz/src/kwordquizview.cpp +++ b/kwordquiz/src/kwordquizview.cpp @@ -555,7 +555,7 @@ void KWordQuizView::doEditInsert( ) addSelection(TQTableSelection(m_currentSel.topRow(), m_currentSel.leftCol(), m_currentSel.bottomRow(), m_currentSel.rightCol())); setCurrentCell(m_currentRow, m_currentCol); setUpdatesEnabled(true); - tqrepaintContents(); + repaintContents(); getDocument()->setModified(true); } @@ -805,7 +805,7 @@ void KWordQuizView::doVocabShuffle( ) addSelection(TQTableSelection(m_currentSel.topRow(), m_currentSel.leftCol(), m_currentSel.bottomRow(), m_currentSel.rightCol())); setCurrentCell(m_currentRow, m_currentCol); setUpdatesEnabled(true); - tqrepaintContents(); + repaintContents(); getDocument()->setModified(true); } -- cgit v1.2.1