summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KXMLGUIFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KXMLGUIFactory.java')
-rw-r--r--kdejava/koala/org/kde/koala/KXMLGUIFactory.java62
1 files changed, 31 insertions, 31 deletions
diff --git a/kdejava/koala/org/kde/koala/KXMLGUIFactory.java b/kdejava/koala/org/kde/koala/KXMLGUIFactory.java
index 13a92f01..f598b159 100644
--- a/kdejava/koala/org/kde/koala/KXMLGUIFactory.java
+++ b/kdejava/koala/org/kde/koala/KXMLGUIFactory.java
@@ -2,14 +2,14 @@
package org.kde.koala;
import org.kde.qt.Qt;
-import org.kde.qt.QDomDocument;
-import org.kde.qt.QMetaObject;
+import org.kde.qt.TQDomDocument;
+import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
-import org.kde.qt.QObject;
-import org.kde.qt.QDomNode;
-import org.kde.qt.QWidget;
-import org.kde.qt.QDomElement;
-import org.kde.qt.QObject;
+import org.kde.qt.TQObject;
+import org.kde.qt.TQDomNode;
+import org.kde.qt.TQWidget;
+import org.kde.qt.TQDomElement;
+import org.kde.qt.TQObject;
/**
@@ -19,7 +19,7 @@ import org.kde.qt.QObject;
Each KXMLGUIClient represents a part of the GUI, composed from containers and
actions. KXMLGUIFactory takes care of building (with the help of a KXMLGUIBuilder)
and merging the GUI from an unlimited number of clients.
- Each client provides XML through a QDomDocument and actions through a
+ Each client provides XML through a TQDomDocument and actions through a
KActionCollection . The XML document contains the rules for how to merge the
GUI.
KXMLGUIFactory processes the DOM tree provided by a client and plugs in the client's actions,
@@ -29,9 +29,9 @@ import org.kde.qt.QObject;
@short KXMLGUIFactory, together with KXMLGUIClient objects, can be used to create a GUI of container widgets (like menus, toolbars, etc.
*/
-public class KXMLGUIFactory extends QObject {
+public class KXMLGUIFactory extends TQObject {
protected KXMLGUIFactory(Class dummy){super((Class) null);}
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
/**
Constructs a KXMLGUIFactory. The provided <code>builder</code> KXMLGUIBuilder will be called
@@ -40,23 +40,23 @@ public class KXMLGUIFactory extends QObject {
KXMLGUIFactory, so you have to take care of deleting it properly.
@short Constructs a KXMLGUIFactory.
*/
- public KXMLGUIFactory(KXMLGUIBuilderInterface builder, QObject parent, String name) {
+ public KXMLGUIFactory(KXMLGUIBuilderInterface builder, TQObject parent, String name) {
super((Class) null);
newKXMLGUIFactory(builder,parent,name);
}
- private native void newKXMLGUIFactory(KXMLGUIBuilderInterface builder, QObject parent, String name);
- public KXMLGUIFactory(KXMLGUIBuilderInterface builder, QObject parent) {
+ private native void newKXMLGUIFactory(KXMLGUIBuilderInterface builder, TQObject parent, String name);
+ public KXMLGUIFactory(KXMLGUIBuilderInterface builder, TQObject parent) {
super((Class) null);
newKXMLGUIFactory(builder,parent);
}
- private native void newKXMLGUIFactory(KXMLGUIBuilderInterface builder, QObject parent);
+ private native void newKXMLGUIFactory(KXMLGUIBuilderInterface builder, TQObject parent);
public KXMLGUIFactory(KXMLGUIBuilderInterface builder) {
super((Class) null);
newKXMLGUIFactory(builder);
}
private native void newKXMLGUIFactory(KXMLGUIBuilderInterface builder);
/**
- Creates the GUI described by the QDomDocument of the client,
+ Creates the GUI described by the TQDomDocument of the client,
using the client's actions, and merges it with the previously
created GUI.
This also means that the order in which clients are added to the factory
@@ -64,7 +64,7 @@ public class KXMLGUIFactory extends QObject {
first add your application to the factory and then the plugin, so that the
plugin's UI is merged into the UI of your application, and not the other
way round.
- @short Creates the GUI described by the QDomDocument of the client, using the client's actions, and merges it with the previously created GUI.
+ @short Creates the GUI described by the TQDomDocument of the client, using the client's actions, and merges it with the previously created GUI.
*/
public native void addClient(KXMLGUIClientInterface client);
/**
@@ -74,13 +74,13 @@ public class KXMLGUIFactory extends QObject {
@short Removes the GUI described by the client, by unplugging all provided actions and removing all owned containers (and storing container state information in the given client)
*/
public native void removeClient(KXMLGUIClientInterface client);
- // void plugActionList(KXMLGUIClient* arg1,const QString& arg2,const QPtrList<KAction>& arg3); >>>> NOT CONVERTED
+ // void plugActionList(KXMLGUIClient* arg1,const TQString& arg2,const TQPtrList<KAction>& arg3); >>>> NOT CONVERTED
public native void unplugActionList(KXMLGUIClientInterface client, String name);
/**
Returns a list of all clients currently added to this factory
@short Returns a list of all clients currently added to this factory
*/
- // QPtrList<KXMLGUIClient> clients(); >>>> NOT CONVERTED
+ // TQPtrList<KXMLGUIClient> clients(); >>>> NOT CONVERTED
/**
Use this method to get access to a container widget with the name specified with <code>containerName</code>
and which is owned by the <code>client.</code> The container name is specified with a "name" attribute in the
@@ -88,7 +88,7 @@ public class KXMLGUIFactory extends QObject {
This function is particularly useful for getting hold of a popupmenu defined in an XMLUI file.
For instance:
<pre>
- QPopupMenu popup = (QPopupMenu)(factory().container("my_popup",this));
+ TQPopupMenu popup = (TQPopupMenu)(factory().container("my_popup",this));
</pre>
where <code></code>"my_popup" is the name of the menu in the XMLUI file, and
<code></code>"this" is XMLGUIClient which owns the popupmenu (e.g. the mainwindow, or the part, or the plugin...)
@@ -99,9 +99,9 @@ public class KXMLGUIFactory extends QObject {
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 <code>containerName</code> and which is owned by the <code>client.</code>
*/
- public native QWidget container(String containerName, KXMLGUIClientInterface client, boolean useTagName);
- public native QWidget container(String containerName, KXMLGUIClientInterface client);
- // QPtrList<QWidget> containers(const QString& arg1); >>>> NOT CONVERTED
+ public native TQWidget container(String containerName, KXMLGUIClientInterface client, boolean useTagName);
+ public native TQWidget container(String containerName, KXMLGUIClientInterface client);
+ // TQPtrList<TQWidget> 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
@@ -142,26 +142,26 @@ public class KXMLGUIFactory extends QObject {
public static native String readConfigFile(String filename, boolean never_null);
public static native String readConfigFile(String filename, KInstanceInterface instance);
public static native String readConfigFile(String filename);
- public static native boolean saveConfigFile(QDomDocument doc, String filename, KInstanceInterface instance);
- public static native boolean saveConfigFile(QDomDocument doc, String filename);
- public static native String documentToXML(QDomDocument doc);
- public static native String elementToXML(QDomElement elem);
+ public static native boolean saveConfigFile(TQDomDocument doc, String filename, KInstanceInterface 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 QDomComment objects from the specified node and all its children.
- @short Removes all QDomComment objects from the specified node and all its children.
+ 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(QDomNode node);
+ public static native void removeDOMComments(TQDomNode node);
/**
Find or create the ActionProperties element, used when saving custom action properties
@short
*/
- public static native QDomElement actionPropertiesElement(QDomDocument doc);
+ 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 QDomElement findActionByName(QDomElement elem, String sName, boolean create);
+ 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() */