diff options
Diffstat (limited to 'kwordquiz/src')
-rw-r--r-- | kwordquiz/src/kwordquizdoc.cpp | 2 | ||||
-rw-r--r-- | kwordquiz/src/kwordquizdoc.h | 2 | ||||
-rw-r--r-- | kwordquiz/src/kwordquizview.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
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); } |