aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2014-01-24 01:47:45 (GMT)
committerChristoph Cullmann <cullmann@kde.org>2014-01-24 01:47:45 (GMT)
commit3ed547be75ce9d67c381260d639d082768ef1ed4 (patch)
treecf68450983d8aae355fc2fcde240d58f4e4a7747
parent1cef23651ee8a7ea68b3bb10b13a866a03e4c094 (diff)
start to remove more API
-rw-r--r--kate/src/katedocmanager.cpp6
-rw-r--r--kate/src/katedocmanager.h2
2 files changed, 0 insertions, 8 deletions
diff --git a/kate/src/katedocmanager.cpp b/kate/src/katedocmanager.cpp
index 4288c78..aaaf454 100644
--- a/kate/src/katedocmanager.cpp
+++ b/kate/src/katedocmanager.cpp
@@ -161,12 +161,6 @@ KTextEditor::Document *KateDocManager::findDocument(const QUrl &url) const
return 0;
}
-bool KateDocManager::isOpen(QUrl url)
-{
- // return just if we found some document with this url
- return findDocument(url) != 0;
-}
-
QList<KTextEditor::Document *> KateDocManager::openUrls(const QList<QUrl> &urls, const QString &encoding, bool isTempFile, const KateDocumentInfo &docInfo)
{
QList<KTextEditor::Document *> docs;
diff --git a/kate/src/katedocmanager.h b/kate/src/katedocmanager.h
index 48048f6..d1256e1 100644
--- a/kate/src/katedocmanager.h
+++ b/kate/src/katedocmanager.h
@@ -72,8 +72,6 @@ public:
/** Returns the documentNumber of the doc with url URL or -1 if no such doc is found */
KTextEditor::Document *findDocument(const QUrl &url) const;
- bool isOpen(QUrl url);
-
uint documents();
const QList<KTextEditor::Document *> &documentList() const {