Commit f880dc2e authored by Daniel Teske's avatar Daniel Teske
Browse files

Remove ITextMark::documentClosing()



Noone reimplements it anyway.

Change-Id: Ib25e0454aa84424630d2477795bf276579c09a08
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 4f5ba7d7
......@@ -83,7 +83,7 @@ public:
inline bool removeMark(ITextMark *mark) { return m_marks.removeAll(mark); }
inline void clearMarks() { m_marks.clear(); }
inline void documentClosing() { Q_FOREACH(ITextMark *tm, m_marks) { tm->documentClosing(); } m_marks.clear();}
inline void documentClosing() { m_marks.clear(); }
inline void setFolded(bool b) { m_folded = b; }
inline bool folded() const { return m_folded; }
......
......@@ -59,9 +59,6 @@ void ITextMark::updateBlock(const QTextBlock &)
void ITextMark::removedFromEditor()
{}
void ITextMark::documentClosing()
{}
void ITextMark::setIcon(const QIcon &icon)
{
m_icon = icon;
......
......@@ -73,7 +73,6 @@ public:
virtual void updateLineNumber(int lineNumber);
virtual void updateBlock(const QTextBlock &block);
virtual void removedFromEditor();
virtual void documentClosing();
void setIcon(const QIcon &icon);
Priority priority() const;
void setPriority(Priority prioriy);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment