KTextEditor
containerinterface.h
Go to the documentation of this file.
Class that allows the kpart host to provide some extensions.
Definition: containerinterface.h:66
virtual void setContainer(QObject *container)=0
Set the KTextEditor container.
virtual QObject * container()=0
Fetch the container extension.
A container for MDI-capable kpart hosts.
Definition: containerinterface.h:167
virtual void setActiveView(View *view)=0
Set the view requested by the part as the active view.
virtual bool closeDocument(Document *doc)=0
Closes of document doc .
virtual Document * createDocument()=0
Create a new Document and return it to the kpart.
virtual View * createView(Document *doc)=0
Creates a new View and return it to the kpart.
An application providing a centralized place for horizontal view bar containers (eg search bars) has ...
Definition: containerinterface.h:270
virtual void showViewBarForView(View *view, enum Position position)=0
show hide a view bar.
virtual void addViewBarToLayout(View *view, QWidget *bar, enum Position position)=0
It is advisable to store only QPointers to the bar and its children in the caller after this point.
virtual QWidget * getViewBarParent(View *view, enum Position position)=0
At this point the views parent window has to be already set, so this has to be called after any repar...
virtual void deleteViewBarForView(View *view, enum Position position)=0
The view should not delete the bar by itself, but tell the container to delete the bar.
virtual void hideViewBarForView(View *view, enum Position position)=0
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.