kxmlguiclient.h
332 virtual void stateChanged(const TQString &newstate, ReverseStateChange reverse = StateNoReverse);
Abstract interface for a "GUI builder", used by the GUIFactory This interface is implemented by TDEMa...
Definition kxmlguibuilder.h:40
KXMLGUIClient * parentClient() const
KXMLGUIClients can form a simple child/parent object tree.
Definition kxmlguiclient.cpp:560
void plugActionList(const TQString &name, const TQPtrList< TDEAction > &actionList)
ActionLists are a way for XMLGUI to support dynamic lists of actions.
Definition kxmlguiclient.cpp:605
virtual TQString xmlFile() const
This will return the name of the XML file as set by setXMLFile().
Definition kxmlguiclient.cpp:133
void unplugActionList(const TQString &name)
The complement of plugActionList() ...
Definition kxmlguiclient.cpp:613
KXMLGUIClient()
Constructs a KXMLGUIClient which can be used with a KXMLGUIFactory to create a GUI from actions and a...
Definition kxmlguiclient.cpp:67
void removeChildClient(KXMLGUIClient *child)
Removes the given child from the client's children list.
Definition kxmlguiclient.cpp:573
TQDomDocument xmlguiBuildDocument() const
Definition kxmlguiclient.cpp:545
void reloadXML()
Forces this client to re-read its XML resource file.
Definition kxmlguiclient.cpp:150
void setXMLGUIBuildDocument(const TQDomDocument &doc)
Definition kxmlguiclient.cpp:540
virtual void setXMLFile(const TQString &file, bool merge=false, bool setXMLDoc=true)
Sets the name of the rc file containing the XML for the part.
Definition kxmlguiclient.cpp:165
KXMLGUIFactory * factory() const
Retrieves a pointer to the KXMLGUIFactory this client is associated with (will return 0L if the clien...
Definition kxmlguiclient.cpp:555
virtual void setDOMDocument(const TQDomDocument &document, bool merge=false)
Sets the Document for the part, describing the layout of the GUI.
Definition kxmlguiclient.cpp:224
void setClientBuilder(KXMLGUIBuilder *builder)
A client can have an own KXMLGUIBuilder.
Definition kxmlguiclient.cpp:593
TDEAction * action(const char *name) const
Retrieves an action of the client by name.
Definition kxmlguiclient.cpp:93
virtual void setXML(const TQString &document, bool merge=false)
Sets the XML for the part.
Definition kxmlguiclient.cpp:217
virtual void conserveMemory()
This function will attempt to give up some memory after the GUI is built.
Definition kxmlguiclient.cpp:534
virtual void stateChanged(const TQString &newstate, ReverseStateChange reverse=StateNoReverse)
Actions can collectively be assigned a "State".
Definition kxmlguiclient.cpp:899
void setFactory(KXMLGUIFactory *factory)
This method is called by the KXMLGUIFactory as soon as the client is added to the KXMLGUIFactory's GU...
Definition kxmlguiclient.cpp:550
KXMLGUIBuilder * clientBuilder() const
Retrieves the client's GUI builder or 0L if no client specific builder has been assigned via setClien...
Definition kxmlguiclient.cpp:600
const TQPtrList< KXMLGUIClient > * childClients()
Retrieves a list of all child clients.
Definition kxmlguiclient.cpp:588
virtual TDEActionCollection * actionCollection() const
Retrieves the entire action collection for the GUI client.
Definition kxmlguiclient.cpp:107
void insertChildClient(KXMLGUIClient *child)
Use this method to make a client a child client of another client.
Definition kxmlguiclient.cpp:565
virtual void setInstance(TDEInstance *instance)
Returns true if client was added to super client list.
Definition kxmlguiclient.cpp:157
KXMLGUIFactory, together with KXMLGUIClient objects, can be used to create a GUI of container widgets...
Definition kxmlguifactory.h:62
Trinity API Reference