[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kate/frameworks] addons/filetree/autotests: fold away recovery interface
From: Christoph Cullmann <cullmann () kde ! org>
Date: 2014-03-24 19:57:04
Message-ID: E1WSAzY-0002Si-KS () scm ! kde ! org
[Download RAW message or body]
Git commit c6020f02369a5114506a715b94823ce55cff781c by Christoph Cullmann.
Committed on 24/03/2014 at 19:56.
Pushed by cullmann into branch 'frameworks'.
fold away recovery interface
M +5 -1 addons/filetree/autotests/document_dummy.h
http://commits.kde.org/kate/c6020f02369a5114506a715b94823ce55cff781c
diff --git a/addons/filetree/autotests/document_dummy.h b/addons/filetree/a=
utotests/document_dummy.h
index ea160ad..5f4b845 100644
--- a/addons/filetree/autotests/document_dummy.h
+++ b/addons/filetree/autotests/document_dummy.h
@@ -80,7 +80,7 @@ class DummyDocument : public KTextEditor::Document
virtual bool insertLine ( int, const QString & ) { return false; }
virtual bool insertLines ( int, const QStringList & ) { return false; }
virtual bool removeLine ( int ) { return false; }
- virtual KTextEditor::DefaultStyle defaultStyleAt(const KTextEditor::Cu=
rsor &position) const { return KTextEditor::dsNormal; }
+ virtual KTextEditor::DefaultStyle defaultStyleAt(const KTextEditor::Cu=
rsor &) const { return KTextEditor::dsNormal; }
virtual QString mode() const { return QString(); }
virtual QString highlightingMode() const { return QString(); }
virtual QStringList modes() const { return QStringList(); }
@@ -113,6 +113,10 @@ class DummyDocument : public KTextEditor::Document
=
bool postMessage(KTextEditor::Message *) { return false; }
=
+ bool isDataRecoveryAvailable() const { return false; }
+ void recoverData() {}
+ void discardDataRecovery() {}
+
private:
QString m_name, m_encoding;
QList<KTextEditor::View*> m_views;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic