Commit 3ed547be authored by Christoph Cullmann's avatar Christoph Cullmann

start to remove more API

parent 1cef2365
......@@ -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;
......
......@@ -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 {
......
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