clients(); >>>> NOT CONVERTED
/**
Use this method to get access to a container widget with the name specified with containerName
and which is owned by the client.
The container name is specified with a "name" attribute in the
XML document.
This function is particularly useful for getting hold of a popupmenu defined in an XMLUI file.
For instance:
TQPopupMenu popup = (TQPopupMenu)(factory().container("my_popup",this));
where
"my_popup" is the name of the menu in the XMLUI file, and
"this" is XMLGUIClient which owns the popupmenu (e.g. the mainwindow, or the part, or the plugin...)
@param containerName Name of the container widget
@param client Owner of the container widget
@param useTagName Specifies whether to compare the specified name with the name attribute or
the tag name.
This method may return null if no container with the given name exists or is not owned by the client.
@short Use this method to get access to a container widget with the name specified with containerName
and which is owned by the client.
*/
public native TQWidget container(String containerName, KXMLGUIClientInterface client, boolean useTagName);
public native TQWidget container(String containerName, KXMLGUIClientInterface client);
// TQPtrList containers(const TQString& arg1); >>>> NOT CONVERTED
/**
Use this method to free all memory allocated by the KXMLGUIFactory. This deletes the internal node
tree and therefore resets the internal state of the class. Please note that the actual GUI is
NOT touched at all, meaning no containers are deleted nor any actions unplugged. That is
something you have to do on your own. So use this method only if you know what you are doing :-)
(also note that this will call KXMLGUIClient.setFactory( null ) for all inserted clients)
@short Use this method to free all memory allocated by the KXMLGUIFactory.
*/
public native void reset();
/**
Use this method to free all memory allocated by the KXMLGUIFactory for a specific container,
including all child containers and actions. This deletes the internal node subtree for the
specified container. The actual GUI is not touched, no containers are deleted or any actions
unplugged. Use this method only if you know what you are doing :-)
(also note that this will call KXMLGUIClient.setFactory( null ) for all clients of the
container)
@short Use this method to free all memory allocated by the KXMLGUIFactory for a specific container, including all child containers and actions.
*/
public native void resetContainer(String containerName, boolean useTagName);
public native void resetContainer(String containerName);
/**
Show a standard configure shortcut for every action in this factory.
This slot can be connected dirrectly to the action to configure shortcuts. This is very simple to
do that by adding a single line
KStdAction.keyBindings( guiFactory(), TQ_SLOT("configureShortcuts()"), actionCollection() );
@param bAllowLetterShortcuts Set to false if unmodified alphanumeric
keys ('A', '1', etc.) are not permissible shortcuts.
@param bSaveSettings if true, the settings will also be saved back to
the uirc file which they were intially read from.
@short Show a standard configure shortcut for every action in this factory.
*/
public native int configureShortcuts(boolean bAllowLetterShortcuts, boolean bSaveSettings);
public native int configureShortcuts(boolean bAllowLetterShortcuts);
public native int configureShortcuts();
public static native String readConfigFile(String filename, boolean never_null, TDEInstanceInterface instance);
public static native String readConfigFile(String filename, boolean never_null);
public static native String readConfigFile(String filename, TDEInstanceInterface instance);
public static native String readConfigFile(String filename);
public static native boolean saveConfigFile(TQDomDocument doc, String filename, TDEInstanceInterface instance);
public static native boolean saveConfigFile(TQDomDocument doc, String filename);
public static native String documentToXML(TQDomDocument doc);
public static native String elementToXML(TQDomElement elem);
/**
Removes all TQDomComment objects from the specified node and all its children.
@short Removes all TQDomComment objects from the specified node and all its children.
*/
public static native void removeDOMComments(TQDomNode node);
/**
Find or create the ActionProperties element, used when saving custom action properties
@short
*/
public static native TQDomElement actionPropertiesElement(TQDomDocument doc);
/**
Find or create the element for a given action, by name.
Used when saving custom action properties
@short
*/
public static native TQDomElement findActionByName(TQDomElement elem, String sName, boolean create);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */
public native void dispose();
/** Has the wrapped C++ instance been deleted? */
public native boolean isDisposed();
}