summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2014-01-24 01:46:00 (GMT)
committerChristoph Cullmann <cullmann@kde.org>2014-01-24 01:46:00 (GMT)
commit1cef23651ee8a7ea68b3bb10b13a866a03e4c094 (patch)
treef6f74401f7db07d7d50edd0a15e600039033a1b8
parent5b252b9cf92420e4777c4aa1be3410abf616340b (diff)
start to remove more API
-rw-r--r--kate/src/katedocmanager.cpp5
-rw-r--r--kate/src/katedocmanager.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/kate/src/katedocmanager.cpp b/kate/src/katedocmanager.cpp
index b337a0b..4288c78 100644
--- a/kate/src/katedocmanager.cpp
+++ b/kate/src/katedocmanager.cpp
@@ -143,11 +143,6 @@ KateDocumentInfo *KateDocManager::documentInfo(KTextEditor::Document *doc)
return m_docInfos.contains(doc) ? m_docInfos[doc] : 0;
}
-int KateDocManager::findDocument(KTextEditor::Document *doc)
-{
- return m_docList.indexOf(doc);
-}
-
uint KateDocManager::documents()
{
return m_docList.count();
diff --git a/kate/src/katedocmanager.h b/kate/src/katedocmanager.h
index 72bc586..48048f6 100644
--- a/kate/src/katedocmanager.h
+++ b/kate/src/katedocmanager.h
@@ -69,7 +69,6 @@ public:
KateDocumentInfo *documentInfo(KTextEditor::Document *doc);
- int findDocument(KTextEditor::Document *doc);
/** Returns the documentNumber of the doc with url URL or -1 if no such doc is found */
KTextEditor::Document *findDocument(const QUrl &url) const;