KTextEditor
application.cpp
36 QMetaObject::invokeMethod(parent(), "mainWindows", Qt::DirectConnection, Q_RETURN_ARG(QList<KTextEditor::MainWindow *>, mainWindow));
44 QMetaObject::invokeMethod(parent(), "activeMainWindow", Qt::DirectConnection, Q_RETURN_ARG(KTextEditor::MainWindow *, window));
54 QMetaObject::invokeMethod(parent(), "documents", Qt::DirectConnection, Q_RETURN_ARG(QList<KTextEditor::Document *>, documents));
62 QMetaObject::invokeMethod(parent(), "findUrl", Qt::DirectConnection, Q_RETURN_ARG(KTextEditor::Document *, document), Q_ARG(QUrl, url));
83 QMetaObject::invokeMethod(parent(), "closeDocument", Qt::DirectConnection, Q_RETURN_ARG(bool, success), Q_ARG(KTextEditor::Document *, document));
91 QMetaObject::invokeMethod(parent(), "closeDocuments", Qt::DirectConnection, Q_RETURN_ARG(bool, success), Q_ARG(QList<KTextEditor::Document *>, documents));
99 QMetaObject::invokeMethod(parent(), "plugin", Qt::DirectConnection, Q_RETURN_ARG(KTextEditor::Plugin *, plugin), Q_ARG(QString, name));
QList< KTextEditor::MainWindow * > mainWindows()
Get a list of all main windows.
Definition application.cpp:32
KTextEditor::Document * openUrl(const QUrl &url, const QString &encoding=QString())
Open the document url with the given encoding.
Definition application.cpp:66
bool closeDocuments(const QList< KTextEditor::Document * > &documents)
Close a list of documents.
Definition application.cpp:87
KTextEditor::Plugin * plugin(const QString &name)
Get a plugin for the plugin with with identifier name.
Definition application.cpp:95
KTextEditor::Document * findUrl(const QUrl &url)
Get the document with the URL url.
Definition application.cpp:58
bool closeDocument(KTextEditor::Document *document)
Close the given document.
Definition application.cpp:79
KTextEditor::MainWindow * activeMainWindow()
Accessor to the active main window.
Definition application.cpp:40
QList< KTextEditor::Document * > documents()
Get a list of all documents that are managed by the application.
Definition application.cpp:50
KTextEditor::MainWindow * dummyMainWindow()
Dummy main window to be null safe.
Definition kateglobal.h:374
This class allows the application that embeds the KTextEditor component to allow it to access parts o...
Definition mainwindow.h:47
The KTextEditor namespace contains all the public API that is required to use the KTextEditor compone...
Definition katetextblock.h:18
bool invokeMethod(QObject *context, Functor &&function, FunctorReturnType *ret)
QObject * parent() const const
DirectConnection
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.