diff options
Diffstat (limited to 'quanta/src')
-rw-r--r-- | quanta/src/document.cpp | 4 | ||||
-rw-r--r-- | quanta/src/document.h | 4 | ||||
-rw-r--r-- | quanta/src/quanta.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/quanta/src/document.cpp b/quanta/src/document.cpp index 7c2ff3f1..c0dc3816 100644 --- a/quanta/src/document.cpp +++ b/quanta/src/document.cpp @@ -193,7 +193,7 @@ Document::Document(KTextEditor::Document *doc, m_tempFileName = TQString(); dtdName = Project::ref()->defaultDTD(); reparseEnabled = true; - tqrepaintEnabled = true; + repaintEnabled = true; delayedTextChangedEnabled = true; docUndoRedo = new undoRedo(this); @@ -2632,7 +2632,7 @@ TQStringList Document::tagAreas(const TQString& tag, bool includeCoordinates, bo void Document::activateRepaintView(bool activation) { - tqrepaintEnabled = activation; + repaintEnabled = activation; m_view->setUpdatesEnabled(activation); } diff --git a/quanta/src/document.h b/quanta/src/document.h index 975b9f31..639ff27d 100644 --- a/quanta/src/document.h +++ b/quanta/src/document.h @@ -172,7 +172,7 @@ work correctly. */ /** disable/enable the tqrepaint of the Kate view */ void activateRepaintView(bool activation); - bool RepaintViewActivated() {return tqrepaintEnabled;} + bool RepaintViewActivated() {return repaintEnabled;} void setErrorMark(int line); void clearErrorMarks(); @@ -307,7 +307,7 @@ private: bool argHintVisible; bool hintRequested; bool reparseEnabled; - bool tqrepaintEnabled; + bool repaintEnabled; bool delayedTextChangedEnabled; /** True if the document is dirty (has been modified outside). */ bool m_dirty; diff --git a/quanta/src/quanta.h b/quanta/src/quanta.h index 404a9329..811fa60c 100644 --- a/quanta/src/quanta.h +++ b/quanta/src/quanta.h @@ -290,7 +290,7 @@ public slots: void slotRepaintPreview(); /** toggles showing the preview */ void slotToggleShowPreview(); - /** Shows the preview widget and tqrepaints the preview or + /** Shows the preview widget and repaints the preview or hides the preview widget and restores the original document */ void slotShowPreviewWidget(bool show); |