kxmlguifactory.h
81 static TQString readConfigFile( const TQString &filename, bool never_null, const TDEInstance *instance = 0 );
126 void plugActionList( KXMLGUIClient *client, const TQString &name, const TQPtrList<TDEAction> &actionList );
154 TQWidget *container( const TQString &containerName, KXMLGUIClient *client, bool useTagName = false );
Abstract interface for a "GUI builder", used by the GUIFactory This interface is implemented by TDEMa...
Definition kxmlguibuilder.h:40
A KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document,...
Definition kxmlguiclient.h:44
static TQDomElement findActionByName(TQDomElement &elem, const TQString &sName, bool create)
Definition kxmlguifactory.cpp:589
void removeClient(KXMLGUIClient *client)
Removes the GUI described by the client, by unplugging all provided actions and removing all owned co...
Definition kxmlguifactory.cpp:321
void addClient(KXMLGUIClient *client)
Creates the GUI described by the TQDomDocument of the client, using the client's actions,...
Definition kxmlguifactory.cpp:224
void resetContainer(const TQString &containerName, bool useTagName=false)
Use this method to free all memory allocated by the KXMLGUIFactory for a specific container,...
Definition kxmlguifactory.cpp:413
TQPtrList< KXMLGUIClient > clients() const
Returns a list of all clients currently added to this factory.
Definition kxmlguifactory.cpp:379
int configureShortcuts(bool bAllowLetterShortcuts=true, bool bSaveSettings=true)
Show a standard configure shortcut for every action in this factory.
Definition kxmlguifactory.cpp:553
void reset()
Use this method to free all memory allocated by the KXMLGUIFactory.
Definition kxmlguifactory.cpp:406
TQWidget * container(const TQString &containerName, KXMLGUIClient *client, bool useTagName=false)
Use this method to get access to a container widget with the name specified with containerName and wh...
Definition kxmlguifactory.cpp:384
static TQDomElement actionPropertiesElement(TQDomDocument &doc)
Definition kxmlguifactory.cpp:567
static void removeDOMComments(TQDomNode &node)
Removes all TQDomComment objects from the specified node and all its children.
Definition kxmlguifactory.cpp:186
KXMLGUIFactory(KXMLGUIBuilder *builder, TQObject *parent=0, const char *name=0)
Constructs a KXMLGUIFactory.
Definition kxmlguifactory.cpp:206
Trinity API Reference