diff options
Diffstat (limited to 'kdejava/koala/org/kde')
546 files changed, 7687 insertions, 7687 deletions
diff --git a/kdejava/koala/org/kde/koala/AuthInfo.java b/kdejava/koala/org/kde/koala/AuthInfo.java index 56b786da..75d3b217 100644 --- a/kdejava/koala/org/kde/koala/AuthInfo.java +++ b/kdejava/koala/org/kde/koala/AuthInfo.java @@ -11,7 +11,7 @@ import org.kde.qt.QtSupport; When using this class to cache, retrieve or prompt authentication information, you only need to set the necessary attributes. For example, to check whether a password is already cached, the only - required information is the URL of the resource and optionally + retquired information is the URL of the resource and optionally whether or not a path match should be performed. Similarly, to prompt for password you only need to optionally set the prompt, username (if already supplied), comment and commentLabel fields. diff --git a/kdejava/koala/org/kde/koala/BrowserExtension.java b/kdejava/koala/org/kde/koala/BrowserExtension.java index dedc506c..4067a7bb 100644 --- a/kdejava/koala/org/kde/koala/BrowserExtension.java +++ b/kdejava/koala/org/kde/koala/BrowserExtension.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QDataStream; -import org.kde.qt.QPoint; +import org.kde.qt.TQObject; +import org.kde.qt.TQDataStream; +import org.kde.qt.TQPoint; import java.util.ArrayList; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -24,7 +24,7 @@ import org.kde.qt.QObject; The part developer needs to define its own class derived from BrowserExtension, to implement the methods [and the standard-actions slots, see below]. The way to associate the BrowserExtension with the part is to simply - create the BrowserExtension as a child of the part (in QObject's terms). + create the BrowserExtension as a child of the part (in TQObject's terms). The hosting application will look for it automatically. Another aspect of the browser integration is that a set of standard actions are provided by the browser, but implemented by the part @@ -112,9 +112,9 @@ import org.kde.qt.QObject; @short The Browser Extension is an extension (yes, no kidding) to KParts.ReadOnlyPart, which allows a better integration of parts with browsers (in particular Konqueror). */ -public class BrowserExtension extends QObject { +public class BrowserExtension extends TQObject { protected BrowserExtension(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor @@ -165,7 +165,7 @@ public class BrowserExtension extends QObject { but don't forget to call the parent method (probably first). @short Used by the browser to save the current state of the view (in order to restore it if going back in navigation). */ - public native void saveState(QDataStream stream); + public native void saveState(TQDataStream stream); /** Used by the browser to restore the view in the state it was when we left it. @@ -173,7 +173,7 @@ public class BrowserExtension extends QObject { but don't forget to call the parent method (probably first). @short Used by the browser to restore the view in the state it was when we left it. */ - public native void restoreState(QDataStream stream); + public native void restoreState(TQDataStream stream); /** Returns whether url drop handling is enabled. See setURLDropHandlingEnabled for more information about this @@ -238,7 +238,7 @@ public class BrowserExtension extends QObject { connect( yourObject, SIGNAL("yourSignal()"), extension, mapIterator.data() ) </pre> - (where "mapIterator" is your QMap<String,String> iterator) + (where "mapIterator" is your TQMap<String,String> iterator) @short Returns a map containing the action names as keys and corresponding SLOT()'ified method names as data entries. */ // KParts::BrowserExtension::ActionSlotMap actionSlotMap(); >>>> NOT CONVERTED @@ -254,5 +254,5 @@ public class BrowserExtension extends QObject { BrowserExtension class. Convenience method. @short Queries <code>obj</code> for a child object which inherits from this BrowserExtension class. */ - public static native BrowserExtension childObject(QObject arg1); + public static native BrowserExtension childObject(TQObject arg1); } diff --git a/kdejava/koala/org/kde/koala/BrowserExtensionSignals.java b/kdejava/koala/org/kde/koala/BrowserExtensionSignals.java index 7c11b38e..9a7f993d 100644 --- a/kdejava/koala/org/kde/koala/BrowserExtensionSignals.java +++ b/kdejava/koala/org/kde/koala/BrowserExtensionSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QDataStream; -import org.kde.qt.QPoint; +import org.kde.qt.TQObject; +import org.kde.qt.TQDataStream; +import org.kde.qt.TQPoint; import java.util.ArrayList; public interface BrowserExtensionSignals { @@ -117,15 +117,15 @@ public interface BrowserExtensionSignals { at the point <code>global</code> for the files <code>items.</code> @short Emit this to make the browser show a standard popup menu at the point <code>global</code> for the files <code>items.</code> */ - void popupMenu(QPoint global, ArrayList items); + void popupMenu(TQPoint global, ArrayList items); /** Emit this to make the browser show a standard popup menu at the point <code>global</code> for the files <code>items.</code> The GUI described by <code>client</code> is being merged with the popupmenu of the host @short Emit this to make the browser show a standard popup menu at the point <code>global</code> for the files <code>items.</code> */ - void popupMenu(KXMLGUIClientInterface client, QPoint global, ArrayList items); - // void popupMenu(KXMLGUIClient* arg1,const QPoint& arg2,const KFileItemList& arg3,const KParts::URLArgs& arg4,KParts::BrowserExtension::PopupFlags arg5); >>>> NOT CONVERTED + void popupMenu(KXMLGUIClientInterface client, TQPoint global, ArrayList items); + // void popupMenu(KXMLGUIClient* arg1,const TQPoint& arg2,const KFileItemList& arg3,const KParts::URLArgs& arg4,KParts::BrowserExtension::PopupFlags arg5); >>>> NOT CONVERTED /** Emit this to make the browser show a standard popup menu at the point <code>global</code> for the given <code>url.</code> @@ -134,7 +134,7 @@ public interface BrowserExtensionSignals { (<code>mode</code>: S_IFREG, S_IFDIR...) @short Emit this to make the browser show a standard popup menu at the point <code>global</code> for the given <code>url.</code> */ - void popupMenu(QPoint global, KURL url, String mimeType, long mode); + void popupMenu(TQPoint global, KURL url, String mimeType, long mode); /** Emit this to make the browser show a standard popup menu at the point <code>global</code> for the given <code>url.</code> @@ -143,7 +143,7 @@ public interface BrowserExtensionSignals { (<code>mode</code>: S_IFREG, S_IFDIR...) @short Emit this to make the browser show a standard popup menu at the point <code>global</code> for the given <code>url.</code> */ - void popupMenu(QPoint global, KURL url, String mimeType); + void popupMenu(TQPoint global, KURL url, String mimeType); /** Emit this to make the browser show a standard popup menu at the point <code>global</code> for the given <code>url.</code> @@ -153,7 +153,7 @@ public interface BrowserExtensionSignals { The GUI described by <code>client</code> is being merged with the popupmenu of the host @short Emit this to make the browser show a standard popup menu at the point <code>global</code> for the given <code>url.</code> */ - void popupMenu(KXMLGUIClientInterface client, QPoint global, KURL url, String mimeType, long mode); + void popupMenu(KXMLGUIClientInterface client, TQPoint global, KURL url, String mimeType, long mode); /** Emit this to make the browser show a standard popup menu at the point <code>global</code> for the given <code>url.</code> @@ -163,9 +163,9 @@ public interface BrowserExtensionSignals { The GUI described by <code>client</code> is being merged with the popupmenu of the host @short Emit this to make the browser show a standard popup menu at the point <code>global</code> for the given <code>url.</code> */ - void popupMenu(KXMLGUIClientInterface client, QPoint global, KURL url, String mimeType); - // void popupMenu(KXMLGUIClient* arg1,const QPoint& arg2,const KURL& arg3,const KParts::URLArgs& arg4,KParts::BrowserExtension::PopupFlags arg5,mode_t arg6); >>>> NOT CONVERTED - // void popupMenu(KXMLGUIClient* arg1,const QPoint& arg2,const KURL& arg3,const KParts::URLArgs& arg4,KParts::BrowserExtension::PopupFlags arg5); >>>> NOT CONVERTED + void popupMenu(KXMLGUIClientInterface client, TQPoint global, KURL url, String mimeType); + // void popupMenu(KXMLGUIClient* arg1,const TQPoint& arg2,const KURL& arg3,const KParts::URLArgs& arg4,KParts::BrowserExtension::PopupFlags arg5,mode_t arg6); >>>> NOT CONVERTED + // void popupMenu(KXMLGUIClient* arg1,const TQPoint& arg2,const KURL& arg3,const KParts::URLArgs& arg4,KParts::BrowserExtension::PopupFlags arg5); >>>> NOT CONVERTED /** Inform the hosting application about the current selection. Used when a set of files/URLs is selected (with full information diff --git a/kdejava/koala/org/kde/koala/BrowserHostExtension.java b/kdejava/koala/org/kde/koala/BrowserHostExtension.java index ca72329c..3ae1362f 100644 --- a/kdejava/koala/org/kde/koala/BrowserHostExtension.java +++ b/kdejava/koala/org/kde/koala/BrowserHostExtension.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; import java.util.ArrayList; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -16,9 +16,9 @@ import org.kde.qt.QObject; @short An extension class for container parts, i. */ -public class BrowserHostExtension extends QObject { +public class BrowserHostExtension extends TQObject { protected BrowserHostExtension(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); public BrowserHostExtension(ReadOnlyPart parent, String name) { super((Class) null); @@ -41,7 +41,7 @@ public class BrowserHostExtension extends QObject { Note that this method does not query the child objects recursively. @short Returns a list of pointers to all hosted child objects. */ - // const QPtrList<KParts::ReadOnlyPart> frames(); >>>> NOT CONVERTED + // const TQPtrList<KParts::ReadOnlyPart> frames(); >>>> NOT CONVERTED /** Returns the part that contains <code>frame</code> and that may be accessed by <code>callingPart</code> @@ -59,5 +59,5 @@ public class BrowserHostExtension extends QObject { BrowserHostExtension class. Convenience method. @short Queries <code>obj</code> for a child object which inherits from this BrowserHostExtension class. */ - public static native BrowserHostExtension childObject(QObject arg1); + public static native BrowserHostExtension childObject(TQObject arg1); } diff --git a/kdejava/koala/org/kde/koala/BrowserInterface.java b/kdejava/koala/org/kde/koala/BrowserInterface.java index 7a951e0e..330ad419 100644 --- a/kdejava/koala/org/kde/koala/BrowserInterface.java +++ b/kdejava/koala/org/kde/koala/BrowserInterface.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QVariant; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQVariant; +import org.kde.qt.TQObject; /** @@ -32,24 +32,24 @@ import org.kde.qt.QObject; @short The purpose of this interface is to allow a direct communication between a KPart and the hosting browser shell (for example Konqueror) . */ -public class BrowserInterface extends QObject { +public class BrowserInterface extends TQObject { protected BrowserInterface(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public BrowserInterface(QObject parent, String name) { + public BrowserInterface(TQObject parent, String name) { super((Class) null); newBrowserInterface(parent,name); } - private native void newBrowserInterface(QObject parent, String name); - public BrowserInterface(QObject parent) { + private native void newBrowserInterface(TQObject parent, String name); + public BrowserInterface(TQObject parent) { super((Class) null); newBrowserInterface(parent); } - private native void newBrowserInterface(QObject parent); + private native void newBrowserInterface(TQObject parent); /** Perform a dynamic invocation of a method in the BrowserInterface implementation. Methods are to be implemented as simple Qt slots. @short Perform a dynamic invocation of a method in the BrowserInterface implementation. */ - public native void callMethod(String name, QVariant argument); + public native void callMethod(String name, TQVariant argument); } diff --git a/kdejava/koala/org/kde/koala/BrowserRun.java b/kdejava/koala/org/kde/koala/BrowserRun.java index b9675399..f08dc0b8 100644 --- a/kdejava/koala/org/kde/koala/BrowserRun.java +++ b/kdejava/koala/org/kde/koala/BrowserRun.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -25,7 +25,7 @@ import org.kde.qt.QWidget; */ public class BrowserRun extends KRun { protected BrowserRun(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** @param url the URL we're probing @@ -37,11 +37,11 @@ public class BrowserRun extends KRun { Always pass false for <code>trustedSource</code>, except for local directory views. @short */ - public BrowserRun(KURL url, URLArgs args, ReadOnlyPart part, QWidget window, boolean removeReferrer, boolean trustedSource) { + public BrowserRun(KURL url, URLArgs args, ReadOnlyPart part, TQWidget window, boolean removeReferrer, boolean trustedSource) { super((Class) null); newBrowserRun(url,args,part,window,removeReferrer,trustedSource); } - private native void newBrowserRun(KURL url, URLArgs args, ReadOnlyPart part, QWidget window, boolean removeReferrer, boolean trustedSource); + private native void newBrowserRun(KURL url, URLArgs args, ReadOnlyPart part, TQWidget window, boolean removeReferrer, boolean trustedSource); /** @param url the URL we're probing @param args URL args - includes data for a HTTP POST, etc. @@ -53,11 +53,11 @@ public class BrowserRun extends KRun { Always pass false for <code>trustedSource</code>, except for local directory views. @short */ - public BrowserRun(KURL url, URLArgs args, ReadOnlyPart part, QWidget window, boolean removeReferrer, boolean trustedSource, boolean hideErrorDialog) { + public BrowserRun(KURL url, URLArgs args, ReadOnlyPart part, TQWidget window, boolean removeReferrer, boolean trustedSource, boolean hideErrorDialog) { super((Class) null); newBrowserRun(url,args,part,window,removeReferrer,trustedSource,hideErrorDialog); } - private native void newBrowserRun(KURL url, URLArgs args, ReadOnlyPart part, QWidget window, boolean removeReferrer, boolean trustedSource, boolean hideErrorDialog); + private native void newBrowserRun(KURL url, URLArgs args, ReadOnlyPart part, TQWidget window, boolean removeReferrer, boolean trustedSource, boolean hideErrorDialog); /** @return the URL we're probing @@ -87,8 +87,8 @@ public class BrowserRun extends KRun { @short Ask the user whether to save or open a url in another application. */ - // KParts::BrowserRun::AskSaveResult askSave(const KURL& arg1,KService::Ptr arg2,const QString& arg3,const QString& arg4); >>>> NOT CONVERTED - // KParts::BrowserRun::AskSaveResult askSave(const KURL& arg1,KService::Ptr arg2,const QString& arg3); >>>> NOT CONVERTED + // KParts::BrowserRun::AskSaveResult askSave(const KURL& arg1,KService::Ptr arg2,const TQString& arg3,const TQString& arg4); >>>> NOT CONVERTED + // KParts::BrowserRun::AskSaveResult askSave(const KURL& arg1,KService::Ptr arg2,const TQString& arg3); >>>> NOT CONVERTED /** Similar to askSave() but for the case where the current application is able to embed the url itself (instead of passing it to another app). @@ -100,10 +100,10 @@ public class BrowserRun extends KRun { @short Similar to askSave() but for the case where the current application is able to embed the url itself (instead of passing it to another app). */ - // KParts::BrowserRun::AskSaveResult askEmbedOrSave(const KURL& arg1,const QString& arg2,const QString& arg3,int arg4); >>>> NOT CONVERTED - // KParts::BrowserRun::AskSaveResult askEmbedOrSave(const KURL& arg1,const QString& arg2,const QString& arg3); >>>> NOT CONVERTED - // KParts::BrowserRun::AskSaveResult askEmbedOrSave(const KURL& arg1,const QString& arg2); >>>> NOT CONVERTED - public static native void simpleSave(KURL url, String suggestedFilename, QWidget window); + // KParts::BrowserRun::AskSaveResult askEmbedOrSave(const KURL& arg1,const TQString& arg2,const TQString& arg3,int arg4); >>>> NOT CONVERTED + // KParts::BrowserRun::AskSaveResult askEmbedOrSave(const KURL& arg1,const TQString& arg2,const TQString& arg3); >>>> NOT CONVERTED + // KParts::BrowserRun::AskSaveResult askEmbedOrSave(const KURL& arg1,const TQString& arg2); >>>> NOT CONVERTED + public static native void simpleSave(KURL url, String suggestedFilename, TQWidget window); /** BIC: Combine with the above function for KDE 4.0. @short BIC: Combine with the above function for KDE 4. */ public static native void simpleSave(KURL url, String suggestedFilename); @@ -135,7 +135,7 @@ public class BrowserRun extends KRun { Helper for foundMimeType: call this if the mimetype couldn't be embedded @short Helper for foundMimeType: call this if the mimetype couldn't be embedded */ - // KParts::BrowserRun::NonEmbeddableResult handleNonEmbeddable(const QString& arg1); >>>> NOT CONVERTED + // KParts::BrowserRun::NonEmbeddableResult handleNonEmbeddable(const TQString& arg1); >>>> NOT CONVERTED protected native void slotBrowserScanFinished(Job job); protected native void slotBrowserMimetype(Job job, String type); protected native void slotCopyToTempFileResult(Job job); diff --git a/kdejava/koala/org/kde/koala/CSSMediaRule.java b/kdejava/koala/org/kde/koala/CSSMediaRule.java index 9c688f63..b096b782 100644 --- a/kdejava/koala/org/kde/koala/CSSMediaRule.java +++ b/kdejava/koala/org/kde/koala/CSSMediaRule.java @@ -56,7 +56,7 @@ public class CSSMediaRule extends CSSRule { rule collection, the rule will be added to the end of the media block. \exception DOMException - HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted at + HIERARCHY_RETQUEST_ERR: Raised if the rule cannot be inserted at the specified index. e.g. if an <code>\@import</code> rule is inserted after a standard rule set or other at-rule. INDEX_SIZE_ERR: Raised if the specified index is not a valid diff --git a/kdejava/koala/org/kde/koala/CSSRule.java b/kdejava/koala/org/kde/koala/CSSRule.java index a49a6900..6931ff56 100644 --- a/kdejava/koala/org/kde/koala/CSSRule.java +++ b/kdejava/koala/org/kde/koala/CSSRule.java @@ -50,7 +50,7 @@ public class CSSRule implements QtSupport { public native String cssText(); /** see cssText - HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted + HIERARCHY_RETQUEST_ERR: Raised if the rule cannot be inserted at this point in the style sheet. NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is readonly. diff --git a/kdejava/koala/org/kde/koala/Connection.java b/kdejava/koala/org/kde/koala/Connection.java index 82585243..90034802 100644 --- a/kdejava/koala/org/kde/koala/Connection.java +++ b/kdejava/koala/org/kde/koala/Connection.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQObject; /** @@ -16,9 +16,9 @@ import org.kde.qt.QObject; @short This class provides a simple means for IPC between two applications via a pipe. */ -public class Connection extends QObject { +public class Connection extends TQObject { protected Connection(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a new connection. @@ -46,8 +46,8 @@ public class Connection extends QObject { @see #inited */ public native void init(int fd_in, int fd_out); - public native void connect(QObject receiver, String member); - public native void connect(QObject receiver); + public native void connect(TQObject receiver, String member); + public native void connect(TQObject receiver); public native void connect(); public native void close(); /** diff --git a/kdejava/koala/org/kde/koala/CopyJob.java b/kdejava/koala/org/kde/koala/CopyJob.java index 28e93690..bc320dab 100644 --- a/kdejava/koala/org/kde/koala/CopyJob.java +++ b/kdejava/koala/org/kde/koala/CopyJob.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; @@ -23,7 +23,7 @@ import java.util.ArrayList; */ public class CopyJob extends Job { protected CopyJob(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Do not create a CopyJob directly. Use KIO.copy(), diff --git a/kdejava/koala/org/kde/koala/CopyJobSignals.java b/kdejava/koala/org/kde/koala/CopyJobSignals.java index bad5d247..01f25bbf 100644 --- a/kdejava/koala/org/kde/koala/CopyJobSignals.java +++ b/kdejava/koala/org/kde/koala/CopyJobSignals.java @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; @@ -20,7 +20,7 @@ public interface CopyJobSignals { @short Emitted when the toal number of direcotries is known. */ void totalDirs(Job job, long dirs); - // void aboutToCreate(KIO::Job* arg1,const QValueList<KIO::CopyInfo>& arg2); >>>> NOT CONVERTED + // void aboutToCreate(KIO::Job* arg1,const TQValueList<KIO::CopyInfo>& arg2); >>>> NOT CONVERTED /** Sends the number of processed files. @param job the job that emitted this signal diff --git a/kdejava/koala/org/kde/koala/DCOPClient.java b/kdejava/koala/org/kde/koala/DCOPClient.java index 117fe354..01949753 100644 --- a/kdejava/koala/org/kde/koala/DCOPClient.java +++ b/kdejava/koala/org/kde/koala/DCOPClient.java @@ -3,10 +3,10 @@ package org.kde.koala; import org.kde.qt.Qt; import java.util.ArrayList; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQObject; /** @@ -21,12 +21,12 @@ import org.kde.qt.QObject; your application with a specific name. See attach() and registerAs() for more information. - Data to be sent should be serialized into a QDataStream which was + Data to be sent should be serialized into a TQDataStream which was initialized with the byte[] that you actually intend to send the data in. An example of how you might do this: <pre> byte[] data; - QDataStream arg(data, IO_WriteOnly); + TQDataStream arg(data, IO_WriteOnly); arg << String("This is text I am serializing"); client.send("someApp", "someObject", "someFunction(String)", data); </pre> @@ -37,9 +37,9 @@ import org.kde.qt.QObject; @see KApplication#dcopClient */ -public class DCOPClient extends QObject { +public class DCOPClient extends TQObject { protected DCOPClient(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a new DCOP client, but does not attach to any server. @short Constructs a new DCOP client, but does not attach to any server. @@ -54,9 +54,9 @@ public class DCOPClient extends QObject { If the connection was already attached, the connection will be re-established with the current server address. Naturally, only attached application can use DCOP services. - If a QApplication object exists then client registers itself as - QApplication.name() + "-" + \<pid\>. - If no QApplication object exists the client registers itself as + If a TQApplication object exists then client registers itself as + TQApplication.name() + "-" + \<pid\>. + If no TQApplication object exists the client registers itself as "anonymous". If you want to register differently, you should use registerAs() instead. @@ -269,7 +269,7 @@ public class DCOPClient extends QObject { @see #send @see #callback */ - public native int callAsync(String remApp, String remObj, String remFun, byte[] data, QObject callBackObj, String callBackSlot); + public native int callAsync(String remApp, String remObj, String remFun, byte[] data, TQObject callBackObj, String callBackSlot); /** Searches for an object which matches a criteria. findObject calls <code>remFun</code> in the applications and objects identified @@ -386,7 +386,7 @@ public class DCOPClient extends QObject { @short Sends the delayed reply of a function call. @see #beginTransaction */ - // void endTransaction(DCOPClientTransaction* arg1,QCString& arg2,QByteArray& arg3); >>>> NOT CONVERTED + // void endTransaction(DCOPClientTransaction* arg1,TQCString& arg2,TQByteArray& arg3); >>>> NOT CONVERTED /** Test whether the current function call is delayed. Note: Should be called from inside process() only! diff --git a/kdejava/koala/org/kde/koala/DCOPClientSignals.java b/kdejava/koala/org/kde/koala/DCOPClientSignals.java index 4ccb7b23..999b3c17 100644 --- a/kdejava/koala/org/kde/koala/DCOPClientSignals.java +++ b/kdejava/koala/org/kde/koala/DCOPClientSignals.java @@ -2,9 +2,9 @@ package org.kde.koala; import java.util.ArrayList; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; public interface DCOPClientSignals { /** diff --git a/kdejava/koala/org/kde/koala/DCOPObject.java b/kdejava/koala/org/kde/koala/DCOPObject.java index 3e30a6d2..7e7fda3f 100644 --- a/kdejava/koala/org/kde/koala/DCOPObject.java +++ b/kdejava/koala/org/kde/koala/DCOPObject.java @@ -4,7 +4,7 @@ package org.kde.koala; import org.kde.qt.Qt; import java.util.ArrayList; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -39,14 +39,14 @@ public class DCOPObject implements QtSupport, DCOPObjectInterface { private native void newDCOPObject(); /** Creates a DCOPObject and calculates the object id - using QObject.name(). + using TQObject.name(). @param obj the object to extract the name from - @short Creates a DCOPObject and calculates the object id using QObject.name(). + @short Creates a DCOPObject and calculates the object id using TQObject.name(). */ - public DCOPObject(QObject arg1) { + public DCOPObject(TQObject arg1) { newDCOPObject(arg1); } - private native void newDCOPObject(QObject arg1); + private native void newDCOPObject(TQObject arg1); /** Creates a DCOPObject with object Id <code>objId.</code> @param objId the object id of the DCOP object @@ -270,16 +270,16 @@ public class DCOPObject implements QtSupport, DCOPObjectInterface { @short Tries to find an object using a partial object id. */ - // QPtrList<DCOPObject> match(const QCString& arg1); >>>> NOT CONVERTED + // TQPtrList<DCOPObject> match(const TQCString& arg1); >>>> NOT CONVERTED /** - Creates an object id for the QObject <code>obj.</code> This is done - using the QObject.name() function. + Creates an object id for the TQObject <code>obj.</code> This is done + using the TQObject.name() function. @param obj the object whose name will be used @return the created object id - @short Creates an object id for the QObject <code>obj.</code> + @short Creates an object id for the TQObject <code>obj.</code> */ - public static native String objectName(QObject arg1); + public static native String objectName(TQObject arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/DCOPObjectInterface.java b/kdejava/koala/org/kde/koala/DCOPObjectInterface.java index 089e0df3..5cf3afc6 100644 --- a/kdejava/koala/org/kde/koala/DCOPObjectInterface.java +++ b/kdejava/koala/org/kde/koala/DCOPObjectInterface.java @@ -3,7 +3,7 @@ package org.kde.koala; import java.util.ArrayList; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; public interface DCOPObjectInterface { String objId(); diff --git a/kdejava/koala/org/kde/koala/DavJob.java b/kdejava/koala/org/kde/koala/DavJob.java index 60a8da58..bf1f70b2 100644 --- a/kdejava/koala/org/kde/koala/DavJob.java +++ b/kdejava/koala/org/kde/koala/DavJob.java @@ -2,8 +2,8 @@ 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; /** @@ -20,7 +20,7 @@ import org.kde.qt.QtSupport; */ public class DavJob extends TransferJob { protected DavJob(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Use KIO.davPropFind(), KIO.davPropPatch() and @@ -33,12 +33,12 @@ public class DavJob extends TransferJob { } private native void newDavJob(KURL url, int method, String request, boolean showProgressInfo); /** - Returns the response as a QDomDocument. + Returns the response as a TQDomDocument. @return the response document - @short Returns the response as a QDomDocument. + @short Returns the response as a TQDomDocument. */ - public native QDomDocument response(); + public native TQDomDocument response(); protected native void slotFinished(); protected native void slotData(byte[] data); } diff --git a/kdejava/koala/org/kde/koala/DefaultProgress.java b/kdejava/koala/org/kde/koala/DefaultProgress.java index 1cd00645..7ca67791 100644 --- a/kdejava/koala/org/kde/koala/DefaultProgress.java +++ b/kdejava/koala/org/kde/koala/DefaultProgress.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -12,7 +12,7 @@ import org.kde.qt.QWidget; */ public class DefaultProgress extends ProgressBase { protected DefaultProgress(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a new default progress dialog. @@ -36,16 +36,16 @@ public class DefaultProgress extends ProgressBase { @param the name of the dialog, can be 0 @short Creates a new default progress dialog. */ - public DefaultProgress(QWidget parent, String name) { + public DefaultProgress(TQWidget parent, String name) { super((Class) null); newDefaultProgress(parent,name); } - private native void newDefaultProgress(QWidget parent, String name); - public DefaultProgress(QWidget parent) { + private native void newDefaultProgress(TQWidget parent, String name); + public DefaultProgress(TQWidget parent) { super((Class) null); newDefaultProgress(parent); } - private native void newDefaultProgress(QWidget parent); + private native void newDefaultProgress(TQWidget parent); public native boolean keepOpen(); public native void slotTotalSize(Job arg1, long size); public native void slotTotalFiles(Job arg1, long files); diff --git a/kdejava/koala/org/kde/koala/DeleteJob.java b/kdejava/koala/org/kde/koala/DeleteJob.java index ca1b62d2..2e4bc10a 100644 --- a/kdejava/koala/org/kde/koala/DeleteJob.java +++ b/kdejava/koala/org/kde/koala/DeleteJob.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; @@ -17,7 +17,7 @@ import java.util.ArrayList; */ public class DeleteJob extends Job { protected DeleteJob(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Do not create a DeleteJob directly. Use KIO.del() diff --git a/kdejava/koala/org/kde/koala/DeleteJobSignals.java b/kdejava/koala/org/kde/koala/DeleteJobSignals.java index 71aff1f3..81a0a24b 100644 --- a/kdejava/koala/org/kde/koala/DeleteJobSignals.java +++ b/kdejava/koala/org/kde/koala/DeleteJobSignals.java @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; diff --git a/kdejava/koala/org/kde/koala/DockMainWindow.java b/kdejava/koala/org/kde/koala/DockMainWindow.java index 0076b8a8..14c3c4b7 100644 --- a/kdejava/koala/org/kde/koala/DockMainWindow.java +++ b/kdejava/koala/org/kde/koala/DockMainWindow.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQWidget; /** @@ -19,27 +19,27 @@ import org.kde.qt.QWidget; */ public class DockMainWindow extends KDockMainWindow implements PartBaseInterface { protected DockMainWindow(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor, same signature as KDockMainWindow. @short Constructor, same signature as KDockMainWindow. */ - public DockMainWindow(QWidget parent, String name, int f) { + public DockMainWindow(TQWidget parent, String name, int f) { super((Class) null); newDockMainWindow(parent,name,f); } - private native void newDockMainWindow(QWidget parent, String name, int f); - public DockMainWindow(QWidget parent, String name) { + private native void newDockMainWindow(TQWidget parent, String name, int f); + public DockMainWindow(TQWidget parent, String name) { super((Class) null); newDockMainWindow(parent,name); } - private native void newDockMainWindow(QWidget parent, String name); - public DockMainWindow(QWidget parent) { + private native void newDockMainWindow(TQWidget parent, String name); + public DockMainWindow(TQWidget parent) { super((Class) null); newDockMainWindow(parent); } - private native void newDockMainWindow(QWidget parent); + private native void newDockMainWindow(TQWidget parent); public DockMainWindow() { super((Class) null); newDockMainWindow(); @@ -67,8 +67,8 @@ public class DockMainWindow extends KDockMainWindow implements PartBaseInterface Internal method. Called by KParts.Part to specify the parent object for plugin objects. @short Internal method. */ - public native void setPartObject(QObject object); - public native QObject partObject(); + public native void setPartObject(TQObject object); + public native TQObject partObject(); /** Set the instance ( KInstance) for this part. Call this first in the inherited class constructor, @@ -91,8 +91,8 @@ public class DockMainWindow extends KDockMainWindow implements PartBaseInterface <pre> if( factory() ) { - QPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); - QPtrListIterator<KParts.Plugin> it( plugins ); + TQPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); + TQPtrListIterator<KParts.Plugin> it( plugins ); KParts.Plugin plugin; while( ( plugin = it.current() ) != 0 ) { @@ -103,7 +103,7 @@ public class DockMainWindow extends KDockMainWindow implements PartBaseInterface </pre> @short Load the Plugins honoring the PluginLoadingMode. */ - protected native void loadPlugins(QObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface instance); + protected native void loadPlugins(TQObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface instance); /** For a KParts.Part: call this before setInstance(). For a KParts.MainWindow: call this before createGUI(). diff --git a/kdejava/koala/org/kde/koala/Event.java b/kdejava/koala/org/kde/koala/Event.java index 7fc05e7c..0ff338d8 100644 --- a/kdejava/koala/org/kde/koala/Event.java +++ b/kdejava/koala/org/kde/koala/Event.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QEvent; -import org.kde.qt.QCustomEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQCustomEvent; /** @@ -12,7 +12,7 @@ import org.kde.qt.QCustomEvent; @short Base class for all KParts events. */ -public class Event extends QCustomEvent { +public class Event extends TQCustomEvent { protected Event(Class dummy){super((Class) null);} public Event(String eventName) { super((Class) null); @@ -20,6 +20,6 @@ public class Event extends QCustomEvent { } private native void newEvent(String eventName); public native String eventName(); - public static native boolean test(QEvent event); - public static native boolean test(QEvent event, String name); + public static native boolean test(TQEvent event); + public static native boolean test(TQEvent event, String name); } diff --git a/kdejava/koala/org/kde/koala/Factory.java b/kdejava/koala/org/kde/koala/Factory.java index f5f2d32e..6059e9a4 100644 --- a/kdejava/koala/org/kde/koala/Factory.java +++ b/kdejava/koala/org/kde/koala/Factory.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQWidget; /** @@ -18,7 +18,7 @@ import org.kde.qt.QWidget; */ public class Factory extends KLibFactory { protected Factory(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a part. @@ -46,12 +46,12 @@ public class Factory extends KLibFactory { @short Creates a part. */ - public native Part createPart(QWidget parentWidget, String widgetName, QObject parent, String name, String classname, String[] args); - public native Part createPart(QWidget parentWidget, String widgetName, QObject parent, String name, String classname); - public native Part createPart(QWidget parentWidget, String widgetName, QObject parent, String name); - public native Part createPart(QWidget parentWidget, String widgetName, QObject parent); - public native Part createPart(QWidget parentWidget, String widgetName); - public native Part createPart(QWidget parentWidget); + public native Part createPart(TQWidget parentWidget, String widgetName, TQObject parent, String name, String classname, String[] args); + public native Part createPart(TQWidget parentWidget, String widgetName, TQObject parent, String name, String classname); + public native Part createPart(TQWidget parentWidget, String widgetName, TQObject parent, String name); + public native Part createPart(TQWidget parentWidget, String widgetName, TQObject parent); + public native Part createPart(TQWidget parentWidget, String widgetName); + public native Part createPart(TQWidget parentWidget); public native Part createPart(); /** If you have a part contained in a shared library you might want to query diff --git a/kdejava/koala/org/kde/koala/FileCopyJob.java b/kdejava/koala/org/kde/koala/FileCopyJob.java index 11c9aa0e..b96fc5f2 100644 --- a/kdejava/koala/org/kde/koala/FileCopyJob.java +++ b/kdejava/koala/org/kde/koala/FileCopyJob.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; /** @@ -15,7 +15,7 @@ import org.kde.qt.QtSupport; */ public class FileCopyJob extends Job { protected FileCopyJob(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Do not create a FileCopyJob directly. Use KIO.file_move() diff --git a/kdejava/koala/org/kde/koala/GUIActivateEvent.java b/kdejava/koala/org/kde/koala/GUIActivateEvent.java index ea9390ae..00eb1c10 100644 --- a/kdejava/koala/org/kde/koala/GUIActivateEvent.java +++ b/kdejava/koala/org/kde/koala/GUIActivateEvent.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QEvent; +import org.kde.qt.TQEvent; /** @@ -23,5 +23,5 @@ public class GUIActivateEvent extends Event { } private native void newGUIActivateEvent(boolean activated); public native boolean activated(); - public static native boolean test(QEvent event); + public static native boolean test(TQEvent event); } diff --git a/kdejava/koala/org/kde/koala/HTMLBlockquoteElement.java b/kdejava/koala/org/kde/koala/HTMLBlockquoteElement.java index f38ea296..c51a864d 100644 --- a/kdejava/koala/org/kde/koala/HTMLBlockquoteElement.java +++ b/kdejava/koala/org/kde/koala/HTMLBlockquoteElement.java @@ -7,8 +7,8 @@ import org.kde.qt.QtSupport; /** ??? See the <a - href="http://www.w3.org/TR/REC-html40/struct/text.html#edef-BLOCKQUOTE"> - BLOCKQUOTE element definition </a> in HTML 4.0. + href="http://www.w3.org/TR/REC-html40/struct/text.html#edef-BLOCKTQUOTE"> + BLOCKTQUOTE element definition </a> in HTML 4.0. @short ??? See the <a href="http://www. */ diff --git a/kdejava/koala/org/kde/koala/HTMLQuoteElement.java b/kdejava/koala/org/kde/koala/HTMLQuoteElement.java index ab9135aa..202c0aa3 100644 --- a/kdejava/koala/org/kde/koala/HTMLQuoteElement.java +++ b/kdejava/koala/org/kde/koala/HTMLQuoteElement.java @@ -6,15 +6,15 @@ import org.kde.qt.QtSupport; /** - For the <code>Q</code> and <code>BLOCKQUOTE</code> elements. + For the <code>Q</code> and <code>BLOCKTQUOTE</code> elements. See the <a href="http://www.w3.org/TR/REC-html40/struct/text.html#edef-Q"> Q element definition </a> in HTML 4.0. Note: The DOM is not quite consistent here. They also define the - HTMLBlockQuoteElement interface, to represent the <code>BLOCKQUOTE</code> - element. To resolve ambiquities, we use this one for the <code>Q</code> + HTMLBlockQuoteElement interface, to represent the <code>BLOCKTQUOTE</code> + element. To resolve ambitquities, we use this one for the <code>Q</code> element only. - @short For the <code>Q</code> and <code>BLOCKQUOTE</code> elements. + @short For the <code>Q</code> and <code>BLOCKTQUOTE</code> elements. */ public class HTMLQuoteElement extends HTMLElement { diff --git a/kdejava/koala/org/kde/koala/HistoryProvider.java b/kdejava/koala/org/kde/koala/HistoryProvider.java index bb568d67..b40c8799 100644 --- a/kdejava/koala/org/kde/koala/HistoryProvider.java +++ b/kdejava/koala/org/kde/koala/HistoryProvider.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQObject; /** @@ -21,24 +21,24 @@ import org.kde.qt.QObject; @short Basic class to manage a history of "items". */ -public class HistoryProvider extends QObject { +public class HistoryProvider extends TQObject { protected HistoryProvider(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a KHistoryProvider with an optional parent and name @short Creates a KHistoryProvider with an optional parent and name */ - public HistoryProvider(QObject parent, String name) { + public HistoryProvider(TQObject parent, String name) { super((Class) null); newHistoryProvider(parent,name); } - private native void newHistoryProvider(QObject parent, String name); - public HistoryProvider(QObject parent) { + private native void newHistoryProvider(TQObject parent, String name); + public HistoryProvider(TQObject parent) { super((Class) null); newHistoryProvider(parent); } - private native void newHistoryProvider(QObject parent); + private native void newHistoryProvider(TQObject parent); public HistoryProvider() { super((Class) null); newHistoryProvider(); diff --git a/kdejava/koala/org/kde/koala/HistoryProviderSignals.java b/kdejava/koala/org/kde/koala/HistoryProviderSignals.java index d8255f27..ea00a409 100644 --- a/kdejava/koala/org/kde/koala/HistoryProviderSignals.java +++ b/kdejava/koala/org/kde/koala/HistoryProviderSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; public interface HistoryProviderSignals { /** diff --git a/kdejava/koala/org/kde/koala/Job.java b/kdejava/koala/org/kde/koala/Job.java index 37074a2c..2255cd38 100644 --- a/kdejava/koala/org/kde/koala/Job.java +++ b/kdejava/koala/org/kde/koala/Job.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -29,21 +29,21 @@ import org.kde.qt.QObject; @see Slave */ -public class Job extends QObject { +public class Job extends TQObject { protected Job(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Abort this job. This kills all subjobs and deletes the job. - @param quietly if false, Job will emit signal result + @param tquietly if false, Job will emit signal result and ask kio_uiserver to close the progress window. - <code>quietly</code> is set to true for subjobs. Whether applications + <code>tquietly</code> is set to true for subjobs. Whether applications should call with true or false depends on whether they rely on result being emitted or not. @short Abort this job. */ - public native void kill(boolean quietly); + public native void kill(boolean tquietly); public native void kill(); /** Returns the error code, if there has been an error. @@ -113,7 +113,7 @@ public class Job extends QObject { top-level @short Display a dialog box to inform the user of the error given by this job. */ - public native void showErrorDialog(QWidget parent); + public native void showErrorDialog(TQWidget parent); public native void showErrorDialog(); /** Enable or disable the automatic error handling. When automatic @@ -128,7 +128,7 @@ public class Job extends QObject { @see #isAutoErrorHandlingEnabled @see #showErrorDialog */ - public native void setAutoErrorHandlingEnabled(boolean enable, QWidget parentWidget); + public native void setAutoErrorHandlingEnabled(boolean enable, TQWidget parentWidget); public native void setAutoErrorHandlingEnabled(boolean enable); /** Returns whether automatic error handling is enabled or disabled. @@ -179,7 +179,7 @@ public class Job extends QObject { @short Associate this job with a window given by <code>window.</code> @see #window */ - public native void setWindow(QWidget window); + public native void setWindow(TQWidget window); /** Returns the window this job is associated with. @return the associated window @@ -187,7 +187,7 @@ public class Job extends QObject { @short Returns the window this job is associated with. @see #setWindow */ - public native QWidget window(); + public native TQWidget window(); /** Set the parent Job. One example use of this is when FileCopyJob calls open_RenameDlg, @@ -233,7 +233,7 @@ public class Job extends QObject { @see #setMetaData @see #mergeMetaData */ - // void addMetaData(const QMap<QString, QString>& arg1); >>>> NOT CONVERTED + // void addMetaData(const TQMap<TQString, TQString>& arg1); >>>> NOT CONVERTED /** Add key/value pairs to the meta data that is sent to the slave. If a certain key already existed, it will remain unchanged. @@ -242,7 +242,7 @@ public class Job extends QObject { @see #setMetaData @see #addMetaData */ - // void mergeMetaData(const QMap<QString, QString>& arg1); >>>> NOT CONVERTED + // void mergeMetaData(const TQMap<TQString, TQString>& arg1); >>>> NOT CONVERTED /** @short */ diff --git a/kdejava/koala/org/kde/koala/JobSignals.java b/kdejava/koala/org/kde/koala/JobSignals.java index e64ec0d1..4f499f13 100644 --- a/kdejava/koala/org/kde/koala/JobSignals.java +++ b/kdejava/koala/org/kde/koala/JobSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface JobSignals { /** diff --git a/kdejava/koala/org/kde/koala/KAboutApplication.java b/kdejava/koala/org/kde/koala/KAboutApplication.java index b1fa9d2e..91f121f5 100644 --- a/kdejava/koala/org/kde/koala/KAboutApplication.java +++ b/kdejava/koala/org/kde/koala/KAboutApplication.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -31,25 +31,25 @@ public class KAboutApplication extends KAboutDialog { @param name Internal name of the widget. This name is not used in the caption. @param modal If false, this widget will be modeless and must be - made visible using QWidget.show(). Otherwise it will be - modal and must be made visible using QWidget.exec(). + made visible using TQWidget.show(). Otherwise it will be + modal and must be made visible using TQWidget.exec(). @short Constructor. */ - public KAboutApplication(QWidget parent, String name, boolean modal) { + public KAboutApplication(TQWidget parent, String name, boolean modal) { super((Class) null); newKAboutApplication(parent,name,modal); } - private native void newKAboutApplication(QWidget parent, String name, boolean modal); - public KAboutApplication(QWidget parent, String name) { + private native void newKAboutApplication(TQWidget parent, String name, boolean modal); + public KAboutApplication(TQWidget parent, String name) { super((Class) null); newKAboutApplication(parent,name); } - private native void newKAboutApplication(QWidget parent, String name); - public KAboutApplication(QWidget parent) { + private native void newKAboutApplication(TQWidget parent, String name); + public KAboutApplication(TQWidget parent) { super((Class) null); newKAboutApplication(parent); } - private native void newKAboutApplication(QWidget parent); + private native void newKAboutApplication(TQWidget parent); public KAboutApplication() { super((Class) null); newKAboutApplication(); @@ -68,25 +68,25 @@ public class KAboutApplication extends KAboutDialog { @param name Internal name of the widget. This name is not used in the caption. @param modal If false, this widget will be modeless and must be - made visible using QWidget.show(). Otherwise it will be - modal and must be made visible using QWidget.exec(). + made visible using TQWidget.show(). Otherwise it will be + modal and must be made visible using TQWidget.exec(). @short Constructor. */ - public KAboutApplication(KAboutData aboutData, QWidget parent, String name, boolean modal) { + public KAboutApplication(KAboutData aboutData, TQWidget parent, String name, boolean modal) { super((Class) null); newKAboutApplication(aboutData,parent,name,modal); } - private native void newKAboutApplication(KAboutData aboutData, QWidget parent, String name, boolean modal); - public KAboutApplication(KAboutData aboutData, QWidget parent, String name) { + private native void newKAboutApplication(KAboutData aboutData, TQWidget parent, String name, boolean modal); + public KAboutApplication(KAboutData aboutData, TQWidget parent, String name) { super((Class) null); newKAboutApplication(aboutData,parent,name); } - private native void newKAboutApplication(KAboutData aboutData, QWidget parent, String name); - public KAboutApplication(KAboutData aboutData, QWidget parent) { + private native void newKAboutApplication(KAboutData aboutData, TQWidget parent, String name); + public KAboutApplication(KAboutData aboutData, TQWidget parent) { super((Class) null); newKAboutApplication(aboutData,parent); } - private native void newKAboutApplication(KAboutData aboutData, QWidget parent); + private native void newKAboutApplication(KAboutData aboutData, TQWidget parent); public KAboutApplication(KAboutData aboutData) { super((Class) null); newKAboutApplication(aboutData); diff --git a/kdejava/koala/org/kde/koala/KAboutContainer.java b/kdejava/koala/org/kde/koala/KAboutContainer.java index d27dc501..135ac137 100644 --- a/kdejava/koala/org/kde/koala/KAboutContainer.java +++ b/kdejava/koala/org/kde/koala/KAboutContainer.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; -import org.kde.qt.QChildEvent; -import org.kde.qt.QFrame; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; +import org.kde.qt.TQChildEvent; +import org.kde.qt.TQFrame; /** @@ -16,46 +16,46 @@ import org.kde.qt.QFrame; @short KAboutContainer can be used to make a application specific AboutDialog. */ -public class KAboutContainer extends QFrame { +public class KAboutContainer extends TQFrame { protected KAboutContainer(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KAboutContainer(QWidget parent, String name, int margin, int spacing, int childAlignment, int innerAlignment) { + public KAboutContainer(TQWidget parent, String name, int margin, int spacing, int childAlignment, int innerAlignment) { super((Class) null); newKAboutContainer(parent,name,margin,spacing,childAlignment,innerAlignment); } - private native void newKAboutContainer(QWidget parent, String name, int margin, int spacing, int childAlignment, int innerAlignment); - public KAboutContainer(QWidget parent, String name, int margin, int spacing, int childAlignment) { + private native void newKAboutContainer(TQWidget parent, String name, int margin, int spacing, int childAlignment, int innerAlignment); + public KAboutContainer(TQWidget parent, String name, int margin, int spacing, int childAlignment) { super((Class) null); newKAboutContainer(parent,name,margin,spacing,childAlignment); } - private native void newKAboutContainer(QWidget parent, String name, int margin, int spacing, int childAlignment); - public KAboutContainer(QWidget parent, String name, int margin, int spacing) { + private native void newKAboutContainer(TQWidget parent, String name, int margin, int spacing, int childAlignment); + public KAboutContainer(TQWidget parent, String name, int margin, int spacing) { super((Class) null); newKAboutContainer(parent,name,margin,spacing); } - private native void newKAboutContainer(QWidget parent, String name, int margin, int spacing); - public KAboutContainer(QWidget parent, String name, int margin) { + private native void newKAboutContainer(TQWidget parent, String name, int margin, int spacing); + public KAboutContainer(TQWidget parent, String name, int margin) { super((Class) null); newKAboutContainer(parent,name,margin); } - private native void newKAboutContainer(QWidget parent, String name, int margin); - public KAboutContainer(QWidget parent, String name) { + private native void newKAboutContainer(TQWidget parent, String name, int margin); + public KAboutContainer(TQWidget parent, String name) { super((Class) null); newKAboutContainer(parent,name); } - private native void newKAboutContainer(QWidget parent, String name); - public KAboutContainer(QWidget parent) { + private native void newKAboutContainer(TQWidget parent, String name); + public KAboutContainer(TQWidget parent) { super((Class) null); newKAboutContainer(parent); } - private native void newKAboutContainer(QWidget parent); + private native void newKAboutContainer(TQWidget parent); public KAboutContainer() { super((Class) null); newKAboutContainer(); } private native void newKAboutContainer(); - public native void addWidget(QWidget widget); + public native void addWidget(TQWidget widget); public native void addPerson(String name, String email, String url, String task, boolean showHeader, boolean showframe, boolean showBold); public native void addPerson(String name, String email, String url, String task, boolean showHeader, boolean showframe); public native void addPerson(String name, String email, String url, String task, boolean showHeader); @@ -66,9 +66,9 @@ public class KAboutContainer extends QFrame { public native void addTitle(String title); public native void addImage(String fileName, int alignment); public native void addImage(String fileName); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); - protected native void childEvent(QChildEvent e); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + protected native void childEvent(TQChildEvent e); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KAboutContainerSignals.java b/kdejava/koala/org/kde/koala/KAboutContainerSignals.java index 1d25e21d..5129cdbc 100644 --- a/kdejava/koala/org/kde/koala/KAboutContainerSignals.java +++ b/kdejava/koala/org/kde/koala/KAboutContainerSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; -import org.kde.qt.QChildEvent; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; +import org.kde.qt.TQChildEvent; public interface KAboutContainerSignals { void urlClick(String url); diff --git a/kdejava/koala/org/kde/koala/KAboutContributor.java b/kdejava/koala/org/kde/koala/KAboutContributor.java index 885ec536..6d74ddbb 100644 --- a/kdejava/koala/org/kde/koala/KAboutContributor.java +++ b/kdejava/koala/org/kde/koala/KAboutContributor.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; -import org.kde.qt.QFrame; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; +import org.kde.qt.TQFrame; /** @@ -16,55 +16,55 @@ import org.kde.qt.QFrame; @short Used internally by KAboutWidget */ -public class KAboutContributor extends QFrame { +public class KAboutContributor extends TQFrame { protected KAboutContributor(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KAboutContributor(QWidget parent, String name, String username, String email, String url, String work, boolean showHeader, boolean showFrame, boolean showBold) { + public KAboutContributor(TQWidget parent, String name, String username, String email, String url, String work, boolean showHeader, boolean showFrame, boolean showBold) { super((Class) null); newKAboutContributor(parent,name,username,email,url,work,showHeader,showFrame,showBold); } - private native void newKAboutContributor(QWidget parent, String name, String username, String email, String url, String work, boolean showHeader, boolean showFrame, boolean showBold); - public KAboutContributor(QWidget parent, String name, String username, String email, String url, String work, boolean showHeader, boolean showFrame) { + private native void newKAboutContributor(TQWidget parent, String name, String username, String email, String url, String work, boolean showHeader, boolean showFrame, boolean showBold); + public KAboutContributor(TQWidget parent, String name, String username, String email, String url, String work, boolean showHeader, boolean showFrame) { super((Class) null); newKAboutContributor(parent,name,username,email,url,work,showHeader,showFrame); } - private native void newKAboutContributor(QWidget parent, String name, String username, String email, String url, String work, boolean showHeader, boolean showFrame); - public KAboutContributor(QWidget parent, String name, String username, String email, String url, String work, boolean showHeader) { + private native void newKAboutContributor(TQWidget parent, String name, String username, String email, String url, String work, boolean showHeader, boolean showFrame); + public KAboutContributor(TQWidget parent, String name, String username, String email, String url, String work, boolean showHeader) { super((Class) null); newKAboutContributor(parent,name,username,email,url,work,showHeader); } - private native void newKAboutContributor(QWidget parent, String name, String username, String email, String url, String work, boolean showHeader); - public KAboutContributor(QWidget parent, String name, String username, String email, String url, String work) { + private native void newKAboutContributor(TQWidget parent, String name, String username, String email, String url, String work, boolean showHeader); + public KAboutContributor(TQWidget parent, String name, String username, String email, String url, String work) { super((Class) null); newKAboutContributor(parent,name,username,email,url,work); } - private native void newKAboutContributor(QWidget parent, String name, String username, String email, String url, String work); - public KAboutContributor(QWidget parent, String name, String username, String email, String url) { + private native void newKAboutContributor(TQWidget parent, String name, String username, String email, String url, String work); + public KAboutContributor(TQWidget parent, String name, String username, String email, String url) { super((Class) null); newKAboutContributor(parent,name,username,email,url); } - private native void newKAboutContributor(QWidget parent, String name, String username, String email, String url); - public KAboutContributor(QWidget parent, String name, String username, String email) { + private native void newKAboutContributor(TQWidget parent, String name, String username, String email, String url); + public KAboutContributor(TQWidget parent, String name, String username, String email) { super((Class) null); newKAboutContributor(parent,name,username,email); } - private native void newKAboutContributor(QWidget parent, String name, String username, String email); - public KAboutContributor(QWidget parent, String name, String username) { + private native void newKAboutContributor(TQWidget parent, String name, String username, String email); + public KAboutContributor(TQWidget parent, String name, String username) { super((Class) null); newKAboutContributor(parent,name,username); } - private native void newKAboutContributor(QWidget parent, String name, String username); - public KAboutContributor(QWidget parent, String name) { + private native void newKAboutContributor(TQWidget parent, String name, String username); + public KAboutContributor(TQWidget parent, String name) { super((Class) null); newKAboutContributor(parent,name); } - private native void newKAboutContributor(QWidget parent, String name); - public KAboutContributor(QWidget parent) { + private native void newKAboutContributor(TQWidget parent, String name); + public KAboutContributor(TQWidget parent) { super((Class) null); newKAboutContributor(parent); } - private native void newKAboutContributor(QWidget parent); + private native void newKAboutContributor(TQWidget parent); public KAboutContributor() { super((Class) null); newKAboutContributor(); @@ -86,8 +86,8 @@ public class KAboutContributor extends QFrame { public native String getEmail(); public native String getURL(); public native String getWork(); - public native QSize sizeHint(); - protected native void fontChange(QFont oldFont); + public native TQSize sizeHint(); + protected native void fontChange(TQFont oldFont); protected native void urlClickedSlot(String arg1); protected native void emailClickedSlot(String emailaddress); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KAboutContributorSignals.java b/kdejava/koala/org/kde/koala/KAboutContributorSignals.java index 7bd260d8..d68f0fd9 100644 --- a/kdejava/koala/org/kde/koala/KAboutContributorSignals.java +++ b/kdejava/koala/org/kde/koala/KAboutContributorSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; public interface KAboutContributorSignals { void sendEmail(String name, String email); diff --git a/kdejava/koala/org/kde/koala/KAboutData.java b/kdejava/koala/org/kde/koala/KAboutData.java index 9ccbd0f7..8eae6e4c 100644 --- a/kdejava/koala/org/kde/koala/KAboutData.java +++ b/kdejava/koala/org/kde/koala/KAboutData.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QImage; +import org.kde.qt.TQImage; /** @@ -194,7 +194,7 @@ public class KAboutData implements QtSupport { @short Defines the program logo. @see #programLogo */ - public native void setProgramLogo(QImage image); + public native void setProgramLogo(TQImage image); /** Defines the program version string. @param version The program version. @@ -286,7 +286,7 @@ public class KAboutData implements QtSupport { @short Returns the program logo image. */ - public native QImage programLogo(); + public native TQImage programLogo(); /** Returns the program's version. @return the version string. @@ -323,21 +323,21 @@ public class KAboutData implements QtSupport { @short Returns a list of authors. */ - // const QValueList<KAboutPerson> authors(); >>>> NOT CONVERTED + // const TQValueList<KAboutPerson> authors(); >>>> NOT CONVERTED /** Returns a list of persons who contributed. @return credit information (list of persons). @short Returns a list of persons who contributed. */ - // const QValueList<KAboutPerson> credits(); >>>> NOT CONVERTED + // const TQValueList<KAboutPerson> credits(); >>>> NOT CONVERTED /** Returns a list of translators. @return translators information (list of persons) @short Returns a list of translators. */ - // const QValueList<KAboutTranslator> translators(); >>>> NOT CONVERTED + // const TQValueList<KAboutTranslator> translators(); >>>> NOT CONVERTED /** Returns a translated, free form text. @return the free form text (translated). Can be null if not set. diff --git a/kdejava/koala/org/kde/koala/KAboutDialog.java b/kdejava/koala/org/kde/koala/KAboutDialog.java index 6326f3b0..cfeea414 100644 --- a/kdejava/koala/org/kde/koala/KAboutDialog.java +++ b/kdejava/koala/org/kde/koala/KAboutDialog.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QFrame; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQFrame; /** @@ -59,7 +59,7 @@ public class KAboutDialog extends KDialogBase { public static final int AbtAppStandard = AbtTabbed|AbtTitle|AbtProduct; public static final int AbtImageAndTitle = AbtPlain|AbtTitle|AbtImageOnly; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** The standard Qt constructor (Constructor I). @@ -69,21 +69,21 @@ public class KAboutDialog extends KDialogBase { The dialog will be laid out automatically. @short The standard Qt constructor (Constructor I). */ - public KAboutDialog(QWidget parent, String name, boolean modal) { + public KAboutDialog(TQWidget parent, String name, boolean modal) { super((Class) null); newKAboutDialog(parent,name,modal); } - private native void newKAboutDialog(QWidget parent, String name, boolean modal); - public KAboutDialog(QWidget parent, String name) { + private native void newKAboutDialog(TQWidget parent, String name, boolean modal); + public KAboutDialog(TQWidget parent, String name) { super((Class) null); newKAboutDialog(parent,name); } - private native void newKAboutDialog(QWidget parent, String name); - public KAboutDialog(QWidget parent) { + private native void newKAboutDialog(TQWidget parent, String name); + public KAboutDialog(TQWidget parent) { super((Class) null); newKAboutDialog(parent); } - private native void newKAboutDialog(QWidget parent); + private native void newKAboutDialog(TQWidget parent); public KAboutDialog() { super((Class) null); newKAboutDialog(); @@ -112,41 +112,41 @@ public class KAboutDialog extends KDialogBase { @param user3 User button3 text. @short The extended constructor. */ - public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, String user1, String user2, String user3) { + public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1, String user2, String user3) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name,modal,separator,user1,user2,user3); } - private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, String user1, String user2, String user3); - public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, String user1, String user2) { + private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1, String user2, String user3); + public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1, String user2) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name,modal,separator,user1,user2); } - private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, String user1, String user2); - public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, String user1) { + private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1, String user2); + public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name,modal,separator,user1); } - private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, String user1); - public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator) { + private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, String user1); + public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name,modal,separator); } - private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator); - public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal) { + private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator); + public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name,modal); } - private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal); - public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name) { + private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal); + public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent,name); } - private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name); - public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent) { + private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent, String name); + public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton,parent); } - private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent); + private native void newKAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, TQWidget parent); public KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton) { super((Class) null); newKAboutDialog(dialogLayout,caption,buttonMask,defaultButton); @@ -155,7 +155,7 @@ public class KAboutDialog extends KDialogBase { /** Adjusts the dialog. You can call this method after you have set up all - the contents but it is not required. It is done automatically when + the contents but it is not retquired. It is done automatically when show() is executed. @short Adjusts the dialog. */ @@ -175,7 +175,7 @@ public class KAboutDialog extends KDialogBase { @param centerParent Center the dialog with respect to this widget. @short Makes a modeless (modal = false in constructor) dialog visible. */ - public native void show(QWidget centerParent); + public native void show(TQWidget centerParent); /** (Constructor II only) Sets a title (not caption) in the uppermost area of the dialog. @@ -192,8 +192,8 @@ public class KAboutDialog extends KDialogBase { */ public native void setImage(String fileName); /** - Overloaded version of setProgramLogo(QPixmap pixmap). - @short Overloaded version of setProgramLogo(QPixmap pixmap). + Overloaded version of setProgramLogo(TQPixmap pixmap). + @short Overloaded version of setProgramLogo(TQPixmap pixmap). */ public native void setProgramLogo(String fileName); /** @@ -205,7 +205,7 @@ public class KAboutDialog extends KDialogBase { @param pixmap The logo pixmap. @short (Constructor II only) Define the program logo to be shown in the dialog. */ - public native void setProgramLogo(QPixmap pixmap); + public native void setProgramLogo(TQPixmap pixmap); /** (Constructor II only) The image has a minimum size, but is centered within an area if the @@ -214,7 +214,7 @@ public class KAboutDialog extends KDialogBase { @param color Background color. @short (Constructor II only) The image has a minimum size, but is centered within an area if the dialog box is enlarged by the user. */ - public native void setImageBackgroundColor(QColor color); + public native void setImageBackgroundColor(TQColor color); /** (Constructor II only) Enables or disables a frame around the image. The frame is, by default, @@ -248,9 +248,9 @@ public class KAboutDialog extends KDialogBase { @short (Constructor II only) Adds a text page to a tab box. */ - public native QFrame addTextPage(String title, String text, boolean richText, int numLines); - public native QFrame addTextPage(String title, String text, boolean richText); - public native QFrame addTextPage(String title, String text); + public native TQFrame addTextPage(String title, String text, boolean richText, int numLines); + public native TQFrame addTextPage(String title, String text, boolean richText); + public native TQFrame addTextPage(String title, String text); /** (Constructor II only) Adds a license page to a tab box. @@ -262,8 +262,8 @@ public class KAboutDialog extends KDialogBase { @short (Constructor II only) Adds a license page to a tab box. */ - public native QFrame addLicensePage(String title, String text, int numLines); - public native QFrame addLicensePage(String title, String text); + public native TQFrame addLicensePage(String title, String text, int numLines); + public native TQFrame addLicensePage(String title, String text); /** (Constructor II only) Adds a container to a tab box. You can add text and images to a @@ -282,7 +282,7 @@ public class KAboutDialog extends KDialogBase { public native KAboutContainer addContainerPage(String title); /** (Constructor II only) - Adds a container inside a QScrollView to a tab box. You can add text + Adds a container inside a TQScrollView to a tab box. You can add text and images to a container. @param title Tab name. @param childAlignment Specifies how the children of the container are @@ -291,7 +291,7 @@ public class KAboutDialog extends KDialogBase { respect to each other. @return The new container. - @short (Constructor II only) Adds a container inside a QScrollView to a tab box. + @short (Constructor II only) Adds a container inside a TQScrollView to a tab box. */ public native KAboutContainer addScrolledContainerPage(String title, int childAlignment, int innerAlignment); public native KAboutContainer addScrolledContainerPage(String title, int childAlignment); @@ -316,13 +316,13 @@ public class KAboutDialog extends KDialogBase { @short (Constructor II only) Adds an empty page to a tab box. */ - public native QFrame addPage(String title); + public native TQFrame addPage(String title); /** (Constructor I only) Sets the image as the application logo. @short (Constructor I only) Sets the image as the application logo. */ - public native void setLogo(QPixmap arg1); + public native void setLogo(TQPixmap arg1); /** (Constructor I only) Sets the author's name and email address. @@ -352,7 +352,7 @@ public class KAboutDialog extends KDialogBase { URL link below. @short Create a modal dialog with an image in the upper area with a URL link below. */ - public static native void imageURL(QWidget parent, String caption, String path, QColor imageColor, String url); + public static native void imageURL(TQWidget parent, String caption, String path, TQColor imageColor, String url); /** Connected to widget.sendEmail. @short Connected to widget.sendEmail. @@ -369,7 +369,7 @@ public class KAboutDialog extends KDialogBase { is pressed above an image @short (Constructor II only) Tells the position of the mouse cursor when the left mouse button is pressed above an image */ - protected native void mouseTrackSlot(int mode, QMouseEvent e); + protected native void mouseTrackSlot(int mode, TQMouseEvent e); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KAboutDialogSignals.java b/kdejava/koala/org/kde/koala/KAboutDialogSignals.java index c2f2d69b..164ee242 100644 --- a/kdejava/koala/org/kde/koala/KAboutDialogSignals.java +++ b/kdejava/koala/org/kde/koala/KAboutDialogSignals.java @@ -1,13 +1,13 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QFrame; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQFrame; public interface KAboutDialogSignals { /** diff --git a/kdejava/koala/org/kde/koala/KAboutKDE.java b/kdejava/koala/org/kde/koala/KAboutKDE.java index 2ccfca6f..c985f0da 100644 --- a/kdejava/koala/org/kde/koala/KAboutKDE.java +++ b/kdejava/koala/org/kde/koala/KAboutKDE.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -29,25 +29,25 @@ public class KAboutKDE extends KAboutDialog { @param name Internal name of the widget. This name in not used in the caption. @param modal If false, this widget will be modeless and must be - made visible using QWidget.show(). Otherwise it will be - modal and must be made visible using QWidget.exec() + made visible using TQWidget.show(). Otherwise it will be + modal and must be made visible using TQWidget.exec() @short Constructor. */ - public KAboutKDE(QWidget parent, String name, boolean modal) { + public KAboutKDE(TQWidget parent, String name, boolean modal) { super((Class) null); newKAboutKDE(parent,name,modal); } - private native void newKAboutKDE(QWidget parent, String name, boolean modal); - public KAboutKDE(QWidget parent, String name) { + private native void newKAboutKDE(TQWidget parent, String name, boolean modal); + public KAboutKDE(TQWidget parent, String name) { super((Class) null); newKAboutKDE(parent,name); } - private native void newKAboutKDE(QWidget parent, String name); - public KAboutKDE(QWidget parent) { + private native void newKAboutKDE(TQWidget parent, String name); + public KAboutKDE(TQWidget parent) { super((Class) null); newKAboutKDE(parent); } - private native void newKAboutKDE(QWidget parent); + private native void newKAboutKDE(TQWidget parent); public KAboutKDE() { super((Class) null); newKAboutKDE(); diff --git a/kdejava/koala/org/kde/koala/KAboutPerson.java b/kdejava/koala/org/kde/koala/KAboutPerson.java index b1969eb5..48d2e8fe 100644 --- a/kdejava/koala/org/kde/koala/KAboutPerson.java +++ b/kdejava/koala/org/kde/koala/KAboutPerson.java @@ -45,7 +45,7 @@ public class KAboutPerson implements QtSupport { } private native void newKAboutPerson(String name, String task, String emailAddress, String webAddress); /** - Don't use. Required by QValueList + Don't use. Retquired by TQValueList @short */ public KAboutPerson() { diff --git a/kdejava/koala/org/kde/koala/KAboutWidget.java b/kdejava/koala/org/kde/koala/KAboutWidget.java index 75db7b44..23d47680 100644 --- a/kdejava/koala/org/kde/koala/KAboutWidget.java +++ b/kdejava/koala/org/kde/koala/KAboutWidget.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQWidget; /** @@ -17,24 +17,24 @@ import org.kde.qt.QWidget; @short KAboutWidget is the main widget for KAboutDialog. */ -public class KAboutWidget extends QWidget { +public class KAboutWidget extends TQWidget { protected KAboutWidget(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** The Qt constructor. @short The Qt constructor. */ - public KAboutWidget(QWidget parent, String name) { + public KAboutWidget(TQWidget parent, String name) { super((Class) null); newKAboutWidget(parent,name); } - private native void newKAboutWidget(QWidget parent, String name); - public KAboutWidget(QWidget parent) { + private native void newKAboutWidget(TQWidget parent, String name); + public KAboutWidget(TQWidget parent) { super((Class) null); newKAboutWidget(parent); } - private native void newKAboutWidget(QWidget parent); + private native void newKAboutWidget(TQWidget parent); public KAboutWidget() { super((Class) null); newKAboutWidget(); @@ -50,7 +50,7 @@ public class KAboutWidget extends QWidget { Sets the image as the application logo. @short Sets the image as the application logo. */ - public native void setLogo(QPixmap arg1); + public native void setLogo(TQPixmap arg1); /** Sets the author's name and email address. @short Sets the author's name and email address. @@ -75,7 +75,7 @@ public class KAboutWidget extends QWidget { The resize event. @short The resize event. */ - protected native void resizeEvent(QResizeEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); /** Catches the signals from the contributors elements. @short Catches the signals from the contributors elements. diff --git a/kdejava/koala/org/kde/koala/KAboutWidgetSignals.java b/kdejava/koala/org/kde/koala/KAboutWidgetSignals.java index e234f987..c9987fba 100644 --- a/kdejava/koala/org/kde/koala/KAboutWidgetSignals.java +++ b/kdejava/koala/org/kde/koala/KAboutWidgetSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; public interface KAboutWidgetSignals { /** diff --git a/kdejava/koala/org/kde/koala/KAccel.java b/kdejava/koala/org/kde/koala/KAccel.java index 2400b2da..989d45eb 100644 --- a/kdejava/koala/org/kde/koala/KAccel.java +++ b/kdejava/koala/org/kde/koala/KAccel.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QWidget; -import org.kde.qt.QAccel; +import org.kde.qt.TQObject; +import org.kde.qt.TQWidget; +import org.kde.qt.TQAccel; /** @@ -57,44 +57,44 @@ import org.kde.qt.QAccel; @see KKeyDialog */ -public class KAccel extends QAccel { +public class KAccel extends TQAccel { protected KAccel(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a new KAccel that watches <code>pParent</code>, which is also - the QObject's parent. + the TQObject's parent. @param pParent the parent and widget to watch for key strokes - @param psName the name of the QObject - @short Creates a new KAccel that watches <code>pParent</code>, which is also the QObject's parent. + @param psName the name of the TQObject + @short Creates a new KAccel that watches <code>pParent</code>, which is also the TQObject's parent. */ - public KAccel(QWidget pParent, String psName) { + public KAccel(TQWidget pParent, String psName) { super((Class) null); newKAccel(pParent,psName); } - private native void newKAccel(QWidget pParent, String psName); - public KAccel(QWidget pParent) { + private native void newKAccel(TQWidget pParent, String psName); + public KAccel(TQWidget pParent) { super((Class) null); newKAccel(pParent); } - private native void newKAccel(QWidget pParent); + private native void newKAccel(TQWidget pParent); /** Creates a new KAccel that watches <code>watch.</code> @param watch the widget to watch for key strokes - @param parent the parent of the QObject - @param psName the name of the QObject + @param parent the parent of the TQObject + @param psName the name of the TQObject @short Creates a new KAccel that watches <code>watch.</code> */ - public KAccel(QWidget watch, QObject parent, String psName) { + public KAccel(TQWidget watch, TQObject parent, String psName) { super((Class) null); newKAccel(watch,parent,psName); } - private native void newKAccel(QWidget watch, QObject parent, String psName); - public KAccel(QWidget watch, QObject parent) { + private native void newKAccel(TQWidget watch, TQObject parent, String psName); + public KAccel(TQWidget watch, TQObject parent) { super((Class) null); newKAccel(watch,parent); } - private native void newKAccel(QWidget watch, QObject parent); + private native void newKAccel(TQWidget watch, TQObject parent); /** Returns the KAccel's <code>KAccelActions</code>, a list of <code>KAccelAction.</code> @return the KAccelActions of the KAccel @@ -104,7 +104,7 @@ public class KAccel extends QAccel { public native KAccelActions actions(); /** Checks whether the KAccel is active. - @return true if the QAccel is enabled + @return true if the TQAccel is enabled @short Checks whether the KAccel is active. */ @@ -147,17 +147,17 @@ public class KAccel extends QAccel { @param bEnabled The action will be activated by the shortcut if set to 'true'. @short Create an accelerator action. */ - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef, QObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef, QObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef, QObject pObjSlot, String psMethodSlot); + public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); + public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); + public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot); /** Same as first insert(), but with separate shortcuts defined for 3- and 4- modifier defaults. @short Same as first insert(), but with separate shortcuts defined for 3- and 4- modifier defaults. */ - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, QObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, QObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, QObject pObjSlot, String psMethodSlot); + public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); + public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); + public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, TQObject pObjSlot, String psMethodSlot); /** This is an overloaded function provided for convenience. The advantage of this is when you want to use the same text for the name @@ -174,9 +174,9 @@ public class KAccel extends QAccel { @param bEnabled The action will be activated by the shortcut if set to 'true'. @short This is an overloaded function provided for convenience. */ - public native KAccelAction insert(String psAction, KShortcut cutDef, QObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native KAccelAction insert(String psAction, KShortcut cutDef, QObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native KAccelAction insert(String psAction, KShortcut cutDef, QObject pObjSlot, String psMethodSlot); + public native KAccelAction insert(String psAction, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); + public native KAccelAction insert(String psAction, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); + public native KAccelAction insert(String psAction, KShortcut cutDef, TQObject pObjSlot, String psMethodSlot); /** Similar to the first insert() method, but with the action name, short description, help text, and default shortcuts all @@ -184,9 +184,9 @@ public class KAccel extends QAccel { @short Similar to the first insert() method, but with the action name, short description, help text, and default shortcuts all set according to one of the standard accelerators. @see KStdAccel# */ - public native KAccelAction insert(int id, QObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native KAccelAction insert(int id, QObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native KAccelAction insert(int id, QObject pObjSlot, String psMethodSlot); + public native KAccelAction insert(int id, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); + public native KAccelAction insert(int id, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); + public native KAccelAction insert(int id, TQObject pObjSlot, String psMethodSlot); /** Removes the accelerator action identified by the name. Remember to also call updateConnections(). @@ -234,7 +234,7 @@ public class KAccel extends QAccel { @short Set the slot to be called when the shortcut of the action named by <code>sAction</code> is pressed. */ - public native boolean setSlot(String sAction, QObject pObjSlot, String psMethodSlot); + public native boolean setSlot(String sAction, TQObject pObjSlot, String psMethodSlot); /** Enable or disable the action named by <code>sAction.</code> @param sAction the action to en-/disable diff --git a/kdejava/koala/org/kde/koala/KAccelShortcutList.java b/kdejava/koala/org/kde/koala/KAccelShortcutList.java index 7d9f0e29..d0e320fc 100644 --- a/kdejava/koala/org/kde/koala/KAccelShortcutList.java +++ b/kdejava/koala/org/kde/koala/KAccelShortcutList.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QVariant; +import org.kde.qt.TQVariant; /** @@ -59,10 +59,10 @@ public class KAccelShortcutList extends KShortcutList { public native boolean isGlobal(int index); /** \internal @short \internal */ - public native QVariant getOther(int arg1, int index); + public native TQVariant getOther(int arg1, int index); /** \internal @short \internal */ - public native boolean setOther(int arg1, int index, QVariant arg3); + public native boolean setOther(int arg1, int index, TQVariant arg3); public native boolean save(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KAccelSignals.java b/kdejava/koala/org/kde/koala/KAccelSignals.java index 1518be84..355be490 100644 --- a/kdejava/koala/org/kde/koala/KAccelSignals.java +++ b/kdejava/koala/org/kde/koala/KAccelSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQWidget; public interface KAccelSignals { /** diff --git a/kdejava/koala/org/kde/koala/KAction.java b/kdejava/koala/org/kde/koala/KAction.java index e7027803..76e99f77 100644 --- a/kdejava/koala/org/kde/koala/KAction.java +++ b/kdejava/koala/org/kde/koala/KAction.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -53,9 +53,9 @@ import org.kde.qt.QObject; If you are in the situation of wanting to map the activated() signal of multiple action objects to one slot, with a special argument bound to each action, then you might consider using - QSignalMapper . A tiny example: + TQSignalMapper . A tiny example: <pre> - QSignalMapper desktopNumberMapper = new QSignalMapper( this ); + TQSignalMapper desktopNumberMapper = new TQSignalMapper( this ); connect( desktopNumberMapper, SIGNAL("mapped( int )"), this, SLOT("moveWindowToDesktop( int )") ); for ( uint i = 0; i < numberOfDesktops; ++i ) { @@ -93,7 +93,7 @@ import org.kde.qt.QObject; the standard shortcut. It further says that whenever this action is invoked, it will use the fileNew() slot to execute it. <pre> - QPopupMenu file = new QPopupMenu; + TQPopupMenu file = new TQPopupMenu; newAct.plug(file); </pre> That just inserted the action into the File menu. The point is, it's not @@ -142,7 +142,7 @@ import org.kde.qt.QObject; @see KStdAction */ -public class KAction extends QObject { +public class KAction extends TQObject { protected KAction(Class dummy){super((Class) null);} /** @short @@ -153,7 +153,7 @@ public class KAction extends QObject { public static final int PopupMenuActivation = 3; public static final int ToolBarActivation = 4; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs an action with text, potential keyboard @@ -173,11 +173,11 @@ public class KAction extends QObject { @param name An internal name for this action. @short Constructs an action with text, potential keyboard shortcut, and a SLOT to call when this action is invoked by the user. */ - public KAction(String text, KShortcut cut, QObject receiver, String slot, KActionCollection parent, String name) { + public KAction(String text, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name) { super((Class) null); newKAction(text,cut,receiver,slot,parent,name); } - private native void newKAction(String text, KShortcut cut, QObject receiver, String slot, KActionCollection parent, String name); + private native void newKAction(String text, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name); /** Constructs an action with text, icon, potential keyboard shortcut, and a SLOT to call when this action is invoked by @@ -195,11 +195,11 @@ public class KAction extends QObject { @param name An internal name for this action. @short Constructs an action with text, icon, potential keyboard shortcut, and a SLOT to call when this action is invoked by the user. */ - public KAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, KActionCollection parent, String name) { + public KAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name) { super((Class) null); newKAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, KActionCollection parent, String name); + private native void newKAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name); /** Constructs an action with text, icon, potential keyboard shortcut, and a SLOT to call when this action is invoked by @@ -218,11 +218,11 @@ public class KAction extends QObject { @param name An internal name for this action. @short Constructs an action with text, icon, potential keyboard shortcut, and a SLOT to call when this action is invoked by the user. */ - public KAction(String text, String pix, KShortcut cut, QObject receiver, String slot, KActionCollection parent, String name) { + public KAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name) { super((Class) null); newKAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKAction(String text, String pix, KShortcut cut, QObject receiver, String slot, KActionCollection parent, String name); + private native void newKAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name); /** The same as the above constructor, but with a KGuiItem providing the text and icon. @@ -234,11 +234,11 @@ public class KAction extends QObject { @param name An internal name for this action. @short The same as the above constructor, but with a KGuiItem providing the text and icon. */ - public KAction(KGuiItem item, KShortcut cut, QObject receiver, String slot, KActionCollection parent, String name) { + public KAction(KGuiItem item, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name) { super((Class) null); newKAction(item,cut,receiver,slot,parent,name); } - private native void newKAction(KGuiItem item, KShortcut cut, QObject receiver, String slot, KActionCollection parent, String name); + private native void newKAction(KGuiItem item, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name); /** "Plug" or insert this action into a given widget. This will @@ -251,8 +251,8 @@ public class KAction extends QObject { this is negative, the action is inserted at the end. @short "Plug" or insert this action into a given widget. */ - public native int plug(QWidget widget, int index); - public native int plug(QWidget widget); + public native int plug(TQWidget widget, int index); + public native int plug(TQWidget widget); /** "Unplug" or remove this action from a given widget. This will typically be a menu or a toolbar. This is rarely @@ -264,7 +264,7 @@ public class KAction extends QObject { @param w Remove the action from this GUI element. @short "Unplug" or remove this action from a given widget. */ - public native void unplug(QWidget w); + public native void unplug(TQWidget w); /** returns whether the action is plugged into any container widget or not. @short returns whether the action is plugged into any container widget or not. @@ -274,22 +274,22 @@ public class KAction extends QObject { returns whether the action is plugged into the given container @short returns whether the action is plugged into the given container */ - public native boolean isPlugged(QWidget container); + public native boolean isPlugged(TQWidget container); /** returns whether the action is plugged into the given container with the given, container specific, id (often menu or toolbar id ) . @short returns whether the action is plugged into the given container with the given, container specific, id (often menu or toolbar id ) . */ - public native boolean isPlugged(QWidget container, int id); + public native boolean isPlugged(TQWidget container, int id); /** returns whether the action is plugged into the given container with the given, container specific, representative container widget item. @short returns whether the action is plugged into the given container with the given, container specific, representative container widget item. */ - public native boolean isPlugged(QWidget container, QWidget _representative); - public native QWidget container(int index); + public native boolean isPlugged(TQWidget container, TQWidget _representative); + public native TQWidget container(int index); public native int itemId(int index); - public native QWidget representative(int index); + public native TQWidget representative(int index); public native int containerCount(); public native int kaccelCount(); public native boolean hasIcon(); @@ -334,19 +334,19 @@ public class KAction extends QObject { */ public native String toolTip(); /** - Get the QIconSet from which the icons used to display this action will + Get the TQIconSet from which the icons used to display this action will be chosen. In KDE4 set group default to KIcon.Small while removing the other iconSet() function. - @short Get the QIconSet from which the icons used to display this action will be chosen. + @short Get the TQIconSet from which the icons used to display this action will be chosen. */ - public native QIconSet iconSet(int group, int size); - public native QIconSet iconSet(int group); + public native TQIconSet iconSet(int group, int size); + public native TQIconSet iconSet(int group); /** Remove in KDE4 @short Remove in KDE4 */ - public native QIconSet iconSet(); + public native TQIconSet iconSet(); public native String icon(); public native KActionCollection parentCollection(); public native void unplugAll(); @@ -367,7 +367,7 @@ public class KAction extends QObject { Sets the What's this text for the action. This text will be displayed when a widget that has been created by plugging this action into a container is clicked on in What's this mode. - The What's this text can include QML markup as well as raw text. + The What's this text can include TQML markup as well as raw text. @short Sets the What's this text for the action. */ public native void setWhatsThis(String text); @@ -385,11 +385,11 @@ public class KAction extends QObject { */ public native void setToolTip(String arg1); /** - Sets the QIconSet from which the icons used to display this action will + Sets the TQIconSet from which the icons used to display this action will be chosen. - @short Sets the QIconSet from which the icons used to display this action will be chosen. + @short Sets the TQIconSet from which the icons used to display this action will be chosen. */ - public native void setIconSet(QIconSet iconSet); + public native void setIconSet(TQIconSet iconSet); public native void setIcon(String icon); /** Enables or disables this action. All uses of this action (eg. in menus @@ -419,15 +419,15 @@ public class KAction extends QObject { */ public static native int getToolButtonID(); protected native KToolBar toolBar(int index); - protected native QPopupMenu popupMenu(int index); + protected native TQPopupMenu popupMenu(int index); protected native void removeContainer(int index); - protected native int findContainer(QWidget widget); + protected native int findContainer(TQWidget widget); protected native int findContainer(int id); - protected native void plugMainWindowAccel(QWidget w); - protected native void addContainer(QWidget parent, int id); - protected native void addContainer(QWidget parent, QWidget representative); + protected native void plugMainWindowAccel(TQWidget w); + protected native void addContainer(TQWidget parent, int id); + protected native void addContainer(TQWidget parent, TQWidget representative); protected native void updateShortcut(int i); - protected native void updateShortcut(QPopupMenu menu, int id); + protected native void updateShortcut(TQPopupMenu menu, int id); protected native void updateGroup(int id); protected native void updateText(int i); protected native void updateEnabled(int i); diff --git a/kdejava/koala/org/kde/koala/KActionCollection.java b/kdejava/koala/org/kde/koala/KActionCollection.java index 20898710..d3d5bdd2 100644 --- a/kdejava/koala/org/kde/koala/KActionCollection.java +++ b/kdejava/koala/org/kde/koala/KActionCollection.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; import java.util.ArrayList; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -28,46 +28,46 @@ import org.kde.qt.QObject; @short A managed set of KAction objects. */ -public class KActionCollection extends QObject { +public class KActionCollection extends TQObject { protected KActionCollection(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KActionCollection(QWidget parent, String name, KInstanceInterface instance) { + public KActionCollection(TQWidget parent, String name, KInstanceInterface instance) { super((Class) null); newKActionCollection(parent,name,instance); } - private native void newKActionCollection(QWidget parent, String name, KInstanceInterface instance); - public KActionCollection(QWidget parent, String name) { + private native void newKActionCollection(TQWidget parent, String name, KInstanceInterface instance); + public KActionCollection(TQWidget parent, String name) { super((Class) null); newKActionCollection(parent,name); } - private native void newKActionCollection(QWidget parent, String name); - public KActionCollection(QWidget parent) { + private native void newKActionCollection(TQWidget parent, String name); + public KActionCollection(TQWidget parent) { super((Class) null); newKActionCollection(parent); } - private native void newKActionCollection(QWidget parent); + private native void newKActionCollection(TQWidget parent); /** Use this constructor if you want the collection's actions to restrict their accelerator keys to <code>watch</code> rather than the <code>parent.</code> If - you don't require shortcuts, you can pass a null to the <code>watch</code> parameter. + you don't retquire shortcuts, you can pass a null to the <code>watch</code> parameter. @short Use this constructor if you want the collection's actions to restrict their accelerator keys to <code>watch</code> rather than the <code>parent.</code> */ - public KActionCollection(QWidget watch, QObject parent, String name, KInstanceInterface instance) { + public KActionCollection(TQWidget watch, TQObject parent, String name, KInstanceInterface instance) { super((Class) null); newKActionCollection(watch,parent,name,instance); } - private native void newKActionCollection(QWidget watch, QObject parent, String name, KInstanceInterface instance); - public KActionCollection(QWidget watch, QObject parent, String name) { + private native void newKActionCollection(TQWidget watch, TQObject parent, String name, KInstanceInterface instance); + public KActionCollection(TQWidget watch, TQObject parent, String name) { super((Class) null); newKActionCollection(watch,parent,name); } - private native void newKActionCollection(QWidget watch, QObject parent, String name); - public KActionCollection(QWidget watch, QObject parent) { + private native void newKActionCollection(TQWidget watch, TQObject parent, String name); + public KActionCollection(TQWidget watch, TQObject parent) { super((Class) null); newKActionCollection(watch,parent); } - private native void newKActionCollection(QWidget watch, QObject parent); + private native void newKActionCollection(TQWidget watch, TQObject parent); public KActionCollection(KActionCollection copy) { super((Class) null); newKActionCollection(copy); @@ -78,7 +78,7 @@ public class KActionCollection extends QObject { You only need to call this if a null pointer was passed in the constructor. @short This sets the widget to which the keyboard shortcuts should be attached. */ - public native void setWidget(QWidget widget); + public native void setWidget(TQWidget widget); /** This indicates whether new actions which are created in this collection should have their keyboard shortcuts automatically connected on @@ -140,7 +140,7 @@ public class KActionCollection extends QObject { @param group The name of the group. @short Returns the list of actions in a particular group managed by this action collection. */ - // KActionPtrList actions(const QString& arg1); >>>> NOT CONVERTED + // KActionPtrList actions(const TQString& arg1); >>>> NOT CONVERTED /** Returns the list of actions managed by this action collection. @short Returns the list of actions managed by this action collection. */ // KActionPtrList actions(); >>>> NOT CONVERTED @@ -188,7 +188,7 @@ public class KActionCollection extends QObject { Call this function if you want to receive a signal whenever a KAction is highlighted in a menu or a toolbar. This is only needed if you do not add this action to this container. You will generally not need to call this function. - @param container A container in which the KAction is plugged (must inherit QPopupMenu or KToolBar) + @param container A container in which the KAction is plugged (must inherit TQPopupMenu or KToolBar) @param action The action you are interested in @short Call this function if you want to receive a signal whenever a KAction is highlighted in a menu or a toolbar. @see #disconnectHighlight @@ -197,12 +197,12 @@ public class KActionCollection extends QObject { @see #highlightingEnabled @see #actionHighlighted */ - public native void connectHighlight(QWidget container, KAction action); + public native void connectHighlight(TQWidget container, KAction action); /** Disconnect highlight notifications for a particular pair of contianer and action. This is only needed if you do not add this action to this container. You will generally not need to call this function. - @param container A container in which the KAction is plugged (must inherit QPopupMenu or KToolBar) + @param container A container in which the KAction is plugged (must inherit TQPopupMenu or KToolBar) @param action The action you are interested in @short Disconnect highlight notifications for a particular pair of contianer and action. @see #connectHighlight @@ -211,27 +211,27 @@ public class KActionCollection extends QObject { @see #highlightingEnabled @see #actionHighlighted */ - public native void disconnectHighlight(QWidget container, KAction action); + public native void disconnectHighlight(TQWidget container, KAction action); /** The parent KXMLGUIClient, return null if not available. @short The parent KXMLGUIClient, return 0L if not available. */ public native KXMLGUIClientInterface parentGUIClient(); - public KActionCollection(QObject parent, String name, KInstanceInterface instance) { + public KActionCollection(TQObject parent, String name, KInstanceInterface instance) { super((Class) null); newKActionCollection(parent,name,instance); } - private native void newKActionCollection(QObject parent, String name, KInstanceInterface instance); - public KActionCollection(QObject parent, String name) { + private native void newKActionCollection(TQObject parent, String name, KInstanceInterface instance); + public KActionCollection(TQObject parent, String name) { super((Class) null); newKActionCollection(parent,name); } - private native void newKActionCollection(QObject parent, String name); - public KActionCollection(QObject parent) { + private native void newKActionCollection(TQObject parent, String name); + public KActionCollection(TQObject parent) { super((Class) null); newKActionCollection(parent); } - private native void newKActionCollection(QObject parent); + private native void newKActionCollection(TQObject parent); /** Add an action to the collection. Generally you don't have to call this. The action inserts itself automatically diff --git a/kdejava/koala/org/kde/koala/KActionCollectionSignals.java b/kdejava/koala/org/kde/koala/KActionCollectionSignals.java index ecea57eb..8dd6cae1 100644 --- a/kdejava/koala/org/kde/koala/KActionCollectionSignals.java +++ b/kdejava/koala/org/kde/koala/KActionCollectionSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; import java.util.ArrayList; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KActionCollectionSignals { void inserted(KAction arg1); diff --git a/kdejava/koala/org/kde/koala/KActionMenu.java b/kdejava/koala/org/kde/koala/KActionMenu.java index a6a35fef..a1ef27c3 100644 --- a/kdejava/koala/org/kde/koala/KActionMenu.java +++ b/kdejava/koala/org/kde/koala/KActionMenu.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPoint; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQPoint; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; /** @@ -23,63 +23,63 @@ import org.kde.qt.QWidget; */ public class KActionMenu extends KAction { protected KActionMenu(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KActionMenu(String text, QObject parent, String name) { + public KActionMenu(String text, TQObject parent, String name) { super((Class) null); newKActionMenu(text,parent,name); } - private native void newKActionMenu(String text, QObject parent, String name); - public KActionMenu(String text, QObject parent) { + private native void newKActionMenu(String text, TQObject parent, String name); + public KActionMenu(String text, TQObject parent) { super((Class) null); newKActionMenu(text,parent); } - private native void newKActionMenu(String text, QObject parent); + private native void newKActionMenu(String text, TQObject parent); public KActionMenu(String text) { super((Class) null); newKActionMenu(text); } private native void newKActionMenu(String text); - public KActionMenu(String text, QIconSet icon, QObject parent, String name) { + public KActionMenu(String text, TQIconSet icon, TQObject parent, String name) { super((Class) null); newKActionMenu(text,icon,parent,name); } - private native void newKActionMenu(String text, QIconSet icon, QObject parent, String name); - public KActionMenu(String text, QIconSet icon, QObject parent) { + private native void newKActionMenu(String text, TQIconSet icon, TQObject parent, String name); + public KActionMenu(String text, TQIconSet icon, TQObject parent) { super((Class) null); newKActionMenu(text,icon,parent); } - private native void newKActionMenu(String text, QIconSet icon, QObject parent); - public KActionMenu(String text, QIconSet icon) { + private native void newKActionMenu(String text, TQIconSet icon, TQObject parent); + public KActionMenu(String text, TQIconSet icon) { super((Class) null); newKActionMenu(text,icon); } - private native void newKActionMenu(String text, QIconSet icon); - public KActionMenu(String text, String icon, QObject parent, String name) { + private native void newKActionMenu(String text, TQIconSet icon); + public KActionMenu(String text, String icon, TQObject parent, String name) { super((Class) null); newKActionMenu(text,icon,parent,name); } - private native void newKActionMenu(String text, String icon, QObject parent, String name); - public KActionMenu(String text, String icon, QObject parent) { + private native void newKActionMenu(String text, String icon, TQObject parent, String name); + public KActionMenu(String text, String icon, TQObject parent) { super((Class) null); newKActionMenu(text,icon,parent); } - private native void newKActionMenu(String text, String icon, QObject parent); + private native void newKActionMenu(String text, String icon, TQObject parent); public KActionMenu(String text, String icon) { super((Class) null); newKActionMenu(text,icon); } private native void newKActionMenu(String text, String icon); - public KActionMenu(QObject parent, String name) { + public KActionMenu(TQObject parent, String name) { super((Class) null); newKActionMenu(parent,name); } - private native void newKActionMenu(QObject parent, String name); - public KActionMenu(QObject parent) { + private native void newKActionMenu(TQObject parent, String name); + public KActionMenu(TQObject parent) { super((Class) null); newKActionMenu(parent); } - private native void newKActionMenu(QObject parent); + private native void newKActionMenu(TQObject parent); public KActionMenu() { super((Class) null); newKActionMenu(); @@ -89,7 +89,7 @@ public class KActionMenu extends KAction { public native void insert(KAction arg1); public native void remove(KAction arg1); public native KPopupMenu popupMenu(); - public native void popup(QPoint global); + public native void popup(TQPoint global); /** Returns true if this action creates a delayed popup menu when plugged in a KToolbar. @@ -125,8 +125,8 @@ public class KActionMenu extends KAction { @short If set to true, this action will create a sticky popup menu when plugged in a KToolbar. */ public native void setStickyMenu(boolean sticky); - public native int plug(QWidget widget, int index); - public native int plug(QWidget widget); + public native int plug(TQWidget widget, int index); + public native int plug(TQWidget widget); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KActionSeparator.java b/kdejava/koala/org/kde/koala/KActionSeparator.java index 7218e4d0..82dfe2ec 100644 --- a/kdejava/koala/org/kde/koala/KActionSeparator.java +++ b/kdejava/koala/org/kde/koala/KActionSeparator.java @@ -2,34 +2,34 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQWidget; /** */ public class KActionSeparator extends KAction { protected KActionSeparator(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KActionSeparator(QObject parent, String name) { + public KActionSeparator(TQObject parent, String name) { super((Class) null); newKActionSeparator(parent,name); } - private native void newKActionSeparator(QObject parent, String name); - public KActionSeparator(QObject parent) { + private native void newKActionSeparator(TQObject parent, String name); + public KActionSeparator(TQObject parent) { super((Class) null); newKActionSeparator(parent); } - private native void newKActionSeparator(QObject parent); + private native void newKActionSeparator(TQObject parent); public KActionSeparator() { super((Class) null); newKActionSeparator(); } private native void newKActionSeparator(); - public native int plug(QWidget widget, int index); - public native int plug(QWidget widget); + public native int plug(TQWidget widget, int index); + public native int plug(TQWidget widget); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KActionShortcutList.java b/kdejava/koala/org/kde/koala/KActionShortcutList.java index 725ea931..0770839c 100644 --- a/kdejava/koala/org/kde/koala/KActionShortcutList.java +++ b/kdejava/koala/org/kde/koala/KActionShortcutList.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QVariant; +import org.kde.qt.TQVariant; /** */ @@ -23,8 +23,8 @@ public class KActionShortcutList extends KShortcutList { public native boolean isConfigurable(int arg1); public native boolean setShortcut(int arg1, KShortcut arg2); public native KInstanceInterface instance(); - public native QVariant getOther(int arg1, int index); - public native boolean setOther(int arg1, int index, QVariant arg3); + public native TQVariant getOther(int arg1, int index); + public native boolean setOther(int arg1, int index, TQVariant arg3); public native boolean save(); public native KAction action(int arg1); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KActionSignals.java b/kdejava/koala/org/kde/koala/KActionSignals.java index 45715d95..9476caa9 100644 --- a/kdejava/koala/org/kde/koala/KActionSignals.java +++ b/kdejava/koala/org/kde/koala/KActionSignals.java @@ -1,12 +1,12 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; public interface KActionSignals { /** diff --git a/kdejava/koala/org/kde/koala/KActiveLabel.java b/kdejava/koala/org/kde/koala/KActiveLabel.java index b2c42e33..10d90efa 100644 --- a/kdejava/koala/org/kde/koala/KActiveLabel.java +++ b/kdejava/koala/org/kde/koala/KActiveLabel.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QTextBrowser; +import org.kde.qt.TQSize; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQTextBrowser; /** @@ -22,9 +22,9 @@ import org.kde.qt.QTextBrowser; @short Label with support for selection and clickable links. */ -public class KActiveLabel extends QTextBrowser { +public class KActiveLabel extends TQTextBrowser { protected KActiveLabel(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. @@ -33,16 +33,16 @@ public class KActiveLabel extends QTextBrowser { this if you want to process linkClicked() yourself. @short Constructor. */ - public KActiveLabel(QWidget parent, String name) { + public KActiveLabel(TQWidget parent, String name) { super((Class) null); newKActiveLabel(parent,name); } - private native void newKActiveLabel(QWidget parent, String name); - public KActiveLabel(QWidget parent) { + private native void newKActiveLabel(TQWidget parent, String name); + public KActiveLabel(TQWidget parent) { super((Class) null); newKActiveLabel(parent); } - private native void newKActiveLabel(QWidget parent); + private native void newKActiveLabel(TQWidget parent); /** Constructor. It connects the "linkClicked(String)" signal to the @@ -50,29 +50,29 @@ public class KActiveLabel extends QTextBrowser { this if you want to process linkClicked() yourself. @short Constructor. */ - public KActiveLabel(String text, QWidget parent, String name) { + public KActiveLabel(String text, TQWidget parent, String name) { super((Class) null); newKActiveLabel(text,parent,name); } - private native void newKActiveLabel(String text, QWidget parent, String name); - public KActiveLabel(String text, QWidget parent) { + private native void newKActiveLabel(String text, TQWidget parent, String name); + public KActiveLabel(String text, TQWidget parent) { super((Class) null); newKActiveLabel(text,parent); } - private native void newKActiveLabel(String text, QWidget parent); - public native QSize minimumSizeHint(); - public native QSize sizeHint(); + private native void newKActiveLabel(String text, TQWidget parent); + public native TQSize minimumSizeHint(); + public native TQSize sizeHint(); /** Opens <code>link</code> in the default browser. - If <code>link</code> starts with the text "whatsthis:" a QWhatsThis + If <code>link</code> starts with the text "whatsthis:" a TQWhatsThis box will appear and then display the rest of the text. The WhatsThis functionality is available since KDE 3.2. @short Opens <code>link</code> in the default browser. */ public native void openLink(String link); - protected native void focusInEvent(QFocusEvent fe); - protected native void focusOutEvent(QFocusEvent fe); - protected native void keyPressEvent(QKeyEvent e); + protected native void focusInEvent(TQFocusEvent fe); + protected native void focusOutEvent(TQFocusEvent fe); + protected native void keyPressEvent(TQKeyEvent e); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KAnimWidget.java b/kdejava/koala/org/kde/koala/KAnimWidget.java index fd966ba5..fdf1d6e9 100644 --- a/kdejava/koala/org/kde/koala/KAnimWidget.java +++ b/kdejava/koala/org/kde/koala/KAnimWidget.java @@ -2,15 +2,15 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QHideEvent; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPainter; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QShowEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QFrame; +import org.kde.qt.TQPainter; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQFrame; /** @@ -22,7 +22,7 @@ import org.kde.qt.QFrame; care of. This widget also emits a 'clicked()' signal when it received a mouse press event. - A quick example: + A tquick example: <pre> KAnimWidget anim = new KAnimWidget("kde", 0, this); anim.start(); @@ -36,9 +36,9 @@ import org.kde.qt.QFrame; @short Standard "About KDE" dialog box. */ -public class KAnimWidget extends QFrame { +public class KAnimWidget extends TQFrame { protected KAnimWidget(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** This is the most common constructor. Pass along the name of the @@ -54,16 +54,16 @@ public class KAnimWidget extends QFrame { @param name The standard internal name @short This is the most common constructor. */ - public KAnimWidget(String icons, int size, QWidget parent, String name) { + public KAnimWidget(String icons, int size, TQWidget parent, String name) { super((Class) null); newKAnimWidget(icons,size,parent,name); } - private native void newKAnimWidget(String icons, int size, QWidget parent, String name); - public KAnimWidget(String icons, int size, QWidget parent) { + private native void newKAnimWidget(String icons, int size, TQWidget parent, String name); + public KAnimWidget(String icons, int size, TQWidget parent) { super((Class) null); newKAnimWidget(icons,size,parent); } - private native void newKAnimWidget(String icons, int size, QWidget parent); + private native void newKAnimWidget(String icons, int size, TQWidget parent); public KAnimWidget(String icons, int size) { super((Class) null); newKAnimWidget(icons,size); @@ -108,13 +108,13 @@ public class KAnimWidget extends QFrame { @short Stops the animation. */ public native void stop(); - protected native void drawContents(QPainter p); - protected native void leaveEvent(QEvent e); - protected native void enterEvent(QEvent e); - protected native void hideEvent(QHideEvent e); - public native void showEvent(QShowEvent e); - protected native void mousePressEvent(QMouseEvent e); - protected native void mouseReleaseEvent(QMouseEvent e); + protected native void drawContents(TQPainter p); + protected native void leaveEvent(TQEvent e); + protected native void enterEvent(TQEvent e); + protected native void hideEvent(TQHideEvent e); + public native void showEvent(TQShowEvent e); + protected native void mousePressEvent(TQMouseEvent e); + protected native void mouseReleaseEvent(TQMouseEvent e); protected native void slotTimerUpdate(); protected native void updateIcons(); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KAnimWidgetSignals.java b/kdejava/koala/org/kde/koala/KAnimWidgetSignals.java index 344e9edc..62c0bfd5 100644 --- a/kdejava/koala/org/kde/koala/KAnimWidgetSignals.java +++ b/kdejava/koala/org/kde/koala/KAnimWidgetSignals.java @@ -1,14 +1,14 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QHideEvent; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPainter; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QShowEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQPainter; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; public interface KAnimWidgetSignals { void clicked(); diff --git a/kdejava/koala/org/kde/koala/KApplication.java b/kdejava/koala/org/kde/koala/KApplication.java index ddd1a5ed..88626454 100644 --- a/kdejava/koala/org/kde/koala/KApplication.java +++ b/kdejava/koala/org/kde/koala/KApplication.java @@ -2,16 +2,16 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPixmap; -import org.kde.qt.QSessionManager; +import org.kde.qt.TQObject; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSessionManager; import java.util.ArrayList; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QPalette; -import org.kde.qt.QApplication; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQPalette; +import org.kde.qt.TQApplication; /** @@ -22,7 +22,7 @@ import org.kde.qt.QApplication; This class provides the following services to all KDE applications. <li> - It controls the event queue (see QApplication ). + It controls the event queue (see TQApplication ). </li> <li> @@ -75,7 +75,7 @@ import org.kde.qt.QApplication; @short Controls and provides information to all KDE applications. */ -public class KApplication extends QApplication implements KInstanceInterface { +public class KApplication extends TQApplication implements KInstanceInterface { protected KApplication(Class dummy){super((Class) null);} public static final int ShiftModifier = 1<<0; public static final int LockModifier = 1<<1; @@ -141,7 +141,7 @@ public class KApplication extends QApplication implements KInstanceInterface { public static final int SETTINGS_QT = 4; public static final int SETTINGS_SHORTCUTS = 5; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** This constructor takes aboutData and command line @@ -241,13 +241,13 @@ public class KApplication extends QApplication implements KInstanceInterface { handling of session management with KSessionManaged. @short Reimplemented for internal purposes, mainly the highlevel handling of session management with KSessionManaged. */ - public native void commitData(QSessionManager sm); + public native void commitData(TQSessionManager sm); /** Reimplemented for internal purposes, mainly the highlevel handling of session management with KSessionManaged. @short Reimplemented for internal purposes, mainly the highlevel handling of session management with KSessionManaged. */ - public native void saveState(QSessionManager sm); + public native void saveState(TQSessionManager sm); /** Returns true if the application is currently saving its session data (most probably before KDE logout). This is intended for use @@ -258,12 +258,12 @@ public class KApplication extends QApplication implements KInstanceInterface { */ public native boolean sessionSaving(); /** - Returns a QPixmap with the application icon. + Returns a TQPixmap with the application icon. @return the application icon - @short Returns a QPixmap with the application icon. + @short Returns a TQPixmap with the application icon. */ - public native QPixmap icon(); + public native TQPixmap icon(); /** Returns the name of the application icon. @return the icon's name @@ -272,12 +272,12 @@ public class KApplication extends QApplication implements KInstanceInterface { */ public native String iconName(); /** - Returns the mini-icon for the application as a QPixmap. + Returns the mini-icon for the application as a TQPixmap. @return the application's mini icon - @short Returns the mini-icon for the application as a QPixmap. + @short Returns the mini-icon for the application as a TQPixmap. */ - public native QPixmap miniIcon(); + public native TQPixmap miniIcon(); /** Returns the name of the mini-icon for the application. @return the mini icon's name @@ -295,7 +295,7 @@ public class KApplication extends QApplication implements KInstanceInterface { @see #icon @see #caption */ - public native void setTopWidget(QWidget topWidget); + public native void setTopWidget(TQWidget topWidget); /** Invokes the KHelpCenter HTML help viewer from docbook sources. @param anchor This has to be a defined anchor in your @@ -420,18 +420,18 @@ public class KApplication extends QApplication implements KInstanceInterface { /** Installs widget filter as global X11 event filter. The widget - filter receives XEvents in its standard QWidget.x11Event() function. + filter receives XEvents in its standard TQWidget.x11Event() function. Warning: Only do this when absolutely necessary. An installed X11 filter can slow things down. @short Installs widget filter as global X11 event filter. */ - public native void installX11EventFilter(QWidget filter); + public native void installX11EventFilter(TQWidget filter); /** Removes global X11 event filter previously installed by installX11EventFilter(). @short Removes global X11 event filter previously installed by installX11EventFilter(). */ - public native void removeX11EventFilter(QWidget filter); + public native void removeX11EventFilter(TQWidget filter); /** Adds a message type to the KIPC event mask. You can only add "system messages" to the event mask. These are the messages with id < 32. @@ -503,8 +503,8 @@ public class KApplication extends QApplication implements KInstanceInterface { public native String geometryArgument(); /** Install a Qt SQL property map with entries for all KDE widgets - Call this in any application using KDE widgets in QSqlForm or QDataView. - @short Install a Qt SQL property map with entries for all KDE widgets Call this in any application using KDE widgets in QSqlForm or QDataView. + Call this in any application using KDE widgets in TQSqlForm or TQDataView. + @short Install a Qt SQL property map with entries for all KDE widgets Call this in any application using KDE widgets in TQSqlForm or TQDataView. */ public native void installKDEPropertyMap(); /** @@ -568,7 +568,7 @@ public class KApplication extends QApplication implements KInstanceInterface { /** @short */ - public native boolean notify(QObject receiver, QEvent event); + public native boolean notify(TQObject receiver, TQEvent event); /** @short */ @@ -639,7 +639,7 @@ public class KApplication extends QApplication implements KInstanceInterface { behavior: <pre> public class MyListView implements KListView { - public MyListView( QWidget parent = 0, String name = 0, WFlags f = 0 ) {} + public MyListView( TQWidget parent = 0, String name = 0, WFlags f = 0 ) {} public void clear() {} } @@ -677,11 +677,11 @@ public class KApplication extends QApplication implements KInstanceInterface { public static native void addCmdLineOptions(); /** Returns the current application object. - This is similar to the global QApplication pointer qApp. It + This is similar to the global TQApplication pointer qApp. It allows access to the single global KApplication object, since more than one cannot be created in the same application. It saves you the trouble of having to pass the pointer explicitly - to every function that may require it. + to every function that may retquire it. @return the current application object @short Returns the current application object. @@ -936,8 +936,8 @@ public class KApplication extends QApplication implements KInstanceInterface { public static native String randomString(int length); /** Returns the state of the currently pressed keyboard modifiers (e.g. shift, control, etc.) - and mouse buttons, similarly to QKeyEvent.state() and QMouseEvent.state(). - You usually should simply use the information provided by QKeyEvent and QMouseEvent, + and mouse buttons, similarly to TQKeyEvent.state() and TQMouseEvent.state(). + You usually should simply use the information provided by TQKeyEvent and TQMouseEvent, but it can be useful to query for the status of the modifiers at another moment (e.g. some KDE apps do that upon a drop event). @return the keyboard modifiers and mouse buttons state @@ -950,19 +950,19 @@ public class KApplication extends QApplication implements KInstanceInterface { */ public static native void startKdeinit(); /** - Used to obtain the QPalette that will be used to set the application palette. + Used to obtain the TQPalette that will be used to set the application palette. This is only useful for configuration modules such as krdb and should not be used in normal circumstances. - @return the QPalette + @return the TQPalette - @short Used to obtain the QPalette that will be used to set the application palette. + @short Used to obtain the TQPalette that will be used to set the application palette. */ - public static native QPalette createApplicationPalette(); + public static native TQPalette createApplicationPalette(); /** Raw access for use by KDM. @short */ - public static native QPalette createApplicationPalette(KConfig config, int contrast); + public static native TQPalette createApplicationPalette(KConfig config, int contrast); /** Installs a handler for the SIGPIPE signal. It is thrown when you write to a pipe or socket that has been closed. diff --git a/kdejava/koala/org/kde/koala/KApplicationSignals.java b/kdejava/koala/org/kde/koala/KApplicationSignals.java index d44e3cce..705fb34a 100644 --- a/kdejava/koala/org/kde/koala/KApplicationSignals.java +++ b/kdejava/koala/org/kde/koala/KApplicationSignals.java @@ -1,15 +1,15 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPixmap; -import org.kde.qt.QSessionManager; +import org.kde.qt.TQObject; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSessionManager; import java.util.ArrayList; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QPalette; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQPalette; public interface KApplicationSignals { /** @@ -32,8 +32,8 @@ public interface KApplicationSignals { Normally widgets will update their fonts automatically, but you should connect to this to monitor global font changes, especially if you are using explicit fonts. - Note: If you derive from a QWidget-based class, a faster method is to - reimplement QWidget.fontChange(). This is the preferred way + Note: If you derive from a TQWidget-based class, a faster method is to + reimplement TQWidget.fontChange(). This is the preferred way to get informed about font updates. @short Emitted when KApplication has changed its font in response to a KControl request. */ diff --git a/kdejava/koala/org/kde/koala/KAr.java b/kdejava/koala/org/kde/koala/KAr.java index 4ed75176..5f8e9c0b 100644 --- a/kdejava/koala/org/kde/koala/KAr.java +++ b/kdejava/koala/org/kde/koala/KAr.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QIODevice; -import org.kde.qt.QIODeviceInterface; +import org.kde.qt.TQIODevice; +import org.kde.qt.TQIODeviceInterface; /** @@ -29,18 +29,18 @@ public class KAr extends KArchive { private native void newKAr(String filename); /** Creates an instance that operates on the given device. - The device can be compressed (KFilterDev) or not (QFile, etc.). + The device can be compressed (KFilterDev) or not (TQFile, etc.). @param dev the device to read from @short Creates an instance that operates on the given device. */ - public KAr(QIODeviceInterface dev) { + public KAr(TQIODeviceInterface dev) { super((Class) null); newKAr(dev); } - private native void newKAr(QIODeviceInterface dev); + private native void newKAr(TQIODeviceInterface dev); /** The name of the ar file, as passed to the constructor. - @return the filename. Null if you used the QIODevice constructor + @return the filename. Null if you used the TQIODevice constructor @short The name of the ar file, as passed to the constructor. */ diff --git a/kdejava/koala/org/kde/koala/KArchive.java b/kdejava/koala/org/kde/koala/KArchive.java index 437d9677..5c5db0a4 100644 --- a/kdejava/koala/org/kde/koala/KArchive.java +++ b/kdejava/koala/org/kde/koala/KArchive.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QIODevice; -import org.kde.qt.QIODeviceInterface; +import org.kde.qt.TQIODevice; +import org.kde.qt.TQIODeviceInterface; /** @@ -68,7 +68,7 @@ public class KArchive implements QtSupport { @short The underlying device. */ - public native QIODeviceInterface device(); + public native TQIODeviceInterface device(); /** If an archive is opened for reading, then the contents of the archive can be accessed via this function. diff --git a/kdejava/koala/org/kde/koala/KArchiveFile.java b/kdejava/koala/org/kde/koala/KArchiveFile.java index a653e470..9436f263 100644 --- a/kdejava/koala/org/kde/koala/KArchiveFile.java +++ b/kdejava/koala/org/kde/koala/KArchiveFile.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QIODevice; -import org.kde.qt.QIODeviceInterface; +import org.kde.qt.TQIODevice; +import org.kde.qt.TQIODeviceInterface; /** @@ -63,16 +63,16 @@ public class KArchiveFile extends KArchiveEntry { */ public native byte[] data(); /** - This method returns QIODevice (internal class: KLimitedIODevice) - on top of the underlying QIODevice. This is obviously for reading only. + This method returns TQIODevice (internal class: KLimitedIODevice) + on top of the underlying TQIODevice. This is obviously for reading only. Note that the ownership of the device is being transferred to the caller, who will have to delete it. The returned device auto-opens (in readonly mode), no need to open it. - @return the QIODevice of the file + @return the TQIODevice of the file - @short This method returns QIODevice (internal class: KLimitedIODevice) on top of the underlying QIODevice. + @short This method returns TQIODevice (internal class: KLimitedIODevice) on top of the underlying TQIODevice. */ - public native QIODeviceInterface device(); + public native TQIODeviceInterface device(); /** Checks whether this entry is a file. @return true, since this entry is a file diff --git a/kdejava/koala/org/kde/koala/KArrowButton.java b/kdejava/koala/org/kde/koala/KArrowButton.java index 449c3206..bcec2fee 100644 --- a/kdejava/koala/org/kde/koala/KArrowButton.java +++ b/kdejava/koala/org/kde/koala/KArrowButton.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QPainter; -import org.kde.qt.QWidget; -import org.kde.qt.QPushButton; +import org.kde.qt.TQSize; +import org.kde.qt.TQPainter; +import org.kde.qt.TQWidget; +import org.kde.qt.TQPushButton; /** @@ -21,9 +21,9 @@ import org.kde.qt.QPushButton; @short Draws a button with an arrow. */ -public class KArrowButton extends QPushButton { +public class KArrowButton extends TQPushButton { protected KArrowButton(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs an arrow button. @@ -32,31 +32,31 @@ public class KArrowButton extends QPushButton { @param name An internal name for this widget @short Constructs an arrow button. */ - public KArrowButton(QWidget parent, int arrow, String name) { + public KArrowButton(TQWidget parent, int arrow, String name) { super((Class) null); newKArrowButton(parent,arrow,name); } - private native void newKArrowButton(QWidget parent, int arrow, String name); - public KArrowButton(QWidget parent, int arrow) { + private native void newKArrowButton(TQWidget parent, int arrow, String name); + public KArrowButton(TQWidget parent, int arrow) { super((Class) null); newKArrowButton(parent,arrow); } - private native void newKArrowButton(QWidget parent, int arrow); - public KArrowButton(QWidget parent) { + private native void newKArrowButton(TQWidget parent, int arrow); + public KArrowButton(TQWidget parent) { super((Class) null); newKArrowButton(parent); } - private native void newKArrowButton(QWidget parent); + private native void newKArrowButton(TQWidget parent); public KArrowButton() { super((Class) null); newKArrowButton(); } private native void newKArrowButton(); /** - Reimplemented from QPushButton. - @short Reimplemented from QPushButton. + Reimplemented from TQPushButton. + @short Reimplemented from TQPushButton. */ - public native QSize sizeHint(); + public native TQSize sizeHint(); /** Returns the arrow type @short Returns the arrow type @@ -72,10 +72,10 @@ public class KArrowButton extends QPushButton { */ public native void setArrowType(int a); /** - Reimplemented from QPushButton. - @short Reimplemented from QPushButton. + Reimplemented from TQPushButton. + @short Reimplemented from TQPushButton. */ - protected native void drawButton(QPainter arg1); + protected native void drawButton(TQPainter arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KAsyncIO.java b/kdejava/koala/org/kde/koala/KAsyncIO.java index 3f7c7fd6..a54995bc 100644 --- a/kdejava/koala/org/kde/koala/KAsyncIO.java +++ b/kdejava/koala/org/kde/koala/KAsyncIO.java @@ -2,26 +2,26 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QIODevice; -import org.kde.qt.QIODeviceInterface; -import org.kde.qt.QObject; +import org.kde.qt.TQIODevice; +import org.kde.qt.TQIODeviceInterface; +import org.kde.qt.TQObject; /** Asynchronous I/O Support This abstract class provides basic functionality for asynchronous I/O - support on top of QIODevice. + support on top of TQIODevice. See {@link KAsyncIOSignals} for signals emitted by KAsyncIO @author Thiago Macieira <thiago.macieira@kdemail.net> @short Asynchronous I/O support. */ -public class KAsyncIO extends QObject implements QIODeviceInterface { +public class KAsyncIO extends TQObject implements TQIODeviceInterface { protected KAsyncIO(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Toggles the emission of the readyRead() signal whenever the device diff --git a/kdejava/koala/org/kde/koala/KAsyncIOSignals.java b/kdejava/koala/org/kde/koala/KAsyncIOSignals.java index 5d6374b7..d4cf0829 100644 --- a/kdejava/koala/org/kde/koala/KAsyncIOSignals.java +++ b/kdejava/koala/org/kde/koala/KAsyncIOSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QIODevice; -import org.kde.qt.QIODeviceInterface; +import org.kde.qt.TQIODevice; +import org.kde.qt.TQIODeviceInterface; public interface KAsyncIOSignals { /** diff --git a/kdejava/koala/org/kde/koala/KAudioPlayer.java b/kdejava/koala/org/kde/koala/KAudioPlayer.java index 3915dd2a..5ef378e5 100644 --- a/kdejava/koala/org/kde/koala/KAudioPlayer.java +++ b/kdejava/koala/org/kde/koala/KAudioPlayer.java @@ -2,16 +2,16 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQObject; /** This class provides one-shot-and-forget audio playing. You will never know if what you wanted to play really got played. - It doesn't require linking any special libraries, as it operates over + It doesn't retquire linking any special libraries, as it operates over DCOP. In the current implementation, it only indirectly communicates with the aRts soundserver, using knotify as DCOP . MCOP bridge. Due to that fact, if you need "fast" response times, more control or @@ -28,27 +28,27 @@ import org.kde.qt.QObject; @short This class provides one-shot-and-forget audio playing. */ -public class KAudioPlayer extends QObject { +public class KAudioPlayer extends TQObject { protected KAudioPlayer(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. @param filename Absolute path to the filename of the sound file to play - @param parent A parent QObject for this KAudioPlayer + @param parent A parent TQObject for this KAudioPlayer @param name An internal name for this KAudioPlayer @short Constructor. */ - public KAudioPlayer(String filename, QObject parent, String name) { + public KAudioPlayer(String filename, TQObject parent, String name) { super((Class) null); newKAudioPlayer(filename,parent,name); } - private native void newKAudioPlayer(String filename, QObject parent, String name); - public KAudioPlayer(String filename, QObject parent) { + private native void newKAudioPlayer(String filename, TQObject parent, String name); + public KAudioPlayer(String filename, TQObject parent) { super((Class) null); newKAudioPlayer(filename,parent); } - private native void newKAudioPlayer(String filename, QObject parent); + private native void newKAudioPlayer(String filename, TQObject parent); public KAudioPlayer(String filename) { super((Class) null); newKAudioPlayer(filename); diff --git a/kdejava/koala/org/kde/koala/KAuthIcon.java b/kdejava/koala/org/kde/koala/KAuthIcon.java index b3794b6b..bd859eda 100644 --- a/kdejava/koala/org/kde/koala/KAuthIcon.java +++ b/kdejava/koala/org/kde/koala/KAuthIcon.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -25,15 +25,15 @@ import org.kde.qt.QWidget; @see KWritePermsIcon */ -public class KAuthIcon extends QWidget { +public class KAuthIcon extends TQWidget { protected KAuthIcon(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. @short Constructor. */ - public native QSize sizeHint(); + public native TQSize sizeHint(); /** return the status of whatever is being monitored. @short return the status of whatever is being monitored. diff --git a/kdejava/koala/org/kde/koala/KAuthIconSignals.java b/kdejava/koala/org/kde/koala/KAuthIconSignals.java index 23255d20..87b74e2d 100644 --- a/kdejava/koala/org/kde/koala/KAuthIconSignals.java +++ b/kdejava/koala/org/kde/koala/KAuthIconSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; public interface KAuthIconSignals { /** diff --git a/kdejava/koala/org/kde/koala/KBufferedIO.java b/kdejava/koala/org/kde/koala/KBufferedIO.java index a952a639..ce43f24d 100644 --- a/kdejava/koala/org/kde/koala/KBufferedIO.java +++ b/kdejava/koala/org/kde/koala/KBufferedIO.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; /** @@ -12,14 +12,14 @@ import org.kde.qt.QtSupport; Through the available methods, you can find out how many bytes are available for reading, how many are still unsent and you can peek at the buffered data. - This class was intentionally written to resemble QSocket, because + This class was intentionally written to resemble TQSocket, because KExtendedSocket is a subclass of this one. This is so that applications - written using QSocket's buffering characteristics will be more easily + written using TQSocket's buffering characteristics will be more easily ported to the more powerful KExtendedSocket class. KBufferedIO already provides a powerful internal buffering algorithm. However, this does not include the I/O itself, which must be implemented in derived classes. Thus, to implement a class that does some I/O, you must - override, in addition to the pure QIODevice methods, these two: + override, in addition to the pure TQIODevice methods, these two: <li> closeNow() @@ -49,14 +49,14 @@ public class KBufferedIO extends KAsyncIO { public static final int delayed = 0x20; public static final int closedNow = 0x40; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Closes the stream now, discarding the contents of the write buffer. That is, we won't try to flush that buffer before closing. If you want that buffer to be - flushed, you can call QIODevice.flush(), which is blocking, and - then closeNow, or you can call QIODevice.close() for a delayed + flushed, you can call TQIODevice.flush(), which is blocking, and + then closeNow, or you can call TQIODevice.close() for a delayed close. @short Closes the stream now, discarding the contents of the write buffer. */ diff --git a/kdejava/koala/org/kde/koala/KBufferedIOSignals.java b/kdejava/koala/org/kde/koala/KBufferedIOSignals.java index 2ed67f11..229cae4e 100644 --- a/kdejava/koala/org/kde/koala/KBufferedIOSignals.java +++ b/kdejava/koala/org/kde/koala/KBufferedIOSignals.java @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; public interface KBufferedIOSignals { diff --git a/kdejava/koala/org/kde/koala/KBugReport.java b/kdejava/koala/org/kde/koala/KBugReport.java index bd4c5b9b..c7dec19e 100644 --- a/kdejava/koala/org/kde/koala/KBugReport.java +++ b/kdejava/koala/org/kde/koala/KBugReport.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -20,7 +20,7 @@ import org.kde.qt.QWidget; */ public class KBugReport extends KDialogBase { protected KBugReport(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a bug-report dialog. @@ -29,21 +29,21 @@ public class KBugReport extends KDialogBase { for "Report Bug..." and of creating a KBugReport dialog. @short Creates a bug-report dialog. */ - public KBugReport(QWidget parent, boolean modal, KAboutData aboutData) { + public KBugReport(TQWidget parent, boolean modal, KAboutData aboutData) { super((Class) null); newKBugReport(parent,modal,aboutData); } - private native void newKBugReport(QWidget parent, boolean modal, KAboutData aboutData); - public KBugReport(QWidget parent, boolean modal) { + private native void newKBugReport(TQWidget parent, boolean modal, KAboutData aboutData); + public KBugReport(TQWidget parent, boolean modal) { super((Class) null); newKBugReport(parent,modal); } - private native void newKBugReport(QWidget parent, boolean modal); - public KBugReport(QWidget parent) { + private native void newKBugReport(TQWidget parent, boolean modal); + public KBugReport(TQWidget parent) { super((Class) null); newKBugReport(parent); } - private native void newKBugReport(QWidget parent); + private native void newKBugReport(TQWidget parent); public KBugReport() { super((Class) null); newKBugReport(); diff --git a/kdejava/koala/org/kde/koala/KButtonBox.java b/kdejava/koala/org/kde/koala/KButtonBox.java index f9eb6067..48df7c9e 100644 --- a/kdejava/koala/org/kde/koala/KButtonBox.java +++ b/kdejava/koala/org/kde/koala/KButtonBox.java @@ -2,15 +2,15 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QSize; -import org.kde.qt.QSizePolicy; -import org.kde.qt.QPushButton; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQSize; +import org.kde.qt.TQSizePolicy; +import org.kde.qt.TQPushButton; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQWidget; /** @@ -26,9 +26,9 @@ import org.kde.qt.QWidget; @short Container widget for buttons. */ -public class KButtonBox extends QWidget { +public class KButtonBox extends TQWidget { protected KButtonBox(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create an empty container for buttons. @@ -37,26 +37,26 @@ public class KButtonBox extends QWidget { are laid out from left to right. @short Create an empty container for buttons. */ - public KButtonBox(QWidget parent, int _orientation, int border, int _autoborder) { + public KButtonBox(TQWidget parent, int _orientation, int border, int _autoborder) { super((Class) null); newKButtonBox(parent,_orientation,border,_autoborder); } - private native void newKButtonBox(QWidget parent, int _orientation, int border, int _autoborder); - public KButtonBox(QWidget parent, int _orientation, int border) { + private native void newKButtonBox(TQWidget parent, int _orientation, int border, int _autoborder); + public KButtonBox(TQWidget parent, int _orientation, int border) { super((Class) null); newKButtonBox(parent,_orientation,border); } - private native void newKButtonBox(QWidget parent, int _orientation, int border); - public KButtonBox(QWidget parent, int _orientation) { + private native void newKButtonBox(TQWidget parent, int _orientation, int border); + public KButtonBox(TQWidget parent, int _orientation) { super((Class) null); newKButtonBox(parent,_orientation); } - private native void newKButtonBox(QWidget parent, int _orientation); - public KButtonBox(QWidget parent) { + private native void newKButtonBox(TQWidget parent, int _orientation); + public KButtonBox(TQWidget parent) { super((Class) null); newKButtonBox(parent); } - private native void newKButtonBox(QWidget parent); + private native void newKButtonBox(TQWidget parent); /** This size is calculated by the width/height of all buttons plus border/autoborder. @@ -64,11 +64,11 @@ public class KButtonBox extends QWidget { @short */ - public native QSize sizeHint(); - public native QSizePolicy sizePolicy(); - public native void resizeEvent(QResizeEvent arg1); + public native TQSize sizeHint(); + public native TQSizePolicy sizePolicy(); + public native void resizeEvent(TQResizeEvent arg1); /** - Add a new QPushButton. + Add a new TQPushButton. @param text the text of the button to add @param noexpand If <code>noexpand</code> is <code>false</code>, the width of the button is adjusted to fit the other buttons (the maximum @@ -76,12 +76,12 @@ public class KButtonBox extends QWidget { button will be set to the minimum width needed for the given text). @return A pointer to the new button. - @short Add a new QPushButton. + @short Add a new TQPushButton. */ - public native QPushButton addButton(String text, boolean noexpand); - public native QPushButton addButton(String text); + public native TQPushButton addButton(String text, boolean noexpand); + public native TQPushButton addButton(String text); /** - Add a new QPushButton. + Add a new TQPushButton. @param text the text of the button to add. @param receiver An object to connect to. @param slot A Qt slot to connect the 'clicked()' signal to. @@ -91,12 +91,12 @@ public class KButtonBox extends QWidget { button will be set to the minimum width needed for the given text). @return A pointer to the new button. - @short Add a new QPushButton. + @short Add a new TQPushButton. */ - public native QPushButton addButton(String text, QObject receiver, String slot, boolean noexpand); - public native QPushButton addButton(String text, QObject receiver, String slot); + public native TQPushButton addButton(String text, TQObject receiver, String slot, boolean noexpand); + public native TQPushButton addButton(String text, TQObject receiver, String slot); /** - Add a new QPushButton. + Add a new TQPushButton. @param guiitem text and icon on the button @param noexpand If <code>noexpand</code> is <code>false</code>, the width of the button is adjusted to fit the other buttons (the maximum @@ -104,12 +104,12 @@ public class KButtonBox extends QWidget { button will be set to the minimum width needed for the given text). @return A pointer to the new button. - @short Add a new QPushButton. + @short Add a new TQPushButton. */ - public native QPushButton addButton(KGuiItem guiitem, boolean noexpand); - public native QPushButton addButton(KGuiItem guiitem); + public native TQPushButton addButton(KGuiItem guiitem, boolean noexpand); + public native TQPushButton addButton(KGuiItem guiitem); /** - Add a new QPushButton. + Add a new TQPushButton. @param guiitem text and icon on the button @param receiver An object to connect to. @param slot A Qt slot to connect the 'clicked()' signal to. @@ -119,10 +119,10 @@ public class KButtonBox extends QWidget { button will be set to the minimum width needed for the given text). @return A pointer to the new button. - @short Add a new QPushButton. + @short Add a new TQPushButton. */ - public native QPushButton addButton(KGuiItem guiitem, QObject receiver, String slot, boolean noexpand); - public native QPushButton addButton(KGuiItem guiitem, QObject receiver, String slot); + public native TQPushButton addButton(KGuiItem guiitem, TQObject receiver, String slot, boolean noexpand); + public native TQPushButton addButton(KGuiItem guiitem, TQObject receiver, String slot); /** Add a stretch to the buttonbox. Can be used to separate buttons. That is, if you add the @@ -131,7 +131,7 @@ public class KButtonBox extends QWidget { for vertical) whereas Help will be right-aligned (or bottom-aligned for vertical). @short Add a stretch to the buttonbox. - @see org.kde.qt.QBoxLayout + @see org.kde.qt.TQBoxLayout */ public native void addStretch(int scale); public native void addStretch(); @@ -148,9 +148,9 @@ public class KButtonBox extends QWidget { @short */ - protected native QSize bestButtonSize(); + protected native TQSize bestButtonSize(); protected native void placeButtons(); - protected native QSize buttonSizeHint(QPushButton arg1); + protected native TQSize buttonSizeHint(TQPushButton arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KCModule.java b/kdejava/koala/org/kde/koala/KCModule.java index c7d641c0..06d51553 100644 --- a/kdejava/koala/org/kde/koala/KCModule.java +++ b/kdejava/koala/org/kde/koala/KCModule.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -21,7 +21,7 @@ import org.kde.qt.QWidget; that contains at one factory function like this: <pre> #include <kgenericfactory.h> - typedef KGenericFactory<YourKCModule, QWidget> YourKCModuleFactory; + typedef KGenericFactory<YourKCModule, TQWidget> YourKCModuleFactory; K_EXPORT_COMPONENT_FACTORY( yourLibName, YourKCModuleFactory("name_of_the_po_file") ); </pre> The parameter "name_of_the_po_file" has to correspond with the messages target @@ -34,7 +34,7 @@ import org.kde.qt.QWidget; @short The base class for control center modules. */ -public class KCModule extends QWidget { +public class KCModule extends TQWidget { protected KCModule(Class dummy){super((Class) null);} /** An enumeration type for the buttons used by this module. @@ -52,38 +52,38 @@ public class KCModule extends QWidget { public static final int Ok = 32; public static final int SysDefault = 64; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KCModule(QWidget parent, String name, String[] args) { + public KCModule(TQWidget parent, String name, String[] args) { super((Class) null); newKCModule(parent,name,args); } - private native void newKCModule(QWidget parent, String name, String[] args); - public KCModule(QWidget parent, String name) { + private native void newKCModule(TQWidget parent, String name, String[] args); + public KCModule(TQWidget parent, String name) { super((Class) null); newKCModule(parent,name); } - private native void newKCModule(QWidget parent, String name); - public KCModule(QWidget parent) { + private native void newKCModule(TQWidget parent, String name); + public KCModule(TQWidget parent) { super((Class) null); newKCModule(parent); } - private native void newKCModule(QWidget parent); + private native void newKCModule(TQWidget parent); public KCModule() { super((Class) null); newKCModule(); } private native void newKCModule(); - public KCModule(KInstanceInterface instance, QWidget parent, String[] args) { + public KCModule(KInstanceInterface instance, TQWidget parent, String[] args) { super((Class) null); newKCModule(instance,parent,args); } - private native void newKCModule(KInstanceInterface instance, QWidget parent, String[] args); - public KCModule(KInstanceInterface instance, QWidget parent) { + private native void newKCModule(KInstanceInterface instance, TQWidget parent, String[] args); + public KCModule(KInstanceInterface instance, TQWidget parent) { super((Class) null); newKCModule(instance,parent); } - private native void newKCModule(KInstanceInterface instance, QWidget parent); + private native void newKCModule(KInstanceInterface instance, TQWidget parent); public KCModule(KInstanceInterface instance) { super((Class) null); newKCModule(instance); @@ -143,14 +143,14 @@ public class KCModule extends QWidget { */ public native void sysdefaults(); /** - Return a quick-help text. + Return a tquick-help text. This method is called when the module is docked. - The quick-help text should contain a short description of the module and - links to the module's help files. You can use QML formatting tags in the text. - @note make sure the quick help text gets translated (use i18n()). - @short Return a quick-help text. + The tquick-help text should contain a short description of the module and + links to the module's help files. You can use TQML formatting tags in the text. + @note make sure the tquick help text gets translated (use i18n()). + @short Return a tquick-help text. */ - public native String quickHelp(); + public native String tquickHelp(); /** This is generally only called for the KBugReport. If you override you should have it return a pointer to a constant. @@ -200,7 +200,7 @@ public class KCModule extends QWidget { @short */ - // const QPtrList<KConfigDialogManager>& configs(); >>>> NOT CONVERTED + // const TQPtrList<KConfigDialogManager>& configs(); >>>> NOT CONVERTED /** Adds a KConfigskeleton <code>config</code> to watch the widget <code>widget</code> This function is useful if you need to handle multiple configuration files. @@ -210,10 +210,10 @@ public class KCModule extends QWidget { @short Adds a KConfigskeleton <code>config</code> to watch the widget <code>widget</code> */ - // KConfigDialogManager* addConfig(KConfigSkeleton* arg1,QWidget* arg2); >>>> NOT CONVERTED + // KConfigDialogManager* addConfig(KConfigSkeleton* arg1,TQWidget* arg2); >>>> NOT CONVERTED /** - Sets the quick help. - @short Sets the quick help. + Sets the tquick help. + @short Sets the tquick help. */ protected native void setQuickHelp(String help); /** diff --git a/kdejava/koala/org/kde/koala/KCModuleInfo.java b/kdejava/koala/org/kde/koala/KCModuleInfo.java index a5faf1c4..173f22f0 100644 --- a/kdejava/koala/org/kde/koala/KCModuleInfo.java +++ b/kdejava/koala/org/kde/koala/KCModuleInfo.java @@ -142,7 +142,7 @@ public class KCModuleInfo implements QtSupport { */ public native int weight(); /** - @return whether the module might require root permissions + @return whether the module might retquire root permissions @short */ diff --git a/kdejava/koala/org/kde/koala/KCModuleLoader.java b/kdejava/koala/org/kde/koala/KCModuleLoader.java index 2c330b00..41a84ed9 100644 --- a/kdejava/koala/org/kde/koala/KCModuleLoader.java +++ b/kdejava/koala/org/kde/koala/KCModuleLoader.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -46,9 +46,9 @@ public class KCModuleLoader implements QtSupport { @short Loads a @ref KCModule. */ - public static native KCModule loadModule(KCModuleInfo module, int report, boolean withFallback, QWidget parent, String name, String[] args); - public static native KCModule loadModule(KCModuleInfo module, int report, boolean withFallback, QWidget parent, String name); - public static native KCModule loadModule(KCModuleInfo module, int report, boolean withFallback, QWidget parent); + public static native KCModule loadModule(KCModuleInfo module, int report, boolean withFallback, TQWidget parent, String name, String[] args); + public static native KCModule loadModule(KCModuleInfo module, int report, boolean withFallback, TQWidget parent, String name); + public static native KCModule loadModule(KCModuleInfo module, int report, boolean withFallback, TQWidget parent); public static native KCModule loadModule(KCModuleInfo module, int report, boolean withFallback); public static native KCModule loadModule(KCModuleInfo module, int report); /** @@ -60,9 +60,9 @@ public class KCModuleLoader implements QtSupport { @short Loads a @ref KCModule. */ - public static native KCModule loadModule(String module, int report, QWidget parent, String name, String[] args); - public static native KCModule loadModule(String module, int report, QWidget parent, String name); - public static native KCModule loadModule(String module, int report, QWidget parent); + public static native KCModule loadModule(String module, int report, TQWidget parent, String name, String[] args); + public static native KCModule loadModule(String module, int report, TQWidget parent, String name); + public static native KCModule loadModule(String module, int report, TQWidget parent); public static native KCModule loadModule(String module, int report); /** Unloads the module's library @@ -110,7 +110,7 @@ public class KCModuleLoader implements QtSupport { @param details any additional details @short Returns a KCModule containing the messages <code>report</code> and <code>text.</code> */ - public static native KCModule reportError(int report, String text, String details, QWidget parent); + public static native KCModule reportError(int report, String text, String details, TQWidget parent); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KCModuleSignals.java b/kdejava/koala/org/kde/koala/KCModuleSignals.java index c4b828e1..0093fedb 100644 --- a/kdejava/koala/org/kde/koala/KCModuleSignals.java +++ b/kdejava/koala/org/kde/koala/KCModuleSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KCModuleSignals { /** @@ -15,11 +15,11 @@ public interface KCModuleSignals { */ void changed(boolean state); /** - Indicate that the module's quickhelp has changed. - Emit this signal whenever the module's quickhelp changes. + Indicate that the module's tquickhelp has changed. + Emit this signal whenever the module's tquickhelp changes. Modules implemented as tabbed dialogs might want to implement - per-tab quickhelp for example. - @short Indicate that the module's quickhelp has changed. + per-tab tquickhelp for example. + @short Indicate that the module's tquickhelp has changed. */ - void quickHelpChanged(); + void tquickHelpChanged(); } diff --git a/kdejava/koala/org/kde/koala/KCMultiDialog.java b/kdejava/koala/org/kde/koala/KCMultiDialog.java index 6203f498..11f39772 100644 --- a/kdejava/koala/org/kde/koala/KCMultiDialog.java +++ b/kdejava/koala/org/kde/koala/KCMultiDialog.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -16,7 +16,7 @@ import org.kde.qt.QWidget; */ public class KCMultiDialog extends KDialogBase { protected KCMultiDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a new KCMultiDialog @@ -25,21 +25,21 @@ public class KCMultiDialog extends KDialogBase { @param modal If you pass true here, the dialog will be modal @short Constructs a new KCMultiDialog */ - public KCMultiDialog(QWidget parent, String name, boolean modal) { + public KCMultiDialog(TQWidget parent, String name, boolean modal) { super((Class) null); newKCMultiDialog(parent,name,modal); } - private native void newKCMultiDialog(QWidget parent, String name, boolean modal); - public KCMultiDialog(QWidget parent, String name) { + private native void newKCMultiDialog(TQWidget parent, String name, boolean modal); + public KCMultiDialog(TQWidget parent, String name) { super((Class) null); newKCMultiDialog(parent,name); } - private native void newKCMultiDialog(QWidget parent, String name); - public KCMultiDialog(QWidget parent) { + private native void newKCMultiDialog(TQWidget parent, String name); + public KCMultiDialog(TQWidget parent) { super((Class) null); newKCMultiDialog(parent); } - private native void newKCMultiDialog(QWidget parent); + private native void newKCMultiDialog(TQWidget parent); public KCMultiDialog() { super((Class) null); newKCMultiDialog(); @@ -58,21 +58,21 @@ public class KCMultiDialog extends KDialogBase { the dialog is open. @short Construct a personalized KCMultiDialog. */ - public KCMultiDialog(int dialogFace, String caption, QWidget parent, String name, boolean modal) { + public KCMultiDialog(int dialogFace, String caption, TQWidget parent, String name, boolean modal) { super((Class) null); newKCMultiDialog(dialogFace,caption,parent,name,modal); } - private native void newKCMultiDialog(int dialogFace, String caption, QWidget parent, String name, boolean modal); - public KCMultiDialog(int dialogFace, String caption, QWidget parent, String name) { + private native void newKCMultiDialog(int dialogFace, String caption, TQWidget parent, String name, boolean modal); + public KCMultiDialog(int dialogFace, String caption, TQWidget parent, String name) { super((Class) null); newKCMultiDialog(dialogFace,caption,parent,name); } - private native void newKCMultiDialog(int dialogFace, String caption, QWidget parent, String name); - public KCMultiDialog(int dialogFace, String caption, QWidget parent) { + private native void newKCMultiDialog(int dialogFace, String caption, TQWidget parent, String name); + public KCMultiDialog(int dialogFace, String caption, TQWidget parent) { super((Class) null); newKCMultiDialog(dialogFace,caption,parent); } - private native void newKCMultiDialog(int dialogFace, String caption, QWidget parent); + private native void newKCMultiDialog(int dialogFace, String caption, TQWidget parent); public KCMultiDialog(int dialogFace, String caption) { super((Class) null); newKCMultiDialog(dialogFace,caption); diff --git a/kdejava/koala/org/kde/koala/KCMultiDialogSignals.java b/kdejava/koala/org/kde/koala/KCMultiDialogSignals.java index 28a64927..9574ec70 100644 --- a/kdejava/koala/org/kde/koala/KCMultiDialogSignals.java +++ b/kdejava/koala/org/kde/koala/KCMultiDialogSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KCMultiDialogSignals { /** diff --git a/kdejava/koala/org/kde/koala/KCalendarSystem.java b/kdejava/koala/org/kde/koala/KCalendarSystem.java index b27ac513..ff0cb6ea 100644 --- a/kdejava/koala/org/kde/koala/KCalendarSystem.java +++ b/kdejava/koala/org/kde/koala/KCalendarSystem.java @@ -139,7 +139,7 @@ public class KCalendarSystem implements QtSupport { @param nyears The number of years to add @return The new date - @short Returns a QDate object containing a date nyears later. + @short Returns a TQDate object containing a date nyears later. */ public native Calendar addYears(Calendar date, int nyears); /** @@ -148,7 +148,7 @@ public class KCalendarSystem implements QtSupport { @param nmonths The number of months to add @return The new date - @short Returns a QDate object containing a date nmonths later. + @short Returns a TQDate object containing a date nmonths later. */ public native Calendar addMonths(Calendar date, int nmonths); /** @@ -157,7 +157,7 @@ public class KCalendarSystem implements QtSupport { @param ndays The number of days to add @return The new date - @short Returns a QDate object containing a date ndays later. + @short Returns a TQDate object containing a date ndays later. */ public native Calendar addDays(Calendar date, int ndays); /** @@ -284,7 +284,7 @@ public class KCalendarSystem implements QtSupport { algorithms (Calendar, 8000) @return maximum year supported - @short Gets the maximum year value supported by specific calendar type algorithms (QDate, 8000) + @short Gets the maximum year value supported by specific calendar type algorithms (TQDate, 8000) */ public native int maxValidYear(); /** diff --git a/kdejava/koala/org/kde/koala/KCharSelect.java b/kdejava/koala/org/kde/koala/KCharSelect.java index 82658b2e..79ac0db3 100644 --- a/kdejava/koala/org/kde/koala/KCharSelect.java +++ b/kdejava/koala/org/kde/koala/KCharSelect.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; -import org.kde.qt.QFontDatabase; -import org.kde.qt.QVBox; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; +import org.kde.qt.TQFontDatabase; +import org.kde.qt.TQVBox; /** @@ -35,40 +35,40 @@ import org.kde.qt.QVBox; @short Character selection widget. */ -public class KCharSelect extends QVBox { +public class KCharSelect extends TQVBox { protected KCharSelect(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. <code>font</code> specifies which font should be displayed, <code>chr</code> which character should be selected and <code>tableNum</code> specifies the number of the table which should be displayed. @short Constructor. */ - public KCharSelect(QWidget parent, String name, String font, char chr, int tableNum) { + public KCharSelect(TQWidget parent, String name, String font, char chr, int tableNum) { super((Class) null); newKCharSelect(parent,name,font,chr,tableNum); } - private native void newKCharSelect(QWidget parent, String name, String font, char chr, int tableNum); - public KCharSelect(QWidget parent, String name, String font, char chr) { + private native void newKCharSelect(TQWidget parent, String name, String font, char chr, int tableNum); + public KCharSelect(TQWidget parent, String name, String font, char chr) { super((Class) null); newKCharSelect(parent,name,font,chr); } - private native void newKCharSelect(QWidget parent, String name, String font, char chr); - public KCharSelect(QWidget parent, String name, String font) { + private native void newKCharSelect(TQWidget parent, String name, String font, char chr); + public KCharSelect(TQWidget parent, String name, String font) { super((Class) null); newKCharSelect(parent,name,font); } - private native void newKCharSelect(QWidget parent, String name, String font); - public KCharSelect(QWidget parent, String name) { + private native void newKCharSelect(TQWidget parent, String name, String font); + public KCharSelect(TQWidget parent, String name) { super((Class) null); newKCharSelect(parent,name); } - private native void newKCharSelect(QWidget parent, String name); + private native void newKCharSelect(TQWidget parent, String name); /** Reimplemented. @short Reimplemented. */ - public native QSize sizeHint(); + public native TQSize sizeHint(); /** Sets the font which is displayed to <code>font</code> @short Sets the font which is displayed to <code>font</code> diff --git a/kdejava/koala/org/kde/koala/KCharSelectSignals.java b/kdejava/koala/org/kde/koala/KCharSelectSignals.java index f925cbce..69f345a8 100644 --- a/kdejava/koala/org/kde/koala/KCharSelectSignals.java +++ b/kdejava/koala/org/kde/koala/KCharSelectSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; -import org.kde.qt.QFontDatabase; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; +import org.kde.qt.TQFontDatabase; public interface KCharSelectSignals { void highlighted(char c); diff --git a/kdejava/koala/org/kde/koala/KCharSelectTable.java b/kdejava/koala/org/kde/koala/KCharSelectTable.java index 496c6cd7..8d169ca6 100644 --- a/kdejava/koala/org/kde/koala/KCharSelectTable.java +++ b/kdejava/koala/org/kde/koala/KCharSelectTable.java @@ -2,14 +2,14 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QGridView; +import org.kde.qt.TQSize; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQGridView; /** @@ -22,26 +22,26 @@ import org.kde.qt.QGridView; @short Character selection table. */ -public class KCharSelectTable extends QGridView { +public class KCharSelectTable extends TQGridView { protected KCharSelectTable(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KCharSelectTable(QWidget parent, String name, String _font, char _chr, int _tableNum) { + public KCharSelectTable(TQWidget parent, String name, String _font, char _chr, int _tableNum) { super((Class) null); newKCharSelectTable(parent,name,_font,_chr,_tableNum); } - private native void newKCharSelectTable(QWidget parent, String name, String _font, char _chr, int _tableNum); - public native QSize sizeHint(); - public native void resizeEvent(QResizeEvent arg1); + private native void newKCharSelectTable(TQWidget parent, String name, String _font, char _chr, int _tableNum); + public native TQSize sizeHint(); + public native void resizeEvent(TQResizeEvent arg1); public native void setFont(String _font); public native void setChar(char _chr); public native void setTableNum(int _tableNum); public native char chr(); - protected native void mousePressEvent(QMouseEvent e); - protected native void mouseDoubleClickEvent(QMouseEvent e); - protected native void mouseReleaseEvent(QMouseEvent e); - protected native void mouseMoveEvent(QMouseEvent e); - protected native void keyPressEvent(QKeyEvent e); + protected native void mousePressEvent(TQMouseEvent e); + protected native void mouseDoubleClickEvent(TQMouseEvent e); + protected native void mouseReleaseEvent(TQMouseEvent e); + protected native void mouseMoveEvent(TQMouseEvent e); + protected native void keyPressEvent(TQKeyEvent e); protected native void gotoLeft(); protected native void gotoRight(); protected native void gotoUp(); diff --git a/kdejava/koala/org/kde/koala/KCharSelectTableSignals.java b/kdejava/koala/org/kde/koala/KCharSelectTableSignals.java index a4f766fe..65fbdd21 100644 --- a/kdejava/koala/org/kde/koala/KCharSelectTableSignals.java +++ b/kdejava/koala/org/kde/koala/KCharSelectTableSignals.java @@ -1,13 +1,13 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQSize; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; public interface KCharSelectTableSignals { void highlighted(char c); diff --git a/kdejava/koala/org/kde/koala/KCharsets.java b/kdejava/koala/org/kde/koala/KCharsets.java index 0d57ca40..da2bc00f 100644 --- a/kdejava/koala/org/kde/koala/KCharsets.java +++ b/kdejava/koala/org/kde/koala/KCharsets.java @@ -4,7 +4,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QTextCodec; +import org.kde.qt.TQTextCodec; /** @@ -26,22 +26,22 @@ public class KCharsets implements QtSupport { /** Provided for compatibility. @param name the name of the codec - @return the QTextCodec. If the desired codec could not be found, + @return the TQTextCodec. If the desired codec could not be found, it returns a default (Latin-1) codec @short Provided for compatibility. */ - public native QTextCodec codecForName(String name); + public native TQTextCodec codecForName(String name); /** - Tries to find a QTextCodec to convert the given encoding from and to + Tries to find a TQTextCodec to convert the given encoding from and to Unicode. If no codec could be found the latin1 codec will be returned an <code>ok</code> will be set to false. - @return the QTextCodec. If the desired codec could not be found, + @return the TQTextCodec. If the desired codec could not be found, it returns a default (Latin-1) codec - @short Tries to find a QTextCodec to convert the given encoding from and to Unicode. + @short Tries to find a TQTextCodec to convert the given encoding from and to Unicode. */ - public native QTextCodec codecForName(String n, boolean ok); + public native TQTextCodec codecForName(String n, boolean ok); /** Lists all available encodings as names. @return the list of all encodings diff --git a/kdejava/koala/org/kde/koala/KCmdLineArgs.java b/kdejava/koala/org/kde/koala/KCmdLineArgs.java index 747d7420..4a227d2d 100644 --- a/kdejava/koala/org/kde/koala/KCmdLineArgs.java +++ b/kdejava/koala/org/kde/koala/KCmdLineArgs.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; +import org.kde.qt.TQDataStream; import java.util.ArrayList; /** @@ -41,7 +41,7 @@ import java.util.ArrayList; for(int i = 0; i < args.count(); i++) // Counting start at 0! { // don't forget to convert to Unicode! - openFile( QFile.decodeName( args.arg(i))); + openFile( TQFile.decodeName( args.arg(i))); // Or more convenient: // openURL( args.url(i)); } @@ -69,9 +69,9 @@ import java.util.ArrayList; { "f", 0, 0 }, { "option7 \<speed>", I18N_NOOP("'--option7 speed' is the same as '-f speed'"), 0 }, { "!option8 \<cmd>", I18N_NOOP("All options following this one will be treated as arguments"), 0 }, - { "+file", I18N_NOOP("A required argument 'file'"), 0 }, + { "+file", I18N_NOOP("A retquired argument 'file'"), 0 }, { "+[arg1]", I18N_NOOP("An optional argument 'arg1'"), 0 }, - { "!+command", I18N_NOOP("A required argument 'command', that can contain multiple words, even starting with '-'"), 0 }, + { "!+command", I18N_NOOP("A retquired argument 'command', that can contain multiple words, even starting with '-'"), 0 }, { "", I18N_NOOP("Additional help text not associated with any particular option") 0 }, // End of options. } @@ -249,7 +249,7 @@ public class KCmdLineArgs implements QtSupport { @param _description A short description of what your application is about. @param _version A version. @param noKApp Set this true to not add commandline options for - QApplication / KApplication + TQApplication / KApplication @short Initialize class. */ public static native void init(String[] _argv, String _appname, String programName, String _description, String _version, boolean noKApp); @@ -258,11 +258,11 @@ public class KCmdLineArgs implements QtSupport { Initialize class. This function should be called as the very first thing in your application. It uses KAboutData to replace some of the - arguments that would otherwise be required. + arguments that would otherwise be retquired. @param _argv As passed to <code>main</code>(...). @param about A KAboutData object describing your program. @param noKApp Set this true to not add commandline options for - QApplication / KApplication + TQApplication / KApplication @short Initialize class. */ public static native void init(String[] _argv, KAboutData about, boolean noKApp); @@ -297,7 +297,7 @@ public class KCmdLineArgs implements QtSupport { </pre> <li> - "option1" is an option that requires an additional argument, + "option1" is an option that retquires an additional argument, but if one is not provided, it uses "my_extra_arg". </li> @@ -318,7 +318,7 @@ public class KCmdLineArgs implements QtSupport { "+file" specifies an argument. The '+' is removed. If your program doesn't specify that it can use arguments your program will abort when an argument is passed to it. Note that the reverse is not - true. If required, you must check yourself the number of arguments + true. If retquired, you must check yourself the number of arguments specified by the user: <pre> KCmdLineArgs args = KCmdLineArgs.parsedArgs(); @@ -455,7 +455,7 @@ public class KCmdLineArgs implements QtSupport { Load arguments from a stream. @short Load arguments from a stream. */ - public static native void loadAppArgs(QDataStream arg1); + public static native void loadAppArgs(TQDataStream arg1); /** Add standard option --tempfile @short Add standard option --tempfile diff --git a/kdejava/koala/org/kde/koala/KCodecs.java b/kdejava/koala/org/kde/koala/KCodecs.java index 5d266db3..7efa057c 100644 --- a/kdejava/koala/org/kde/koala/KCodecs.java +++ b/kdejava/koala/org/kde/koala/KCodecs.java @@ -18,7 +18,7 @@ import org.kde.qt.QtSupport; </pre> <pre> Output should be - Result: QWxhZGRpbjpvcGVuIHNlc2FtZQ== + Result: TQWxhZGRpbjpvcGVuIHNlc2FtZQ== </pre> The above example makes use of the convenience functions (ones that accept/return null-terminated strings) to encode/decode diff --git a/kdejava/koala/org/kde/koala/KColor.java b/kdejava/koala/org/kde/koala/KColor.java index 82cd66b2..b39c9f38 100644 --- a/kdejava/koala/org/kde/koala/KColor.java +++ b/kdejava/koala/org/kde/koala/KColor.java @@ -2,23 +2,23 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; +import org.kde.qt.TQColor; import org.kde.qt.QtSupport; -import org.kde.qt.QColor; +import org.kde.qt.TQColor; /** A color class that preserves both RGB and HSV values. This is - unlike QColor which only preserves RGB values and recalculates HSV - values. The QColor behavior leads to an accumulation of rounding + unlike TQColor which only preserves RGB values and recalculates HSV + values. The TQColor behavior leads to an accumulation of rounding errors when working in the HSV color space. @author Waldo Bastian <bastian@kde.org> @short A color class that preserves both RGB and HSV values. */ -public class KColor extends QColor { +public class KColor extends TQColor { protected KColor(Class dummy){super((Class) null);} public KColor() { super((Class) null); @@ -30,11 +30,11 @@ public class KColor extends QColor { newKColor(col); } private native void newKColor(KColor col); - public KColor(QColor col) { + public KColor(TQColor col) { super((Class) null); newKColor(col); } - private native void newKColor(QColor col); + private native void newKColor(TQColor col); public native boolean op_equals(KColor col); public native void setHsv(int _h, int _s, int _v); public native void setRgb(int _r, int _g, int _b); diff --git a/kdejava/koala/org/kde/koala/KColorButton.java b/kdejava/koala/org/kde/koala/KColorButton.java index 610249e1..4fd1bb18 100644 --- a/kdejava/koala/org/kde/koala/KColorButton.java +++ b/kdejava/koala/org/kde/koala/KColorButton.java @@ -2,17 +2,17 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QSize; -import org.kde.qt.QPainter; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QPushButton; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQSize; +import org.kde.qt.TQPainter; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQPushButton; /** @@ -23,76 +23,76 @@ import org.kde.qt.QPushButton; @see KColorDialog */ -public class KColorButton extends QPushButton { +public class KColorButton extends TQPushButton { protected KColorButton(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a color button. @short Creates a color button. */ - public KColorButton(QWidget parent, String name) { + public KColorButton(TQWidget parent, String name) { super((Class) null); newKColorButton(parent,name); } - private native void newKColorButton(QWidget parent, String name); - public KColorButton(QWidget parent) { + private native void newKColorButton(TQWidget parent, String name); + public KColorButton(TQWidget parent) { super((Class) null); newKColorButton(parent); } - private native void newKColorButton(QWidget parent); + private native void newKColorButton(TQWidget parent); /** Creates a color button with an initial color <code>c.</code> @short Creates a color button with an initial color <code>c.</code> */ - public KColorButton(QColor c, QWidget parent, String name) { + public KColorButton(TQColor c, TQWidget parent, String name) { super((Class) null); newKColorButton(c,parent,name); } - private native void newKColorButton(QColor c, QWidget parent, String name); - public KColorButton(QColor c, QWidget parent) { + private native void newKColorButton(TQColor c, TQWidget parent, String name); + public KColorButton(TQColor c, TQWidget parent) { super((Class) null); newKColorButton(c,parent); } - private native void newKColorButton(QColor c, QWidget parent); - public KColorButton(QColor c, QColor defaultColor, QWidget parent, String name) { + private native void newKColorButton(TQColor c, TQWidget parent); + public KColorButton(TQColor c, TQColor defaultColor, TQWidget parent, String name) { super((Class) null); newKColorButton(c,defaultColor,parent,name); } - private native void newKColorButton(QColor c, QColor defaultColor, QWidget parent, String name); - public KColorButton(QColor c, QColor defaultColor, QWidget parent) { + private native void newKColorButton(TQColor c, TQColor defaultColor, TQWidget parent, String name); + public KColorButton(TQColor c, TQColor defaultColor, TQWidget parent) { super((Class) null); newKColorButton(c,defaultColor,parent); } - private native void newKColorButton(QColor c, QColor defaultColor, QWidget parent); + private native void newKColorButton(TQColor c, TQColor defaultColor, TQWidget parent); /** Returns the currently chosen color. @short Returns the currently chosen color. */ - public native QColor color(); + public native TQColor color(); /** Sets the current color to <code>c.</code> @short Sets the current color to <code>c.</code> */ - public native void setColor(QColor c); + public native void setColor(TQColor c); /** Returns the default color or an invalid color if no default color is set. @short Returns the default color or an invalid color if no default color is set. */ - public native QColor defaultColor(); + public native TQColor defaultColor(); /** Sets the default color to <code>c.</code> @short Sets the default color to <code>c.</code> */ - public native void setDefaultColor(QColor c); - public native QSize sizeHint(); - protected native void drawButtonLabel(QPainter p); - protected native void dragEnterEvent(QDragEnterEvent arg1); - protected native void dropEvent(QDropEvent arg1); - protected native void mousePressEvent(QMouseEvent e); - protected native void mouseMoveEvent(QMouseEvent e); - protected native void keyPressEvent(QKeyEvent e); + public native void setDefaultColor(TQColor c); + public native TQSize sizeHint(); + protected native void drawButtonLabel(TQPainter p); + protected native void dragEnterEvent(TQDragEnterEvent arg1); + protected native void dropEvent(TQDropEvent arg1); + protected native void mousePressEvent(TQMouseEvent e); + protected native void mouseMoveEvent(TQMouseEvent e); + protected native void keyPressEvent(TQKeyEvent e); protected native void chooseColor(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KColorButtonSignals.java b/kdejava/koala/org/kde/koala/KColorButtonSignals.java index 488ed575..a0a4d56a 100644 --- a/kdejava/koala/org/kde/koala/KColorButtonSignals.java +++ b/kdejava/koala/org/kde/koala/KColorButtonSignals.java @@ -1,16 +1,16 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QSize; -import org.kde.qt.QPainter; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQSize; +import org.kde.qt.TQPainter; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; public interface KColorButtonSignals { /** @@ -18,5 +18,5 @@ public interface KColorButtonSignals { is changed, either with setColor() or via user selection. @short Emitted when the color of the widget is changed, either with setColor() or via user selection. */ - void changed(QColor newColor); + void changed(TQColor newColor); } diff --git a/kdejava/koala/org/kde/koala/KColorCells.java b/kdejava/koala/org/kde/koala/KColorCells.java index b7fad405..eda369de 100644 --- a/kdejava/koala/org/kde/koala/KColorCells.java +++ b/kdejava/koala/org/kde/koala/KColorCells.java @@ -2,17 +2,17 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QPainter; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QGridView; +import org.kde.qt.TQPoint; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQPainter; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQGridView; /** @@ -23,31 +23,31 @@ import org.kde.qt.QGridView; @short A table of editable color cells. */ -public class KColorCells extends QGridView { +public class KColorCells extends TQGridView { protected KColorCells(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KColorCells(QWidget parent, int rows, int cols) { + public KColorCells(TQWidget parent, int rows, int cols) { super((Class) null); newKColorCells(parent,rows,cols); } - private native void newKColorCells(QWidget parent, int rows, int cols); - public native void setColor(int colNum, QColor col); - public native QColor color(int indx); + private native void newKColorCells(TQWidget parent, int rows, int cols); + public native void setColor(int colNum, TQColor col); + public native TQColor color(int indx); public native int numCells(); public native void setShading(boolean _shade); public native void setAcceptDrags(boolean _acceptDrags); public native int getSelected(); - public native void paintCell(QPainter painter, int row, int col); - protected native void resizeEvent(QResizeEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void dragEnterEvent(QDragEnterEvent arg1); - protected native void dropEvent(QDropEvent arg1); - protected native void mouseDoubleClickEvent(QMouseEvent arg1); - protected native int posToCell(QPoint pos, boolean ignoreBorders); - protected native int posToCell(QPoint pos); + public native void paintCell(TQPainter painter, int row, int col); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void dragEnterEvent(TQDragEnterEvent arg1); + protected native void dropEvent(TQDropEvent arg1); + protected native void mouseDoubleClickEvent(TQMouseEvent arg1); + protected native int posToCell(TQPoint pos, boolean ignoreBorders); + protected native int posToCell(TQPoint pos); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KColorCellsSignals.java b/kdejava/koala/org/kde/koala/KColorCellsSignals.java index a7a13184..4b3a8c3c 100644 --- a/kdejava/koala/org/kde/koala/KColorCellsSignals.java +++ b/kdejava/koala/org/kde/koala/KColorCellsSignals.java @@ -1,16 +1,16 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QPainter; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQPoint; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQPainter; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; public interface KColorCellsSignals { void colorSelected(int col); diff --git a/kdejava/koala/org/kde/koala/KColorCombo.java b/kdejava/koala/org/kde/koala/KColorCombo.java index e7ecdfaf..52a7e20b 100644 --- a/kdejava/koala/org/kde/koala/KColorCombo.java +++ b/kdejava/koala/org/kde/koala/KColorCombo.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QComboBox; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQComboBox; /** @@ -16,40 +16,40 @@ import org.kde.qt.QComboBox; @short Combobox for colors. */ -public class KColorCombo extends QComboBox { +public class KColorCombo extends TQComboBox { protected KColorCombo(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a color combo box. @short Constructs a color combo box. */ - public KColorCombo(QWidget parent, String name) { + public KColorCombo(TQWidget parent, String name) { super((Class) null); newKColorCombo(parent,name); } - private native void newKColorCombo(QWidget parent, String name); - public KColorCombo(QWidget parent) { + private native void newKColorCombo(TQWidget parent, String name); + public KColorCombo(TQWidget parent) { super((Class) null); newKColorCombo(parent); } - private native void newKColorCombo(QWidget parent); + private native void newKColorCombo(TQWidget parent); /** Selects the color <code>col.</code> @short Selects the color <code>col.</code> */ - public native void setColor(QColor col); + public native void setColor(TQColor col); /** Returns the currently selected color. @short Returns the currently selected color. */ - public native QColor color(); + public native TQColor color(); /** Clear the color list and don't show it, till the next setColor() call @short Clear the color list and don't show it, till the next setColor() call */ public native void showEmptyList(); - protected native void resizeEvent(QResizeEvent re); + protected native void resizeEvent(TQResizeEvent re); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KColorComboSignals.java b/kdejava/koala/org/kde/koala/KColorComboSignals.java index 3a9a7e78..67a363d7 100644 --- a/kdejava/koala/org/kde/koala/KColorComboSignals.java +++ b/kdejava/koala/org/kde/koala/KColorComboSignals.java @@ -1,21 +1,21 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; public interface KColorComboSignals { /** Emitted when a new color box has been selected. @short Emitted when a new color box has been selected. */ - void activated(QColor col); + void activated(TQColor col); /** Emitted when a new item has been highlighted. @short Emitted when a new item has been highlighted. */ - void highlighted(QColor col); + void highlighted(TQColor col); } diff --git a/kdejava/koala/org/kde/koala/KColorDialog.java b/kdejava/koala/org/kde/koala/KColorDialog.java index 3bcda11c..32a95471 100644 --- a/kdejava/koala/org/kde/koala/KColorDialog.java +++ b/kdejava/koala/org/kde/koala/KColorDialog.java @@ -2,15 +2,15 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPoint; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQPoint; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; /** @@ -36,7 +36,7 @@ import org.kde.qt.QWidget; user choose a color, and returns. Example: <pre> - QColor myColor; + TQColor myColor; int result = KColorDialog.getColor( myColor ); if ( result == KColorDialog.Accepted ) ... @@ -55,27 +55,27 @@ import org.kde.qt.QWidget; */ public class KColorDialog extends KDialogBase { protected KColorDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a color selection dialog. @short Constructs a color selection dialog. */ - public KColorDialog(QWidget parent, String name, boolean modal) { + public KColorDialog(TQWidget parent, String name, boolean modal) { super((Class) null); newKColorDialog(parent,name,modal); } - private native void newKColorDialog(QWidget parent, String name, boolean modal); - public KColorDialog(QWidget parent, String name) { + private native void newKColorDialog(TQWidget parent, String name, boolean modal); + public KColorDialog(TQWidget parent, String name) { super((Class) null); newKColorDialog(parent,name); } - private native void newKColorDialog(QWidget parent, String name); - public KColorDialog(QWidget parent) { + private native void newKColorDialog(TQWidget parent, String name); + public KColorDialog(TQWidget parent) { super((Class) null); newKColorDialog(parent); } - private native void newKColorDialog(QWidget parent); + private native void newKColorDialog(TQWidget parent); public KColorDialog() { super((Class) null); newKColorDialog(); @@ -85,57 +85,57 @@ public class KColorDialog extends KDialogBase { Returns the currently selected color. @short Returns the currently selected color. */ - public native QColor color(); + public native TQColor color(); /** Call this to make the dialog show a "Default Color" checkbox. - If this checkbox is selected, the dialog will return an "invalid" color (QColor()). + If this checkbox is selected, the dialog will return an "invalid" color (TQColor()). This can be used to mean "the default text color", for instance, the one with the KDE text color on screen, but black when printing. @short Call this to make the dialog show a "Default Color" checkbox. */ - public native void setDefaultColor(QColor defaultCol); + public native void setDefaultColor(TQColor defaultCol); /** @return the value passed to setDefaultColor @short */ - public native QColor defaultColor(); + public native TQColor defaultColor(); /** Preselects a color. @short Preselects a color. */ - public native void setColor(QColor col); + public native void setColor(TQColor col); /** Creates a modal color dialog, let the user choose a color, and returns when the dialog is closed. The selected color is returned in the argument <code>theColor.</code> - @return QDialog.result(). + @return TQDialog.result(). @short Creates a modal color dialog, let the user choose a color, and returns when the dialog is closed. */ - public static native int getColor(QColor theColor, QWidget parent); - public static native int getColor(QColor theColor); + public static native int getColor(TQColor theColor, TQWidget parent); + public static native int getColor(TQColor theColor); /** Creates a modal color dialog, lets the user choose a color, and returns when the dialog is closed. The selected color is returned in the argument <code>theColor.</code> This version takes a <code>defaultColor</code> argument, which sets the color selected by the "default color" checkbox. When this checkbox is checked, - the invalid color (QColor()) is returned into <code>theColor.</code> - @return QDialog.result(). + the invalid color (TQColor()) is returned into <code>theColor.</code> + @return TQDialog.result(). @short Creates a modal color dialog, lets the user choose a color, and returns when the dialog is closed. */ - public static native int getColor(QColor theColor, QColor defaultColor, QWidget parent); - public static native int getColor(QColor theColor, QColor defaultColor); + public static native int getColor(TQColor theColor, TQColor defaultColor, TQWidget parent); + public static native int getColor(TQColor theColor, TQColor defaultColor); /** Gets the color from the pixel at point p on the screen. @short Gets the color from the pixel at point p on the screen. */ - public static native QColor grabColor(QPoint p); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void keyPressEvent(QKeyEvent arg1); - public native boolean eventFilter(QObject arg1, QEvent ev); + public static native TQColor grabColor(TQPoint p); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + public native boolean eventFilter(TQObject arg1, TQEvent ev); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KColorDialogSignals.java b/kdejava/koala/org/kde/koala/KColorDialogSignals.java index f5bb0221..89b79475 100644 --- a/kdejava/koala/org/kde/koala/KColorDialogSignals.java +++ b/kdejava/koala/org/kde/koala/KColorDialogSignals.java @@ -1,15 +1,15 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPoint; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQPoint; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; public interface KColorDialogSignals { /** @@ -18,5 +18,5 @@ public interface KColorDialogSignals { not running modal. @short Emitted when a color is selected. */ - void colorSelected(QColor col); + void colorSelected(TQColor col); } diff --git a/kdejava/koala/org/kde/koala/KColorDrag.java b/kdejava/koala/org/kde/koala/KColorDrag.java index 60c4733b..71597526 100644 --- a/kdejava/koala/org/kde/koala/KColorDrag.java +++ b/kdejava/koala/org/kde/koala/KColorDrag.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QMimeSourceInterface; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMimeSourceInterface; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QMimeSource; -import org.kde.qt.QWidget; -import org.kde.qt.QStoredDrag; +import org.kde.qt.TQMimeSource; +import org.kde.qt.TQWidget; +import org.kde.qt.TQStoredDrag; /** @@ -18,24 +18,24 @@ import org.kde.qt.QStoredDrag; @short A drag-and-drop object for colors. */ -public class KColorDrag extends QStoredDrag { +public class KColorDrag extends TQStoredDrag { protected KColorDrag(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a color drag with a white color. @short Constructs a color drag with a white color. */ - public KColorDrag(QWidget dragsource, String name) { + public KColorDrag(TQWidget dragsource, String name) { super((Class) null); newKColorDrag(dragsource,name); } - private native void newKColorDrag(QWidget dragsource, String name); - public KColorDrag(QWidget dragsource) { + private native void newKColorDrag(TQWidget dragsource, String name); + public KColorDrag(TQWidget dragsource) { super((Class) null); newKColorDrag(dragsource); } - private native void newKColorDrag(QWidget dragsource); + private native void newKColorDrag(TQWidget dragsource); public KColorDrag() { super((Class) null); newKColorDrag(); @@ -45,38 +45,38 @@ public class KColorDrag extends QStoredDrag { Constructs a color drag with the color <code>col.</code> @short Constructs a color drag with the color <code>col.</code> */ - public KColorDrag(QColor col, QWidget dragsource, String name) { + public KColorDrag(TQColor col, TQWidget dragsource, String name) { super((Class) null); newKColorDrag(col,dragsource,name); } - private native void newKColorDrag(QColor col, QWidget dragsource, String name); - public KColorDrag(QColor col, QWidget dragsource) { + private native void newKColorDrag(TQColor col, TQWidget dragsource, String name); + public KColorDrag(TQColor col, TQWidget dragsource) { super((Class) null); newKColorDrag(col,dragsource); } - private native void newKColorDrag(QColor col, QWidget dragsource); - public KColorDrag(QColor col) { + private native void newKColorDrag(TQColor col, TQWidget dragsource); + public KColorDrag(TQColor col) { super((Class) null); newKColorDrag(col); } - private native void newKColorDrag(QColor col); + private native void newKColorDrag(TQColor col); public native String format(int i); public native byte[] encodedData(String m); /** Sets the color of the drag to <code>col.</code> @short Sets the color of the drag to <code>col.</code> */ - public native void setColor(QColor col); + public native void setColor(TQColor col); /** Returns true if the MIME source <code>e</code> contains a color object. @short Returns true if the MIME source <code>e</code> contains a color object. */ - public static native boolean canDecode(QMimeSourceInterface e); + public static native boolean canDecode(TQMimeSourceInterface e); /** Decodes the MIME source <code>e</code> and puts the resulting color into <code>col.</code> @short Decodes the MIME source <code>e</code> and puts the resulting color into <code>col.</code> */ - public static native boolean decode(QMimeSourceInterface e, QColor col); + public static native boolean decode(TQMimeSourceInterface e, TQColor col); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KColorPatch.java b/kdejava/koala/org/kde/koala/KColorPatch.java index 6a77af84..7b140a6c 100644 --- a/kdejava/koala/org/kde/koala/KColorPatch.java +++ b/kdejava/koala/org/kde/koala/KColorPatch.java @@ -2,15 +2,15 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QPainter; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QFrame; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQPainter; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQFrame; /** @@ -21,20 +21,20 @@ import org.kde.qt.QFrame; @short A color displayer. */ -public class KColorPatch extends QFrame { +public class KColorPatch extends TQFrame { protected KColorPatch(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KColorPatch(QWidget parent) { + public KColorPatch(TQWidget parent) { super((Class) null); newKColorPatch(parent); } - private native void newKColorPatch(QWidget parent); - public native void setColor(QColor col); - protected native void drawContents(QPainter painter); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void dragEnterEvent(QDragEnterEvent arg1); - protected native void dropEvent(QDropEvent arg1); + private native void newKColorPatch(TQWidget parent); + public native void setColor(TQColor col); + protected native void drawContents(TQPainter painter); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void dragEnterEvent(TQDragEnterEvent arg1); + protected native void dropEvent(TQDropEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KColorPatchSignals.java b/kdejava/koala/org/kde/koala/KColorPatchSignals.java index a4b77290..83568d4f 100644 --- a/kdejava/koala/org/kde/koala/KColorPatchSignals.java +++ b/kdejava/koala/org/kde/koala/KColorPatchSignals.java @@ -1,15 +1,15 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QPainter; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQPainter; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; public interface KColorPatchSignals { - void colorChanged(QColor arg1); + void colorChanged(TQColor arg1); } diff --git a/kdejava/koala/org/kde/koala/KCombiView.java b/kdejava/koala/org/kde/koala/KCombiView.java index 9214a8e3..68c37cbe 100644 --- a/kdejava/koala/org/kde/koala/KCombiView.java +++ b/kdejava/koala/org/kde/koala/KCombiView.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; import java.util.ArrayList; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QSplitter; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQSplitter; /** @@ -28,16 +28,16 @@ import org.kde.qt.QSplitter; @see KDirOperator */ -public class KCombiView extends QSplitter implements KFileViewInterface { +public class KCombiView extends TQSplitter implements KFileViewInterface { protected KCombiView(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KCombiView(QWidget parent, String name) { + public KCombiView(TQWidget parent, String name) { super((Class) null); newKCombiView(parent,name); } - private native void newKCombiView(QWidget parent, String name); - public native QWidget widget(); + private native void newKCombiView(TQWidget parent, String name); + public native TQWidget widget(); public native void clearView(); public native void updateView(boolean arg1); public native void updateView(KFileItem arg1); @@ -70,7 +70,7 @@ public class KCombiView extends QSplitter implements KFileViewInterface { public native void ensureItemVisible(KFileItem arg1); public native KActionCollection actionCollection(); public native void setAcceptDrops(boolean b); - public native boolean eventFilter(QObject o, QEvent e); + public native boolean eventFilter(TQObject o, TQEvent e); protected native void setDropOptions_impl(int options); protected native void slotSortingChanged(int arg1); /** Deletes the wrapped C++ instance */ @@ -98,8 +98,8 @@ public class KCombiView extends QSplitter implements KFileViewInterface { public native int sorting(); /** Tells whether the current items are in reversed order (shortcut to - sorting() & QDir.Reversed). - @short Tells whether the current items are in reversed order (shortcut to sorting() & QDir.Reversed). + sorting() & TQDir.Reversed). + @short Tells whether the current items are in reversed order (shortcut to sorting() & TQDir.Reversed). */ public native boolean isReversed(); public native void sortReversed(); @@ -190,13 +190,13 @@ public class KCombiView extends QSplitter implements KFileViewInterface { public native int dropOptions(); /** This method calculates a String from the given parameters, that is - suitable for sorting with e.g. QIconView or QListView. Their + suitable for sorting with e.g. TQIconView or TQListView. Their Item-classes usually have a setKey( String ) method or a virtual method String key() that is used for sorting. @param value Any string that should be used as sort criterion @param isDir Tells whether the key is computed for an item representing a directory (directories are usually sorted before files) - @param sortSpec An ORed combination of QDir.SortSpec flags. + @param sortSpec An ORed combination of TQDir.SortSpec flags. Currently, the values IgnoreCase, Reversed and DirsFirst are taken into account. @short This method calculates a String from the given parameters, that is suitable for sorting with e. diff --git a/kdejava/koala/org/kde/koala/KComboBox.java b/kdejava/koala/org/kde/koala/KComboBox.java index 4f4e150a..01a76b62 100644 --- a/kdejava/koala/org/kde/koala/KComboBox.java +++ b/kdejava/koala/org/kde/koala/KComboBox.java @@ -2,22 +2,22 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QLineEdit; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWheelEvent; -import org.kde.qt.QComboBox; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQLineEdit; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; +import org.kde.qt.TQComboBox; /** A combined button, line-edit and a popup list widget. <li><b>Detail </b></li> - This widget inherits from QComboBox and implements the following + This widget inherits from TQComboBox and implements the following additional functionalities: a completion object that provides both automatic and manual text completion as well as text rotation features, configurable key-bindings to activate these features, and a popup-menu item that can be @@ -40,7 +40,7 @@ import org.kde.qt.QComboBox; parameter in the <code>setCompletionObject</code> call to false. Beware: The completion object can be deleted on you, especially if a call such as setEditable(false) is made. Store the pointer at your own risk, - and consider using QGuardedPtr<KCompletion>. + and consider using TQGuardedPtr<KCompletion>. The default key-bindings for completion and rotation is determined from the global settings in KStdAccel. These values, however, can be overridden locally by invoking KCompletionBase.setKeyBinding(). The values can @@ -63,7 +63,7 @@ import org.kde.qt.QComboBox; </pre> A read-only KComboBox will have the same background color as a disabled KComboBox, but its foreground color will be the one used for - the read-write mode. This differs from QComboBox's implementation + the read-write mode. This differs from TQComboBox's implementation and is done to give visual distinction between the three different modes: disabled, read-only, and read-write. <li><b>Usage </b></li> @@ -103,9 +103,9 @@ import org.kde.qt.QComboBox; @short An enhanced combo box. */ -public class KComboBox extends QComboBox implements KCompletionBaseInterface { +public class KComboBox extends TQComboBox implements KCompletionBaseInterface { protected KComboBox(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a read-only or rather select-only combo box with a @@ -114,16 +114,16 @@ public class KComboBox extends QComboBox implements KCompletionBaseInterface { @param name The name of this widget @short Constructs a read-only or rather select-only combo box with a parent object and a name. */ - public KComboBox(QWidget parent, String name) { + public KComboBox(TQWidget parent, String name) { super((Class) null); newKComboBox(parent,name); } - private native void newKComboBox(QWidget parent, String name); - public KComboBox(QWidget parent) { + private native void newKComboBox(TQWidget parent, String name); + public KComboBox(TQWidget parent) { super((Class) null); newKComboBox(parent); } - private native void newKComboBox(QWidget parent); + private native void newKComboBox(TQWidget parent); public KComboBox() { super((Class) null); newKComboBox(); @@ -138,16 +138,16 @@ public class KComboBox extends QComboBox implements KCompletionBaseInterface { @param name The name of this widget. @short Constructs a "read-write" or "read-only" combo box depending on the value of the first argument( <code>rw</code> ) with a parent, a name. */ - public KComboBox(boolean rw, QWidget parent, String name) { + public KComboBox(boolean rw, TQWidget parent, String name) { super((Class) null); newKComboBox(rw,parent,name); } - private native void newKComboBox(boolean rw, QWidget parent, String name); - public KComboBox(boolean rw, QWidget parent) { + private native void newKComboBox(boolean rw, TQWidget parent, String name); + public KComboBox(boolean rw, TQWidget parent) { super((Class) null); newKComboBox(rw,parent); } - private native void newKComboBox(boolean rw, QWidget parent); + private native void newKComboBox(boolean rw, TQWidget parent); public KComboBox(boolean rw) { super((Class) null); newKComboBox(rw); @@ -175,8 +175,8 @@ public class KComboBox extends QComboBox implements KCompletionBaseInterface { for displaying. @short Inserts <code>url</code> with the pixmap &p pixmap at position <code>index</code> into the combobox. */ - public native void insertURL(QPixmap pixmap, KURL url, int index); - public native void insertURL(QPixmap pixmap, KURL url); + public native void insertURL(TQPixmap pixmap, KURL url, int index); + public native void insertURL(TQPixmap pixmap, KURL url); /** Replaces the item at position <code>index</code> with <code>url.</code> KURL.prettyURL() is used so that the url is properly decoded @@ -190,7 +190,7 @@ public class KComboBox extends QComboBox implements KCompletionBaseInterface { for displaying. @short Replaces the item at position <code>index</code> with <code>url</code> and pixmap <code>pixmap.</code> */ - public native void changeURL(QPixmap pixmap, KURL url, int index); + public native void changeURL(TQPixmap pixmap, KURL url, int index); /** Returns the current cursor position. This method always returns a -1 if the combo-box is <b>not</b> @@ -201,23 +201,23 @@ public class KComboBox extends QComboBox implements KCompletionBaseInterface { */ public native int cursorPosition(); /** - Re-implemented from QComboBox. + Re-implemented from TQComboBox. If <code>true</code>, the completion mode will be set to automatic. Otherwise, it is defaulted to the global setting. This method has been replaced by the more comprehensive setCompletionMode(). @param autocomplete Flag to enable/disable automatic completion mode. - @short Re-implemented from QComboBox. + @short Re-implemented from TQComboBox. */ public native void setAutoCompletion(boolean autocomplete); /** - Re-implemented from QComboBox. + Re-implemented from TQComboBox. Returns <code>true</code> if the current completion mode is set to automatic. See its more comprehensive replacement completionMode(). @return <code>true</code> when completion mode is automatic. - @short Re-implemented from QComboBox. + @short Re-implemented from TQComboBox. */ public native boolean autoCompletion(); /** @@ -243,7 +243,7 @@ public class KComboBox extends QComboBox implements KCompletionBaseInterface { /** Enables/Disables handling of URL drops. If enabled and the user drops an URL, the decoded URL will be inserted. Otherwise the default - behavior of QComboBox is used, which inserts the encoded URL. + behavior of TQComboBox is used, which inserts the encoded URL. @param enable If <code>true</code>, insert decoded URLs @short Enables/Disables handling of URL drops. */ @@ -287,7 +287,7 @@ public class KComboBox extends QComboBox implements KCompletionBaseInterface { Re-implemented for internal reasons. API not affected. @short Re-implemented for internal reasons. */ - public native boolean eventFilter(QObject arg1, QEvent arg2); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); /** @param create Set this to false if you don't want the box to be created i.e. to test if it is available. @@ -307,7 +307,7 @@ public class KComboBox extends QComboBox implements KCompletionBaseInterface { simply be ignored. @short Re-implemented for internal reasons. */ - public native void setLineEdit(QLineEdit arg1); + public native void setLineEdit(TQLineEdit arg1); /** Iterates through all possible matches of the completed text or the history list. @@ -318,7 +318,7 @@ public class KComboBox extends QComboBox implements KCompletionBaseInterface { iteration will not work if there are no previous matches, i.e. no text has been completed and the nix shell history list rotation is only available if the insertion policy for this - widget is set either <code>QComobBox</code>.AtTop or <code>QComboBox</code>.AtBottom. + widget is set either <code>TQComobBox</code>.AtTop or <code>TQComboBox</code>.AtBottom. For other insertion modes whatever has been typed by the user when the rotation event was initiated will be lost. @param type The key-binding invoked. @@ -348,9 +348,9 @@ public class KComboBox extends QComboBox implements KCompletionBaseInterface { public native void setCurrentItem(String item, boolean insert); public native void setCurrentItem(String item); /** - Simply calls QComboBox' implementation. Only here to not become + Simply calls TQComboBox' implementation. Only here to not become shadowed. - @short Simply calls QComboBox' implementation. + @short Simply calls TQComboBox' implementation. */ public native void setCurrentItem(int index); protected native void setCompletedText(String arg1, boolean arg2); @@ -362,7 +362,7 @@ public class KComboBox extends QComboBox implements KCompletionBaseInterface { protected native void create(long arg1, boolean initializeWindow); protected native void create(long arg1); protected native void create(); - protected native void wheelEvent(QWheelEvent ev); + protected native void wheelEvent(TQWheelEvent ev); /** Completes text according to the completion mode. Note: this method is <code>not</code> invoked if the completion mode is diff --git a/kdejava/koala/org/kde/koala/KComboBoxSignals.java b/kdejava/koala/org/kde/koala/KComboBoxSignals.java index d6b07462..8e3c9e76 100644 --- a/kdejava/koala/org/kde/koala/KComboBoxSignals.java +++ b/kdejava/koala/org/kde/koala/KComboBoxSignals.java @@ -1,15 +1,15 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QLineEdit; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWheelEvent; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQLineEdit; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; public interface KComboBoxSignals { /** @@ -60,10 +60,10 @@ public interface KComboBoxSignals { /** Emitted before the context menu is displayed. The signal allows you to add your own entries into the context menu. - Note that you MUST NOT store the pointer to the QPopupMenu since it is + Note that you MUST NOT store the pointer to the TQPopupMenu since it is created and deleted on demand. Otherwise, you can crash your app. @param p the context menu about to be displayed @short Emitted before the context menu is displayed. */ - void aboutToShowContextMenu(QPopupMenu p); + void aboutToShowContextMenu(TQPopupMenu p); } diff --git a/kdejava/koala/org/kde/koala/KCommandHistory.java b/kdejava/koala/org/kde/koala/KCommandHistory.java index 4129743f..37096ceb 100644 --- a/kdejava/koala/org/kde/koala/KCommandHistory.java +++ b/kdejava/koala/org/kde/koala/KCommandHistory.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -20,9 +20,9 @@ import org.kde.qt.QObject; @short The command history stores a (user) configurable amount of Commands. */ -public class KCommandHistory extends QObject { +public class KCommandHistory extends TQObject { protected KCommandHistory(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a command history, to store commands. diff --git a/kdejava/koala/org/kde/koala/KCommandHistorySignals.java b/kdejava/koala/org/kde/koala/KCommandHistorySignals.java index c31503c8..1bc45380 100644 --- a/kdejava/koala/org/kde/koala/KCommandHistorySignals.java +++ b/kdejava/koala/org/kde/koala/KCommandHistorySignals.java @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; public interface KCommandHistorySignals { diff --git a/kdejava/koala/org/kde/koala/KCompletion.java b/kdejava/koala/org/kde/koala/KCompletion.java index f36ac561..e8cac385 100644 --- a/kdejava/koala/org/kde/koala/KCompletion.java +++ b/kdejava/koala/org/kde/koala/KCompletion.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -97,7 +97,7 @@ import org.kde.qt.QObject; @short A generic class for completing Strings. */ -public class KCompletion extends QObject { +public class KCompletion extends TQObject { protected KCompletion(Class dummy){super((Class) null);} /** Constants that represent the order in which KCompletion performs @@ -108,7 +108,7 @@ public class KCompletion extends QObject { public static final int Insertion = 1; public static final int Weighted = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor, nothing special here :) @@ -320,7 +320,7 @@ public class KCompletion extends QObject { @short Returns a list of all items matching <code>string.</code> */ - // KCompletionMatches allWeightedMatches(const QString& arg1); >>>> NOT CONVERTED + // KCompletionMatches allWeightedMatches(const TQString& arg1); >>>> NOT CONVERTED /** Enables/disables playing a sound when diff --git a/kdejava/koala/org/kde/koala/KCompletionBase.java b/kdejava/koala/org/kde/koala/KCompletionBase.java index 3ae9fa93..405fca9f 100644 --- a/kdejava/koala/org/kde/koala/KCompletionBase.java +++ b/kdejava/koala/org/kde/koala/KCompletionBase.java @@ -10,7 +10,7 @@ import org.kde.qt.QtSupport; into widgets. This is a convenience class that provides the basic functions needed to add text completion support into widgets. All that - is required is an implementation for the pure function + is retquired is an implementation for the pure function setCompletedText. Refer to KLineEdit or KComboBox to see how easily such support can be added using this as a base class. diff --git a/kdejava/koala/org/kde/koala/KCompletionBox.java b/kdejava/koala/org/kde/koala/KCompletionBox.java index 1bc48bc2..3db674bc 100644 --- a/kdejava/koala/org/kde/koala/KCompletionBox.java +++ b/kdejava/koala/org/kde/koala/KCompletionBox.java @@ -2,15 +2,15 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QListBoxItem; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQListBoxItem; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QSize; +import org.kde.qt.TQObject; +import org.kde.qt.TQSize; import java.util.ArrayList; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; /** @@ -28,7 +28,7 @@ import org.kde.qt.QWidget; */ public class KCompletionBox extends KListBox { protected KCompletionBox(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KCompletionBox. @@ -36,17 +36,17 @@ public class KCompletionBox extends KListBox { up-button on the very first item. @short Constructs a KCompletionBox. */ - public KCompletionBox(QWidget parent, String name) { + public KCompletionBox(TQWidget parent, String name) { super((Class) null); newKCompletionBox(parent,name); } - private native void newKCompletionBox(QWidget parent, String name); - public KCompletionBox(QWidget parent) { + private native void newKCompletionBox(TQWidget parent, String name); + public KCompletionBox(TQWidget parent) { super((Class) null); newKCompletionBox(parent); } - private native void newKCompletionBox(QWidget parent); - public native QSize sizeHint(); + private native void newKCompletionBox(TQWidget parent); + public native TQSize sizeHint(); /** @return true if selecting an item results in the emition of the selected signal. @@ -167,10 +167,10 @@ public class KCompletionBox extends KListBox { /** This calculates the size of the dropdown and the relative position of the top left corner with respect to the parent widget. This matches the geometry and position - normally used by K/QComboBox when used with one. + normally used by K/TQComboBox when used with one. @short This calculates the size of the dropdown and the relative position of the top left corner with respect to the parent widget. */ - protected native QRect calculateGeometry(); + protected native TQRect calculateGeometry(); /** This properly sizes and positions the listbox. @short This properly sizes and positions the listbox. @@ -181,13 +181,13 @@ public class KCompletionBox extends KListBox { this widget on mouse-click, Escape-presses, etc. @short Reimplemented from KListBox to get events from the viewport (to hide this widget on mouse-click, Escape-presses, etc. */ - public native boolean eventFilter(QObject arg1, QEvent arg2); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); /** Called when an item was activated. Emits activated() with the item. @short Called when an item was activated. */ - protected native void slotActivated(QListBoxItem arg1); + protected native void slotActivated(TQListBoxItem arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KCompletionBoxSignals.java b/kdejava/koala/org/kde/koala/KCompletionBoxSignals.java index 9ddf0cc5..9cc05e26 100644 --- a/kdejava/koala/org/kde/koala/KCompletionBoxSignals.java +++ b/kdejava/koala/org/kde/koala/KCompletionBoxSignals.java @@ -1,15 +1,15 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QListBoxItem; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQListBoxItem; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QSize; +import org.kde.qt.TQObject; +import org.kde.qt.TQSize; import java.util.ArrayList; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; public interface KCompletionBoxSignals { /** diff --git a/kdejava/koala/org/kde/koala/KCompletionSignals.java b/kdejava/koala/org/kde/koala/KCompletionSignals.java index 75a9b3d6..5061411e 100644 --- a/kdejava/koala/org/kde/koala/KCompletionSignals.java +++ b/kdejava/koala/org/kde/koala/KCompletionSignals.java @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; diff --git a/kdejava/koala/org/kde/koala/KConfig.java b/kdejava/koala/org/kde/koala/KConfig.java index 91f012da..38b471c0 100644 --- a/kdejava/koala/org/kde/koala/KConfig.java +++ b/kdejava/koala/org/kde/koala/KConfig.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; @@ -20,7 +20,7 @@ import java.util.ArrayList; */ public class KConfig extends KConfigBase { protected KConfig(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KConfig object. @@ -101,7 +101,7 @@ public class KConfig extends KConfigBase { @short Returns a map (tree) of entries for all entries in a particular group. */ - // QMap<QString, QString> entryMap(const QString& arg1); >>>> NOT CONVERTED + // TQMap<TQString, TQString> entryMap(const TQString& arg1); >>>> NOT CONVERTED /** Clears all internal data structures and then reread configuration information from disk. @@ -165,7 +165,7 @@ public class KConfig extends KConfigBase { Returns a lock file object for the configuration file or 0 if the backend does not support locking. @param bGlobal if true, return the lock file for the global config file - NOTE: KConfig.sync() requires a lock on both the normal and global + NOTE: KConfig.sync() retquires a lock on both the normal and global config file. When calling KConfig.sync() while having a lock on the global config file, the normal config file MUST be locked AS WELL and the normal config file MUST be locked BEFORE the global config file! @@ -191,7 +191,7 @@ public class KConfig extends KConfigBase { @short */ - // KEntryMap internalEntryMap(const QString& arg1); >>>> NOT CONVERTED + // KEntryMap internalEntryMap(const TQString& arg1); >>>> NOT CONVERTED /** Returns a copy of the internal map used to hold all entries. Do not use this function, the implementation / return type are diff --git a/kdejava/koala/org/kde/koala/KConfigBase.java b/kdejava/koala/org/kde/koala/KConfigBase.java index 86538f6e..2861dc38 100644 --- a/kdejava/koala/org/kde/koala/KConfigBase.java +++ b/kdejava/koala/org/kde/koala/KConfigBase.java @@ -2,17 +2,17 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QRect; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQRect; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; +import org.kde.qt.TQPoint; import java.util.Calendar; -import org.kde.qt.QSize; +import org.kde.qt.TQSize; import java.util.ArrayList; -import org.kde.qt.QVariant; -import org.kde.qt.QObject; +import org.kde.qt.TQVariant; +import org.kde.qt.TQObject; /** @@ -40,7 +40,7 @@ import org.kde.qt.QObject; @see KSharedConfig */ -public class KConfigBase extends QObject { +public class KConfigBase extends TQObject { protected KConfigBase(Class dummy){super((Class) null);} /** Possible return values for getConfigState(). @@ -51,7 +51,7 @@ public class KConfigBase extends QObject { public static final int ReadOnly = 1; public static final int ReadWrite = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a KConfigBase object. @@ -117,18 +117,18 @@ public class KConfigBase extends QObject { /** Reads the value of an entry specified by <code>pKey</code> in the current group. The value is treated as if it is of the type of the given default value. - Note that only the following QVariant types are allowed : String, + Note that only the following TQVariant types are allowed : String, StringList, List, Font, Point, Rect, Size, Color, Int, UInt, Bool, Double, DateTime and Date. @param pKey The key to search for. @param aDefault A default value returned if the key was not found or - if the read value cannot be converted to the QVariant.Type. + if the read value cannot be converted to the TQVariant.Type. @return The value for the key or the default value if the key was not found. @short Reads the value of an entry specified by <code>pKey</code> in the current group. */ - public native QVariant readPropertyEntry(String pKey, QVariant aDefault); + public native TQVariant readPropertyEntry(String pKey, TQVariant aDefault); /** Reads a list of strings. @param pKey The key to search for. @@ -277,18 +277,18 @@ public class KConfigBase extends QObject { public native double readDoubleNumEntry(String pKey, double nDefault); public native double readDoubleNumEntry(String pKey); /** - Reads a QFont value. + Reads a TQFont value. Read the value of an entry specified by <code>pKey</code> in the current group and interpret it as a font object. @param pKey The key to search for. - @param pDefault A default value (null QFont by default) returned if the + @param pDefault A default value (null TQFont by default) returned if the key was not found or if the read value cannot be interpreted. @return The value for this key. - @short Reads a QFont value. + @short Reads a TQFont value. */ - public native QFont readFontEntry(String pKey, QFont pDefault); - public native QFont readFontEntry(String pKey); + public native TQFont readFontEntry(String pKey, TQFont pDefault); + public native TQFont readFontEntry(String pKey); /** Reads a booleanean entry. Read the value of an entry specified by <code>pKey</code> in the current group @@ -303,57 +303,57 @@ public class KConfigBase extends QObject { public native boolean readBoolEntry(String pKey, boolean bDefault); public native boolean readBoolEntry(String pKey); /** - Reads a QRect entry. + Reads a TQRect entry. Read the value of an entry specified by pKey in the current group - and interpret it as a QRect object. + and interpret it as a TQRect object. @param pKey The key to search for - @param pDefault A default value (null QRect by default) returned if the + @param pDefault A default value (null TQRect by default) returned if the key was not found or if the read value cannot be interpreted. @return The value for this key. - @short Reads a QRect entry. + @short Reads a TQRect entry. */ - public native QRect readRectEntry(String pKey, QRect pDefault); - public native QRect readRectEntry(String pKey); + public native TQRect readRectEntry(String pKey, TQRect pDefault); + public native TQRect readRectEntry(String pKey); /** - Reads a QPoint entry. + Reads a TQPoint entry. Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it as a QPoint object. + and interpret it as a TQPoint object. @param pKey The key to search for - @param pDefault A default value (null QPoint by default) returned if the + @param pDefault A default value (null TQPoint by default) returned if the key was not found or if the read value cannot be interpreted. @return The value for this key. - @short Reads a QPoint entry. + @short Reads a TQPoint entry. */ - public native QPoint readPointEntry(String pKey, QPoint pDefault); - public native QPoint readPointEntry(String pKey); + public native TQPoint readPointEntry(String pKey, TQPoint pDefault); + public native TQPoint readPointEntry(String pKey); /** - Reads a QSize entry. + Reads a TQSize entry. Read the value of an entry specified by <code>pKey</code> in the current group - and interpret it as a QSize object. + and interpret it as a TQSize object. @param pKey The key to search for - @param pDefault A default value (null QSize by default) returned if the + @param pDefault A default value (null TQSize by default) returned if the key was not found or if the read value cannot be interpreted. @return The value for this key. - @short Reads a QSize entry. + @short Reads a TQSize entry. */ - public native QSize readSizeEntry(String pKey, QSize pDefault); - public native QSize readSizeEntry(String pKey); + public native TQSize readSizeEntry(String pKey, TQSize pDefault); + public native TQSize readSizeEntry(String pKey); /** - Reads a QColor entry. + Reads a TQColor entry. Read the value of an entry specified by <code>pKey</code> in the current group and interpret it as a color. @param pKey The key to search for. - @param pDefault A default value (null QColor by default) returned if the + @param pDefault A default value (null TQColor by default) returned if the key was not found or if the value cannot be interpreted. @return The value for this key. - @short Reads a QColor entry. + @short Reads a TQColor entry. */ - public native QColor readColorEntry(String pKey, QColor pDefault); - public native QColor readColorEntry(String pKey); + public native TQColor readColorEntry(String pKey, TQColor pDefault); + public native TQColor readColorEntry(String pKey); /** Reads a Calendar entry. Read the value of an entry specified by <code>pKey</code> in the current group @@ -364,7 +364,7 @@ public class KConfigBase extends QObject { interpreted. @return The value for this key. - @short Reads a QDateTime entry. + @short Reads a TQDateTime entry. */ public native Calendar readDateTimeEntry(String pKey, Calendar pDefault); public native Calendar readDateTimeEntry(String pKey); @@ -417,10 +417,10 @@ public class KConfigBase extends QObject { @short writeEntry() Overridden to accept a property. @see #writeEntry */ - public native void writeEntry(String pKey, QVariant rValue, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, QVariant rValue, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, QVariant rValue, boolean bPersistent); - public native void writeEntry(String pKey, QVariant rValue); + public native void writeEntry(String pKey, TQVariant rValue, boolean bPersistent, boolean bGlobal, boolean bNLS); + public native void writeEntry(String pKey, TQVariant rValue, boolean bPersistent, boolean bGlobal); + public native void writeEntry(String pKey, TQVariant rValue, boolean bPersistent); + public native void writeEntry(String pKey, TQVariant rValue); /** writeEntry() overridden to accept a list of strings. Note: Unlike the other writeEntry() functions, the old value is @@ -558,10 +558,10 @@ public class KConfigBase extends QObject { when writing it back. @short Writes a (key/value) pair. */ - public native void writeEntry(String pKey, QFont rFont, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, QFont rFont, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, QFont rFont, boolean bPersistent); - public native void writeEntry(String pKey, QFont rFont); + public native void writeEntry(String pKey, TQFont rFont, boolean bPersistent, boolean bGlobal, boolean bNLS); + public native void writeEntry(String pKey, TQFont rFont, boolean bPersistent, boolean bGlobal); + public native void writeEntry(String pKey, TQFont rFont, boolean bPersistent); + public native void writeEntry(String pKey, TQFont rFont); /** Writes a (key/value) pair. Same as above, but write a color entry. @@ -578,10 +578,10 @@ public class KConfigBase extends QObject { when writing it back. @short Writes a (key/value) pair. */ - public native void writeEntry(String pKey, QColor rColor, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, QColor rColor, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, QColor rColor, boolean bPersistent); - public native void writeEntry(String pKey, QColor rColor); + public native void writeEntry(String pKey, TQColor rColor, boolean bPersistent, boolean bGlobal, boolean bNLS); + public native void writeEntry(String pKey, TQColor rColor, boolean bPersistent, boolean bGlobal); + public native void writeEntry(String pKey, TQColor rColor, boolean bPersistent); + public native void writeEntry(String pKey, TQColor rColor); /** Writes a (key/value) pair. Same as above, but writes a date and time entry. @@ -618,10 +618,10 @@ public class KConfigBase extends QObject { when writing it back. @short Writes a (key/value) pair. */ - public native void writeEntry(String pKey, QRect rValue, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, QRect rValue, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, QRect rValue, boolean bPersistent); - public native void writeEntry(String pKey, QRect rValue); + public native void writeEntry(String pKey, TQRect rValue, boolean bPersistent, boolean bGlobal, boolean bNLS); + public native void writeEntry(String pKey, TQRect rValue, boolean bPersistent, boolean bGlobal); + public native void writeEntry(String pKey, TQRect rValue, boolean bPersistent); + public native void writeEntry(String pKey, TQRect rValue); /** Writes a (key/value) pair. Same as above, but writes a point. @@ -638,10 +638,10 @@ public class KConfigBase extends QObject { when writing it back. @short Writes a (key/value) pair. */ - public native void writeEntry(String pKey, QPoint rValue, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, QPoint rValue, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, QPoint rValue, boolean bPersistent); - public native void writeEntry(String pKey, QPoint rValue); + public native void writeEntry(String pKey, TQPoint rValue, boolean bPersistent, boolean bGlobal, boolean bNLS); + public native void writeEntry(String pKey, TQPoint rValue, boolean bPersistent, boolean bGlobal); + public native void writeEntry(String pKey, TQPoint rValue, boolean bPersistent); + public native void writeEntry(String pKey, TQPoint rValue); /** Writes a (key/value) pair. Same as above, but writes a size. @@ -658,10 +658,10 @@ public class KConfigBase extends QObject { when writing it back. @short Writes a (key/value) pair. */ - public native void writeEntry(String pKey, QSize rValue, boolean bPersistent, boolean bGlobal, boolean bNLS); - public native void writeEntry(String pKey, QSize rValue, boolean bPersistent, boolean bGlobal); - public native void writeEntry(String pKey, QSize rValue, boolean bPersistent); - public native void writeEntry(String pKey, QSize rValue); + public native void writeEntry(String pKey, TQSize rValue, boolean bPersistent, boolean bGlobal, boolean bNLS); + public native void writeEntry(String pKey, TQSize rValue, boolean bPersistent, boolean bGlobal); + public native void writeEntry(String pKey, TQSize rValue, boolean bPersistent); + public native void writeEntry(String pKey, TQSize rValue); /** Writes a file path. It is checked whether the path is located under $HOME. If so the @@ -823,9 +823,9 @@ public class KConfigBase extends QObject { The returned map may be empty if the group is not found. @short Returns a map (tree) of entries for all entries in a particular group. - @see org.kde.qt.QMap + @see org.kde.qt.TQMap */ - // QMap<QString, QString> entryMap(const QString& arg1); >>>> NOT CONVERTED + // TQMap<TQString, TQString> entryMap(const TQString& arg1); >>>> NOT CONVERTED /** Reparses all configuration files. This is useful for programs that use stand alone graphical configuration tools. The base @@ -915,8 +915,8 @@ public class KConfigBase extends QObject { If an application computes a default value at runtime for a certain entry, e.g. like: <pre> - QColor computedDefault = kapp.palette().color(QPalette.Active, QColorGroup.Text) - QColor color = config.readEntry(key, computedDefault); + TQColor computedDefault = kapp.palette().color(TQPalette.Active, TQColorGroup.Text) + TQColor color = config.readEntry(key, computedDefault); \encode Then it may wish to make the following check before writing back changes: diff --git a/kdejava/koala/org/kde/koala/KConfigINIBackEnd.java b/kdejava/koala/org/kde/koala/KConfigINIBackEnd.java index 4897b36e..71058627 100644 --- a/kdejava/koala/org/kde/koala/KConfigINIBackEnd.java +++ b/kdejava/koala/org/kde/koala/KConfigINIBackEnd.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QFile; +import org.kde.qt.TQFile; /** @@ -73,10 +73,10 @@ public class KConfigINIBackEnd extends KConfigBackEnd { being default values. @short Parses one configuration file. */ - // void parseSingleConfigFile(QFile& arg1,KEntryMap* arg2,bool arg3,bool arg4); >>>> NOT CONVERTED - // void parseSingleConfigFile(QFile& arg1,KEntryMap* arg2,bool arg3); >>>> NOT CONVERTED - // void parseSingleConfigFile(QFile& arg1,KEntryMap* arg2); >>>> NOT CONVERTED - protected native void parseSingleConfigFile(QFile rFile); + // void parseSingleConfigFile(TQFile& arg1,KEntryMap* arg2,bool arg3,bool arg4); >>>> NOT CONVERTED + // void parseSingleConfigFile(TQFile& arg1,KEntryMap* arg2,bool arg3); >>>> NOT CONVERTED + // void parseSingleConfigFile(TQFile& arg1,KEntryMap* arg2); >>>> NOT CONVERTED + protected native void parseSingleConfigFile(TQFile rFile); /** Writes configuration file back. @param filename The name of the file to write. @@ -107,7 +107,7 @@ public class KConfigINIBackEnd extends KConfigBackEnd { @short Get the entry map. */ - // bool getEntryMap(KEntryMap& arg1,bool arg2,QFile* arg3); >>>> NOT CONVERTED + // bool getEntryMap(KEntryMap& arg1,bool arg2,TQFile* arg3); >>>> NOT CONVERTED /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KContextMenuManager.java b/kdejava/koala/org/kde/koala/KContextMenuManager.java index 08c073f1..42880108 100644 --- a/kdejava/koala/org/kde/koala/KContextMenuManager.java +++ b/kdejava/koala/org/kde/koala/KContextMenuManager.java @@ -2,17 +2,17 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** KContextMenuManager manages configurable context popup menus. Instead -of reimplementing QWidget.mousePressEvent() or - QWidget.mouseReleaseEvent() and/or QWidget.keyPressEvent(), simply +of reimplementing TQWidget.mousePressEvent() or + TQWidget.mouseReleaseEvent() and/or TQWidget.keyPressEvent(), simply create the popup menu and insert it into the context menu manager with the static function insert(). Example: @@ -39,15 +39,15 @@ The shortcut key to invoke the context menu is defined in the standard </pre> The key can be configured with the standard keys module in the KDE control center. If the popup menu is invoked with the keyboard shortcut, it's shown at -the position of the micro focus hint of the widget ( QWidget.microFocusHint() ). +the position of the micro focus hint of the widget ( TQWidget.microFocusHint() ). @author Matthias Ettrich <ettrich@kde.org> @short Convenience class to mangage context menus. */ -public class KContextMenuManager extends QObject { +public class KContextMenuManager extends TQObject { protected KContextMenuManager(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Makes <code>popup</code> a context popup menu for widget <code>widget.</code> @@ -55,7 +55,7 @@ public class KContextMenuManager extends QObject { menu manager. @short Makes <code>popup</code> a context popup menu for widget <code>widget.</code> */ - public static native void insert(QWidget widget, QPopupMenu popup); + public static native void insert(TQWidget widget, TQPopupMenu popup); /** Use this method to get information about when a popup menu should be activated. This can be useful if the popup menu is diff --git a/kdejava/koala/org/kde/koala/KCursor.java b/kdejava/koala/org/kde/koala/KCursor.java index d54f24b3..f6bf3f28 100644 --- a/kdejava/koala/org/kde/koala/KCursor.java +++ b/kdejava/koala/org/kde/koala/KCursor.java @@ -3,15 +3,15 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QCursor; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQCursor; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; import org.kde.qt.Qt; /** - A wrapper around QCursor that allows for "themed" cursors. + A wrapper around TQCursor that allows for "themed" cursors. Currently, the only themed cursor is a hand shaped cursor. A typical usage would be <pre> @@ -19,7 +19,7 @@ import org.kde.qt.Qt; </pre> @author Kurt Granroth <granroth@kde.org> - @short A QCursor wrapper allowing "themed" cursors and auto-hiding cursors. + @short A TQCursor wrapper allowing "themed" cursors and auto-hiding cursors. */ public class KCursor extends Qt { @@ -39,83 +39,83 @@ public class KCursor extends Qt { the current GUI style (static function). @short Returns the proper hand cursor according to the current GUI style (static function). */ - public static native QCursor handCursor(); + public static native TQCursor handCursor(); /** Returns the proper arrow+hourglass cursor according to the current GUI style (static function). @short Returns the proper arrow+hourglass cursor according to the current GUI style (static function). */ - public static native QCursor workingCursor(); + public static native TQCursor workingCursor(); /** Returns the proper arrow cursor according to the current GUI style (static function). @short Returns the proper arrow cursor according to the current GUI style (static function). */ - public static native QCursor arrowCursor(); + public static native TQCursor arrowCursor(); /** Returns the proper up arrow cursor according to the current GUI style (static function). @short Returns the proper up arrow cursor according to the current GUI style (static function). */ - public static native QCursor upArrowCursor(); + public static native TQCursor upArrowCursor(); /** Returns the proper cross-hair cursor according to the current GUI style (static function). @short Returns the proper cross-hair cursor according to the current GUI style (static function). */ - public static native QCursor crossCursor(); + public static native TQCursor crossCursor(); /** Returns the proper hourglass cursor according to the current GUI style (static function). @short Returns the proper hourglass cursor according to the current GUI style (static function). */ - public static native QCursor waitCursor(); + public static native TQCursor waitCursor(); /** Returns the proper text cursor according to the current GUI style (static function). @short Returns the proper text cursor according to the current GUI style (static function). */ - public static native QCursor ibeamCursor(); + public static native TQCursor ibeamCursor(); /** Returns the proper vertical resize cursor according to the current GUI style (static function). @short Returns the proper vertical resize cursor according to the current GUI style (static function). */ - public static native QCursor sizeVerCursor(); + public static native TQCursor sizeVerCursor(); /** Returns the proper horizontal resize cursor according to the current GUI style (static function). @short Returns the proper horizontal resize cursor according to the current GUI style (static function). */ - public static native QCursor sizeHorCursor(); + public static native TQCursor sizeHorCursor(); /** Returns the proper diagonal resize (/) cursor according to the current GUI style (static function). @short Returns the proper diagonal resize (/) cursor according to the current GUI style (static function). */ - public static native QCursor sizeBDiagCursor(); + public static native TQCursor sizeBDiagCursor(); /** Returns the proper diagonal resize (\) cursor according to the current GUI style (static function). @short Returns the proper diagonal resize (\) cursor according to the current GUI style (static function). */ - public static native QCursor sizeFDiagCursor(); + public static native TQCursor sizeFDiagCursor(); /** Returns the proper all-directions resize cursor according to the current GUI style (static function). @short Returns the proper all-directions resize cursor according to the current GUI style (static function). */ - public static native QCursor sizeAllCursor(); + public static native TQCursor sizeAllCursor(); /** Returns a blank or invisible cursor (static function). @short Returns a blank or invisible cursor (static function). */ - public static native QCursor blankCursor(); + public static native TQCursor blankCursor(); /** Returns a WhatsThis cursor (static function). @short Returns a WhatsThis cursor (static function). */ - public static native QCursor whatsThisCursor(); + public static native TQCursor whatsThisCursor(); /** Sets auto-hiding the cursor for widget <code>w.</code> Enabling it will result in the cursor being hidden when @@ -137,11 +137,11 @@ public class KCursor extends Qt { mouseTracking after disabling auto-hide, you have to reenable mouseTracking. If you want to use auto-hiding for widgets that don't take focus, e.g. - a QCanvasView, then you have to pass all key-events that should trigger + a TQCanvasView, then you have to pass all key-events that should trigger auto-hiding to autoHideEventFilter(). @short Sets auto-hiding the cursor for widget <code>w.</code> */ - public static native void setAutoHideCursor(QWidget w, boolean enable); + public static native void setAutoHideCursor(TQWidget w, boolean enable); /** Overloaded method for the case where you have an event-filter installed on the widget you want to enable auto-cursor-hiding. @@ -150,7 +150,7 @@ public class KCursor extends Qt { @short Overloaded method for the case where you have an event-filter installed on the widget you want to enable auto-cursor-hiding. @see #autoHideEventFilter */ - public static native void setAutoHideCursor(QWidget w, boolean enable, boolean customEventFilter); + public static native void setAutoHideCursor(TQWidget w, boolean enable, boolean customEventFilter); /** Sets the delay time in milliseconds for auto-hiding. When no keyboard events arrive for that time-frame, the cursor will be hidden. @@ -178,7 +178,7 @@ public class KCursor extends Qt { edit.installEventFilter( this ); KCursor.setAutoHideCursor( edit, true, true ); [...] - boolean YourClass.eventFilter( QObject o, QEvent e ) + boolean YourClass.eventFilter( TQObject o, TQEvent e ) { if ( o == edit ) // only that widget where you enabled auto-hide! KCursor.autoHideEventFilter( o, e ); @@ -190,7 +190,7 @@ public class KCursor extends Qt { didn't enable or after disabling auto-hiding. @short KCursor has to install an eventFilter over the widget you want to auto-hide. */ - public static native void autoHideEventFilter(QObject arg1, QEvent arg2); + public static native void autoHideEventFilter(TQObject arg1, TQEvent arg2); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KCustomMenuEditor.java b/kdejava/koala/org/kde/koala/KCustomMenuEditor.java index 9984324d..fd487d29 100644 --- a/kdejava/koala/org/kde/koala/KCustomMenuEditor.java +++ b/kdejava/koala/org/kde/koala/KCustomMenuEditor.java @@ -2,25 +2,25 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** */ public class KCustomMenuEditor extends KDialogBase { protected KCustomMenuEditor(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create a dialog for editing a custom menu @short Create a dialog for editing a custom menu */ - public KCustomMenuEditor(QWidget parent) { + public KCustomMenuEditor(TQWidget parent) { super((Class) null); newKCustomMenuEditor(parent); } - private native void newKCustomMenuEditor(QWidget parent); + private native void newKCustomMenuEditor(TQWidget parent); /** load the custom menu @short load the custom menu diff --git a/kdejava/koala/org/kde/koala/KDCOPActionProxy.java b/kdejava/koala/org/kde/koala/KDCOPActionProxy.java index 1dfd1129..17dad039 100644 --- a/kdejava/koala/org/kde/koala/KDCOPActionProxy.java +++ b/kdejava/koala/org/kde/koala/KDCOPActionProxy.java @@ -61,8 +61,8 @@ public class KDCOPActionProxy extends DCOPObjectProxy { global application id is used ( kapp.dcopClient().appId() ) . @short Returns a map of all exported actions, with the action name as keys and a global DCOP reference as data entries. */ - // QMap<QCString, DCOPRef> actionMap(const QCString& arg1); >>>> NOT CONVERTED - // QMap<QCString, DCOPRef> actionMap(); >>>> NOT CONVERTED + // TQMap<TQCString, DCOPRef> actionMap(const TQCString& arg1); >>>> NOT CONVERTED + // TQMap<TQCString, DCOPRef> actionMap(); >>>> NOT CONVERTED /** Internal reimplementation of DCOPObjectProxy.process . @short Internal reimplementation of DCOPObjectProxy.process . diff --git a/kdejava/koala/org/kde/koala/KDCOPPropertyProxy.java b/kdejava/koala/org/kde/koala/KDCOPPropertyProxy.java index 82ee6dfa..67f3e041 100644 --- a/kdejava/koala/org/kde/koala/KDCOPPropertyProxy.java +++ b/kdejava/koala/org/kde/koala/KDCOPPropertyProxy.java @@ -3,19 +3,19 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** The KDCOPPropertyProxy class provides an easy way to publish Qt properties of a - QObject through DCOP. + TQObject through DCOP. The class provides DCOP equivalents for the Qt property methods setProperty() , property() and propertyNames() and also provides automatic set/get methods for - the properties of a QObject. That means for example if your object provides a + the properties of a TQObject. That means for example if your object provides a String property called foo , then KDCOPPropertyProxy translates DCOP calls "setFoo( String )" and "String foo()" automatically into the corresponding setProperty/property calls. - @short The KDCOPPropertyProxy class provides an easy way to publish Qt properties of a QObject through DCOP. + @short The KDCOPPropertyProxy class provides an easy way to publish Qt properties of a TQObject through DCOP. */ public class KDCOPPropertyProxy implements QtSupport { @@ -25,14 +25,14 @@ public class KDCOPPropertyProxy implements QtSupport { /** Convenience constructor. Use it if you want to use this class as object, in contrary - to using the static methods of this class and providing a QObject argument for each + to using the static methods of this class and providing a TQObject argument for each call. @short Convenience constructor. */ - public KDCOPPropertyProxy(QObject object) { + public KDCOPPropertyProxy(TQObject object) { newKDCOPPropertyProxy(object); } - private native void newKDCOPPropertyProxy(QObject object); + private native void newKDCOPPropertyProxy(TQObject object); /** Convenience method, when using this class as object. See documentation of the constructor and static isPropertyRequest method. @@ -50,16 +50,16 @@ public class KDCOPPropertyProxy implements QtSupport { static functions method. @short Convenience method, when using this class as object. */ - // QValueList<QCString> functions(); >>>> NOT CONVERTED + // TQValueList<TQCString> functions(); >>>> NOT CONVERTED /** Returns a semicolon-separated list of functions understood by the PropertyProxy for the given - QObject argument. - Returns "property(String);setProperty(String,QVariant);propertyNames();" plus set/get + TQObject argument. + Returns "property(String);setProperty(String,TQVariant);propertyNames();" plus set/get methods for the properties of the given object argument. - @short Returns a semicolon-separated list of functions understood by the PropertyProxy for the given QObject argument. + @short Returns a semicolon-separated list of functions understood by the PropertyProxy for the given TQObject argument. @see DCOPObject#functions */ - // QValueList<QCString> functions(QObject* arg1); >>>> NOT CONVERTED + // TQValueList<TQCString> functions(TQObject* arg1); >>>> NOT CONVERTED /** Returns true if the method request in the fun argument matches the signature of the three standard property methods or set/get methods for the properties of the object argument. @@ -67,13 +67,13 @@ public class KDCOPPropertyProxy implements QtSupport { request which can be handled by this class. @short Returns true if the method request in the fun argument matches the signature of the three standard property methods or set/get methods for the properties of the object argument. */ - public static native boolean isPropertyRequest(String fun, QObject object); + public static native boolean isPropertyRequest(String fun, TQObject object); /** Processes the given DCOP method request by translating the request into a setProperty/property call - on the given QObject argument. - @short Processes the given DCOP method request by translating the request into a setProperty/property call on the given QObject argument. + on the given TQObject argument. + @short Processes the given DCOP method request by translating the request into a setProperty/property call on the given TQObject argument. */ - public static native boolean processPropertyRequest(String fun, byte[] data, StringBuffer replyType, byte[] replyData, QObject object); + public static native boolean processPropertyRequest(String fun, byte[] data, StringBuffer replyType, byte[] replyData, TQObject object); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KDE.java b/kdejava/koala/org/kde/koala/KDE.java index 1b6873a7..7b972a9d 100644 --- a/kdejava/koala/org/kde/koala/KDE.java +++ b/kdejava/koala/org/kde/koala/KDE.java @@ -2,17 +2,17 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; +import org.kde.qt.TQRect; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; -import org.kde.qt.QRegion; -import org.kde.qt.QPixmap; +import org.kde.qt.TQDataStream; +import org.kde.qt.TQRegion; +import org.kde.qt.TQPixmap; import java.util.Calendar; -import org.kde.qt.QPainter; -import org.kde.qt.QBitmap; -import org.kde.qt.QIconSet; -import org.kde.qt.QBrush; -import org.kde.qt.QColorGroup; +import org.kde.qt.TQPainter; +import org.kde.qt.TQBitmap; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQBrush; +import org.kde.qt.TQColorGroup; /** @@ -108,8 +108,8 @@ public class KDE { */ public static native String tr2i18n(String message, String arg2); public static native String tr2i18n(String message); - public static native QDataStream op_write(QDataStream s, KFileItem a); - public static native QDataStream op_read(QDataStream s, KFileItem a); + public static native TQDataStream op_write(TQDataStream s, KFileItem a); + public static native TQDataStream op_read(TQDataStream s, KFileItem a); public static native int pageNameToPageSize(String name); public static native String pageSizeToPageName(int s); /** @@ -134,8 +134,8 @@ public class KDE { @short {@link KURL} Compares URLs. */ public static native boolean urlcmp(String _url1, String _url2, boolean _ignore_trailing, boolean _ignore_ref); - public static native QDataStream op_write(QDataStream s, KURL a); - public static native QDataStream op_read(QDataStream s, KURL a); + public static native TQDataStream op_write(TQDataStream s, KURL a); + public static native TQDataStream op_read(TQDataStream s, KURL a); /** Locale-independent qstricmp. Use this for comparing ascii keywords in a case-insensitive way. @@ -143,12 +143,12 @@ public class KDE { @short Locale-independent qstricmp. */ public static native int kasciistricmp(String str1, String str2); - public static native QDataStream op_write(QDataStream s, KSSLCertificate r); - public static native QDataStream op_read(QDataStream s, KSSLCertificate r); + public static native TQDataStream op_write(TQDataStream s, KSSLCertificate r); + public static native TQDataStream op_read(TQDataStream s, KSSLCertificate r); public static native int op_equals(KSSLCertificate x, KSSLCertificate y); public static native int op_not_equals(KSSLCertificate x, KSSLCertificate y); - // QDataStream& op_read(QDataStream& arg1,KProtocolInfo::ExtraField& arg2); >>>> NOT CONVERTED - // QDataStream& op_write(QDataStream& arg1,const KProtocolInfo::ExtraField& arg2); >>>> NOT CONVERTED + // TQDataStream& op_read(TQDataStream& arg1,KProtocolInfo::ExtraField& arg2); >>>> NOT CONVERTED + // TQDataStream& op_write(TQDataStream& arg1,const KProtocolInfo::ExtraField& arg2); >>>> NOT CONVERTED /** {@link KGlobal} Check, if a file may be accessed in a given mode. @@ -167,13 +167,13 @@ public class KDE { @short {@link KGlobal} Check, if a file may be accessed in a given mode. */ public static native boolean checkAccess(String pathname, int mode); - public static native QDataStream op_write(QDataStream s, KSSLCertDlgRet r); - public static native QDataStream op_read(QDataStream s, KSSLCertDlgRet r); - public static native QDataStream op_write(QDataStream str, boolean b); - public static native QDataStream op_read(QDataStream str, boolean b); - public static native QDataStream op_write(QDataStream str, long ll); - // QDataStream& op_read(QDataStream& arg1,long long int& arg2); >>>> NOT CONVERTED - // QDataStream& op_read(QDataStream& arg1,unsigned long long int& arg2); >>>> NOT CONVERTED + public static native TQDataStream op_write(TQDataStream s, KSSLCertDlgRet r); + public static native TQDataStream op_read(TQDataStream s, KSSLCertDlgRet r); + public static native TQDataStream op_write(TQDataStream str, boolean b); + public static native TQDataStream op_read(TQDataStream str, boolean b); + public static native TQDataStream op_write(TQDataStream str, long ll); + // TQDataStream& op_read(TQDataStream& arg1,long long int& arg2); >>>> NOT CONVERTED + // TQDataStream& op_read(TQDataStream& arg1,unsigned long long int& arg2); >>>> NOT CONVERTED /** Convert an ASN1 UTCTIME value to a string. Uses KLocale settings. @param tm the OpenSSL ASN1_UTCTIME pointer @@ -182,16 +182,16 @@ public class KDE { @short Convert an ASN1 UTCTIME value to a string. @see ASN1_UTCTIME_QDateTime */ - // QString ASN1_UTCTIME_QString(ASN1_UTCTIME* arg1); >>>> NOT CONVERTED + // TQString ASN1_UTCTIME_QString(ASN1_UTCTIME* arg1); >>>> NOT CONVERTED /** Convert an ASN1 UTCTIME value to a Calendar. Uses KLocale settings. @param tm the OpenSSL ASN1_UTCTIME pointer @param isGmt set to 1 if the date is set to GMT - @return the date formatted in a QDateTime + @return the date formatted in a TQDateTime - @short Convert an ASN1 UTCTIME value to a QDateTime. + @short Convert an ASN1 UTCTIME value to a TQDateTime. */ - // QDateTime ASN1_UTCTIME_QDateTime(ASN1_UTCTIME* arg1,int* arg2); >>>> NOT CONVERTED + // TQDateTime ASN1_UTCTIME_QDateTime(ASN1_UTCTIME* arg1,int* arg2); >>>> NOT CONVERTED /** Convert an ASN1 INTEGER value to a string. @param aint the OpenSSL ASN1_INTEGER pointer @@ -199,120 +199,120 @@ public class KDE { @short Convert an ASN1 INTEGER value to a string. */ - // QString ASN1_INTEGER_QString(ASN1_INTEGER* arg1); >>>> NOT CONVERTED + // TQString ASN1_INTEGER_QString(ASN1_INTEGER* arg1); >>>> NOT CONVERTED /** {@link KIconLoader} Load a desktop icon. @short {@link KIconLoader} Load a desktop icon. */ - public static native QPixmap DesktopIcon(String name, int size, int state, KInstanceInterface instance); - public static native QPixmap DesktopIcon(String name, int size, int state); - public static native QPixmap DesktopIcon(String name, int size); - public static native QPixmap DesktopIcon(String name); + public static native TQPixmap DesktopIcon(String name, int size, int state, KInstanceInterface instance); + public static native TQPixmap DesktopIcon(String name, int size, int state); + public static native TQPixmap DesktopIcon(String name, int size); + public static native TQPixmap DesktopIcon(String name); /** {@link KIconLoader} Load a desktop icon. @short {@link KIconLoader} Load a desktop icon. */ - public static native QPixmap DesktopIcon(String name, KInstanceInterface instance); + public static native TQPixmap DesktopIcon(String name, KInstanceInterface instance); /** {@link KIconLoader} Load a desktop icon, and apply the necessary effects to get an IconSet. @short {@link KIconLoader} Load a desktop icon, and apply the necessary effects to get an IconSet. */ - public static native QIconSet DesktopIconSet(String name, int size, KInstanceInterface instance); - public static native QIconSet DesktopIconSet(String name, int size); - public static native QIconSet DesktopIconSet(String name); + public static native TQIconSet DesktopIconSet(String name, int size, KInstanceInterface instance); + public static native TQIconSet DesktopIconSet(String name, int size); + public static native TQIconSet DesktopIconSet(String name); /** {@link KIconLoader} Load a toolbar icon. @short {@link KIconLoader} Load a toolbar icon. */ - public static native QPixmap BarIcon(String name, int size, int state, KInstanceInterface instance); - public static native QPixmap BarIcon(String name, int size, int state); - public static native QPixmap BarIcon(String name, int size); - public static native QPixmap BarIcon(String name); + public static native TQPixmap BarIcon(String name, int size, int state, KInstanceInterface instance); + public static native TQPixmap BarIcon(String name, int size, int state); + public static native TQPixmap BarIcon(String name, int size); + public static native TQPixmap BarIcon(String name); /** {@link KIconLoader} Load a toolbar icon. @short {@link KIconLoader} Load a toolbar icon. */ - public static native QPixmap BarIcon(String name, KInstanceInterface instance); + public static native TQPixmap BarIcon(String name, KInstanceInterface instance); /** {@link KIconLoader} Load a toolbar icon, and apply the necessary effects to get an IconSet. @short {@link KIconLoader} Load a toolbar icon, and apply the necessary effects to get an IconSet. */ - public static native QIconSet BarIconSet(String name, int size, KInstanceInterface instance); - public static native QIconSet BarIconSet(String name, int size); - public static native QIconSet BarIconSet(String name); + public static native TQIconSet BarIconSet(String name, int size, KInstanceInterface instance); + public static native TQIconSet BarIconSet(String name, int size); + public static native TQIconSet BarIconSet(String name); /** {@link KIconLoader} Load a small icon. @short {@link KIconLoader} Load a small icon. */ - public static native QPixmap SmallIcon(String name, int size, int state, KInstanceInterface instance); - public static native QPixmap SmallIcon(String name, int size, int state); - public static native QPixmap SmallIcon(String name, int size); - public static native QPixmap SmallIcon(String name); + public static native TQPixmap SmallIcon(String name, int size, int state, KInstanceInterface instance); + public static native TQPixmap SmallIcon(String name, int size, int state); + public static native TQPixmap SmallIcon(String name, int size); + public static native TQPixmap SmallIcon(String name); /** {@link KIconLoader} Load a small icon. @short {@link KIconLoader} Load a small icon. */ - public static native QPixmap SmallIcon(String name, KInstanceInterface instance); + public static native TQPixmap SmallIcon(String name, KInstanceInterface instance); /** {@link KIconLoader} Load a small icon, and apply the necessary effects to get an IconSet. @short {@link KIconLoader} Load a small icon, and apply the necessary effects to get an IconSet. */ - public static native QIconSet SmallIconSet(String name, int size, KInstanceInterface instance); - public static native QIconSet SmallIconSet(String name, int size); - public static native QIconSet SmallIconSet(String name); + public static native TQIconSet SmallIconSet(String name, int size, KInstanceInterface instance); + public static native TQIconSet SmallIconSet(String name, int size); + public static native TQIconSet SmallIconSet(String name); /** {@link KIconLoader} Load a main toolbar icon. @short {@link KIconLoader} Load a main toolbar icon. */ - public static native QPixmap MainBarIcon(String name, int size, int state, KInstanceInterface instance); - public static native QPixmap MainBarIcon(String name, int size, int state); - public static native QPixmap MainBarIcon(String name, int size); - public static native QPixmap MainBarIcon(String name); + public static native TQPixmap MainBarIcon(String name, int size, int state, KInstanceInterface instance); + public static native TQPixmap MainBarIcon(String name, int size, int state); + public static native TQPixmap MainBarIcon(String name, int size); + public static native TQPixmap MainBarIcon(String name); /** {@link KIconLoader} Load a main toolbar icon. @short {@link KIconLoader} Load a main toolbar icon. */ - public static native QPixmap MainBarIcon(String name, KInstanceInterface instance); + public static native TQPixmap MainBarIcon(String name, KInstanceInterface instance); /** {@link KIconLoader} Load a main toolbar icon, and apply the effects to get an IconSet. @short {@link KIconLoader} Load a main toolbar icon, and apply the effects to get an IconSet. */ - public static native QIconSet MainBarIconSet(String name, int size, KInstanceInterface instance); - public static native QIconSet MainBarIconSet(String name, int size); - public static native QIconSet MainBarIconSet(String name); + public static native TQIconSet MainBarIconSet(String name, int size, KInstanceInterface instance); + public static native TQIconSet MainBarIconSet(String name, int size); + public static native TQIconSet MainBarIconSet(String name); /** {@link KIconLoader} Load a user icon. User icons are searched in $appdir/pics. @short {@link KIconLoader} Load a user icon. */ - public static native QPixmap UserIcon(String name, int state, KInstanceInterface instance); - public static native QPixmap UserIcon(String name, int state); - public static native QPixmap UserIcon(String name); + public static native TQPixmap UserIcon(String name, int state, KInstanceInterface instance); + public static native TQPixmap UserIcon(String name, int state); + public static native TQPixmap UserIcon(String name); /** {@link KIconLoader} Load a user icon. User icons are searched in $appdir/pics. @short {@link KIconLoader} Load a user icon. */ - public static native QPixmap UserIcon(String name, KInstanceInterface instance); + public static native TQPixmap UserIcon(String name, KInstanceInterface instance); /** {@link KIconLoader} Load a user icon, and apply the effects to get an IconSet. @short {@link KIconLoader} Load a user icon, and apply the effects to get an IconSet. */ - public static native QIconSet UserIconSet(String name, KInstanceInterface instance); - public static native QIconSet UserIconSet(String name); + public static native TQIconSet UserIconSet(String name, KInstanceInterface instance); + public static native TQIconSet UserIconSet(String name); /** {@link KIconLoader} Returns the current icon size for a specific group. @@ -372,8 +372,8 @@ public class KDE { public static native String locateLocal(String type, String filename, boolean createDir); public static native int op_incr(int group); public static native int op_incr(int group, int arg2); - public static native QDataStream op_write(QDataStream s, int p); - public static native QDataStream op_read(QDataStream s, int p); + public static native TQDataStream op_write(TQDataStream s, int p); + public static native TQDataStream op_read(TQDataStream s, int p); /** {@link KStyle} <code>#include</code> <code><kdrawutil.h></code> @@ -386,17 +386,17 @@ public class KDE { Pass <b>null</b> to prevent the button from being filled. @short {@link KStyle} @c \#include @c <kdrawutil. */ - public static native void kDrawNextButton(QPainter p, QRect r, QColorGroup g, boolean sunken, QBrush fill); - public static native void kDrawNextButton(QPainter p, QRect r, QColorGroup g, boolean sunken); - public static native void kDrawNextButton(QPainter p, QRect r, QColorGroup g); + public static native void kDrawNextButton(TQPainter p, TQRect r, TQColorGroup g, boolean sunken, TQBrush fill); + public static native void kDrawNextButton(TQPainter p, TQRect r, TQColorGroup g, boolean sunken); + public static native void kDrawNextButton(TQPainter p, TQRect r, TQColorGroup g); /** {@link KStyle} @overload @short {@link KStyle} @overload */ - public static native void kDrawNextButton(QPainter p, int x, int y, int w, int h, QColorGroup g, boolean sunken, QBrush fill); - public static native void kDrawNextButton(QPainter p, int x, int y, int w, int h, QColorGroup g, boolean sunken); - public static native void kDrawNextButton(QPainter p, int x, int y, int w, int h, QColorGroup g); + public static native void kDrawNextButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g, boolean sunken, TQBrush fill); + public static native void kDrawNextButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g, boolean sunken); + public static native void kDrawNextButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g); /** {@link KStyle} <code>#include</code> <code><kdrawutil.h></code> @@ -409,18 +409,18 @@ public class KDE { Pass <b>null</b> to prevent the button from being filled. @short {@link KStyle} @c \#include @c <kdrawutil. */ - public static native void kDrawBeButton(QPainter p, QRect r, QColorGroup g, boolean sunken, QBrush fill); - public static native void kDrawBeButton(QPainter p, QRect r, QColorGroup g, boolean sunken); - public static native void kDrawBeButton(QPainter p, QRect r, QColorGroup g); + public static native void kDrawBeButton(TQPainter p, TQRect r, TQColorGroup g, boolean sunken, TQBrush fill); + public static native void kDrawBeButton(TQPainter p, TQRect r, TQColorGroup g, boolean sunken); + public static native void kDrawBeButton(TQPainter p, TQRect r, TQColorGroup g); /** {@link KStyle} <code>#include</code> <code><kdrawutil.h></code> @overload @short {@link KStyle} @c \#include @c <kdrawutil. */ - public static native void kDrawBeButton(QPainter p, int x, int y, int w, int h, QColorGroup g, boolean sunken, QBrush fill); - public static native void kDrawBeButton(QPainter p, int x, int y, int w, int h, QColorGroup g, boolean sunken); - public static native void kDrawBeButton(QPainter p, int x, int y, int w, int h, QColorGroup g); + public static native void kDrawBeButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g, boolean sunken, TQBrush fill); + public static native void kDrawBeButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g, boolean sunken); + public static native void kDrawBeButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g); /** {@link KStyle} <code>#include</code> <code><kdrawutil.h></code> @@ -432,15 +432,15 @@ public class KDE { @param sunken Whether to draw the button as sunken (pressed) or not. @short {@link KStyle} @c \#include @c <kdrawutil. */ - public static native void kDrawRoundButton(QPainter p, QRect r, QColorGroup g, boolean sunken); - public static native void kDrawRoundButton(QPainter p, QRect r, QColorGroup g); + public static native void kDrawRoundButton(TQPainter p, TQRect r, TQColorGroup g, boolean sunken); + public static native void kDrawRoundButton(TQPainter p, TQRect r, TQColorGroup g); /** {@link KStyle} @overload @short {@link KStyle} @overload */ - public static native void kDrawRoundButton(QPainter p, int x, int y, int w, int h, QColorGroup g, boolean sunken); - public static native void kDrawRoundButton(QPainter p, int x, int y, int w, int h, QColorGroup g); + public static native void kDrawRoundButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g, boolean sunken); + public static native void kDrawRoundButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g); /** {@link KStyle} <code>#include</code> <code><kdrawutil.h></code> @@ -455,12 +455,12 @@ public class KDE { @see #kDrawRoundButton @see #kDrawRoundMask */ - public static native void kRoundMaskRegion(QRegion r, int x, int y, int w, int h); + public static native void kRoundMaskRegion(TQRegion r, int x, int y, int w, int h); /** {@link KStyle} <code>#include</code> <code><kdrawutil.h></code> Paints the pixels covered by a round button of the given size with - Qt.color1. This function is useful in QStyle.drawControlMask(). + Qt.color1. This function is useful in TQStyle.drawControlMask(). @param p The painter to use for drawing the button. @param x The X coordinate of the button. @param y The Y coordinate of the button. @@ -470,8 +470,8 @@ public class KDE { Qt.color0 before drawing the mask. @short {@link KStyle} @c \#include @c <kdrawutil. */ - public static native void kDrawRoundMask(QPainter p, int x, int y, int w, int h, boolean clear); - public static native void kDrawRoundMask(QPainter p, int x, int y, int w, int h); + public static native void kDrawRoundMask(TQPainter p, int x, int y, int w, int h, boolean clear); + public static native void kDrawRoundMask(TQPainter p, int x, int y, int w, int h); /** {@link KStyle} <code>#include</code> <code><kdrawutil.h></code> @@ -491,46 +491,46 @@ public class KDE { @param blackColor The bitmap to use for the black part. @param whiteColor The bitmap to use for the white part. @short {@link KStyle} @c \#include @c <kdrawutil. - @see org.kde.qt.QColorGroup + @see org.kde.qt.TQColorGroup */ - public static native void kColorBitmaps(QPainter p, QColorGroup g, int x, int y, QBitmap lightColor, QBitmap midColor, QBitmap midlightColor, QBitmap darkColor, QBitmap blackColor, QBitmap whiteColor); - public static native void kColorBitmaps(QPainter p, QColorGroup g, int x, int y, QBitmap lightColor, QBitmap midColor, QBitmap midlightColor, QBitmap darkColor, QBitmap blackColor); - public static native void kColorBitmaps(QPainter p, QColorGroup g, int x, int y, QBitmap lightColor, QBitmap midColor, QBitmap midlightColor, QBitmap darkColor); - public static native void kColorBitmaps(QPainter p, QColorGroup g, int x, int y, QBitmap lightColor, QBitmap midColor, QBitmap midlightColor); - public static native void kColorBitmaps(QPainter p, QColorGroup g, int x, int y, QBitmap lightColor, QBitmap midColor); - public static native void kColorBitmaps(QPainter p, QColorGroup g, int x, int y, QBitmap lightColor); - public static native void kColorBitmaps(QPainter p, QColorGroup g, int x, int y); + public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, TQBitmap lightColor, TQBitmap midColor, TQBitmap midlightColor, TQBitmap darkColor, TQBitmap blackColor, TQBitmap whiteColor); + public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, TQBitmap lightColor, TQBitmap midColor, TQBitmap midlightColor, TQBitmap darkColor, TQBitmap blackColor); + public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, TQBitmap lightColor, TQBitmap midColor, TQBitmap midlightColor, TQBitmap darkColor); + public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, TQBitmap lightColor, TQBitmap midColor, TQBitmap midlightColor); + public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, TQBitmap lightColor, TQBitmap midColor); + public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, TQBitmap lightColor); + public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y); /** {@link KStyle} <code>#include</code> <code><kdrawutil.h></code> @overload @short {@link KStyle} @c \#include @c <kdrawutil. */ - public static native void kColorBitmaps(QPainter p, QColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor, char[] midColor, char[] midlightColor, char[] darkColor, char[] blackColor, char[] whiteColor); - public static native void kColorBitmaps(QPainter p, QColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor, char[] midColor, char[] midlightColor, char[] darkColor, char[] blackColor); - public static native void kColorBitmaps(QPainter p, QColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor, char[] midColor, char[] midlightColor, char[] darkColor); - public static native void kColorBitmaps(QPainter p, QColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor, char[] midColor, char[] midlightColor); - public static native void kColorBitmaps(QPainter p, QColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor, char[] midColor); - public static native void kColorBitmaps(QPainter p, QColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor); - public static native void kColorBitmaps(QPainter p, QColorGroup g, int x, int y, int w, int h, boolean isXBitmaps); - public static native void kColorBitmaps(QPainter p, QColorGroup g, int x, int y, int w, int h); + public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor, char[] midColor, char[] midlightColor, char[] darkColor, char[] blackColor, char[] whiteColor); + public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor, char[] midColor, char[] midlightColor, char[] darkColor, char[] blackColor); + public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor, char[] midColor, char[] midlightColor, char[] darkColor); + public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor, char[] midColor, char[] midlightColor); + public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor, char[] midColor); + public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h, boolean isXBitmaps, char[] lightColor); + public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h, boolean isXBitmaps); + public static native void kColorBitmaps(TQPainter p, TQColorGroup g, int x, int y, int w, int h); /** - compares two KEntryKeys (needed for QMap). - @short compares two KEntryKeys (needed for QMap). + compares two KEntryKeys (needed for TQMap). + @short compares two KEntryKeys (needed for TQMap). */ public static native boolean op_lt(KEntryKey k1, KEntryKey k2); // const char* dcopTypeName(const DCOPArg& arg1); >>>> NOT CONVERTED - // QDataStream& op_write(QDataStream& arg1,const DCOPArg& arg2); >>>> NOT CONVERTED - // QDataStream& op_write(QDataStream& arg1,const DCOPRef& arg2); >>>> NOT CONVERTED - // QDataStream& op_read(QDataStream& arg1,DCOPRef& arg2); >>>> NOT CONVERTED - public static native QDataStream op_write(QDataStream s, KFileMetaInfoItem arg2); - public static native QDataStream op_read(QDataStream s, KFileMetaInfoItem arg2); - public static native QDataStream op_write(QDataStream s, KFileMetaInfoGroup arg2); - public static native QDataStream op_read(QDataStream s, KFileMetaInfoGroup arg2); - public static native QDataStream op_write(QDataStream s, KFileMetaInfo arg2); - public static native QDataStream op_read(QDataStream s, KFileMetaInfo arg2); - // QDataStream& op_read(QDataStream& arg1,KIO::UDSAtom& arg2); >>>> NOT CONVERTED - // QDataStream& op_write(QDataStream& arg1,const KIO::UDSAtom& arg2); >>>> NOT CONVERTED - // QDataStream& op_write(QDataStream& arg1,const KIO::UDSEntry& arg2); >>>> NOT CONVERTED - // QDataStream& op_read(QDataStream& arg1,KIO::UDSEntry& arg2); >>>> NOT CONVERTED + // TQDataStream& op_write(TQDataStream& arg1,const DCOPArg& arg2); >>>> NOT CONVERTED + // TQDataStream& op_write(TQDataStream& arg1,const DCOPRef& arg2); >>>> NOT CONVERTED + // TQDataStream& op_read(TQDataStream& arg1,DCOPRef& arg2); >>>> NOT CONVERTED + public static native TQDataStream op_write(TQDataStream s, KFileMetaInfoItem arg2); + public static native TQDataStream op_read(TQDataStream s, KFileMetaInfoItem arg2); + public static native TQDataStream op_write(TQDataStream s, KFileMetaInfoGroup arg2); + public static native TQDataStream op_read(TQDataStream s, KFileMetaInfoGroup arg2); + public static native TQDataStream op_write(TQDataStream s, KFileMetaInfo arg2); + public static native TQDataStream op_read(TQDataStream s, KFileMetaInfo arg2); + // TQDataStream& op_read(TQDataStream& arg1,KIO::UDSAtom& arg2); >>>> NOT CONVERTED + // TQDataStream& op_write(TQDataStream& arg1,const KIO::UDSAtom& arg2); >>>> NOT CONVERTED + // TQDataStream& op_write(TQDataStream& arg1,const KIO::UDSEntry& arg2); >>>> NOT CONVERTED + // TQDataStream& op_read(TQDataStream& arg1,KIO::UDSEntry& arg2); >>>> NOT CONVERTED } diff --git a/kdejava/koala/org/kde/koala/KDEDesktopMimeType.java b/kdejava/koala/org/kde/koala/KDEDesktopMimeType.java index fbd96250..ead7e1dc 100644 --- a/kdejava/koala/org/kde/koala/KDEDesktopMimeType.java +++ b/kdejava/koala/org/kde/koala/KDEDesktopMimeType.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; -import org.kde.qt.QPixmap; +import org.kde.qt.TQDataStream; +import org.kde.qt.TQPixmap; import java.util.ArrayList; /** @@ -32,17 +32,17 @@ public class KDEDesktopMimeType extends KMimeType { private native void newKDEDesktopMimeType(KDesktopFile config); /** \internal @short \internal */ - public KDEDesktopMimeType(QDataStream _str, int offset) { + public KDEDesktopMimeType(TQDataStream _str, int offset) { super((Class) null); newKDEDesktopMimeType(_str,offset); } - private native void newKDEDesktopMimeType(QDataStream _str, int offset); + private native void newKDEDesktopMimeType(TQDataStream _str, int offset); public native String icon(String _url, boolean _is_local); public native String icon(KURL _url, boolean _is_local); - public native QPixmap pixmap(KURL _url, int _group, int _force_size, int _state, StringBuffer _path); - public native QPixmap pixmap(KURL _url, int _group, int _force_size, int _state); - public native QPixmap pixmap(KURL _url, int _group, int _force_size); - public native QPixmap pixmap(KURL _url, int _group); + public native TQPixmap pixmap(KURL _url, int _group, int _force_size, int _state, StringBuffer _path); + public native TQPixmap pixmap(KURL _url, int _group, int _force_size, int _state); + public native TQPixmap pixmap(KURL _url, int _group, int _force_size); + public native TQPixmap pixmap(KURL _url, int _group); public native String comment(String _url, boolean _is_local); public native String comment(KURL _url, boolean _is_local); /** @@ -52,7 +52,7 @@ public class KDEDesktopMimeType extends KMimeType { @short Returns a list of services for the given . */ - // QValueList<KDEDesktopMimeType::Service> builtinServices(const KURL& arg1); >>>> NOT CONVERTED + // TQValueList<KDEDesktopMimeType::Service> builtinServices(const KURL& arg1); >>>> NOT CONVERTED /** Returns a list of services defined by the user as possible actions on the given .desktop file. May include empty actions which represent where @@ -65,20 +65,20 @@ public class KDEDesktopMimeType extends KMimeType { @short Returns a list of services defined by the user as possible actions on the given . */ - // QValueList<KDEDesktopMimeType::Service> userDefinedServices(const QString& arg1,bool arg2); >>>> NOT CONVERTED + // TQValueList<KDEDesktopMimeType::Service> userDefinedServices(const TQString& arg1,bool arg2); >>>> NOT CONVERTED /** Overload of userDefinedServices for speed purposes: it takes a KConfig so that the caller can check things in the file without having it parsed twice. @short Overload of userDefinedServices for speed purposes: it takes a KConfig so that the caller can check things in the file without having it parsed twice. */ - // QValueList<KDEDesktopMimeType::Service> userDefinedServices(const QString& arg1,KConfig& arg2,bool arg3); >>>> NOT CONVERTED + // TQValueList<KDEDesktopMimeType::Service> userDefinedServices(const TQString& arg1,KConfig& arg2,bool arg3); >>>> NOT CONVERTED /** Overload of userDefinedServices but also allows you to pass a list of urls for this file. This allows for the menu to be changed depending on the exact files via the X-KDE-GetActionMenu extension. @short Overload of userDefinedServices but also allows you to pass a list of urls for this file. */ - // QValueList<KDEDesktopMimeType::Service> userDefinedServices(const QString& arg1,KConfig& arg2,bool arg3,const KURL::List& arg4); >>>> NOT CONVERTED + // TQValueList<KDEDesktopMimeType::Service> userDefinedServices(const TQString& arg1,KConfig& arg2,bool arg3,const KURL::List& arg4); >>>> NOT CONVERTED /** Execute <code>service</code> on the list of <code>urls.</code> @param urls the list of urls @@ -99,10 +99,10 @@ public class KDEDesktopMimeType extends KMimeType { @see KRun#runURL */ public static native int run(KURL _url, boolean _is_local); - public native QPixmap pixmap(int group, int force_size, int state, StringBuffer path); - public native QPixmap pixmap(int group, int force_size, int state); - public native QPixmap pixmap(int group, int force_size); - public native QPixmap pixmap(int group); + public native TQPixmap pixmap(int group, int force_size, int state, StringBuffer path); + public native TQPixmap pixmap(int group, int force_size, int state); + public native TQPixmap pixmap(int group, int force_size); + public native TQPixmap pixmap(int group); protected static native int runFSDevice(KURL _url, KSimpleConfig cfg); protected static native int runApplication(KURL _url, String _serviceFile); protected static native int runLink(KURL _url, KSimpleConfig cfg); diff --git a/kdejava/koala/org/kde/koala/KDataTool.java b/kdejava/koala/org/kde/koala/KDataTool.java index a8bdc27b..fa1f4df3 100644 --- a/kdejava/koala/org/kde/koala/KDataTool.java +++ b/kdejava/koala/org/kde/koala/KDataTool.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQObject; /** @@ -33,15 +33,15 @@ import org.kde.qt.QObject; @see #it)# */ -public class KDataTool extends QObject { +public class KDataTool extends TQObject { protected KDataTool(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor The data-tool is only created when a menu-item, that relates to it, is activated. - @param parent the parent of the QObject (or 0 for parent-less KDataTools) - @param name the name of the QObject, can be 0 + @param parent the parent of the TQObject (or 0 for parent-less KDataTools) + @param name the name of the TQObject, can be 0 @short Constructor The data-tool is only created when a menu-item, that relates to it, is activated. */ /** @@ -70,5 +70,5 @@ public class KDataTool extends QObject { @short Interface for 'running' this tool. */ - // bool run(const QString& arg1,void* arg2,const QString& arg3,const QString& arg4); >>>> NOT CONVERTED + // bool run(const TQString& arg1,void* arg2,const TQString& arg3,const TQString& arg4); >>>> NOT CONVERTED } diff --git a/kdejava/koala/org/kde/koala/KDataToolAction.java b/kdejava/koala/org/kde/koala/KDataToolAction.java index 3296dceb..3fa94c13 100644 --- a/kdejava/koala/org/kde/koala/KDataToolAction.java +++ b/kdejava/koala/org/kde/koala/KDataToolAction.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -30,7 +30,7 @@ import org.kde.qt.QObject; */ public class KDataToolAction extends KAction { protected KDataToolAction(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a new KDataToolAction. @@ -41,16 +41,16 @@ public class KDataToolAction extends KAction { @param name An internal name for this action. @short Constructs a new KDataToolAction. */ - public KDataToolAction(String text, KDataToolInfo info, String command, QObject parent, String name) { + public KDataToolAction(String text, KDataToolInfo info, String command, TQObject parent, String name) { super((Class) null); newKDataToolAction(text,info,command,parent,name); } - private native void newKDataToolAction(String text, KDataToolInfo info, String command, QObject parent, String name); - public KDataToolAction(String text, KDataToolInfo info, String command, QObject parent) { + private native void newKDataToolAction(String text, KDataToolInfo info, String command, TQObject parent, String name); + public KDataToolAction(String text, KDataToolInfo info, String command, TQObject parent) { super((Class) null); newKDataToolAction(text,info,command,parent); } - private native void newKDataToolAction(String text, KDataToolInfo info, String command, QObject parent); + private native void newKDataToolAction(String text, KDataToolInfo info, String command, TQObject parent); public KDataToolAction(String text, KDataToolInfo info, String command) { super((Class) null); newKDataToolAction(text,info,command); @@ -67,7 +67,7 @@ public class KDataToolAction extends KAction { @short Creates a list of actions from a list of information about data-tools. */ - // QPtrList<KAction> dataToolActionList(const QValueList<KDataToolInfo>& arg1,const QObject* arg2,const char* arg3); >>>> NOT CONVERTED + // TQPtrList<KAction> dataToolActionList(const TQValueList<KDataToolInfo>& arg1,const TQObject* arg2,const char* arg3); >>>> NOT CONVERTED protected native void slotActivated(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KDataToolActionSignals.java b/kdejava/koala/org/kde/koala/KDataToolActionSignals.java index 59ca5286..b30496bf 100644 --- a/kdejava/koala/org/kde/koala/KDataToolActionSignals.java +++ b/kdejava/koala/org/kde/koala/KDataToolActionSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; public interface KDataToolActionSignals { /** diff --git a/kdejava/koala/org/kde/koala/KDataToolInfo.java b/kdejava/koala/org/kde/koala/KDataToolInfo.java index 7b678164..594b32d9 100644 --- a/kdejava/koala/org/kde/koala/KDataToolInfo.java +++ b/kdejava/koala/org/kde/koala/KDataToolInfo.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; import java.util.ArrayList; /** @@ -48,7 +48,7 @@ public class KDataToolInfo implements QtSupport { /** Returns the data type that the DataTool can accept. @return the C++ data type that this DataTool accepts. - For example "String" or "QImage" or something more + For example "String" or "TQImage" or something more complicated. @short Returns the data type that the DataTool can accept. @@ -82,7 +82,7 @@ public class KDataToolInfo implements QtSupport { */ public native String iconName(); /** - Returns a list of strings that you can put in a QPopupMenu item, for example to + Returns a list of strings that you can put in a TQPopupMenu item, for example to offer the DataTools services to the user. The returned value is usually something like "Spell checking", "Shrink Image", "Rotate Image" or something like that. @@ -90,9 +90,9 @@ public class KDataToolInfo implements QtSupport { (so that it can be translated). Each of the strings returned corresponds to a string in the list returned by commands. - @return a list of strings that you can put in a QPopupMenu item + @return a list of strings that you can put in a TQPopupMenu item - @short Returns a list of strings that you can put in a QPopupMenu item, for example to offer the DataTools services to the user. + @short Returns a list of strings that you can put in a TQPopupMenu item, for example to offer the DataTools services to the user. */ public native ArrayList userCommands(); /** @@ -109,14 +109,14 @@ public class KDataToolInfo implements QtSupport { public native ArrayList commands(); /** Creates the data tool described by this KDataToolInfo. - @param parent the parent of the QObject (or 0 for parent-less KDataTools) - @param name the name of the QObject, can be 0 + @param parent the parent of the TQObject (or 0 for parent-less KDataTools) + @param name the name of the TQObject, can be 0 @return a pointer to the created data tool or 0 on error. @short Creates the data tool described by this KDataToolInfo. */ - public native KDataTool createTool(QObject parent, String name); - public native KDataTool createTool(QObject parent); + public native KDataTool createTool(TQObject parent, String name); + public native KDataTool createTool(TQObject parent); public native KDataTool createTool(); /** The KDataToolInfo's service that is represented by this class. @@ -150,7 +150,7 @@ public class KDataToolInfo implements QtSupport { @short Queries the KTrader about installed KDataTool implementations. */ - // QValueList<KDataToolInfo> query(const QString& arg1,const QString& arg2,KInstance* arg3); >>>> NOT CONVERTED + // TQValueList<KDataToolInfo> query(const TQString& arg1,const TQString& arg2,KInstance* arg3); >>>> NOT CONVERTED /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KDatePicker.java b/kdejava/koala/org/kde/koala/KDatePicker.java index 61a621fb..a3711a08 100644 --- a/kdejava/koala/org/kde/koala/KDatePicker.java +++ b/kdejava/koala/org/kde/koala/KDatePicker.java @@ -2,15 +2,15 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QSize; +import org.kde.qt.TQObject; +import org.kde.qt.TQSize; import java.util.Calendar; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QFrame; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQFrame; /** @@ -31,29 +31,29 @@ import org.kde.qt.QFrame; @short A date selection widget. */ -public class KDatePicker extends QFrame { +public class KDatePicker extends TQFrame { protected KDatePicker(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** The usual constructor. The given date will be displayed initially. @short The usual constructor. */ - public KDatePicker(QWidget parent, Calendar arg2, String name) { + public KDatePicker(TQWidget parent, Calendar arg2, String name) { super((Class) null); newKDatePicker(parent,arg2,name); } - private native void newKDatePicker(QWidget parent, Calendar arg2, String name); - public KDatePicker(QWidget parent, Calendar arg2) { + private native void newKDatePicker(TQWidget parent, Calendar arg2, String name); + public KDatePicker(TQWidget parent, Calendar arg2) { super((Class) null); newKDatePicker(parent,arg2); } - private native void newKDatePicker(QWidget parent, Calendar arg2); - public KDatePicker(QWidget parent) { + private native void newKDatePicker(TQWidget parent, Calendar arg2); + public KDatePicker(TQWidget parent) { super((Class) null); newKDatePicker(parent); } - private native void newKDatePicker(QWidget parent); + private native void newKDatePicker(TQWidget parent); public KDatePicker() { super((Class) null); newKDatePicker(); @@ -63,21 +63,21 @@ public class KDatePicker extends QFrame { initially. @short The usual constructor. */ - public KDatePicker(QWidget parent, Calendar arg2, String name, int f) { + public KDatePicker(TQWidget parent, Calendar arg2, String name, int f) { super((Class) null); newKDatePicker(parent,arg2,name,f); } - private native void newKDatePicker(QWidget parent, Calendar arg2, String name, int f); + private native void newKDatePicker(TQWidget parent, Calendar arg2, String name, int f); /** Standard qt widget constructor. The initial date will be the current date. @short Standard qt widget constructor. */ - public KDatePicker(QWidget parent, String name) { + public KDatePicker(TQWidget parent, String name) { super((Class) null); newKDatePicker(parent,name); } - private native void newKDatePicker(QWidget parent, String name); + private native void newKDatePicker(TQWidget parent, String name); /** The size hint for date pickers. The size hint recommends the minimum size of the widget so that all elements may be placed without clipping. This sometimes looks ugly, so when using the @@ -85,7 +85,7 @@ public class KDatePicker extends QFrame { pixels. @short The size hint for date pickers. */ - public native QSize sizeHint(); + public native TQSize sizeHint(); /** Sets the date. @return <code>false</code> and does not change anything @@ -139,8 +139,8 @@ public class KDatePicker extends QFrame { @see #setCloseButton */ public native boolean hasCloseButton(); - public native boolean eventFilter(QObject o, QEvent e); - protected native void resizeEvent(QResizeEvent arg1); + public native boolean eventFilter(TQObject o, TQEvent e); + protected native void resizeEvent(TQResizeEvent arg1); protected native void dateChangedSlot(Calendar arg1); protected native void tableClickedSlot(); protected native void monthForwardClicked(); diff --git a/kdejava/koala/org/kde/koala/KDatePickerSignals.java b/kdejava/koala/org/kde/koala/KDatePickerSignals.java index 523a164b..637413da 100644 --- a/kdejava/koala/org/kde/koala/KDatePickerSignals.java +++ b/kdejava/koala/org/kde/koala/KDatePickerSignals.java @@ -1,14 +1,14 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QSize; +import org.kde.qt.TQObject; +import org.kde.qt.TQSize; import java.util.Calendar; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; public interface KDatePickerSignals { /** This signal is emitted each time the selected date is changed. diff --git a/kdejava/koala/org/kde/koala/KDateTable.java b/kdejava/koala/org/kde/koala/KDateTable.java index 11fc2bf0..d5ca30b9 100644 --- a/kdejava/koala/org/kde/koala/KDateTable.java +++ b/kdejava/koala/org/kde/koala/KDateTable.java @@ -2,19 +2,19 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; +import org.kde.qt.TQSize; import java.util.Calendar; -import org.kde.qt.QPainter; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QWheelEvent; -import org.kde.qt.QGridView; +import org.kde.qt.TQPainter; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQWheelEvent; +import org.kde.qt.TQGridView; /** @@ -32,38 +32,38 @@ import org.kde.qt.QGridView; @short Date selection table. */ -public class KDateTable extends QGridView { +public class KDateTable extends TQGridView { protected KDateTable(Class dummy){super((Class) null);} public static final int NoBgMode = 0; public static final int RectangleMode = 1; public static final int CircleMode = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** The constructor. @short The constructor. */ - public KDateTable(QWidget parent, Calendar date, String name, int f) { + public KDateTable(TQWidget parent, Calendar date, String name, int f) { super((Class) null); newKDateTable(parent,date,name,f); } - private native void newKDateTable(QWidget parent, Calendar date, String name, int f); - public KDateTable(QWidget parent, Calendar date, String name) { + private native void newKDateTable(TQWidget parent, Calendar date, String name, int f); + public KDateTable(TQWidget parent, Calendar date, String name) { super((Class) null); newKDateTable(parent,date,name); } - private native void newKDateTable(QWidget parent, Calendar date, String name); - public KDateTable(QWidget parent, Calendar date) { + private native void newKDateTable(TQWidget parent, Calendar date, String name); + public KDateTable(TQWidget parent, Calendar date) { super((Class) null); newKDateTable(parent,date); } - private native void newKDateTable(QWidget parent, Calendar date); - public KDateTable(QWidget parent) { + private native void newKDateTable(TQWidget parent, Calendar date); + public KDateTable(TQWidget parent) { super((Class) null); newKDateTable(parent); } - private native void newKDateTable(QWidget parent); + private native void newKDateTable(TQWidget parent); public KDateTable() { super((Class) null); newKDateTable(); @@ -73,16 +73,16 @@ public class KDateTable extends QGridView { The constructor. @short The constructor. */ - public KDateTable(QWidget parent, String name, int f) { + public KDateTable(TQWidget parent, String name, int f) { super((Class) null); newKDateTable(parent,name,f); } - private native void newKDateTable(QWidget parent, String name, int f); - public KDateTable(QWidget parent, String name) { + private native void newKDateTable(TQWidget parent, String name, int f); + public KDateTable(TQWidget parent, String name) { super((Class) null); newKDateTable(parent,name); } - private native void newKDateTable(QWidget parent, String name); + private native void newKDateTable(TQWidget parent, String name); /** Returns a recommended size for the widget. To save some time, the size of the largest used cell content is @@ -91,7 +91,7 @@ public class KDateTable extends QGridView { sizeHint() simply returns a multiple of maxCell. @short Returns a recommended size for the widget. */ - public native QSize sizeHint(); + public native TQSize sizeHint(); /** Set the font size of the date table. @short Set the font size of the date table. @@ -120,9 +120,9 @@ public class KDateTable extends QGridView { (a rectangle, or a circle/ellipse) in a given color. @short Makes a given date be painted with a given foregroundColor, and background (a rectangle, or a circle/ellipse) in a given color. */ - public native void setCustomDatePainting(Calendar date, QColor fgColor, int bgMode, QColor bgColor); - public native void setCustomDatePainting(Calendar date, QColor fgColor, int bgMode); - public native void setCustomDatePainting(Calendar date, QColor fgColor); + public native void setCustomDatePainting(Calendar date, TQColor fgColor, int bgMode, TQColor bgColor); + public native void setCustomDatePainting(Calendar date, TQColor fgColor, int bgMode); + public native void setCustomDatePainting(Calendar date, TQColor fgColor); /** Unsets the custom painting of a date so that the date is painted as usual. @short Unsets the custom painting of a date so that the date is painted as usual. @@ -143,21 +143,21 @@ public class KDateTable extends QGridView { Paint a cell. @short Paint a cell. */ - public native void paintCell(QPainter arg1, int arg2, int arg3); + public native void paintCell(TQPainter arg1, int arg2, int arg3); /** Handle the resize events. @short Handle the resize events. */ - protected native void viewportResizeEvent(QResizeEvent arg1); + protected native void viewportResizeEvent(TQResizeEvent arg1); /** React on mouse clicks that select a date. @short React on mouse clicks that select a date. */ - protected native void contentsMousePressEvent(QMouseEvent arg1); - protected native void wheelEvent(QWheelEvent e); - protected native void keyPressEvent(QKeyEvent e); - protected native void focusInEvent(QFocusEvent e); - protected native void focusOutEvent(QFocusEvent e); + protected native void contentsMousePressEvent(TQMouseEvent arg1); + protected native void wheelEvent(TQWheelEvent e); + protected native void keyPressEvent(TQKeyEvent e); + protected native void focusInEvent(TQFocusEvent e); + protected native void focusOutEvent(TQFocusEvent e); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KDateTableSignals.java b/kdejava/koala/org/kde/koala/KDateTableSignals.java index 8aae964f..2d4b4e72 100644 --- a/kdejava/koala/org/kde/koala/KDateTableSignals.java +++ b/kdejava/koala/org/kde/koala/KDateTableSignals.java @@ -1,18 +1,18 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; +import org.kde.qt.TQSize; import java.util.Calendar; -import org.kde.qt.QPainter; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QWheelEvent; +import org.kde.qt.TQPainter; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQWheelEvent; public interface KDateTableSignals { /** diff --git a/kdejava/koala/org/kde/koala/KDateTimeWidget.java b/kdejava/koala/org/kde/koala/KDateTimeWidget.java index b4669f18..d97e39fd 100644 --- a/kdejava/koala/org/kde/koala/KDateTimeWidget.java +++ b/kdejava/koala/org/kde/koala/KDateTimeWidget.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.Calendar; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -21,24 +21,24 @@ import org.kde.qt.QWidget; @see KDateWidget */ -public class KDateTimeWidget extends QWidget { +public class KDateTimeWidget extends TQWidget { protected KDateTimeWidget(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a date and time selection widget. @short Constructs a date and time selection widget. */ - public KDateTimeWidget(QWidget parent, String name) { + public KDateTimeWidget(TQWidget parent, String name) { super((Class) null); newKDateTimeWidget(parent,name); } - private native void newKDateTimeWidget(QWidget parent, String name); - public KDateTimeWidget(QWidget parent) { + private native void newKDateTimeWidget(TQWidget parent, String name); + public KDateTimeWidget(TQWidget parent) { super((Class) null); newKDateTimeWidget(parent); } - private native void newKDateTimeWidget(QWidget parent); + private native void newKDateTimeWidget(TQWidget parent); public KDateTimeWidget() { super((Class) null); newKDateTimeWidget(); @@ -49,16 +49,16 @@ public class KDateTimeWidget extends QWidget { time set to <code>datetime.</code> @short Constructs a date and time selection widget with the initial date and time set to <code>datetime.</code> */ - public KDateTimeWidget(Calendar datetime, QWidget parent, String name) { + public KDateTimeWidget(Calendar datetime, TQWidget parent, String name) { super((Class) null); newKDateTimeWidget(datetime,parent,name); } - private native void newKDateTimeWidget(Calendar datetime, QWidget parent, String name); - public KDateTimeWidget(Calendar datetime, QWidget parent) { + private native void newKDateTimeWidget(Calendar datetime, TQWidget parent, String name); + public KDateTimeWidget(Calendar datetime, TQWidget parent) { super((Class) null); newKDateTimeWidget(datetime,parent); } - private native void newKDateTimeWidget(Calendar datetime, QWidget parent); + private native void newKDateTimeWidget(Calendar datetime, TQWidget parent); public KDateTimeWidget(Calendar datetime) { super((Class) null); newKDateTimeWidget(datetime); diff --git a/kdejava/koala/org/kde/koala/KDateTimeWidgetSignals.java b/kdejava/koala/org/kde/koala/KDateTimeWidgetSignals.java index 26939306..f4d6b581 100644 --- a/kdejava/koala/org/kde/koala/KDateTimeWidgetSignals.java +++ b/kdejava/koala/org/kde/koala/KDateTimeWidgetSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.Calendar; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KDateTimeWidgetSignals { /** diff --git a/kdejava/koala/org/kde/koala/KDateValidator.java b/kdejava/koala/org/kde/koala/KDateValidator.java index 0dc471c5..8740e296 100644 --- a/kdejava/koala/org/kde/koala/KDateValidator.java +++ b/kdejava/koala/org/kde/koala/KDateValidator.java @@ -4,8 +4,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; import java.util.Calendar; -import org.kde.qt.QWidget; -import org.kde.qt.QValidator; +import org.kde.qt.TQWidget; +import org.kde.qt.TQValidator; /** @@ -13,18 +13,18 @@ import org.kde.qt.QValidator; @short Validates user-entered dates. */ -public class KDateValidator extends QValidator { +public class KDateValidator extends TQValidator { protected KDateValidator(Class dummy){super((Class) null);} - public KDateValidator(QWidget parent, String name) { + public KDateValidator(TQWidget parent, String name) { super((Class) null); newKDateValidator(parent,name); } - private native void newKDateValidator(QWidget parent, String name); - public KDateValidator(QWidget parent) { + private native void newKDateValidator(TQWidget parent, String name); + public KDateValidator(TQWidget parent) { super((Class) null); newKDateValidator(parent); } - private native void newKDateValidator(QWidget parent); + private native void newKDateValidator(TQWidget parent); public KDateValidator() { super((Class) null); newKDateValidator(); diff --git a/kdejava/koala/org/kde/koala/KDateWidget.java b/kdejava/koala/org/kde/koala/KDateWidget.java index 83efdfd3..eda48f53 100644 --- a/kdejava/koala/org/kde/koala/KDateWidget.java +++ b/kdejava/koala/org/kde/koala/KDateWidget.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.Calendar; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -18,24 +18,24 @@ import org.kde.qt.QWidget; @see KDatePicker */ -public class KDateWidget extends QWidget { +public class KDateWidget extends TQWidget { protected KDateWidget(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a date selection widget. @short Constructs a date selection widget. */ - public KDateWidget(QWidget parent, String name) { + public KDateWidget(TQWidget parent, String name) { super((Class) null); newKDateWidget(parent,name); } - private native void newKDateWidget(QWidget parent, String name); - public KDateWidget(QWidget parent) { + private native void newKDateWidget(TQWidget parent, String name); + public KDateWidget(TQWidget parent) { super((Class) null); newKDateWidget(parent); } - private native void newKDateWidget(QWidget parent); + private native void newKDateWidget(TQWidget parent); public KDateWidget() { super((Class) null); newKDateWidget(); @@ -45,16 +45,16 @@ public class KDateWidget extends QWidget { Constructs a date selection widget with the initial date set to <code>date.</code> @short Constructs a date selection widget with the initial date set to <code>date.</code> */ - public KDateWidget(Calendar date, QWidget parent, String name) { + public KDateWidget(Calendar date, TQWidget parent, String name) { super((Class) null); newKDateWidget(date,parent,name); } - private native void newKDateWidget(Calendar date, QWidget parent, String name); - public KDateWidget(Calendar date, QWidget parent) { + private native void newKDateWidget(Calendar date, TQWidget parent, String name); + public KDateWidget(Calendar date, TQWidget parent) { super((Class) null); newKDateWidget(date,parent); } - private native void newKDateWidget(Calendar date, QWidget parent); + private native void newKDateWidget(Calendar date, TQWidget parent); public KDateWidget(Calendar date) { super((Class) null); newKDateWidget(date); diff --git a/kdejava/koala/org/kde/koala/KDateWidgetSignals.java b/kdejava/koala/org/kde/koala/KDateWidgetSignals.java index 4cc6d41d..2fa8d91c 100644 --- a/kdejava/koala/org/kde/koala/KDateWidgetSignals.java +++ b/kdejava/koala/org/kde/koala/KDateWidgetSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.Calendar; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KDateWidgetSignals { /** diff --git a/kdejava/koala/org/kde/koala/KDesktopFile.java b/kdejava/koala/org/kde/koala/KDesktopFile.java index 7ca43df7..9fc4436d 100644 --- a/kdejava/koala/org/kde/koala/KDesktopFile.java +++ b/kdejava/koala/org/kde/koala/KDesktopFile.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; @@ -18,7 +18,7 @@ import java.util.ArrayList; */ public class KDesktopFile extends KConfig { protected KDesktopFile(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KDesktopFile object and make it either read-write diff --git a/kdejava/koala/org/kde/koala/KDialog.java b/kdejava/koala/org/kde/koala/KDialog.java index a7985804..cb3b1d79 100644 --- a/kdejava/koala/org/kde/koala/KDialog.java +++ b/kdejava/koala/org/kde/koala/KDialog.java @@ -2,14 +2,14 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; -import org.kde.qt.QLayoutItem; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQLayoutItem; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QLayoutItemInterface; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QDialog; +import org.kde.qt.TQLayoutItemInterface; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDialog; /** @@ -34,44 +34,44 @@ import org.kde.qt.QDialog; @see KDialogBase */ -public class KDialog extends QDialog { +public class KDialog extends TQDialog { protected KDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. - Takes the same arguments as QDialog. + Takes the same arguments as TQDialog. @short Constructor. */ - public KDialog(QWidget parent, String name, boolean modal, int f) { + public KDialog(TQWidget parent, String name, boolean modal, int f) { super((Class) null); newKDialog(parent,name,modal,f); } - private native void newKDialog(QWidget parent, String name, boolean modal, int f); - public KDialog(QWidget parent, String name, boolean modal) { + private native void newKDialog(TQWidget parent, String name, boolean modal, int f); + public KDialog(TQWidget parent, String name, boolean modal) { super((Class) null); newKDialog(parent,name,modal); } - private native void newKDialog(QWidget parent, String name, boolean modal); - public KDialog(QWidget parent, String name) { + private native void newKDialog(TQWidget parent, String name, boolean modal); + public KDialog(TQWidget parent, String name) { super((Class) null); newKDialog(parent,name); } - private native void newKDialog(QWidget parent, String name); - public KDialog(QWidget parent) { + private native void newKDialog(TQWidget parent, String name); + public KDialog(TQWidget parent) { super((Class) null); newKDialog(parent); } - private native void newKDialog(QWidget parent); + private native void newKDialog(TQWidget parent); public KDialog() { super((Class) null); newKDialog(); } private native void newKDialog(); /** - If the dialog starts with focus in a QLineEdit child, + If the dialog starts with focus in a TQLineEdit child, then call selectAll() on the child. - @short If the dialog starts with focus in a QLineEdit child, then call selectAll() on the child. + @short If the dialog starts with focus in a TQLineEdit child, then call selectAll() on the child. */ public native void polish(); /** @@ -108,7 +108,7 @@ public class KDialog extends QDialog { @param spacing The new layout spacing. @short Resize every layout manager used in <code>widget</code> and its nested children. */ - public static native void resizeLayout(QWidget widget, int margin, int spacing); + public static native void resizeLayout(TQWidget widget, int margin, int spacing); /** Resize every layout associated with <code>lay</code> and its children. @param lay layout to be resized @@ -116,7 +116,7 @@ public class KDialog extends QDialog { @param spacing The new layout spacing @short Resize every layout associated with <code>lay</code> and its children. */ - public static native void resizeLayout(QLayoutItemInterface lay, int margin, int spacing); + public static native void resizeLayout(TQLayoutItemInterface lay, int margin, int spacing); /** Centers <code>widget</code> on the desktop, taking multi-head setups into account. If <code>screen</code> is -1, <code>widget</code> will be centered on its @@ -127,8 +127,8 @@ public class KDialog extends QDialog { in use, or merged display placement is not enabled in kdeglobals. @short Centers <code>widget</code> on the desktop, taking multi-head setups into account. */ - public static native void centerOnScreen(QWidget widget, int screen); - public static native void centerOnScreen(QWidget widget); + public static native void centerOnScreen(TQWidget widget, int screen); + public static native void centerOnScreen(TQWidget widget); /** Places <code>widget</code> so that it doesn't cover a certain <code>area</code> of the screen. This is typically used by the "find dialog" so that the match it finds can @@ -139,12 +139,12 @@ public class KDialog extends QDialog { @short Places <code>widget</code> so that it doesn't cover a certain <code>area</code> of the screen. */ - public static native boolean avoidArea(QWidget widget, QRect area, int screen); - public static native boolean avoidArea(QWidget widget, QRect area); + public static native boolean avoidArea(TQWidget widget, TQRect area, int screen); + public static native boolean avoidArea(TQWidget widget, TQRect area); /** @short */ - protected native void keyPressEvent(QKeyEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KDialogBase.java b/kdejava/koala/org/kde/koala/KDialogBase.java index 83dee0dd..d6ed67a5 100644 --- a/kdejava/koala/org/kde/koala/KDialogBase.java +++ b/kdejava/koala/org/kde/koala/KDialogBase.java @@ -2,20 +2,20 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QHideEvent; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QCloseEvent; -import org.kde.qt.QObject; -import org.kde.qt.QPixmap; -import org.kde.qt.QSize; -import org.kde.qt.QGrid; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QPushButton; -import org.kde.qt.QWidget; -import org.kde.qt.QVBox; -import org.kde.qt.QFrame; -import org.kde.qt.QHBox; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQObject; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSize; +import org.kde.qt.TQGrid; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQPushButton; +import org.kde.qt.TQWidget; +import org.kde.qt.TQVBox; +import org.kde.qt.TQFrame; +import org.kde.qt.TQHBox; /** @@ -41,12 +41,12 @@ import org.kde.qt.QHBox; OK, Cancel/Close, Apply/Try, Default, Help and three user definable buttons: User1, User2 and User3. You must specify the text of the UserN buttons. Each button has a slot so you can overload the method - when required. The default slots emit a signal as well, so you can choose + when retquired. The default slots emit a signal as well, so you can choose to connect a signal instead of overriding the slot. The default implementation of slotHelp() will automatically enable the help system if you have provided a path to the help text. - slotCancel() and slotClose() will run QDialog.reject() - while slotOk() will run QDialog.accept(). You define a default + slotCancel() and slotClose() will run TQDialog.reject() + while slotOk() will run TQDialog.accept(). You define a default button in the constructor. If you don't want any buttons at all because your dialog is special in some way, then set the buttonMask argument in the constructor to zero @@ -91,22 +91,22 @@ import org.kde.qt.QHBox; equal to KDialog.marginHint(). You should not add a margin yourself, since one will be added automatically. The example below (from kedit) shows how you use the top level widget - and its layout. The second argument (the border) to QVBoxLayout + and its layout. The second argument (the border) to TQVBoxLayout is 0. This situation is valid for addPage , addVBoxPage , addHBoxPage , addGridPage , makeMainWidget , makeVBoxMainWidget , makeHBoxMainWidget and makeGridMainWidget as well. Example: <pre> - UrlDlg.UrlDlg( QWidget parent, String caption, + UrlDlg.UrlDlg( TQWidget parent, String caption, String urltext) { - QWidget page = new QWidget( this ); + TQWidget page = new TQWidget( this ); setMainWidget(page); - QVBoxLayout topLayout = new QVBoxLayout( page, 0, spacingHint() ); - QLabel label = new QLabel( caption, page, "caption" ); + TQVBoxLayout topLayout = new TQVBoxLayout( page, 0, spacingHint() ); + TQLabel label = new TQLabel( caption, page, "caption" ); topLayout.addWidget( label ); - lineedit = new QLineEdit( urltext, page, "lineedit" ); + lineedit = new TQLineEdit( urltext, page, "lineedit" ); lineedit.setMinimumWidth(fontMetrics().maxWidth()*20); topLayout.addWidget( lineedit ); topLayout.addStretch(10); @@ -115,12 +115,12 @@ import org.kde.qt.QHBox; If you use makeVBoxMainWidget(), then the dialog above can be made simpler but you lose the ability to add a stretchable area: <pre> - UrlDlg.UrlDlg( QWidget parent, String caption, + UrlDlg.UrlDlg( TQWidget parent, String caption, String urltext) { - QVBox page = makeVBoxMainWidget(); - QLabel label = new QLabel( caption, page, "caption" ); - lineedit = new QLineEdit( urltext, page, "lineedit" ); + TQVBox page = makeVBoxMainWidget(); + TQLabel label = new TQLabel( caption, page, "caption" ); + lineedit = new TQLineEdit( urltext, page, "lineedit" ); lineedit.setMinimumWidth(fontMetrics().maxWidth()*20); } </pre> @@ -167,7 +167,7 @@ public class KDialogBase extends KDialog { </li> <li> - <code>Tabbed</code> - A dialog using a QTabWidget. + <code>Tabbed</code> - A dialog using a TQTabWidget. </li> <li> @@ -191,7 +191,7 @@ public class KDialogBase extends KDialog { public static final int Swallow = KJanusWidget.Swallow; public static final int IconList = KJanusWidget.IconList; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor for the standard mode where you must specify the main @@ -215,56 +215,56 @@ public class KDialogBase extends KDialog { @param user3 User button3 item. @short Constructor for the standard mode where you must specify the main widget with setMainWidget() . */ - public KDialogBase(QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3) { + public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3) { super((Class) null); newKDialogBase(parent,name,modal,caption,buttonMask,defaultButton,separator,user1,user2,user3); } - private native void newKDialogBase(QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3); - public KDialogBase(QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2) { + private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3); + public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2) { super((Class) null); newKDialogBase(parent,name,modal,caption,buttonMask,defaultButton,separator,user1,user2); } - private native void newKDialogBase(QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2); - public KDialogBase(QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1) { + private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2); + public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1) { super((Class) null); newKDialogBase(parent,name,modal,caption,buttonMask,defaultButton,separator,user1); } - private native void newKDialogBase(QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1); - public KDialogBase(QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator) { + private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1); + public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator) { super((Class) null); newKDialogBase(parent,name,modal,caption,buttonMask,defaultButton,separator); } - private native void newKDialogBase(QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator); - public KDialogBase(QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton) { + private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator); + public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton) { super((Class) null); newKDialogBase(parent,name,modal,caption,buttonMask,defaultButton); } - private native void newKDialogBase(QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton); - public KDialogBase(QWidget parent, String name, boolean modal, String caption, int buttonMask) { + private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton); + public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask) { super((Class) null); newKDialogBase(parent,name,modal,caption,buttonMask); } - private native void newKDialogBase(QWidget parent, String name, boolean modal, String caption, int buttonMask); - public KDialogBase(QWidget parent, String name, boolean modal, String caption) { + private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask); + public KDialogBase(TQWidget parent, String name, boolean modal, String caption) { super((Class) null); newKDialogBase(parent,name,modal,caption); } - private native void newKDialogBase(QWidget parent, String name, boolean modal, String caption); - public KDialogBase(QWidget parent, String name, boolean modal) { + private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption); + public KDialogBase(TQWidget parent, String name, boolean modal) { super((Class) null); newKDialogBase(parent,name,modal); } - private native void newKDialogBase(QWidget parent, String name, boolean modal); - public KDialogBase(QWidget parent, String name) { + private native void newKDialogBase(TQWidget parent, String name, boolean modal); + public KDialogBase(TQWidget parent, String name) { super((Class) null); newKDialogBase(parent,name); } - private native void newKDialogBase(QWidget parent, String name); - public KDialogBase(QWidget parent) { + private native void newKDialogBase(TQWidget parent, String name); + public KDialogBase(TQWidget parent) { super((Class) null); newKDialogBase(parent); } - private native void newKDialogBase(QWidget parent); + private native void newKDialogBase(TQWidget parent); public KDialogBase() { super((Class) null); newKDialogBase(); @@ -296,41 +296,41 @@ public class KDialogBase extends KDialog { @param user3 User button3 text item. @short In KDE4 a WFlag paramater should be added after modal and next function can be removed. */ - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3) { + public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3) { super((Class) null); newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name,modal,separator,user1,user2,user3); } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2) { + private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3); + public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2) { super((Class) null); newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name,modal,separator,user1,user2); } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, KGuiItem user1) { + private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2); + public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1) { super((Class) null); newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name,modal,separator,user1); } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, KGuiItem user1); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator) { + private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1); + public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator) { super((Class) null); newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name,modal,separator); } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal) { + private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator); + public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal) { super((Class) null); newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name,modal); } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, QWidget parent, String name) { + private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal); + public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name) { super((Class) null); newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name); } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, QWidget parent, String name); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, QWidget parent) { + private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name); + public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent) { super((Class) null); newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent); } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, QWidget parent); + private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent); public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton) { super((Class) null); newKDialogBase(dialogFace,caption,buttonMask,defaultButton); @@ -361,56 +361,56 @@ public class KDialogBase extends KDialog { @param user3 User button3 text item. @short Constructor for the predefined layout mode where you specify the kind of layout (face). */ - public KDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3) { + public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3) { super((Class) null); newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask,defaultButton,separator,user1,user2,user3); } - private native void newKDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3); - public KDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2) { + private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3); + public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2) { super((Class) null); newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask,defaultButton,separator,user1,user2); } - private native void newKDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2); - public KDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1) { + private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2); + public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1) { super((Class) null); newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask,defaultButton,separator,user1); } - private native void newKDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1); - public KDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator) { + private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1); + public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator) { super((Class) null); newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask,defaultButton,separator); } - private native void newKDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator); - public KDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton) { + private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator); + public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton) { super((Class) null); newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask,defaultButton); } - private native void newKDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton); - public KDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal, String caption, int buttonMask) { + private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton); + public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask) { super((Class) null); newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask); } - private native void newKDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal, String caption, int buttonMask); - public KDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal, String caption) { + private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask); + public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption) { super((Class) null); newKDialogBase(dialogFace,f,parent,name,modal,caption); } - private native void newKDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal, String caption); - public KDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal) { + private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption); + public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal) { super((Class) null); newKDialogBase(dialogFace,f,parent,name,modal); } - private native void newKDialogBase(int dialogFace, int f, QWidget parent, String name, boolean modal); - public KDialogBase(int dialogFace, int f, QWidget parent, String name) { + private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal); + public KDialogBase(int dialogFace, int f, TQWidget parent, String name) { super((Class) null); newKDialogBase(dialogFace,f,parent,name); } - private native void newKDialogBase(int dialogFace, int f, QWidget parent, String name); - public KDialogBase(int dialogFace, int f, QWidget parent) { + private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name); + public KDialogBase(int dialogFace, int f, TQWidget parent) { super((Class) null); newKDialogBase(dialogFace,f,parent); } - private native void newKDialogBase(int dialogFace, int f, QWidget parent); + private native void newKDialogBase(int dialogFace, int f, TQWidget parent); public KDialogBase(int dialogFace, int f) { super((Class) null); newKDialogBase(dialogFace,f); @@ -446,41 +446,41 @@ public class KDialogBase extends KDialog { @param cancel Text to use for the third button (defaults to i18n("Cancel")) @short Constructor for a message box mode where the <code>buttonMask</code> can only contain Yes, No, or Cancel. */ - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, QWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no, KGuiItem cancel) { + public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no, KGuiItem cancel) { super((Class) null); newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name,modal,separator,yes,no,cancel); } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, QWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no, KGuiItem cancel); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, QWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no) { + private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no, KGuiItem cancel); + public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no) { super((Class) null); newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name,modal,separator,yes,no); } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, QWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, QWidget parent, String name, boolean modal, boolean separator, KGuiItem yes) { + private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no); + public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes) { super((Class) null); newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name,modal,separator,yes); } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, QWidget parent, String name, boolean modal, boolean separator, KGuiItem yes); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, QWidget parent, String name, boolean modal, boolean separator) { + private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes); + public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator) { super((Class) null); newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name,modal,separator); } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, QWidget parent, String name, boolean modal, boolean separator); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, QWidget parent, String name, boolean modal) { + private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator); + public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal) { super((Class) null); newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name,modal); } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, QWidget parent, String name, boolean modal); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, QWidget parent, String name) { + private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal); + public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name) { super((Class) null); newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name); } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, QWidget parent, String name); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, QWidget parent) { + private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name); + public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent) { super((Class) null); newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent); } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, QWidget parent); + private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent); public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton) { super((Class) null); newKDialogBase(caption,buttonMask,defaultButton,escapeButton); @@ -524,14 +524,14 @@ public class KDialogBase extends KDialog { public native void setEscapeButton(int id); /** Adjust the size of the dialog to fit the contents just before - QDialog.exec() or QDialog.show() is called. + TQDialog.exec() or TQDialog.show() is called. This method will not be called if the dialog has been explicitly resized before showing it. - @short Adjust the size of the dialog to fit the contents just before QDialog.exec() or QDialog.show() is called. + @short Adjust the size of the dialog to fit the contents just before TQDialog.exec() or TQDialog.show() is called. */ public native void adjustSize(); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); /** Retrieve the empty page when the predefined layout is used in <code>Plain</code> mode. @@ -542,7 +542,7 @@ public class KDialogBase extends KDialog { @short Retrieve the empty page when the predefined layout is used in <code>Plain</code> mode. */ - public native QFrame plainPage(); + public native TQFrame plainPage(); /** Add a page to the dialog when the class is used in <code>TreeList</code> , <code>IconList</code> or <code>Tabbed</code> mode. @@ -552,9 +552,9 @@ public class KDialogBase extends KDialog { layout manager associated with it. In order to use it you must create a layout yourself as the example below illustrates: <pre> - QFrame page = addPage( i18n("Layout") ); - QVBoxLayout topLayout = new QVBoxLayout( page, 0, KDialog.spacingHint() ); - QLabel label = new QLabel( i18n("Layout type"), page ); + TQFrame page = addPage( i18n("Layout") ); + TQVBoxLayout topLayout = new TQVBoxLayout( page, 0, KDialog.spacingHint() ); + TQLabel label = new TQLabel( i18n("Layout type"), page ); topLayout.addWidget( label ); .. </pre> @@ -568,9 +568,9 @@ public class KDialogBase extends KDialog { @short Add a page to the dialog when the class is used in <code>TreeList</code> , <code>IconList</code> or <code>Tabbed</code> mode. */ - public native QFrame addPage(String itemName, String header, QPixmap pixmap); - public native QFrame addPage(String itemName, String header); - public native QFrame addPage(String itemName); + public native TQFrame addPage(String itemName, String header, TQPixmap pixmap); + public native TQFrame addPage(String itemName, String header); + public native TQFrame addPage(String itemName); /** This is like addPage() just above, with the difference that the first element is a list of strings. @@ -582,19 +582,19 @@ public class KDialogBase extends KDialog { <code>TreeList</code>, all the strings except the last one is ignored. @short This is like addPage() just above, with the difference that the first element is a list of strings. */ - public native QFrame addPage(String[] items, String header, QPixmap pixmap); - public native QFrame addPage(String[] items, String header); - public native QFrame addPage(String[] items); + public native TQFrame addPage(String[] items, String header, TQPixmap pixmap); + public native TQFrame addPage(String[] items, String header); + public native TQFrame addPage(String[] items); /** Add a page to the dialog when the class is used in <code>TreeList</code>, <code>IconList</code> or <code>Tabbed</code> mode. The returned widget must be used as the toplevel widget for - this particular page. The widget contains a QVBoxLayout + this particular page. The widget contains a TQVBoxLayout layout so the widget children are lined up vertically. You can use it as follows: <pre> - QVBox page = addVBoxPage( i18n("Layout") ); - QLabel label = new QLabel( i18n("Layout type"), page ); + TQVBox page = addVBoxPage( i18n("Layout") ); + TQLabel label = new TQLabel( i18n("Layout type"), page ); .. </pre> @param itemName String used in the list or as tab item name. @@ -607,9 +607,9 @@ public class KDialogBase extends KDialog { @short Add a page to the dialog when the class is used in <code>TreeList</code>, <code>IconList</code> or <code>Tabbed</code> mode. */ - public native QVBox addVBoxPage(String itemName, String header, QPixmap pixmap); - public native QVBox addVBoxPage(String itemName, String header); - public native QVBox addVBoxPage(String itemName); + public native TQVBox addVBoxPage(String itemName, String header, TQPixmap pixmap); + public native TQVBox addVBoxPage(String itemName, String header); + public native TQVBox addVBoxPage(String itemName); /** This is like addVBoxPage() just above, with the difference that the first element is a list of strings. @@ -621,15 +621,15 @@ public class KDialogBase extends KDialog { <code>TreeList</code>, all the strings except the last one is ignored. @short This is like addVBoxPage() just above, with the difference that the first element is a list of strings. */ - public native QVBox addVBoxPage(String[] items, String header, QPixmap pixmap); - public native QVBox addVBoxPage(String[] items, String header); - public native QVBox addVBoxPage(String[] items); + public native TQVBox addVBoxPage(String[] items, String header, TQPixmap pixmap); + public native TQVBox addVBoxPage(String[] items, String header); + public native TQVBox addVBoxPage(String[] items); /** Add a page to the dialog when the class is used in <code>TreeList</code>, <code>IconList</code> or <code>Tabbed</code> mode. The returned widget must be used as the toplevel widget for this particular page. The widget contains a - QHBoxLayout layout so the widget children are lined up horizontally. + TQHBoxLayout layout so the widget children are lined up horizontally. You can use it as follows: @param itemName String used in the list or as tab item name. @param header Header text use in the list modes. Ignored in Tabbed @@ -641,9 +641,9 @@ public class KDialogBase extends KDialog { @short Add a page to the dialog when the class is used in <code>TreeList</code>, <code>IconList</code> or <code>Tabbed</code> mode. */ - public native QHBox addHBoxPage(String itemName, String header, QPixmap pixmap); - public native QHBox addHBoxPage(String itemName, String header); - public native QHBox addHBoxPage(String itemName); + public native TQHBox addHBoxPage(String itemName, String header, TQPixmap pixmap); + public native TQHBox addHBoxPage(String itemName, String header); + public native TQHBox addHBoxPage(String itemName); /** This is like addHBoxPage() just above, with the difference that the first element is a list of strings. @@ -655,15 +655,15 @@ public class KDialogBase extends KDialog { <code>TreeList</code>, all the strings except the last one is ignored. @short This is like addHBoxPage() just above, with the difference that the first element is a list of strings. */ - public native QHBox addHBoxPage(String[] items, String header, QPixmap pixmap); - public native QHBox addHBoxPage(String[] items, String header); - public native QHBox addHBoxPage(String[] items); + public native TQHBox addHBoxPage(String[] items, String header, TQPixmap pixmap); + public native TQHBox addHBoxPage(String[] items, String header); + public native TQHBox addHBoxPage(String[] items); /** Add a page to the dialog when the class is used in <code>TreeList</code>, <code>IconList</code> or <code>Tabbed</code> mode. The returned widget must be used as the toplevel widget for this particular page. The widget contains a - QGridLayout layout so the widget children are positioned in a grid. + TQGridLayout layout so the widget children are positioned in a grid. @param n Specifies the number of columns if <code>dir</code> is Qt.Horizontal or the number of rows if <code>dir</code> is Qt.Vertical. @param dir Can be Qt.Horizontal or Qt.Vertical. @@ -677,9 +677,9 @@ public class KDialogBase extends KDialog { @short Add a page to the dialog when the class is used in <code>TreeList</code>, <code>IconList</code> or <code>Tabbed</code> mode. */ - public native QGrid addGridPage(int n, int dir, String itemName, String header, QPixmap pixmap); - public native QGrid addGridPage(int n, int dir, String itemName, String header); - public native QGrid addGridPage(int n, int dir, String itemName); + public native TQGrid addGridPage(int n, int dir, String itemName, String header, TQPixmap pixmap); + public native TQGrid addGridPage(int n, int dir, String itemName, String header); + public native TQGrid addGridPage(int n, int dir, String itemName); /** This is like addGridPage() just above, with the difference that the first element is a list of strings. @@ -691,19 +691,19 @@ public class KDialogBase extends KDialog { <code>TreeList</code>, all the strings except the last one is ignored. @short This is like addGridPage() just above, with the difference that the first element is a list of strings. */ - public native QGrid addGridPage(int n, int dir, String[] items, String header, QPixmap pixmap); - public native QGrid addGridPage(int n, int dir, String[] items, String header); - public native QGrid addGridPage(int n, int dir, String[] items); + public native TQGrid addGridPage(int n, int dir, String[] items, String header, TQPixmap pixmap); + public native TQGrid addGridPage(int n, int dir, String[] items, String header); + public native TQGrid addGridPage(int n, int dir, String[] items); /** Sets the icon used in <code>TreeList</code> Mode for the given path. @param path The path for which this icon should be shown. @param pixmap The icon used. @short Sets the icon used in <code>TreeList</code> Mode for the given path. */ - public native void setFolderIcon(String[] path, QPixmap pixmap); + public native void setFolderIcon(String[] path, TQPixmap pixmap); /** Make a main widget. - The function will make a QFrame widget + The function will make a TQFrame widget and use setMainWidget() to register it. You can <b>not</b> use this function more than once, <b>not</b> if you have already defined a main widget with setMainWidget() and <b>not</b> if you have used the @@ -714,10 +714,10 @@ public class KDialogBase extends KDialog { @short Make a main widget. */ - public native QFrame makeMainWidget(); + public native TQFrame makeMainWidget(); /** Make a main widget. - The function will make a QVBox widget + The function will make a TQVBox widget and use setMainWidget() to register it. You <b>can</b> use this function more than once, but <b>not</b> if you have already defined a main widget with setMainWidget() and <b>not</b> if you have used the @@ -728,10 +728,10 @@ public class KDialogBase extends KDialog { @short Make a main widget. */ - public native QVBox makeVBoxMainWidget(); + public native TQVBox makeVBoxMainWidget(); /** Make a main widget. - The function will make a QHBox widget + The function will make a TQHBox widget and use setMainWidget() to register it. You can <b>not</b> use this function more than once, <b>not</b> if you have already defined a main widget with setMainWidget() and <code>not</code> if you have used the @@ -742,10 +742,10 @@ public class KDialogBase extends KDialog { @short Make a main widget. */ - public native QHBox makeHBoxMainWidget(); + public native TQHBox makeHBoxMainWidget(); /** Make a main widget. - The function will make a QGrid widget + The function will make a TQGrid widget and use setMainWidget() to register it. You can <b>not</b> use this function more than once, <b>not</b> if you have already defined a main widget with setMainWidget and <b>not</b> if you have used the @@ -759,7 +759,7 @@ public class KDialogBase extends KDialog { @short Make a main widget. */ - public native QGrid makeGridMainWidget(int n, int dir); + public native TQGrid makeGridMainWidget(int n, int dir); /** Hide or display the a separator line drawn between the action buttons an the main widget. @@ -834,7 +834,7 @@ public class KDialogBase extends KDialog { @short Returns the index of a page created with addPage(), addVBoxPage(), addHBoxPage() or addGridPage(). */ - public native int pageIndex(QWidget widget); + public native int pageIndex(TQWidget widget); /** Sets the main user definable widget. If the dialog is using the predefined Swallow mode, the widget will @@ -846,14 +846,14 @@ public class KDialogBase extends KDialog { instead. @short Sets the main user definable widget. */ - public native void setMainWidget(QWidget widget); + public native void setMainWidget(TQWidget widget); /** Returns the main widget if any. @return The current main widget. Can be 0 if no widget has been defined. @short Returns the main widget if any. */ - public native QWidget mainWidget(); + public native TQWidget mainWidget(); /** Convenience method. Freezes the dialog size using the minimum size @@ -872,8 +872,8 @@ public class KDialogBase extends KDialog { @param noResize If <code>true</code> the dialog cannot be resized. @short Convenience method. */ - public native void setInitialSize(QSize s, boolean noResize); - public native void setInitialSize(QSize s); + public native void setInitialSize(TQSize s, boolean noResize); + public native void setInitialSize(TQSize s); /** Convenience method. Add a size to the default minimum size of a dialog. @@ -883,8 +883,8 @@ public class KDialogBase extends KDialog { @param noResize If <code>true</code> the dialog cannot be resized. @short Convenience method. */ - public native void incInitialSize(QSize s, boolean noResize); - public native void incInitialSize(QSize s); + public native void incInitialSize(TQSize s, boolean noResize); + public native void incInitialSize(TQSize s); /** read the dialogs size from the configuration according to the screen size. If no size is saved for one dimension of the screen, sizeHint() is returned. @@ -892,7 +892,7 @@ public class KDialogBase extends KDialog { of KGlobal.config is preserved. @short read the dialogs size from the configuration according to the screen size. */ - public native QSize configDialogSize(String groupName); + public native TQSize configDialogSize(String groupName); /** read the dialogs size from the configuration according to the screen size. If no size is saved for one dimension of the screen, sizeHint() is returned. @@ -901,7 +901,7 @@ public class KDialogBase extends KDialog { of KGlobal.config is preserved. @short read the dialogs size from the configuration according to the screen size. */ - public native QSize configDialogSize(KConfig config, String groupName); + public native TQSize configDialogSize(KConfig config, String groupName); /** save the dialogs size dependant on the screen dimension either to the global or application config file. @@ -1006,7 +1006,7 @@ public class KDialogBase extends KDialog { /** This function has only effect in TreeList mode. This tells the widgets whether the root should be decorated. - For details see QListView.setRootIsDecorated + For details see TQListView.setRootIsDecorated @param state Root will be decorated if true. @short This function has only effect in TreeList mode. */ @@ -1031,7 +1031,7 @@ public class KDialogBase extends KDialog { the pointer to this widget. @short Add a widget at the bottom of the TreeList/IconList. */ - public native void addWidgetBelowList(QWidget widget); + public native void addWidgetBelowList(TQWidget widget); /** Add a button at the bottom of the TreeList/IconList. @param text The text on the PushButton. @@ -1040,7 +1040,7 @@ public class KDialogBase extends KDialog { @param slot The slot to connect to the clicked signal of the button. @short Add a button at the bottom of the TreeList/IconList. */ - public native void addButtonBelowList(String text, QObject recv, String slot); + public native void addButtonBelowList(String text, TQObject recv, String slot); /** The same as the above function, but with a KGuiItem providing the text and icon for the button at the bottom of the TreeList/IconList. @@ -1050,7 +1050,7 @@ public class KDialogBase extends KDialog { @param slot The slot to connect to the clicked signal of the button. @short The same as the above function, but with a KGuiItem providing the text and icon for the button at the bottom of the TreeList/IconList. */ - public native void addButtonBelowList(KGuiItem guiitem, QObject recv, String slot); + public native void addButtonBelowList(KGuiItem guiitem, TQObject recv, String slot); /** This function has only effect in IconList mode. Defines how the icon list widget is displayed. By default it is @@ -1085,7 +1085,7 @@ public class KDialogBase extends KDialog { @short Calculate the size hint for the dialog. */ - public native QSize calculateSize(int w, int h); + public native TQSize calculateSize(int w, int h); /** Returns the help link text. If no text has been defined, @@ -1102,12 +1102,12 @@ public class KDialogBase extends KDialog { by this function. See also enableButton(), showButton(), setButtonTip(), setButtonWhatsThis(), and setButtonText(). @param id Integer identifier of the button. - FIXME KDE 4: Return the actual KPushButton instead of QPushButton (Martijn) + FIXME KDE 4: Return the actual KPushButton instead of TQPushButton (Martijn) @return The action button or 0 if the button does not exists. @short Returns the action button that corresponds to the <code>id.</code> */ - public native QPushButton actionButton(int id); + public native TQPushButton actionButton(int id); /** Enable or disable (gray out) a general action button. @param id Button identifier. @@ -1185,7 +1185,7 @@ public class KDialogBase extends KDialog { Any previously set widget gets deleted. @short Sets the widget that gets shown when "Details" is enabled. */ - public native void setDetailsWidget(QWidget detailsWidget); + public native void setDetailsWidget(TQWidget detailsWidget); /** This method is called automatically whenever the background has changed. You do not need to use this method. @@ -1214,35 +1214,35 @@ public class KDialogBase extends KDialog { @short Returns a pointer to the background tile if there is one. */ - public static native QPixmap backgroundTile(); + public static native TQPixmap backgroundTile(); /** Sets the background tile. If it is Null (0), the background image is deleted. @param pix The background tile. @short Sets the background tile. */ - public static native void setBackgroundTile(QPixmap pix); + public static native void setBackgroundTile(TQPixmap pix); /** Maps some keys to the actions buttons. F1 is mapped to the Help button if present and Escape to the Cancel or Close if present. The button action event is animated. @short Maps some keys to the actions buttons. */ - protected native void keyPressEvent(QKeyEvent e); + protected native void keyPressEvent(TQKeyEvent e); /** Emits the #hidden signal. You can connect to that signal to detect when a dialog has been closed. @short Emits the #hidden signal. */ - protected native void hideEvent(QHideEvent arg1); + protected native void hideEvent(TQHideEvent arg1); /** Detects when a dialog is being closed from the window manager controls. If the Cancel or Close button is present then the button - is activated. Otherwise standard QDialog behavior + is activated. Otherwise standard TQDialog behavior will take place. @short Detects when a dialog is being closed from the window manager controls. */ - protected native void closeEvent(QCloseEvent e); + protected native void closeEvent(TQCloseEvent e); /** Activated when the Help button has been clicked. If a help text has been defined, the help system will be activated. @@ -1277,7 +1277,7 @@ public class KDialogBase extends KDialog { protected native void slotUser1(); /** Activated when the Ok button has been clicked. The - QDialog.accept() is activated. + TQDialog.accept() is activated. @short Activated when the Ok button has been clicked. */ protected native void slotOk(); @@ -1293,26 +1293,26 @@ public class KDialogBase extends KDialog { protected native void slotTry(); /** Activated when the Yes button has been clicked. The - QDialog.done( Yes ) is activated. + TQDialog.done( Yes ) is activated. @short Activated when the Yes button has been clicked. */ protected native void slotYes(); /** Activated when the Yes button has been clicked. The - QDialog.done( No ) is activated. + TQDialog.done( No ) is activated. @short Activated when the Yes button has been clicked. */ protected native void slotNo(); /** Activated when the Cancel button has been clicked. The - QDialog.reject() is activated in regular mode and - QDialog.done( Cancel ) when in message box mode. + TQDialog.reject() is activated in regular mode and + TQDialog.done( Cancel ) when in message box mode. @short Activated when the Cancel button has been clicked. */ protected native void slotCancel(); /** Activated when the Close button has been clicked. The - QDialog.reject() is activated. + TQDialog.reject() is activated. @short Activated when the Close button has been clicked. */ protected native void slotClose(); @@ -1323,7 +1323,7 @@ public class KDialogBase extends KDialog { public native void updateGeometry(); /** Deletes the dialog immediately. If you want to delete the dialog - delayed use delayedDestruct() or QObject.deleteLater(). + delayed use delayedDestruct() or TQObject.deleteLater(). Attention: Do no use connect this slot to signals from user actions! @short Deletes the dialog immediately. diff --git a/kdejava/koala/org/kde/koala/KDialogBaseSignals.java b/kdejava/koala/org/kde/koala/KDialogBaseSignals.java index ac961638..457c9fea 100644 --- a/kdejava/koala/org/kde/koala/KDialogBaseSignals.java +++ b/kdejava/koala/org/kde/koala/KDialogBaseSignals.java @@ -1,20 +1,20 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QHideEvent; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QCloseEvent; -import org.kde.qt.QObject; -import org.kde.qt.QPixmap; -import org.kde.qt.QSize; -import org.kde.qt.QGrid; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QPushButton; -import org.kde.qt.QWidget; -import org.kde.qt.QVBox; -import org.kde.qt.QFrame; -import org.kde.qt.QHBox; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQObject; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSize; +import org.kde.qt.TQGrid; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQPushButton; +import org.kde.qt.TQWidget; +import org.kde.qt.TQVBox; +import org.kde.qt.TQFrame; +import org.kde.qt.TQHBox; public interface KDialogBaseSignals { /** @@ -125,5 +125,5 @@ public interface KDialogBaseSignals { and IconList faces. @short A page is about to be shown. */ - void aboutToShowPage(QWidget page); + void aboutToShowPage(TQWidget page); } diff --git a/kdejava/koala/org/kde/koala/KDialogQueue.java b/kdejava/koala/org/kde/koala/KDialogQueue.java index 2c55fa21..60d1e26e 100644 --- a/kdejava/koala/org/kde/koala/KDialogQueue.java +++ b/kdejava/koala/org/kde/koala/KDialogQueue.java @@ -2,18 +2,18 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QDialog; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQDialog; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** */ -public class KDialogQueue extends QObject { +public class KDialogQueue extends TQObject { protected KDialogQueue(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public static native void queueDialog(QDialog arg1); + public static native void queueDialog(TQDialog arg1); public KDialogQueue() { super((Class) null); newKDialogQueue(); diff --git a/kdejava/koala/org/kde/koala/KDialogSignals.java b/kdejava/koala/org/kde/koala/KDialogSignals.java index 1abd56b3..95b646f6 100644 --- a/kdejava/koala/org/kde/koala/KDialogSignals.java +++ b/kdejava/koala/org/kde/koala/KDialogSignals.java @@ -1,13 +1,13 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QRect; -import org.kde.qt.QLayoutItem; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQLayoutItem; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QLayoutItemInterface; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQLayoutItemInterface; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; public interface KDialogSignals { /** diff --git a/kdejava/koala/org/kde/koala/KDirLister.java b/kdejava/koala/org/kde/koala/KDirLister.java index 283340d9..83d4b608 100644 --- a/kdejava/koala/org/kde/koala/KDirLister.java +++ b/kdejava/koala/org/kde/koala/KDirLister.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -44,7 +44,7 @@ import org.kde.qt.QObject; @short Helper class for the kiojob used to list and update a directory. */ -public class KDirLister extends QObject { +public class KDirLister extends TQObject { protected KDirLister(Class dummy){super((Class) null);} /** Used by items() and itemsForDir() to specify whether you want @@ -60,7 +60,7 @@ public class KDirLister extends QObject { public static final int DOT_FILES = 4; public static final int DIR_ONLY_MODE = 8; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create a directory lister. @@ -156,7 +156,7 @@ public class KDirLister extends QObject { @short Enable or disable auto error handling is enabled. @see #autoErrorHandlingEnabled */ - public native void setAutoErrorHandlingEnabled(boolean enable, QWidget parent); + public native void setAutoErrorHandlingEnabled(boolean enable, TQWidget parent); /** Checks whether hidden files (files beginning with a dot) will be shown. @@ -339,14 +339,14 @@ public class KDirLister extends QObject { @param window the window to associate with, 0 to disassociate @short Pass the main window this object is associated with this is used for caching authentication data */ - public native void setMainWindow(QWidget window); + public native void setMainWindow(TQWidget window); /** Returns the main window associated with this object. @return the associated main window, or 0 if there is none @short Returns the main window associated with this object. */ - public native QWidget mainWindow(); + public native TQWidget mainWindow(); /** Returns the items listed for the current url(). This method will NOT start listing a directory, you should only call @@ -424,7 +424,7 @@ public class KDirLister extends QObject { @param filters a list of regular expressions for filtering @short Called by the public matchesFilter() to do the actual filtering. */ - // bool doNameFilter(const QString& arg1,const QPtrList<QRegExp>& arg2); >>>> NOT CONVERTED + // bool doNameFilter(const TQString& arg1,const TQPtrList<TQRegExp>& arg2); >>>> NOT CONVERTED /** Called by the public matchesMimeFilter() to do the actual filtering. Those methods may be reimplemented to customize diff --git a/kdejava/koala/org/kde/koala/KDirListerSignals.java b/kdejava/koala/org/kde/koala/KDirListerSignals.java index 28302b85..db7ee3ea 100644 --- a/kdejava/koala/org/kde/koala/KDirListerSignals.java +++ b/kdejava/koala/org/kde/koala/KDirListerSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KDirListerSignals { /** diff --git a/kdejava/koala/org/kde/koala/KDirOperator.java b/kdejava/koala/org/kde/koala/KDirOperator.java index 337ebec2..51adf411 100644 --- a/kdejava/koala/org/kde/koala/KDirOperator.java +++ b/kdejava/koala/org/kde/koala/KDirOperator.java @@ -2,14 +2,14 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; +import org.kde.qt.TQPoint; import java.util.ArrayList; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQWidget; /** @@ -55,7 +55,7 @@ import org.kde.qt.QWidget; @short A widget for displaying files and browsing directories. */ -public class KDirOperator extends QWidget { +public class KDirOperator extends TQWidget { protected KDirOperator(Class dummy){super((Class) null);} /** The various action types. These values can be or'd together @@ -67,7 +67,7 @@ public class KDirOperator extends QWidget { public static final int FileActions = 8; public static final int AllActions = 15; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs the KDirOperator with no initial view. As the views are @@ -76,16 +76,16 @@ public class KDirOperator extends QWidget { This constructor doesn't start loading the url, setView will do it. @short Constructs the KDirOperator with no initial view. */ - public KDirOperator(KURL urlName, QWidget parent, String name) { + public KDirOperator(KURL urlName, TQWidget parent, String name) { super((Class) null); newKDirOperator(urlName,parent,name); } - private native void newKDirOperator(KURL urlName, QWidget parent, String name); - public KDirOperator(KURL urlName, QWidget parent) { + private native void newKDirOperator(KURL urlName, TQWidget parent, String name); + public KDirOperator(KURL urlName, TQWidget parent) { super((Class) null); newKDirOperator(urlName,parent); } - private native void newKDirOperator(KURL urlName, QWidget parent); + private native void newKDirOperator(KURL urlName, TQWidget parent); public KDirOperator(KURL urlName) { super((Class) null); newKDirOperator(urlName); @@ -200,7 +200,7 @@ public class KDirOperator extends QWidget { (KFileView itself is not a widget.) @short Returns the widget of the current view. */ - public native QWidget viewWidget(); + public native TQWidget viewWidget(); /** Sets one of the predefined fileviews @short Sets one of the predefined fileviews @@ -276,7 +276,7 @@ public class KDirOperator extends QWidget { delete it yourself! @short Sets a preview-widget to be shown next to the file-view. */ - public native void setPreviewWidget(QWidget w); + public native void setPreviewWidget(TQWidget w); /** @return a list of all currently selected items. If there is no view, then 0L is returned. @@ -545,9 +545,9 @@ public class KDirOperator extends QWidget { @param showProgress passed to the DeleteJob to show a progress dialog @short Starts and returns a KIO.DeleteJob to delete the given <code>items.</code> */ - public native DeleteJob del(ArrayList items, QWidget parent, boolean ask, boolean showProgress); - public native DeleteJob del(ArrayList items, QWidget parent, boolean ask); - public native DeleteJob del(ArrayList items, QWidget parent); + public native DeleteJob del(ArrayList items, TQWidget parent, boolean ask, boolean showProgress); + public native DeleteJob del(ArrayList items, TQWidget parent, boolean ask); + public native DeleteJob del(ArrayList items, TQWidget parent); /** Clears the forward and backward history. @short Clears the forward and backward history. @@ -603,9 +603,9 @@ public class KDirOperator extends QWidget { @param showProgress passed to the CopyJob to show a progress dialog @short Starts and returns a KIO.CopyJob to trash the given <code>items.</code> */ - public native CopyJob trash(ArrayList items, QWidget parent, boolean ask, boolean showProgress); - public native CopyJob trash(ArrayList items, QWidget parent, boolean ask); - public native CopyJob trash(ArrayList items, QWidget parent); + public native CopyJob trash(ArrayList items, TQWidget parent, boolean ask, boolean showProgress); + public native CopyJob trash(ArrayList items, TQWidget parent, boolean ask); + public native CopyJob trash(ArrayList items, TQWidget parent); /** Goes one step back in the history and opens that url. @short Goes one step back in the history and opens that url. @@ -672,7 +672,7 @@ public class KDirOperator extends QWidget { /** A view factory for creating predefined fileviews. Called internally by setView , but you can also call it directly. Reimplement this if you depend on self defined fileviews. - @param parent is the QWidget to be set as parent + @param parent is the TQWidget to be set as parent @param view is the predefined view to be set, note: this can be several ones OR:ed together. @return the created KFileView @@ -685,13 +685,13 @@ public class KDirOperator extends QWidget { @see KFile#FileView @see #setView */ - protected native KFileViewInterface createView(QWidget parent, int view); + protected native KFileViewInterface createView(TQWidget parent, int view); /** Sets a custom KDirLister to list directories. @short Sets a custom KDirLister to list directories. */ protected native void setDirLister(KDirLister lister); - protected native void resizeEvent(QResizeEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); /** Sets up all the actions. Called from the constructor, you usually better not call this. @@ -774,7 +774,7 @@ public class KDirOperator extends QWidget { Called upon right-click to activate the popupmenu. @short Called upon right-click to activate the popupmenu. */ - protected native void activatedMenu(KFileItem arg1, QPoint pos); + protected native void activatedMenu(KFileItem arg1, TQPoint pos); /** Changes sorting to sort by name @short Changes sorting to sort by name diff --git a/kdejava/koala/org/kde/koala/KDirOperatorSignals.java b/kdejava/koala/org/kde/koala/KDirOperatorSignals.java index 77a967ba..51d48c97 100644 --- a/kdejava/koala/org/kde/koala/KDirOperatorSignals.java +++ b/kdejava/koala/org/kde/koala/KDirOperatorSignals.java @@ -1,13 +1,13 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; +import org.kde.qt.TQPoint; import java.util.ArrayList; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; public interface KDirOperatorSignals { void urlEntered(KURL arg1); @@ -38,5 +38,5 @@ public interface KDirOperatorSignals { @param urls the urls that where dropped. @short Emitted when files are dropped. */ - void dropped(KFileItem item, QDropEvent event, ArrayList urls); + void dropped(KFileItem item, TQDropEvent event, ArrayList urls); } diff --git a/kdejava/koala/org/kde/koala/KDirSelectDialog.java b/kdejava/koala/org/kde/koala/KDirSelectDialog.java index 3c219e20..d8d38b59 100644 --- a/kdejava/koala/org/kde/koala/KDirSelectDialog.java +++ b/kdejava/koala/org/kde/koala/KDirSelectDialog.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -17,32 +17,32 @@ import org.kde.qt.QWidget; */ public class KDirSelectDialog extends KDialogBase { protected KDirSelectDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** The constructor. Creates a dialog to select a directory (url). @param startDir the directory, initially shown @param localOnly unused. You can only select paths below the startDir @param parent the parent for the dialog, usually null - @param name the QObject.name + @param name the TQObject.name @param modal if the dialog is modal or not @short The constructor. */ - public KDirSelectDialog(String startDir, boolean localOnly, QWidget parent, String name, boolean modal) { + public KDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name, boolean modal) { super((Class) null); newKDirSelectDialog(startDir,localOnly,parent,name,modal); } - private native void newKDirSelectDialog(String startDir, boolean localOnly, QWidget parent, String name, boolean modal); - public KDirSelectDialog(String startDir, boolean localOnly, QWidget parent, String name) { + private native void newKDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name, boolean modal); + public KDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name) { super((Class) null); newKDirSelectDialog(startDir,localOnly,parent,name); } - private native void newKDirSelectDialog(String startDir, boolean localOnly, QWidget parent, String name); - public KDirSelectDialog(String startDir, boolean localOnly, QWidget parent) { + private native void newKDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name); + public KDirSelectDialog(String startDir, boolean localOnly, TQWidget parent) { super((Class) null); newKDirSelectDialog(startDir,localOnly,parent); } - private native void newKDirSelectDialog(String startDir, boolean localOnly, QWidget parent); + private native void newKDirSelectDialog(String startDir, boolean localOnly, TQWidget parent); public KDirSelectDialog(String startDir, boolean localOnly) { super((Class) null); newKDirSelectDialog(startDir,localOnly); @@ -86,8 +86,8 @@ public class KDirSelectDialog extends KDialogBase { @short Creates a KDirSelectDialog, and returns the result. */ - public static native KURL selectDirectory(String startDir, boolean localOnly, QWidget parent, String caption); - public static native KURL selectDirectory(String startDir, boolean localOnly, QWidget parent); + public static native KURL selectDirectory(String startDir, boolean localOnly, TQWidget parent, String caption); + public static native KURL selectDirectory(String startDir, boolean localOnly, TQWidget parent); public static native KURL selectDirectory(String startDir, boolean localOnly); public static native KURL selectDirectory(String startDir); public static native KURL selectDirectory(); diff --git a/kdejava/koala/org/kde/koala/KDirSize.java b/kdejava/koala/org/kde/koala/KDirSize.java index 21db1c56..af758fd4 100644 --- a/kdejava/koala/org/kde/koala/KDirSize.java +++ b/kdejava/koala/org/kde/koala/KDirSize.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; @@ -15,7 +15,7 @@ import java.util.ArrayList; */ public class KDirSize extends Job { protected KDirSize(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** @return the size we found diff --git a/kdejava/koala/org/kde/koala/KDirWatch.java b/kdejava/koala/org/kde/koala/KDirWatch.java index 9a94f052..e64c328f 100644 --- a/kdejava/koala/org/kde/koala/KDirWatch.java +++ b/kdejava/koala/org/kde/koala/KDirWatch.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; import java.util.Calendar; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -37,32 +37,32 @@ import org.kde.qt.QObject; @see #self */ -public class KDirWatch extends QObject { +public class KDirWatch extends TQObject { protected KDirWatch(Class dummy){super((Class) null);} public static final int FAM = 0; public static final int DNotify = 1; public static final int Stat = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. Scanning begins immediately when a dir/file watch is added. - @param parent the parent of the QObject (or 0 for parent-less KDataTools) - @param name the name of the QObject, can be 0 + @param parent the parent of the TQObject (or 0 for parent-less KDataTools) + @param name the name of the TQObject, can be 0 @short Constructor. */ - public KDirWatch(QObject parent, String name) { + public KDirWatch(TQObject parent, String name) { super((Class) null); newKDirWatch(parent,name); } - private native void newKDirWatch(QObject parent, String name); - public KDirWatch(QObject parent) { + private native void newKDirWatch(TQObject parent, String name); + public KDirWatch(TQObject parent) { super((Class) null); newKDirWatch(parent); } - private native void newKDirWatch(QObject parent); + private native void newKDirWatch(TQObject parent); public KDirWatch() { super((Class) null); newKDirWatch(); diff --git a/kdejava/koala/org/kde/koala/KDirWatchSignals.java b/kdejava/koala/org/kde/koala/KDirWatchSignals.java index 23f6a6a3..7040e642 100644 --- a/kdejava/koala/org/kde/koala/KDirWatchSignals.java +++ b/kdejava/koala/org/kde/koala/KDirWatchSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; import java.util.Calendar; public interface KDirWatchSignals { diff --git a/kdejava/koala/org/kde/koala/KDiskFreeSp.java b/kdejava/koala/org/kde/koala/KDiskFreeSp.java index 32efa15a..4920caa9 100644 --- a/kdejava/koala/org/kde/koala/KDiskFreeSp.java +++ b/kdejava/koala/org/kde/koala/KDiskFreeSp.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQObject; /** @@ -14,18 +14,18 @@ import org.kde.qt.QObject; @short This class parses the output of "df" to find the disk usage information for a given partition (mount point). */ -public class KDiskFreeSp extends QObject { +public class KDiskFreeSp extends TQObject { protected KDiskFreeSp(Class dummy){super((Class) null);} - public KDiskFreeSp(QObject parent, String name) { + public KDiskFreeSp(TQObject parent, String name) { super((Class) null); newKDiskFreeSp(parent,name); } - private native void newKDiskFreeSp(QObject parent, String name); - public KDiskFreeSp(QObject parent) { + private native void newKDiskFreeSp(TQObject parent, String name); + public KDiskFreeSp(TQObject parent) { super((Class) null); newKDiskFreeSp(parent); } - private native void newKDiskFreeSp(QObject parent); + private native void newKDiskFreeSp(TQObject parent); public KDiskFreeSp() { super((Class) null); newKDiskFreeSp(); diff --git a/kdejava/koala/org/kde/koala/KDiskFreeSpSignals.java b/kdejava/koala/org/kde/koala/KDiskFreeSpSignals.java index 7c2ee803..47b0b6ed 100644 --- a/kdejava/koala/org/kde/koala/KDiskFreeSpSignals.java +++ b/kdejava/koala/org/kde/koala/KDiskFreeSpSignals.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; public interface KDiskFreeSpSignals { void foundMountPoint(String mountPoint, long kBSize, long kBUsed, long kBAvail); diff --git a/kdejava/koala/org/kde/koala/KDockArea.java b/kdejava/koala/org/kde/koala/KDockArea.java index 6f39e9e9..4e567cf4 100644 --- a/kdejava/koala/org/kde/koala/KDockArea.java +++ b/kdejava/koala/org/kde/koala/KDockArea.java @@ -2,32 +2,32 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QDomElement; -import org.kde.qt.QWidget; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQDomElement; +import org.kde.qt.TQWidget; /** See {@link KDockAreaSignals} for signals emitted by KDockArea */ -public class KDockArea extends QWidget { +public class KDockArea extends TQWidget { protected KDockArea(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KDockArea(QWidget parent, String name) { + public KDockArea(TQWidget parent, String name) { super((Class) null); newKDockArea(parent,name); } - private native void newKDockArea(QWidget parent, String name); - public KDockArea(QWidget parent) { + private native void newKDockArea(TQWidget parent, String name); + public KDockArea(TQWidget parent) { super((Class) null); newKDockArea(parent); } - private native void newKDockArea(QWidget parent); + private native void newKDockArea(TQWidget parent); public KDockArea() { super((Class) null); newKDockArea(); @@ -36,12 +36,12 @@ public class KDockArea extends QWidget { public native KDockManager manager(); public native void setMainDockWidget(KDockWidget arg1); public native KDockWidget getMainDockWidget(); - public native KDockWidget createDockWidget(String name, QPixmap pixmap, QWidget parent, String strCaption, String strTabPageLabel); - public native KDockWidget createDockWidget(String name, QPixmap pixmap, QWidget parent, String strCaption); - public native KDockWidget createDockWidget(String name, QPixmap pixmap, QWidget parent); - public native KDockWidget createDockWidget(String name, QPixmap pixmap); - public native void writeDockConfig(QDomElement base); - public native void readDockConfig(QDomElement base); + public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel); + public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent, String strCaption); + public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent); + public native KDockWidget createDockWidget(String name, TQPixmap pixmap); + public native void writeDockConfig(TQDomElement base); + public native void readDockConfig(TQDomElement base); public native void writeDockConfig(KConfig c, String group); public native void writeDockConfig(KConfig c); public native void writeDockConfig(); @@ -49,11 +49,11 @@ public class KDockArea extends QWidget { public native void readDockConfig(KConfig c); public native void readDockConfig(); public native void activateDock(); - public native QPopupMenu dockHideShowMenu(); + public native TQPopupMenu dockHideShowMenu(); public native void makeDockVisible(KDockWidget dock); public native void makeDockInvisible(KDockWidget dock); - public native void makeWidgetDockVisible(QWidget widget); - public native void resizeEvent(QResizeEvent arg1); + public native void makeWidgetDockVisible(TQWidget widget); + public native void resizeEvent(TQResizeEvent arg1); protected native void slotDockWidgetUndocked(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KDockAreaSignals.java b/kdejava/koala/org/kde/koala/KDockAreaSignals.java index 8fb724cd..e68c249a 100644 --- a/kdejava/koala/org/kde/koala/KDockAreaSignals.java +++ b/kdejava/koala/org/kde/koala/KDockAreaSignals.java @@ -1,13 +1,13 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QDomElement; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQDomElement; public interface KDockAreaSignals { /** diff --git a/kdejava/koala/org/kde/koala/KDockMainWindow.java b/kdejava/koala/org/kde/koala/KDockMainWindow.java index 0809f81c..a91401ff 100644 --- a/kdejava/koala/org/kde/koala/KDockMainWindow.java +++ b/kdejava/koala/org/kde/koala/KDockMainWindow.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QWidget; -import org.kde.qt.QDomElement; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDomElement; /** @@ -53,7 +53,7 @@ import org.kde.qt.QDomElement; */ public class KDockMainWindow extends KMainWindow { protected KDockMainWindow(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a dockmainwindow. It calls its base class constructor and does additional things concerning @@ -79,21 +79,21 @@ public class KDockMainWindow extends KMainWindow { @param f Qt.WidgetFlags widget flags @short Constructs a dockmainwindow. */ - public KDockMainWindow(QWidget parent, String name, int f) { + public KDockMainWindow(TQWidget parent, String name, int f) { super((Class) null); newKDockMainWindow(parent,name,f); } - private native void newKDockMainWindow(QWidget parent, String name, int f); - public KDockMainWindow(QWidget parent, String name) { + private native void newKDockMainWindow(TQWidget parent, String name, int f); + public KDockMainWindow(TQWidget parent, String name) { super((Class) null); newKDockMainWindow(parent,name); } - private native void newKDockMainWindow(QWidget parent, String name); - public KDockMainWindow(QWidget parent) { + private native void newKDockMainWindow(TQWidget parent, String name); + public KDockMainWindow(TQWidget parent) { super((Class) null); newKDockMainWindow(parent); } - private native void newKDockMainWindow(QWidget parent); + private native void newKDockMainWindow(TQWidget parent); public KDockMainWindow() { super((Class) null); newKDockMainWindow(); @@ -124,7 +124,7 @@ public class KDockMainWindow extends KMainWindow { This is one of the most important methods! The KDockMainWindow creates a new dockwidget object here that usually should encapsulate the user's widget. The new dockwidget is automatically taken under control by the dockmanager of the dockmainwindow. - @param name QObject name (default dockwidget caption) + @param name TQObject name (default dockwidget caption) @param pixmap window icon (for instance shown when docked as tabwidget entry) @param parent parent widget for the new dockwidget @param strCaption window title (shown when toplevel) @@ -133,20 +133,20 @@ public class KDockMainWindow extends KMainWindow { @short This is one of the most important methods! The KDockMainWindow creates a new dockwidget object here that usually should encapsulate the user's widget. */ - public native KDockWidget createDockWidget(String name, QPixmap pixmap, QWidget parent, String strCaption, String strTabPageLabel); - public native KDockWidget createDockWidget(String name, QPixmap pixmap, QWidget parent, String strCaption); - public native KDockWidget createDockWidget(String name, QPixmap pixmap, QWidget parent); - public native KDockWidget createDockWidget(String name, QPixmap pixmap); + public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel); + public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent, String strCaption); + public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent); + public native KDockWidget createDockWidget(String name, TQPixmap pixmap); /** Saves the current dock window layout into a DOM tree below the given element. @short Saves the current dock window layout into a DOM tree below the given element. */ - public native void writeDockConfig(QDomElement base); + public native void writeDockConfig(TQDomElement base); /** Reads the current dock window layout from a DOM tree below the given element. @short Reads the current dock window layout from a DOM tree below the given element. */ - public native void readDockConfig(QDomElement base); + public native void readDockConfig(TQDomElement base); /** It writes the current dock state in the given section of KConfig. @param c KDE class for saving configurations @@ -168,7 +168,7 @@ public class KDockMainWindow extends KMainWindow { /** It runs through all dockwidgets which are under control of the dockmanager and calls show() for every encapsulated widget and show() for the dockwidget itself if it is not in tab mode. - Additionally, if the main dockwidget is not a QDialog, it will be shown. + Additionally, if the main dockwidget is not a TQDialog, it will be shown. @short It runs through all dockwidgets which are under control of the dockmanager and calls show() for every encapsulated widget and show() for the dockwidget itself if it is not in tab mode. */ public native void activateDock(); @@ -179,7 +179,7 @@ public class KDockMainWindow extends KMainWindow { @short Returns a popup menu that contains entries for all controlled dockwidgets making hiding and showing them possible. */ - public native QPopupMenu dockHideShowMenu(); + public native TQPopupMenu dockHideShowMenu(); /** This method shows the given dockwidget. The clue is that it also considers the dockwidget could be a tab page @@ -199,14 +199,14 @@ public class KDockMainWindow extends KMainWindow { It differs from the above function only in what argument(s) it accepts. @short This is an overloaded member function, provided for convenience. */ - public native void makeWidgetDockVisible(QWidget widget); + public native void makeWidgetDockVisible(TQWidget widget); /** This method calls the base class method. If the given widget inherits KDockWidget, applyToWidget(this) is called. @param widget any widget that should become the main view @short This method calls the base class method. */ - public native void setView(QWidget widget); + public native void setView(TQWidget widget); /** Called whenever one of the dockwidgets of this has been undocked. @short Called whenever one of the dockwidgets of this has been undocked. diff --git a/kdejava/koala/org/kde/koala/KDockMainWindowSignals.java b/kdejava/koala/org/kde/koala/KDockMainWindowSignals.java index cc5c3649..712d4893 100644 --- a/kdejava/koala/org/kde/koala/KDockMainWindowSignals.java +++ b/kdejava/koala/org/kde/koala/KDockMainWindowSignals.java @@ -1,12 +1,12 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QWidget; -import org.kde.qt.QDomElement; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDomElement; public interface KDockMainWindowSignals { /** diff --git a/kdejava/koala/org/kde/koala/KDockManager.java b/kdejava/koala/org/kde/koala/KDockManager.java index 181c589b..b0fa7dac 100644 --- a/kdejava/koala/org/kde/koala/KDockManager.java +++ b/kdejava/koala/org/kde/koala/KDockManager.java @@ -2,14 +2,14 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QDomElement; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDomElement; +import org.kde.qt.TQObject; /** @@ -25,13 +25,13 @@ import org.kde.qt.QObject; @short The manager that knows all dockwidgets and handles the dock process (and member of the dockwidget class set). */ -public class KDockManager extends QObject { +public class KDockManager extends TQObject { protected KDockManager(Class dummy){super((Class) null);} public static final int Unknown = 0; public static final int WrapExistingWidgetsOnly = 1; public static final int RestoreAllDockwidgets = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a dockmanager. Some initialization happen: @@ -52,19 +52,19 @@ public class KDockManager extends QObject { Some state variables are set </li> @param mainWindow the main window controlled by this - @param name the internal QOject name + @param name the internal TQOject name @short Constructs a dockmanager. */ - public KDockManager(QWidget mainWindow, String name) { + public KDockManager(TQWidget mainWindow, String name) { super((Class) null); newKDockManager(mainWindow,name); } - private native void newKDockManager(QWidget mainWindow, String name); - public KDockManager(QWidget mainWindow) { + private native void newKDockManager(TQWidget mainWindow, String name); + public KDockManager(TQWidget mainWindow) { super((Class) null); newKDockManager(mainWindow); } - private native void newKDockManager(QWidget mainWindow); + private native void newKDockManager(TQWidget mainWindow); public native void dumpDockWidgets(); /** Saves the current state of the dockmanager and of all controlled widgets. @@ -82,7 +82,7 @@ public class KDockManager extends QObject { Like writeConfig but reads the whole stuff in. In order to restore a window configuration from a config file, it looks up widgets by name - (QObject.name) in the childDock variable of + (TQObject.name) in the childDock variable of KDockManager. This list in turn contains all KDockWidgets (according to the KDockWidget constructor). So in principle, in order to restore a window layout, @@ -101,12 +101,12 @@ public class KDockManager extends QObject { Saves the current dock window layout into a DOM tree below the given element. @short Saves the current dock window layout into a DOM tree below the given element. */ - public native void writeConfig(QDomElement base); + public native void writeConfig(TQDomElement base); /** Reads the current dock window layout from a DOM tree below the given element. @short Reads the current dock window layout from a DOM tree below the given element. */ - public native void readConfig(QDomElement base); + public native void readConfig(TQDomElement base); /** Shows all encapsulated widgets of all controlled dockwidgets and shows all dockwidgets which are parent of a dockwidget tab group. @@ -122,7 +122,7 @@ public class KDockManager extends QObject { @short It's more or less a method that catches several events which are interesting for the dockmanager. */ - public native boolean eventFilter(QObject object, QEvent event); + public native boolean eventFilter(TQObject object, TQEvent event); /** This method finds out what a widgets' dockwidget is. That means the dockmanager has a look at all dockwidgets it knows and tells you when one of those dockwidgets covers the given widget. @@ -131,22 +131,22 @@ public class KDockManager extends QObject { @short This method finds out what a widgets' dockwidget is. */ - public native KDockWidget findWidgetParentDock(QWidget w); + public native KDockWidget findWidgetParentDock(TQWidget w); /** Works like makeDockVisible() but can be called for widgets that covered by a dockwidget. @param w the widget that is encapsulated by a dockwidget that turns to visible. @short Works like makeDockVisible() but can be called for widgets that covered by a dockwidget. */ - public native void makeWidgetDockVisible(QWidget w); + public native void makeWidgetDockVisible(TQWidget w); /** @return the popupmenu for showing/hiding dockwidgets @short */ - public native QPopupMenu dockHideShowMenu(); + public native TQPopupMenu dockHideShowMenu(); /** - @param dockName an internal QObject name - @return the dockwidget that has got that internal QObject name + @param dockName an internal TQObject name + @return the dockwidget that has got that internal TQObject name @short */ @@ -165,7 +165,7 @@ public class KDockManager extends QObject { public native boolean splitterOpaqueResize(); /** Try to preserve the widget's size. Works like KeepSize resize mode - of QSplitter. Off by default. + of TQSplitter. Off by default. Call this method before you create any dock widgets! @short Try to preserve the widget's size. */ diff --git a/kdejava/koala/org/kde/koala/KDockManagerSignals.java b/kdejava/koala/org/kde/koala/KDockManagerSignals.java index cfbf1755..3cc23e69 100644 --- a/kdejava/koala/org/kde/koala/KDockManagerSignals.java +++ b/kdejava/koala/org/kde/koala/KDockManagerSignals.java @@ -1,13 +1,13 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QDomElement; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDomElement; public interface KDockManagerSignals { /** diff --git a/kdejava/koala/org/kde/koala/KDockTabGroup.java b/kdejava/koala/org/kde/koala/KDockTabGroup.java index 3d660b59..078c3668 100644 --- a/kdejava/koala/org/kde/koala/KDockTabGroup.java +++ b/kdejava/koala/org/kde/koala/KDockTabGroup.java @@ -2,46 +2,46 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QTabWidget; +import org.kde.qt.TQWidget; +import org.kde.qt.TQTabWidget; /** It just hides the special implementation of a dockwidget tab groups (and is member of the dockwidget class set). An abstraction what it is currently. - In general it is like QTabWidget but is more useful for the dockwidget class set. + In general it is like TQTabWidget but is more useful for the dockwidget class set. More or less a minor helper class for the dockwidget class set. @author Max Judin (documentation: Falk Brettschneider). @short It just hides the special implementation of a dockwidget tab groups (and is member of the dockwidget class set). */ -public class KDockTabGroup extends QTabWidget { +public class KDockTabGroup extends TQTabWidget { protected KDockTabGroup(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs this. It just calls the method of the base class. @short Constructs this. */ - public KDockTabGroup(QWidget parent, String name) { + public KDockTabGroup(TQWidget parent, String name) { super((Class) null); newKDockTabGroup(parent,name); } - private native void newKDockTabGroup(QWidget parent, String name); - public KDockTabGroup(QWidget parent) { + private native void newKDockTabGroup(TQWidget parent, String name); + public KDockTabGroup(TQWidget parent) { super((Class) null); newKDockTabGroup(parent); } - private native void newKDockTabGroup(QWidget parent); + private native void newKDockTabGroup(TQWidget parent); public KDockTabGroup() { super((Class) null); newKDockTabGroup(); } private native void newKDockTabGroup(); - public native QWidget transientTo(); + public native TQWidget transientTo(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KDockWidget.java b/kdejava/koala/org/kde/koala/KDockWidget.java index 7bd3868c..9202ead6 100644 --- a/kdejava/koala/org/kde/koala/KDockWidget.java +++ b/kdejava/koala/org/kde/koala/KDockWidget.java @@ -2,15 +2,15 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QPoint; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQPoint; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -35,7 +35,7 @@ import org.kde.qt.QWidget; ... KDockWidget dock = null; dock = mainWidget.createDockWidget( "Any window caption", nicePixmap, null, i18n("window caption")); // null==no parent - QWidget actualWidget = new QWidget( dock); + TQWidget actualWidget = new TQWidget( dock); dock.setWidget( actualWidget); // embed it dock.setToolTipString(i18n("That's me")); // available when appearing as tab page ... @@ -47,7 +47,7 @@ import org.kde.qt.QWidget; @short Floatable widget that can be dragged around with the mouse and encapsulate the actual widgets (and member of the dockwidget class set). */ -public class KDockWidget extends QWidget { +public class KDockWidget extends TQWidget { protected KDockWidget(Class dummy){super((Class) null);} /** The possible positions where a dockwidget can dock to another dockwidget @@ -65,7 +65,7 @@ public class KDockWidget extends QWidget { public static final int DockFullSite = DockCorner|DockCenter; public static final int DockFullDocking = DockFullSite|DockDesktop; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a dockwidget. @@ -81,31 +81,31 @@ public class KDockWidget extends QWidget { @param f Qt.WidgetFlags widget flags @short Construct a dockwidget. */ - public KDockWidget(KDockManager dockManager, String name, QPixmap pixmap, QWidget parent, String strCaption, String strTabPageLabel, int f) { + public KDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel, int f) { super((Class) null); newKDockWidget(dockManager,name,pixmap,parent,strCaption,strTabPageLabel,f); } - private native void newKDockWidget(KDockManager dockManager, String name, QPixmap pixmap, QWidget parent, String strCaption, String strTabPageLabel, int f); - public KDockWidget(KDockManager dockManager, String name, QPixmap pixmap, QWidget parent, String strCaption, String strTabPageLabel) { + private native void newKDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel, int f); + public KDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel) { super((Class) null); newKDockWidget(dockManager,name,pixmap,parent,strCaption,strTabPageLabel); } - private native void newKDockWidget(KDockManager dockManager, String name, QPixmap pixmap, QWidget parent, String strCaption, String strTabPageLabel); - public KDockWidget(KDockManager dockManager, String name, QPixmap pixmap, QWidget parent, String strCaption) { + private native void newKDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel); + public KDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption) { super((Class) null); newKDockWidget(dockManager,name,pixmap,parent,strCaption); } - private native void newKDockWidget(KDockManager dockManager, String name, QPixmap pixmap, QWidget parent, String strCaption); - public KDockWidget(KDockManager dockManager, String name, QPixmap pixmap, QWidget parent) { + private native void newKDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption); + public KDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent) { super((Class) null); newKDockWidget(dockManager,name,pixmap,parent); } - private native void newKDockWidget(KDockManager dockManager, String name, QPixmap pixmap, QWidget parent); - public KDockWidget(KDockManager dockManager, String name, QPixmap pixmap) { + private native void newKDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent); + public KDockWidget(KDockManager dockManager, String name, TQPixmap pixmap) { super((Class) null); newKDockWidget(dockManager,name,pixmap); } - private native void newKDockWidget(KDockManager dockManager, String name, QPixmap pixmap); + private native void newKDockWidget(KDockManager dockManager, String name, TQPixmap pixmap); /** This is a key method of this class! Use it to dock dockwidgets to another dockwidget at the right position within its @@ -128,9 +128,9 @@ public class KDockWidget extends QWidget { @short This is a key method of this class! Use it to dock dockwidgets to another dockwidget at the right position within its KDockMainWindow or a toplevel dockwidget. */ - public native KDockWidget manualDock(KDockWidget target, int dockPos, int spliPos, QPoint pos, boolean check, int tabIndex); - public native KDockWidget manualDock(KDockWidget target, int dockPos, int spliPos, QPoint pos, boolean check); - public native KDockWidget manualDock(KDockWidget target, int dockPos, int spliPos, QPoint pos); + public native KDockWidget manualDock(KDockWidget target, int dockPos, int spliPos, TQPoint pos, boolean check, int tabIndex); + public native KDockWidget manualDock(KDockWidget target, int dockPos, int spliPos, TQPoint pos, boolean check); + public native KDockWidget manualDock(KDockWidget target, int dockPos, int spliPos, TQPoint pos); public native KDockWidget manualDock(KDockWidget target, int dockPos, int spliPos); public native KDockWidget manualDock(KDockWidget target, int dockPos); /** @@ -159,21 +159,21 @@ public class KDockWidget extends QWidget { public native int dockSite(); /** Sets the embedded widget. - A QLayout takes care about proper resizing, automatically. + A TQLayout takes care about proper resizing, automatically. @param w The pointer to the dockwidget's child widget. @short Sets the embedded widget. */ - public native void setWidget(QWidget w); + public native void setWidget(TQWidget w); /** Get the embedded widget. @return The pointer to the dockwidget's child widget, 0L if there's no such child. @short Get the embedded widget. */ - public native QWidget getWidget(); + public native TQWidget getWidget(); /** Sets the header of this dockwidget. - A QLayout takes care about proper resizing, automatically. + A TQLayout takes care about proper resizing, automatically. The header contains the drag panel, the close button and the stay button. @param ah A base class pointer to the dockwidget header @short Sets the header of this dockwidget. @@ -273,13 +273,13 @@ public class KDockWidget extends QWidget { */ public native String tabPageLabel(); /** - Catches and processes some QWidget events that are interesting for dockwidgets. - @short Catches and processes some QWidget events that are interesting for dockwidgets. + Catches and processes some TQWidget events that are interesting for dockwidgets. + @short Catches and processes some TQWidget events that are interesting for dockwidgets. */ - public native boolean event(QEvent arg1); + public native boolean event(TQEvent arg1); /** - Add dockwidget management actions to QWidget.show. - @short Add dockwidget management actions to QWidget.show. + Add dockwidget management actions to TQWidget.show. + @short Add dockwidget management actions to TQWidget.show. */ public native void show(); /** @@ -288,19 +288,19 @@ public class KDockWidget extends QWidget { @short */ public native KDockTabGroup parentDockTabGroup(); - public native QWidget parentDockContainer(); + public native TQWidget parentDockContainer(); /** Sets the type of the dock window @param windowType is type of dock window @short Sets the type of the dock window */ public native void setDockWindowType(int windowType); - public native void setDockWindowTransient(QWidget parent, boolean transientEnabled); + public native void setDockWindowTransient(TQWidget parent, boolean transientEnabled); /** Returns the widget this dockwidget is set transient to, otherwise 0 @short Returns the widget this dockwidget is set transient to, otherwise 0 */ - public native QWidget transientTo(); + public native TQWidget transientTo(); /** Lookup the nearest dockwidget docked left/right/top/bottom to this one or return 0 @param pos is the position the wanted widget is docked to this one @@ -312,13 +312,13 @@ public class KDockWidget extends QWidget { @param pixmap is the pixmap to set @short Allows changing the pixmap which is used for the caption or dock tabs */ - public native void setPixmap(QPixmap pixmap); + public native void setPixmap(TQPixmap pixmap); public native void setPixmap(); /** Returns the dockwidget's associated caption/dock tab pixmap @short Returns the dockwidget's associated caption/dock tab pixmap */ - public native QPixmap pixmap(); + public native TQPixmap pixmap(); /** @return the current dock position. @@ -383,8 +383,8 @@ public class KDockWidget extends QWidget { </li> @short Checks some conditions and shows or hides the dockwidget header (drag panel). */ protected native void updateHeader(); - protected native void setLatestKDockContainer(QWidget arg1); - protected native QWidget latestKDockContainer(); + protected native void setLatestKDockContainer(TQWidget arg1); + protected native TQWidget latestKDockContainer(); protected native void setFormerBrotherDockWidget(KDockWidget arg1); /** Does several things here when it has noticed that the former brother widget (closest neighbor) gets lost. The former brother widget is needed for a possible dockback action, to speak with the Beatles: @@ -392,11 +392,11 @@ public class KDockWidget extends QWidget { @short Does several things here when it has noticed that the former brother widget (closest neighbor) gets lost. */ protected native void loseFormerBrotherDockWidget(); - protected native void paintEvent(QPaintEvent arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void leaveEvent(QEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void leaveEvent(TQEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeader.java b/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeader.java index 980b9ac6..218bbdec 100644 --- a/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeader.java +++ b/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeader.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QFrame; +import org.kde.qt.TQFrame; /** @@ -16,9 +16,9 @@ import org.kde.qt.QFrame; @short An abstract base clase for all dockwidget headers (and member of the dockwidget class set). */ -public class KDockWidgetAbstractHeader extends QFrame { +public class KDockWidgetAbstractHeader extends TQFrame { protected KDockWidgetAbstractHeader(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs this. diff --git a/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeaderDrag.java b/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeaderDrag.java index f421d07b..bdd75e63 100644 --- a/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeaderDrag.java +++ b/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeaderDrag.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QFrame; +import org.kde.qt.TQFrame; /** @@ -16,9 +16,9 @@ import org.kde.qt.QFrame; @short An abstract class for all dockwidget drag-panels of a dockwidgets (and member of the dockwidget class set). */ -public class KDockWidgetAbstractHeaderDrag extends QFrame { +public class KDockWidgetAbstractHeaderDrag extends TQFrame { protected KDockWidgetAbstractHeaderDrag(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs this. diff --git a/kdejava/koala/org/kde/koala/KDockWidgetHeader.java b/kdejava/koala/org/kde/koala/KDockWidgetHeader.java index 97c19bbb..46bdb0c3 100644 --- a/kdejava/koala/org/kde/koala/KDockWidgetHeader.java +++ b/kdejava/koala/org/kde/koala/KDockWidgetHeader.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; /** @@ -17,7 +17,7 @@ import org.kde.qt.QtSupport; */ public class KDockWidgetHeader extends KDockWidgetAbstractHeader { protected KDockWidgetHeader(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs this. diff --git a/kdejava/koala/org/kde/koala/KDockWidgetHeaderDrag.java b/kdejava/koala/org/kde/koala/KDockWidgetHeaderDrag.java index f42f2e78..ffb698c5 100644 --- a/kdejava/koala/org/kde/koala/KDockWidgetHeaderDrag.java +++ b/kdejava/koala/org/kde/koala/KDockWidgetHeaderDrag.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPaintEvent; +import org.kde.qt.TQPaintEvent; /** @@ -19,7 +19,7 @@ import org.kde.qt.QPaintEvent; */ public class KDockWidgetHeaderDrag extends KDockWidgetAbstractHeaderDrag { protected KDockWidgetHeaderDrag(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs this. @@ -42,7 +42,7 @@ public class KDockWidgetHeaderDrag extends KDockWidgetAbstractHeaderDrag { Draws the drag panel (a double line) @short Draws the drag panel (a double line) */ - protected native void paintEvent(QPaintEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KDockWidgetSignals.java b/kdejava/koala/org/kde/koala/KDockWidgetSignals.java index a0c594d5..65a45469 100644 --- a/kdejava/koala/org/kde/koala/KDockWidgetSignals.java +++ b/kdejava/koala/org/kde/koala/KDockWidgetSignals.java @@ -1,20 +1,20 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QPoint; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQPoint; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; public interface KDockWidgetSignals { /** @short */ - void widgetSet(QWidget arg1); + void widgetSet(TQWidget arg1); /** Emitted when another dock widget is docking to this. @param dw the dockwidget that is docking to this diff --git a/kdejava/koala/org/kde/koala/KDoubleNumInput.java b/kdejava/koala/org/kde/koala/KDoubleNumInput.java index 9b5bfe21..4df5264e 100644 --- a/kdejava/koala/org/kde/koala/KDoubleNumInput.java +++ b/kdejava/koala/org/kde/koala/KDoubleNumInput.java @@ -2,17 +2,17 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QSize; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQObject; +import org.kde.qt.TQSize; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; /** - KDoubleNumInput combines a QSpinBox and optionally a QSlider + KDoubleNumInput combines a TQSpinBox and optionally a TQSlider with a label to make an easy to use control for setting some float parameter. This is especially nice for configuration dialogs, which can have many such combinated controls. @@ -22,7 +22,7 @@ import org.kde.qt.QResizeEvent; A special feature of KDoubleNumInput, designed specifically for the situation when there are several instances in a column, is that you can specify what portion of the control is taken by the - QSpinBox (the remaining portion is used by the slider). This makes + TQSpinBox (the remaining portion is used by the slider). This makes it very simple to have all the sliders in a column be the same size. It uses the KDoubleValidator validator class. KDoubleNumInput enforces the value to be in the given range, but see the class @@ -37,23 +37,23 @@ import org.kde.qt.QResizeEvent; */ public class KDoubleNumInput extends KNumInput { protected KDoubleNumInput(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs an input control for double values with initial value 0.00. @short Constructs an input control for double values with initial value 0. */ - public KDoubleNumInput(QWidget parent, String name) { + public KDoubleNumInput(TQWidget parent, String name) { super((Class) null); newKDoubleNumInput(parent,name); } - private native void newKDoubleNumInput(QWidget parent, String name); - public KDoubleNumInput(QWidget parent) { + private native void newKDoubleNumInput(TQWidget parent, String name); + public KDoubleNumInput(TQWidget parent) { super((Class) null); newKDoubleNumInput(parent); } - private native void newKDoubleNumInput(QWidget parent); + private native void newKDoubleNumInput(TQWidget parent); public KDoubleNumInput() { super((Class) null); newKDoubleNumInput(); @@ -66,20 +66,20 @@ public class KDoubleNumInput extends KNumInput { @param value initial value for the control @param step step size to use for up/down arrow clicks @param precision number of digits after the decimal point - @param parent parent QWidget + @param parent parent TQWidget @param name internal name for this widget @short Constructor */ - public KDoubleNumInput(double lower, double upper, double value, double step, int precision, QWidget parent, String name) { + public KDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent, String name) { super((Class) null); newKDoubleNumInput(lower,upper,value,step,precision,parent,name); } - private native void newKDoubleNumInput(double lower, double upper, double value, double step, int precision, QWidget parent, String name); - public KDoubleNumInput(double lower, double upper, double value, double step, int precision, QWidget parent) { + private native void newKDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent, String name); + public KDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent) { super((Class) null); newKDoubleNumInput(lower,upper,value,step,precision,parent); } - private native void newKDoubleNumInput(double lower, double upper, double value, double step, int precision, QWidget parent); + private native void newKDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent); public KDoubleNumInput(double lower, double upper, double value, double step, int precision) { super((Class) null); newKDoubleNumInput(lower,upper,value,step,precision); @@ -110,20 +110,20 @@ public class KDoubleNumInput extends KNumInput { @param value initial value for the control @param step step size to use for up/down arrow clicks @param precision number of digits after the decimal point - @param parent parent QWidget + @param parent parent TQWidget @param name internal name for this widget @short Constructor */ - public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, QWidget parent, String name) { + public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent, String name) { super((Class) null); newKDoubleNumInput(below,lower,upper,value,step,precision,parent,name); } - private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, QWidget parent, String name); - public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, QWidget parent) { + private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent, String name); + public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent) { super((Class) null); newKDoubleNumInput(below,lower,upper,value,step,precision,parent); } - private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, QWidget parent); + private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent); public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision) { super((Class) null); newKDoubleNumInput(below,lower,upper,value,step,precision); @@ -176,7 +176,7 @@ public class KDoubleNumInput extends KNumInput { /** @param min minimum value @param max maximum value - @param step step size for the QSlider + @param step step size for the TQSlider @param slider whether the slider is created or not @short */ @@ -232,8 +232,8 @@ public class KDoubleNumInput extends KNumInput { public native void setSpecialValueText(String text); public native void setLabel(String label, int a); public native void setLabel(String label); - public native QSize minimumSizeHint(); - public native boolean eventFilter(QObject arg1, QEvent arg2); + public native TQSize minimumSizeHint(); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); /** Sets the value of the control. @short Sets the value of the control. @@ -269,7 +269,7 @@ public class KDoubleNumInput extends KNumInput { */ public native void setPrefix(String prefix); protected native void doLayout(); - protected native void resizeEvent(QResizeEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); protected native void resetEditBox(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KDoubleNumInputSignals.java b/kdejava/koala/org/kde/koala/KDoubleNumInputSignals.java index c99bf669..1905387b 100644 --- a/kdejava/koala/org/kde/koala/KDoubleNumInputSignals.java +++ b/kdejava/koala/org/kde/koala/KDoubleNumInputSignals.java @@ -1,13 +1,13 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QSize; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQObject; +import org.kde.qt.TQSize; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; public interface KDoubleNumInputSignals { /** diff --git a/kdejava/koala/org/kde/koala/KDoubleValidator.java b/kdejava/koala/org/kde/koala/KDoubleValidator.java index 003b1d07..a97ad42e 100644 --- a/kdejava/koala/org/kde/koala/KDoubleValidator.java +++ b/kdejava/koala/org/kde/koala/KDoubleValidator.java @@ -2,54 +2,54 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QDoubleValidator; +import org.kde.qt.TQObject; +import org.kde.qt.TQDoubleValidator; /** - KDoubleValidator extends QDoubleValidator to be + KDoubleValidator extends TQDoubleValidator to be locale-aware. That means that - subject to not being disabled - KLocale.decimalSymbol(), KLocale.thousandsSeparator() and KLocale.positiveSign() and KLocale.negativeSign() are respected. @author Marc Mutz <mutz@kde.org> - @short A locale-aware QDoubleValidator. + @short A locale-aware TQDoubleValidator. @see KIntValidator */ -public class KDoubleValidator extends QDoubleValidator { +public class KDoubleValidator extends TQDoubleValidator { protected KDoubleValidator(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constuct a locale-aware KDoubleValidator with default range - (whatever QDoubleValidator uses for that) and parent <code>parent</code> @short Constuct a locale-aware KDoubleValidator with default range (whatever QDoubleValidator uses for that) and parent <code>parent</code> + (whatever TQDoubleValidator uses for that) and parent <code>parent</code> @short Constuct a locale-aware KDoubleValidator with default range (whatever TQDoubleValidator uses for that) and parent <code>parent</code> */ - public KDoubleValidator(QObject parent, String name) { + public KDoubleValidator(TQObject parent, String name) { super((Class) null); newKDoubleValidator(parent,name); } - private native void newKDoubleValidator(QObject parent, String name); - public KDoubleValidator(QObject parent) { + private native void newKDoubleValidator(TQObject parent, String name); + public KDoubleValidator(TQObject parent) { super((Class) null); newKDoubleValidator(parent); } - private native void newKDoubleValidator(QObject parent); + private native void newKDoubleValidator(TQObject parent); /** Constuct a locale-aware KDoubleValidator for range [<code>bottom</code>,<code>top</code>] and a precision of <code>decimals</code> decimals after the decimal point. @short Constuct a locale-aware KDoubleValidator for range [<code>bottom</code>,<code>top</code>] and a precision of <code>decimals</code> decimals after the decimal point. */ - public KDoubleValidator(double bottom, double top, int decimals, QObject parent, String name) { + public KDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name) { super((Class) null); newKDoubleValidator(bottom,top,decimals,parent,name); } - private native void newKDoubleValidator(double bottom, double top, int decimals, QObject parent, String name); - public KDoubleValidator(double bottom, double top, int decimals, QObject parent) { + private native void newKDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name); + public KDoubleValidator(double bottom, double top, int decimals, TQObject parent) { super((Class) null); newKDoubleValidator(bottom,top,decimals,parent); } - private native void newKDoubleValidator(double bottom, double top, int decimals, QObject parent); + private native void newKDoubleValidator(double bottom, double top, int decimals, TQObject parent); /** Overloaded for internal reasons. The API is not affected. @short Overloaded for internal reasons. */ public native int validate(StringBuffer input, int[] pos); diff --git a/kdejava/koala/org/kde/koala/KDualColorButton.java b/kdejava/koala/org/kde/koala/KDualColorButton.java index 48ebbba9..03474bf4 100644 --- a/kdejava/koala/org/kde/koala/KDualColorButton.java +++ b/kdejava/koala/org/kde/koala/KDualColorButton.java @@ -2,17 +2,17 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QSize; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQSize; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -34,33 +34,33 @@ import org.kde.qt.QWidget; @short A widget for selecting two related colors. */ -public class KDualColorButton extends QWidget { +public class KDualColorButton extends TQWidget { protected KDualColorButton(Class dummy){super((Class) null);} public static final int Foreground = 0; public static final int Background = 1; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a new KDualColorButton using the default black and white colors. @short Constructs a new KDualColorButton using the default black and white colors. */ - public KDualColorButton(QWidget parent, String name, QWidget dialogParent) { + public KDualColorButton(TQWidget parent, String name, TQWidget dialogParent) { super((Class) null); newKDualColorButton(parent,name,dialogParent); } - private native void newKDualColorButton(QWidget parent, String name, QWidget dialogParent); - public KDualColorButton(QWidget parent, String name) { + private native void newKDualColorButton(TQWidget parent, String name, TQWidget dialogParent); + public KDualColorButton(TQWidget parent, String name) { super((Class) null); newKDualColorButton(parent,name); } - private native void newKDualColorButton(QWidget parent, String name); - public KDualColorButton(QWidget parent) { + private native void newKDualColorButton(TQWidget parent, String name); + public KDualColorButton(TQWidget parent) { super((Class) null); newKDualColorButton(parent); } - private native void newKDualColorButton(QWidget parent); + private native void newKDualColorButton(TQWidget parent); public KDualColorButton() { super((Class) null); newKDualColorButton(); @@ -71,36 +71,36 @@ public class KDualColorButton extends QWidget { background colors. @short Constructs a new KDualColorButton with the supplied foreground and background colors. */ - public KDualColorButton(QColor fgColor, QColor bgColor, QWidget parent, String name, QWidget dialogParent) { + public KDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent, String name, TQWidget dialogParent) { super((Class) null); newKDualColorButton(fgColor,bgColor,parent,name,dialogParent); } - private native void newKDualColorButton(QColor fgColor, QColor bgColor, QWidget parent, String name, QWidget dialogParent); - public KDualColorButton(QColor fgColor, QColor bgColor, QWidget parent, String name) { + private native void newKDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent, String name, TQWidget dialogParent); + public KDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent, String name) { super((Class) null); newKDualColorButton(fgColor,bgColor,parent,name); } - private native void newKDualColorButton(QColor fgColor, QColor bgColor, QWidget parent, String name); - public KDualColorButton(QColor fgColor, QColor bgColor, QWidget parent) { + private native void newKDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent, String name); + public KDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent) { super((Class) null); newKDualColorButton(fgColor,bgColor,parent); } - private native void newKDualColorButton(QColor fgColor, QColor bgColor, QWidget parent); - public KDualColorButton(QColor fgColor, QColor bgColor) { + private native void newKDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent); + public KDualColorButton(TQColor fgColor, TQColor bgColor) { super((Class) null); newKDualColorButton(fgColor,bgColor); } - private native void newKDualColorButton(QColor fgColor, QColor bgColor); + private native void newKDualColorButton(TQColor fgColor, TQColor bgColor); /** Returns the current foreground color. @short Returns the current foreground color. */ - public native QColor foreground(); + public native TQColor foreground(); /** Returns the current background color. @short Returns the current background color. */ - public native QColor background(); + public native TQColor background(); /** Returns the current color item selected by the user. @short Returns the current color item selected by the user. @@ -110,23 +110,23 @@ public class KDualColorButton extends QWidget { Returns the color of the selected item. @short Returns the color of the selected item. */ - public native QColor currentColor(); + public native TQColor currentColor(); /** Returns the minimum size needed to display the widget and all its controls. @short Returns the minimum size needed to display the widget and all its controls. */ - public native QSize sizeHint(); + public native TQSize sizeHint(); /** Sets the foreground color. @short Sets the foreground color. */ - public native void setForeground(QColor c); + public native void setForeground(TQColor c); /** Sets the background color. @short Sets the background color. */ - public native void setBackground(QColor c); + public native void setBackground(TQColor c); /** Sets the current selected color item. @short Sets the current selected color item. @@ -136,7 +136,7 @@ public class KDualColorButton extends QWidget { Sets the color of the selected item. @short Sets the color of the selected item. */ - public native void setCurrentColor(QColor c); + public native void setCurrentColor(TQColor c); /** Sets the supplied rectangles to the proper size and position for the current widget size. You can reimplement this to change the layout @@ -145,13 +145,13 @@ public class KDualColorButton extends QWidget { left, and you must leave at least a 14x14 space in those corners. @short Sets the supplied rectangles to the proper size and position for the current widget size. */ - protected native void metrics(QRect fgRect, QRect bgRect); - protected native void paintEvent(QPaintEvent ev); - protected native void mousePressEvent(QMouseEvent ev); - protected native void mouseMoveEvent(QMouseEvent ev); - protected native void mouseReleaseEvent(QMouseEvent ev); - protected native void dragEnterEvent(QDragEnterEvent ev); - protected native void dropEvent(QDropEvent ev); + protected native void metrics(TQRect fgRect, TQRect bgRect); + protected native void paintEvent(TQPaintEvent ev); + protected native void mousePressEvent(TQMouseEvent ev); + protected native void mouseMoveEvent(TQMouseEvent ev); + protected native void mouseReleaseEvent(TQMouseEvent ev); + protected native void dragEnterEvent(TQDragEnterEvent ev); + protected native void dropEvent(TQDropEvent ev); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KDualColorButtonSignals.java b/kdejava/koala/org/kde/koala/KDualColorButtonSignals.java index 311f056b..1c67bd27 100644 --- a/kdejava/koala/org/kde/koala/KDualColorButtonSignals.java +++ b/kdejava/koala/org/kde/koala/KDualColorButtonSignals.java @@ -1,28 +1,28 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QSize; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQSize; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; public interface KDualColorButtonSignals { /** Emitted when the foreground color is changed. @short Emitted when the foreground color is changed. */ - void fgChanged(QColor c); + void fgChanged(TQColor c); /** Emitted when the background color is changed. @short Emitted when the background color is changed. */ - void bgChanged(QColor c); + void bgChanged(TQColor c); /** Emitted when the user changes the current color selection. @short Emitted when the user changes the current color selection. diff --git a/kdejava/koala/org/kde/koala/KEdFind.java b/kdejava/koala/org/kde/koala/KEdFind.java index 2b240618..de1d8222 100644 --- a/kdejava/koala/org/kde/koala/KEdFind.java +++ b/kdejava/koala/org/kde/koala/KEdFind.java @@ -2,32 +2,32 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** See {@link KEdFindSignals} for signals emitted by KEdFind */ public class KEdFind extends KDialogBase { protected KEdFind(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KEdFind(QWidget parent, String name, boolean modal) { + public KEdFind(TQWidget parent, String name, boolean modal) { super((Class) null); newKEdFind(parent,name,modal); } - private native void newKEdFind(QWidget parent, String name, boolean modal); - public KEdFind(QWidget parent, String name) { + private native void newKEdFind(TQWidget parent, String name, boolean modal); + public KEdFind(TQWidget parent, String name) { super((Class) null); newKEdFind(parent,name); } - private native void newKEdFind(QWidget parent, String name); - public KEdFind(QWidget parent) { + private native void newKEdFind(TQWidget parent, String name); + public KEdFind(TQWidget parent) { super((Class) null); newKEdFind(parent); } - private native void newKEdFind(QWidget parent); + private native void newKEdFind(TQWidget parent); public KEdFind() { super((Class) null); newKEdFind(); diff --git a/kdejava/koala/org/kde/koala/KEdFindSignals.java b/kdejava/koala/org/kde/koala/KEdFindSignals.java index 2320603e..c92e23ef 100644 --- a/kdejava/koala/org/kde/koala/KEdFindSignals.java +++ b/kdejava/koala/org/kde/koala/KEdFindSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KEdFindSignals { void search(); diff --git a/kdejava/koala/org/kde/koala/KEdGotoLine.java b/kdejava/koala/org/kde/koala/KEdGotoLine.java index dad2bdcb..92ec622e 100644 --- a/kdejava/koala/org/kde/koala/KEdGotoLine.java +++ b/kdejava/koala/org/kde/koala/KEdGotoLine.java @@ -2,31 +2,31 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** */ public class KEdGotoLine extends KDialogBase { protected KEdGotoLine(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KEdGotoLine(QWidget parent, String name, boolean modal) { + public KEdGotoLine(TQWidget parent, String name, boolean modal) { super((Class) null); newKEdGotoLine(parent,name,modal); } - private native void newKEdGotoLine(QWidget parent, String name, boolean modal); - public KEdGotoLine(QWidget parent, String name) { + private native void newKEdGotoLine(TQWidget parent, String name, boolean modal); + public KEdGotoLine(TQWidget parent, String name) { super((Class) null); newKEdGotoLine(parent,name); } - private native void newKEdGotoLine(QWidget parent, String name); - public KEdGotoLine(QWidget parent) { + private native void newKEdGotoLine(TQWidget parent, String name); + public KEdGotoLine(TQWidget parent) { super((Class) null); newKEdGotoLine(parent); } - private native void newKEdGotoLine(QWidget parent); + private native void newKEdGotoLine(TQWidget parent); public KEdGotoLine() { super((Class) null); newKEdGotoLine(); diff --git a/kdejava/koala/org/kde/koala/KEdReplace.java b/kdejava/koala/org/kde/koala/KEdReplace.java index f57387da..3af8fbab 100644 --- a/kdejava/koala/org/kde/koala/KEdReplace.java +++ b/kdejava/koala/org/kde/koala/KEdReplace.java @@ -2,32 +2,32 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** See {@link KEdReplaceSignals} for signals emitted by KEdReplace */ public class KEdReplace extends KDialogBase { protected KEdReplace(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KEdReplace(QWidget parent, String name, boolean modal) { + public KEdReplace(TQWidget parent, String name, boolean modal) { super((Class) null); newKEdReplace(parent,name,modal); } - private native void newKEdReplace(QWidget parent, String name, boolean modal); - public KEdReplace(QWidget parent, String name) { + private native void newKEdReplace(TQWidget parent, String name, boolean modal); + public KEdReplace(TQWidget parent, String name) { super((Class) null); newKEdReplace(parent,name); } - private native void newKEdReplace(QWidget parent, String name); - public KEdReplace(QWidget parent) { + private native void newKEdReplace(TQWidget parent, String name); + public KEdReplace(TQWidget parent) { super((Class) null); newKEdReplace(parent); } - private native void newKEdReplace(QWidget parent); + private native void newKEdReplace(TQWidget parent); public KEdReplace() { super((Class) null); newKEdReplace(); diff --git a/kdejava/koala/org/kde/koala/KEdReplaceSignals.java b/kdejava/koala/org/kde/koala/KEdReplaceSignals.java index bd7cc525..0a451f36 100644 --- a/kdejava/koala/org/kde/koala/KEdReplaceSignals.java +++ b/kdejava/koala/org/kde/koala/KEdReplaceSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KEdReplaceSignals { void replace(); diff --git a/kdejava/koala/org/kde/koala/KEdit.java b/kdejava/koala/org/kde/koala/KEdit.java index 4b6d9cb3..b6e52757 100644 --- a/kdejava/koala/org/kde/koala/KEdit.java +++ b/kdejava/koala/org/kde/koala/KEdit.java @@ -2,19 +2,19 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QPoint; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QCursor; -import org.kde.qt.QDropEvent; -import org.kde.qt.QTextStream; -import org.kde.qt.QWidget; -import org.kde.qt.QMultiLineEdit; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQPoint; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQCursor; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQTextStream; +import org.kde.qt.TQWidget; +import org.kde.qt.TQMultiLineEdit; /** @@ -25,7 +25,7 @@ import org.kde.qt.QMultiLineEdit; @short A simple text editor for the %KDE project. */ -public class KEdit extends QMultiLineEdit { +public class KEdit extends TQMultiLineEdit { protected KEdit(Class dummy){super((Class) null);} /** Search directions. @@ -35,22 +35,22 @@ public class KEdit extends QMultiLineEdit { public static final int FORWARD = 1; public static final int BACKWARD = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** The usual constructor. @short The usual constructor. */ - public KEdit(QWidget _parent, String name) { + public KEdit(TQWidget _parent, String name) { super((Class) null); newKEdit(_parent,name); } - private native void newKEdit(QWidget _parent, String name); - public KEdit(QWidget _parent) { + private native void newKEdit(TQWidget _parent, String name); + public KEdit(TQWidget _parent) { super((Class) null); newKEdit(_parent); } - private native void newKEdit(QWidget _parent); + private native void newKEdit(TQWidget _parent); public KEdit() { super((Class) null); newKEdit(); @@ -60,15 +60,15 @@ public class KEdit extends QMultiLineEdit { Insert text from the text stream into the edit widget. @short Insert text from the text stream into the edit widget. */ - public native void insertText(QTextStream arg1); + public native void insertText(TQTextStream arg1); /** Save text from the edit widget to a text stream. If <code>softWrap</code> is false soft line wrappings are replaced with line-feeds If <code>softWrap</code> is true soft line wrappings are ignored. @short Save text from the edit widget to a text stream. */ - public native void saveText(QTextStream arg1, boolean softWrap); - public native void saveText(QTextStream arg1); + public native void saveText(TQTextStream arg1, boolean softWrap); + public native void saveText(TQTextStream arg1); /** Let the user select a font and set the font of the textwidget to that selected font. @@ -109,7 +109,7 @@ public class KEdit extends QMultiLineEdit { The Popup Menu will be activated on a right mouse button press event. @short Install a context menu for KEdit. */ - public native void installRBPopup(QPopupMenu arg1); + public native void installRBPopup(TQPopupMenu arg1); /** Retrieve the current line number. The current line is the line the cursor is on. @@ -119,7 +119,7 @@ public class KEdit extends QMultiLineEdit { /** Retrieve the actual column number the cursor is on. This call differs - from QMultiLineEdit.getCursorPosition() in that it returns the actual cursor + from TQMultiLineEdit.getCursorPosition() in that it returns the actual cursor position and not the character position. Use currentLine() and currentColumn() if you want to display the current line or column in the status bar for example. @@ -144,7 +144,7 @@ public class KEdit extends QMultiLineEdit { */ public native void setOverwriteEnabled(boolean b); public native String selectWordUnderCursor(); - public native QPopupMenu createPopupMenu(QPoint pos); + public native TQPopupMenu createPopupMenu(TQPoint pos); public native void setAutoUpdate(boolean b); /** @short @@ -175,15 +175,15 @@ public class KEdit extends QMultiLineEdit { @short Reimplemented for internal reasons, the API is not affected. */ public native void ensureCursorVisible(); - public native void setCursor(QCursor arg1); - protected native void viewportPaintEvent(QPaintEvent arg1); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void dragMoveEvent(QDragMoveEvent e); - protected native void dragEnterEvent(QDragEnterEvent e); - protected native void dropEvent(QDropEvent e); - protected native void contentsDragMoveEvent(QDragMoveEvent e); - protected native void contentsDragEnterEvent(QDragEnterEvent e); - protected native void contentsDropEvent(QDropEvent e); + public native void setCursor(TQCursor arg1); + protected native void viewportPaintEvent(TQPaintEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void dragMoveEvent(TQDragMoveEvent e); + protected native void dragEnterEvent(TQDragEnterEvent e); + protected native void dropEvent(TQDropEvent e); + protected native void contentsDragMoveEvent(TQDragMoveEvent e); + protected native void contentsDragEnterEvent(TQDragEnterEvent e); + protected native void contentsDropEvent(TQDropEvent e); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KEditListBox.java b/kdejava/koala/org/kde/koala/KEditListBox.java index ed816112..26377d58 100644 --- a/kdejava/koala/org/kde/koala/KEditListBox.java +++ b/kdejava/koala/org/kde/koala/KEditListBox.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QListBox; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQListBox; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QPushButton; -import org.kde.qt.QWidget; -import org.kde.qt.QGroupBox; +import org.kde.qt.TQPushButton; +import org.kde.qt.TQWidget; +import org.kde.qt.TQGroupBox; /** @@ -22,7 +22,7 @@ import org.kde.qt.QGroupBox; @short An editable listbox */ -public class KEditListBox extends QGroupBox { +public class KEditListBox extends TQGroupBox { protected KEditListBox(Class dummy){super((Class) null);} /** @@ -36,7 +36,7 @@ public class KEditListBox extends QGroupBox { public static final int All = Add|Remove|UpDown; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create an editable listbox. @@ -50,26 +50,26 @@ public class KEditListBox extends QGroupBox { possible to enter items twice into the listbox. @short Create an editable listbox. */ - public KEditListBox(QWidget parent, String name, boolean checkAtEntering, int buttons) { + public KEditListBox(TQWidget parent, String name, boolean checkAtEntering, int buttons) { super((Class) null); newKEditListBox(parent,name,checkAtEntering,buttons); } - private native void newKEditListBox(QWidget parent, String name, boolean checkAtEntering, int buttons); - public KEditListBox(QWidget parent, String name, boolean checkAtEntering) { + private native void newKEditListBox(TQWidget parent, String name, boolean checkAtEntering, int buttons); + public KEditListBox(TQWidget parent, String name, boolean checkAtEntering) { super((Class) null); newKEditListBox(parent,name,checkAtEntering); } - private native void newKEditListBox(QWidget parent, String name, boolean checkAtEntering); - public KEditListBox(QWidget parent, String name) { + private native void newKEditListBox(TQWidget parent, String name, boolean checkAtEntering); + public KEditListBox(TQWidget parent, String name) { super((Class) null); newKEditListBox(parent,name); } - private native void newKEditListBox(QWidget parent, String name); - public KEditListBox(QWidget parent) { + private native void newKEditListBox(TQWidget parent, String name); + public KEditListBox(TQWidget parent) { super((Class) null); newKEditListBox(parent); } - private native void newKEditListBox(QWidget parent); + private native void newKEditListBox(TQWidget parent); public KEditListBox() { super((Class) null); newKEditListBox(); @@ -81,26 +81,26 @@ public class KEditListBox extends QGroupBox { <code>title</code>, which will be the title of the frame around the listbox. @short Create an editable listbox. */ - public KEditListBox(String title, QWidget parent, String name, boolean checkAtEntering, int buttons) { + public KEditListBox(String title, TQWidget parent, String name, boolean checkAtEntering, int buttons) { super((Class) null); newKEditListBox(title,parent,name,checkAtEntering,buttons); } - private native void newKEditListBox(String title, QWidget parent, String name, boolean checkAtEntering, int buttons); - public KEditListBox(String title, QWidget parent, String name, boolean checkAtEntering) { + private native void newKEditListBox(String title, TQWidget parent, String name, boolean checkAtEntering, int buttons); + public KEditListBox(String title, TQWidget parent, String name, boolean checkAtEntering) { super((Class) null); newKEditListBox(title,parent,name,checkAtEntering); } - private native void newKEditListBox(String title, QWidget parent, String name, boolean checkAtEntering); - public KEditListBox(String title, QWidget parent, String name) { + private native void newKEditListBox(String title, TQWidget parent, String name, boolean checkAtEntering); + public KEditListBox(String title, TQWidget parent, String name) { super((Class) null); newKEditListBox(title,parent,name); } - private native void newKEditListBox(String title, QWidget parent, String name); - public KEditListBox(String title, QWidget parent) { + private native void newKEditListBox(String title, TQWidget parent, String name); + public KEditListBox(String title, TQWidget parent) { super((Class) null); newKEditListBox(title,parent); } - private native void newKEditListBox(String title, QWidget parent); + private native void newKEditListBox(String title, TQWidget parent); public KEditListBox(String title) { super((Class) null); newKEditListBox(title); @@ -117,66 +117,66 @@ public class KEditListBox extends QGroupBox { @short Another constructor, which allows to use a custom editing widget instead of the standard KLineEdit widget. @see KURLRequester#customEditor */ - // KEditListBox* KEditListBox(const QString& arg1,const KEditListBox::CustomEditor& arg2,QWidget* arg3,const char* arg4,bool arg5,int arg6); >>>> NOT CONVERTED - // KEditListBox* KEditListBox(const QString& arg1,const KEditListBox::CustomEditor& arg2,QWidget* arg3,const char* arg4,bool arg5); >>>> NOT CONVERTED - // KEditListBox* KEditListBox(const QString& arg1,const KEditListBox::CustomEditor& arg2,QWidget* arg3,const char* arg4); >>>> NOT CONVERTED - // KEditListBox* KEditListBox(const QString& arg1,const KEditListBox::CustomEditor& arg2,QWidget* arg3); >>>> NOT CONVERTED - // KEditListBox* KEditListBox(const QString& arg1,const KEditListBox::CustomEditor& arg2); >>>> NOT CONVERTED + // KEditListBox* KEditListBox(const TQString& arg1,const KEditListBox::CustomEditor& arg2,TQWidget* arg3,const char* arg4,bool arg5,int arg6); >>>> NOT CONVERTED + // KEditListBox* KEditListBox(const TQString& arg1,const KEditListBox::CustomEditor& arg2,TQWidget* arg3,const char* arg4,bool arg5); >>>> NOT CONVERTED + // KEditListBox* KEditListBox(const TQString& arg1,const KEditListBox::CustomEditor& arg2,TQWidget* arg3,const char* arg4); >>>> NOT CONVERTED + // KEditListBox* KEditListBox(const TQString& arg1,const KEditListBox::CustomEditor& arg2,TQWidget* arg3); >>>> NOT CONVERTED + // KEditListBox* KEditListBox(const TQString& arg1,const KEditListBox::CustomEditor& arg2); >>>> NOT CONVERTED /** - Return a pointer to the embedded QListBox. - @short Return a pointer to the embedded QListBox. + Return a pointer to the embedded TQListBox. + @short Return a pointer to the embedded TQListBox. */ - public native QListBox listBox(); + public native TQListBox listBox(); /** - Return a pointer to the embedded QLineEdit. - @short Return a pointer to the embedded QLineEdit. + Return a pointer to the embedded TQLineEdit. + @short Return a pointer to the embedded TQLineEdit. */ public native KLineEdit lineEdit(); /** Return a pointer to the Add button @short Return a pointer to the Add button */ - public native QPushButton addButton(); + public native TQPushButton addButton(); /** Return a pointer to the Remove button @short Return a pointer to the Remove button */ - public native QPushButton removeButton(); + public native TQPushButton removeButton(); /** Return a pointer to the Up button @short Return a pointer to the Up button */ - public native QPushButton upButton(); + public native TQPushButton upButton(); /** Return a pointer to the Down button @short Return a pointer to the Down button */ - public native QPushButton downButton(); + public native TQPushButton downButton(); /** - See QListBox.count() - @short See QListBox.count() + See TQListBox.count() + @short See TQListBox.count() */ public native int count(); /** - See QListBox.insertStringList() - @short See QListBox.insertStringList() + See TQListBox.insertStringList() + @short See TQListBox.insertStringList() */ public native void insertStringList(String[] list, int index); public native void insertStringList(String[] list); /** - See QListBox.insertStringList() - @short See QListBox.insertStringList() + See TQListBox.insertStringList() + @short See TQListBox.insertStringList() */ public native void insertStrList(String[] list, int index); public native void insertStrList(String[] list); /** - See QListBox.insertStrList() - @short See QListBox.insertStrList() + See TQListBox.insertStrList() + @short See TQListBox.insertStrList() */ public native void insertStrList(String[] list, int numStrings, int index); /** - See QListBox.insertItem() - @short See QListBox.insertItem() + See TQListBox.insertItem() + @short See TQListBox.insertItem() */ public native void insertItem(String text, int index); public native void insertItem(String text); @@ -186,18 +186,18 @@ public class KEditListBox extends QGroupBox { */ public native void clear(); /** - See QListBox.text() - @short See QListBox.text() + See TQListBox.text() + @short See TQListBox.text() */ public native String text(int index); /** - See QListBox.currentItem() - @short See QListBox.currentItem() + See TQListBox.currentItem() + @short See TQListBox.currentItem() */ public native int currentItem(); /** - See QListBox.currentText() - @short See QListBox.currentText() + See TQListBox.currentText() + @short See TQListBox.currentText() */ public native String currentText(); /** diff --git a/kdejava/koala/org/kde/koala/KEditListBoxSignals.java b/kdejava/koala/org/kde/koala/KEditListBoxSignals.java index 9ca5ac26..d3ec12c1 100644 --- a/kdejava/koala/org/kde/koala/KEditListBoxSignals.java +++ b/kdejava/koala/org/kde/koala/KEditListBoxSignals.java @@ -1,12 +1,12 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QListBox; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQListBox; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QPushButton; -import org.kde.qt.QWidget; +import org.kde.qt.TQPushButton; +import org.kde.qt.TQWidget; public interface KEditListBoxSignals { void changed(); diff --git a/kdejava/koala/org/kde/koala/KEditSignals.java b/kdejava/koala/org/kde/koala/KEditSignals.java index eb5f03bd..8f92b582 100644 --- a/kdejava/koala/org/kde/koala/KEditSignals.java +++ b/kdejava/koala/org/kde/koala/KEditSignals.java @@ -1,27 +1,27 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QPoint; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QCursor; -import org.kde.qt.QDropEvent; -import org.kde.qt.QTextStream; -import org.kde.qt.QWidget; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQPoint; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQCursor; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQTextStream; +import org.kde.qt.TQWidget; public interface KEditSignals { /** This signal is emitted if the user dropped a URL over the text editor - QMultiLineEdit widget. + TQMultiLineEdit widget. Note that the user can drop also Text on it, but - this is already handled internally by QMultiLineEdit. - @short This signal is emitted if the user dropped a URL over the text editor QMultiLineEdit widget. + this is already handled internally by TQMultiLineEdit. + @short This signal is emitted if the user dropped a URL over the text editor TQMultiLineEdit widget. */ - void gotUrlDrop(QDropEvent e); + void gotUrlDrop(TQDropEvent e); /** This signal is emitted whenever the cursor position changes. Use this in conjunction with currentLine(), currentColumn() if you need to know the cursor position. diff --git a/kdejava/koala/org/kde/koala/KEditToolbar.java b/kdejava/koala/org/kde/koala/KEditToolbar.java index 683aa830..7455e25c 100644 --- a/kdejava/koala/org/kde/koala/KEditToolbar.java +++ b/kdejava/koala/org/kde/koala/KEditToolbar.java @@ -2,15 +2,15 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** This dialog only works if your application uses the XML UI framework for creating menus and toolbars. It depends on the XML - files to describe the toolbar layouts and it requires the actions + files to describe the toolbar layouts and it retquires the actions to determine which buttons are active. Typically, you would include the KStdAction.configureToolbars() standard action in your application. In your slot to this action, @@ -71,7 +71,7 @@ import org.kde.qt.QWidget; */ public class KEditToolbar extends KDialogBase { protected KEditToolbar(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor for apps that do not use components. @@ -100,16 +100,16 @@ public class KEditToolbar extends KDialogBase { @param name An internal name. @short Constructor for apps that do not use components. */ - public KEditToolbar(KActionCollection collection, String xmlfile, boolean global, QWidget parent, String name) { + public KEditToolbar(KActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name) { super((Class) null); newKEditToolbar(collection,xmlfile,global,parent,name); } - private native void newKEditToolbar(KActionCollection collection, String xmlfile, boolean global, QWidget parent, String name); - public KEditToolbar(KActionCollection collection, String xmlfile, boolean global, QWidget parent) { + private native void newKEditToolbar(KActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name); + public KEditToolbar(KActionCollection collection, String xmlfile, boolean global, TQWidget parent) { super((Class) null); newKEditToolbar(collection,xmlfile,global,parent); } - private native void newKEditToolbar(KActionCollection collection, String xmlfile, boolean global, QWidget parent); + private native void newKEditToolbar(KActionCollection collection, String xmlfile, boolean global, TQWidget parent); public KEditToolbar(KActionCollection collection, String xmlfile, boolean global) { super((Class) null); newKEditToolbar(collection,xmlfile,global); @@ -125,16 +125,16 @@ public class KEditToolbar extends KDialogBase { newKEditToolbar(collection); } private native void newKEditToolbar(KActionCollection collection); - public KEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile, boolean global, QWidget parent, String name) { + public KEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name) { super((Class) null); newKEditToolbar(defaultToolbar,collection,xmlfile,global,parent,name); } - private native void newKEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile, boolean global, QWidget parent, String name); - public KEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile, boolean global, QWidget parent) { + private native void newKEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name); + public KEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile, boolean global, TQWidget parent) { super((Class) null); newKEditToolbar(defaultToolbar,collection,xmlfile,global,parent); } - private native void newKEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile, boolean global, QWidget parent); + private native void newKEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile, boolean global, TQWidget parent); public KEditToolbar(String defaultToolbar, KActionCollection collection, String xmlfile, boolean global) { super((Class) null); newKEditToolbar(defaultToolbar,collection,xmlfile,global); @@ -170,16 +170,16 @@ public class KEditToolbar extends KDialogBase { KMainWindow.createGUI()! If not, use the other KEditToolbar constructor. @short Constructor for KParts based apps. */ - public KEditToolbar(KXMLGUIFactory factory, QWidget parent, String name) { + public KEditToolbar(KXMLGUIFactory factory, TQWidget parent, String name) { super((Class) null); newKEditToolbar(factory,parent,name); } - private native void newKEditToolbar(KXMLGUIFactory factory, QWidget parent, String name); - public KEditToolbar(KXMLGUIFactory factory, QWidget parent) { + private native void newKEditToolbar(KXMLGUIFactory factory, TQWidget parent, String name); + public KEditToolbar(KXMLGUIFactory factory, TQWidget parent) { super((Class) null); newKEditToolbar(factory,parent); } - private native void newKEditToolbar(KXMLGUIFactory factory, QWidget parent); + private native void newKEditToolbar(KXMLGUIFactory factory, TQWidget parent); public KEditToolbar(KXMLGUIFactory factory) { super((Class) null); newKEditToolbar(factory); @@ -193,16 +193,16 @@ public class KEditToolbar extends KDialogBase { @param name An internal name. @short Constructor for KParts based apps, which has an extra argument specifying the toolbar to be shown. */ - public KEditToolbar(String defaultToolbar, KXMLGUIFactory factory, QWidget parent, String name) { + public KEditToolbar(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent, String name) { super((Class) null); newKEditToolbar(defaultToolbar,factory,parent,name); } - private native void newKEditToolbar(String defaultToolbar, KXMLGUIFactory factory, QWidget parent, String name); - public KEditToolbar(String defaultToolbar, KXMLGUIFactory factory, QWidget parent) { + private native void newKEditToolbar(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent, String name); + public KEditToolbar(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent) { super((Class) null); newKEditToolbar(defaultToolbar,factory,parent); } - private native void newKEditToolbar(String defaultToolbar, KXMLGUIFactory factory, QWidget parent); + private native void newKEditToolbar(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent); public KEditToolbar(String defaultToolbar, KXMLGUIFactory factory) { super((Class) null); newKEditToolbar(defaultToolbar,factory); diff --git a/kdejava/koala/org/kde/koala/KEditToolbarSignals.java b/kdejava/koala/org/kde/koala/KEditToolbarSignals.java index 76b84c1d..037bfb67 100644 --- a/kdejava/koala/org/kde/koala/KEditToolbarSignals.java +++ b/kdejava/koala/org/kde/koala/KEditToolbarSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KEditToolbarSignals { /** diff --git a/kdejava/koala/org/kde/koala/KEditToolbarWidget.java b/kdejava/koala/org/kde/koala/KEditToolbarWidget.java index e77d2753..092a2683 100644 --- a/kdejava/koala/org/kde/koala/KEditToolbarWidget.java +++ b/kdejava/koala/org/kde/koala/KEditToolbarWidget.java @@ -2,14 +2,14 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QDomDocument; -import org.kde.qt.QListViewItem; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQDomDocument; +import org.kde.qt.TQListViewItem; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QDomElement; -import org.kde.qt.QWidget; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDomElement; +import org.kde.qt.TQWidget; /** @@ -21,7 +21,7 @@ import org.kde.qt.QWidget; preferences dialog. This widget only works if your application uses the XML UI framework for creating menus and toolbars. It depends on the XML - files to describe the toolbar layouts and it requires the actions + files to describe the toolbar layouts and it retquires the actions to determine which buttons are active. See {@link KEditToolbarWidgetSignals} for signals emitted by KEditToolbarWidget @author Kurt Granroth <granroth@kde.org> @@ -31,9 +31,9 @@ import org.kde.qt.QWidget; @short A widget used to customize or configure toolbars. */ -public class KEditToolbarWidget extends QWidget implements KXMLGUIClientInterface { +public class KEditToolbarWidget extends TQWidget implements KXMLGUIClientInterface { protected KEditToolbarWidget(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. This is the only entry point to this class. You @@ -61,11 +61,11 @@ public class KEditToolbarWidget extends QWidget implements KXMLGUIClientInterfac @param parent This widget's parent @short Constructor. */ - public KEditToolbarWidget(KActionCollection collection, String xmlfile, boolean global, QWidget parent) { + public KEditToolbarWidget(KActionCollection collection, String xmlfile, boolean global, TQWidget parent) { super((Class) null); newKEditToolbarWidget(collection,xmlfile,global,parent); } - private native void newKEditToolbarWidget(KActionCollection collection, String xmlfile, boolean global, QWidget parent); + private native void newKEditToolbarWidget(KActionCollection collection, String xmlfile, boolean global, TQWidget parent); public KEditToolbarWidget(KActionCollection collection, String xmlfile, boolean global) { super((Class) null); newKEditToolbarWidget(collection,xmlfile,global); @@ -81,11 +81,11 @@ public class KEditToolbarWidget extends QWidget implements KXMLGUIClientInterfac newKEditToolbarWidget(collection); } private native void newKEditToolbarWidget(KActionCollection collection); - public KEditToolbarWidget(String defaultToolbar, KActionCollection collection, String file, boolean global, QWidget parent) { + public KEditToolbarWidget(String defaultToolbar, KActionCollection collection, String file, boolean global, TQWidget parent) { super((Class) null); newKEditToolbarWidget(defaultToolbar,collection,file,global,parent); } - private native void newKEditToolbarWidget(String defaultToolbar, KActionCollection collection, String file, boolean global, QWidget parent); + private native void newKEditToolbarWidget(String defaultToolbar, KActionCollection collection, String file, boolean global, TQWidget parent); public KEditToolbarWidget(String defaultToolbar, KActionCollection collection, String file, boolean global) { super((Class) null); newKEditToolbarWidget(defaultToolbar,collection,file,global); @@ -118,21 +118,21 @@ public class KEditToolbarWidget extends QWidget implements KXMLGUIClientInterfac @param parent This widget's parent @short Constructor for KParts based apps. */ - public KEditToolbarWidget(KXMLGUIFactory factory, QWidget parent) { + public KEditToolbarWidget(KXMLGUIFactory factory, TQWidget parent) { super((Class) null); newKEditToolbarWidget(factory,parent); } - private native void newKEditToolbarWidget(KXMLGUIFactory factory, QWidget parent); + private native void newKEditToolbarWidget(KXMLGUIFactory factory, TQWidget parent); public KEditToolbarWidget(KXMLGUIFactory factory) { super((Class) null); newKEditToolbarWidget(factory); } private native void newKEditToolbarWidget(KXMLGUIFactory factory); - public KEditToolbarWidget(String defaultToolbar, KXMLGUIFactory factory, QWidget parent) { + public KEditToolbarWidget(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent) { super((Class) null); newKEditToolbarWidget(defaultToolbar,factory,parent); } - private native void newKEditToolbarWidget(String defaultToolbar, KXMLGUIFactory factory, QWidget parent); + private native void newKEditToolbarWidget(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent); public KEditToolbarWidget(String defaultToolbar, KXMLGUIFactory factory) { super((Class) null); newKEditToolbarWidget(defaultToolbar,factory); @@ -158,20 +158,20 @@ public class KEditToolbarWidget extends QWidget implements KXMLGUIClientInterfac */ public native void rebuildKXMLGUIClients(); protected native void setupLayout(); - // void insertActive(ToolbarItem* arg1,QListViewItem* arg2,bool arg3); >>>> NOT CONVERTED - // void insertActive(ToolbarItem* arg1,QListViewItem* arg2); >>>> NOT CONVERTED + // void insertActive(ToolbarItem* arg1,TQListViewItem* arg2,bool arg3); >>>> NOT CONVERTED + // void insertActive(ToolbarItem* arg1,TQListViewItem* arg2); >>>> NOT CONVERTED // void removeActive(ToolbarItem* arg1); >>>> NOT CONVERTED - // void moveActive(ToolbarItem* arg1,QListViewItem* arg2); >>>> NOT CONVERTED + // void moveActive(ToolbarItem* arg1,TQListViewItem* arg2); >>>> NOT CONVERTED protected native void initNonKPart(KActionCollection collection, String file, boolean global); protected native void initKPart(KXMLGUIFactory factory); protected native void loadToolbarCombo(String defaultToolbar); protected native void loadToolbarCombo(); - protected native void loadActionList(QDomElement elem); - protected native void updateLocal(QDomElement elem); + protected native void loadActionList(TQDomElement elem); + protected native void updateLocal(TQDomElement elem); protected native void slotToolbarSelected(String text); - protected native void slotInactiveSelected(QListViewItem item); - protected native void slotActiveSelected(QListViewItem item); - protected native void slotDropped(KListView list, QDropEvent e, QListViewItem after); + protected native void slotInactiveSelected(TQListViewItem item); + protected native void slotActiveSelected(TQListViewItem item); + protected native void slotDropped(KListView list, TQDropEvent e, TQListViewItem after); protected native void slotInsertButton(); protected native void slotRemoveButton(); protected native void slotUpButton(); @@ -191,12 +191,12 @@ public class KEditToolbarWidget extends QWidget implements KXMLGUIClientInterfac */ public native KAction action(String name); /** - Retrieves an action for a given QDomElement. The default + Retrieves an action for a given TQDomElement. The default implementation uses the "name" attribute to query the action object via the other action() method. - @short Retrieves an action for a given QDomElement. + @short Retrieves an action for a given TQDomElement. */ - public native KAction action(QDomElement element); + public native KAction action(TQDomElement element); /** @return The instance ( KInstance ) for this GUI client. @@ -204,13 +204,13 @@ public class KEditToolbarWidget extends QWidget implements KXMLGUIClientInterfac */ public native KInstanceInterface instance(); /** - @return The parsed XML in a QDomDocument, set by + @return The parsed XML in a TQDomDocument, set by setXMLFile() or setXML(). This document describes the layout of the GUI. @short */ - public native QDomDocument domDocument(); + public native TQDomDocument domDocument(); /** This will return the name of the XML file as set by setXMLFile(). If setXML() is used directly, then this will return NULL. @@ -229,11 +229,11 @@ public class KEditToolbarWidget extends QWidget implements KXMLGUIClientInterfac /** @short */ - public native void setXMLGUIBuildDocument(QDomDocument doc); + public native void setXMLGUIBuildDocument(TQDomDocument doc); /** @short */ - public native QDomDocument xmlguiBuildDocument(); + public native TQDomDocument xmlguiBuildDocument(); /** This method is called by the KXMLGUIFactory as soon as the client is added to the KXMLGUIFactory's GUI. @@ -271,7 +271,7 @@ public class KEditToolbarWidget extends QWidget implements KXMLGUIClientInterfac Retrieves a list of all child clients. @short Retrieves a list of all child clients. */ - // const QPtrList<KXMLGUIClient>* childClients(); >>>> NOT CONVERTED + // const TQPtrList<KXMLGUIClient>* childClients(); >>>> NOT CONVERTED /** A client can have an own KXMLGUIBuilder. Use this method to assign your builder instance to the client (so that the @@ -319,7 +319,7 @@ public class KEditToolbarWidget extends QWidget implements KXMLGUIClientInterfac This tag will get expanded to a list of actions. In the example above ( a file manager with a dynamic file menu ), you would call <pre> - QPtrList<KAction> file_actions; + TQPtrList<KAction> file_actions; for( ... ) if( ... ) file_actions.append( cool_action ); @@ -335,7 +335,7 @@ public class KEditToolbarWidget extends QWidget implements KXMLGUIClientInterfac menu too.. @short ActionLists are a way for XMLGUI to support dynamic lists of actions. */ - // void plugActionList(const QString& arg1,const QPtrList<KAction>& arg2); >>>> NOT CONVERTED + // void plugActionList(const TQString& arg1,const TQPtrList<KAction>& arg2); >>>> NOT CONVERTED /** The complement of plugActionList() ... @short The complement of plugActionList() . @@ -343,10 +343,10 @@ public class KEditToolbarWidget extends QWidget implements KXMLGUIClientInterfac public native void unplugActionList(String name); public native void addStateActionEnabled(String state, String action); public native void addStateActionDisabled(String state, String action); - // KXMLGUIClient::StateChange getActionsToChangeForState(const QString& arg1); >>>> NOT CONVERTED - public native void beginXMLPlug(QWidget arg1); + // KXMLGUIClient::StateChange getActionsToChangeForState(const TQString& arg1); >>>> NOT CONVERTED + public native void beginXMLPlug(TQWidget arg1); public native void endXMLPlug(); - public native void prepareXMLUnplug(QWidget arg1); + public native void prepareXMLUnplug(TQWidget arg1); public static native String findMostRecentXMLFile(String[] files, StringBuffer doc); /** Sets the instance ( KInstance) for this part. @@ -385,8 +385,8 @@ public class KEditToolbarWidget extends QWidget implements KXMLGUIClientInterfac setXMLFile or setXML . @short Sets the Document for the part, describing the layout of the GUI. */ - protected native void setDOMDocument(QDomDocument document, boolean merge); - protected native void setDOMDocument(QDomDocument document); + protected native void setDOMDocument(TQDomDocument document, boolean merge); + protected native void setDOMDocument(TQDomDocument document); /** This function will attempt to give up some memory after the GUI is built. It should never be used in apps where the GUI may be diff --git a/kdejava/koala/org/kde/koala/KEditToolbarWidgetSignals.java b/kdejava/koala/org/kde/koala/KEditToolbarWidgetSignals.java index e64be7e0..52d75581 100644 --- a/kdejava/koala/org/kde/koala/KEditToolbarWidgetSignals.java +++ b/kdejava/koala/org/kde/koala/KEditToolbarWidgetSignals.java @@ -1,13 +1,13 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QDomDocument; -import org.kde.qt.QListViewItem; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQDomDocument; +import org.kde.qt.TQListViewItem; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QDomElement; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDomElement; public interface KEditToolbarWidgetSignals { /** diff --git a/kdejava/koala/org/kde/koala/KExecMimeType.java b/kdejava/koala/org/kde/koala/KExecMimeType.java index 045ef65d..829fcdd2 100644 --- a/kdejava/koala/org/kde/koala/KExecMimeType.java +++ b/kdejava/koala/org/kde/koala/KExecMimeType.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; +import org.kde.qt.TQDataStream; /** @@ -25,11 +25,11 @@ public class KExecMimeType extends KMimeType { private native void newKExecMimeType(KDesktopFile config); /** \internal @short \internal */ - public KExecMimeType(QDataStream _str, int offset) { + public KExecMimeType(TQDataStream _str, int offset) { super((Class) null); newKExecMimeType(_str,offset); } - private native void newKExecMimeType(QDataStream _str, int offset); + private native void newKExecMimeType(TQDataStream _str, int offset); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KFileDetailView.java b/kdejava/koala/org/kde/koala/KFileDetailView.java index 62d1f3b8..40b03088 100644 --- a/kdejava/koala/org/kde/koala/KFileDetailView.java +++ b/kdejava/koala/org/kde/koala/KFileDetailView.java @@ -2,17 +2,17 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QScrollView; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QDragLeaveEvent; +import org.kde.qt.TQScrollView; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQDragLeaveEvent; import java.util.ArrayList; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QDragObject; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDragObject; /** @@ -27,14 +27,14 @@ import org.kde.qt.QDragObject; */ public class KFileDetailView extends KListView implements KFileViewInterface { protected KFileDetailView(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KFileDetailView(QWidget parent, String name) { + public KFileDetailView(TQWidget parent, String name) { super((Class) null); newKFileDetailView(parent,name); } - private native void newKFileDetailView(QWidget parent, String name); - public native QWidget widget(); + private native void newKFileDetailView(TQWidget parent, String name); + public native TQWidget widget(); public native void clearView(); public native void setAutoUpdate(boolean arg1); public native void setSelectionMode(int sm); @@ -57,18 +57,18 @@ public class KFileDetailView extends KListView implements KFileViewInterface { public native void ensureItemVisible(KFileItem arg1); public native void mimeTypeDeterminationFinished(); public native void determineIcon(KFileListViewItem item); - public native QScrollView scrollWidget(); + public native TQScrollView scrollWidget(); public native void readConfig(KConfig arg1, String group); public native void readConfig(KConfig arg1); public native void writeConfig(KConfig arg1, String group); public native void writeConfig(KConfig arg1); - protected native void keyPressEvent(QKeyEvent arg1); - protected native QDragObject dragObject(); - protected native void contentsDragEnterEvent(QDragEnterEvent e); - protected native void contentsDragMoveEvent(QDragMoveEvent e); - protected native void contentsDragLeaveEvent(QDragLeaveEvent e); - protected native void contentsDropEvent(QDropEvent ev); - protected native boolean acceptDrag(QDropEvent e); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native TQDragObject dragObject(); + protected native void contentsDragEnterEvent(TQDragEnterEvent e); + protected native void contentsDragMoveEvent(TQDragMoveEvent e); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); + protected native void contentsDropEvent(TQDropEvent ev); + protected native boolean acceptDrag(TQDropEvent e); protected native void slotSelectionChanged(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; @@ -100,8 +100,8 @@ public class KFileDetailView extends KListView implements KFileViewInterface { public native int sorting(); /** Tells whether the current items are in reversed order (shortcut to - sorting() & QDir.Reversed). - @short Tells whether the current items are in reversed order (shortcut to sorting() & QDir.Reversed). + sorting() & TQDir.Reversed). + @short Tells whether the current items are in reversed order (shortcut to sorting() & TQDir.Reversed). */ public native boolean isReversed(); public native void sortReversed(); @@ -200,13 +200,13 @@ public class KFileDetailView extends KListView implements KFileViewInterface { public native int dropOptions(); /** This method calculates a String from the given parameters, that is - suitable for sorting with e.g. QIconView or QListView. Their + suitable for sorting with e.g. TQIconView or TQListView. Their Item-classes usually have a setKey( String ) method or a virtual method String key() that is used for sorting. @param value Any string that should be used as sort criterion @param isDir Tells whether the key is computed for an item representing a directory (directories are usually sorted before files) - @param sortSpec An ORed combination of QDir.SortSpec flags. + @param sortSpec An ORed combination of TQDir.SortSpec flags. Currently, the values IgnoreCase, Reversed and DirsFirst are taken into account. @short This method calculates a String from the given parameters, that is suitable for sorting with e. diff --git a/kdejava/koala/org/kde/koala/KFileDetailViewSignals.java b/kdejava/koala/org/kde/koala/KFileDetailViewSignals.java index 4b2f28f8..363a59e8 100644 --- a/kdejava/koala/org/kde/koala/KFileDetailViewSignals.java +++ b/kdejava/koala/org/kde/koala/KFileDetailViewSignals.java @@ -1,17 +1,17 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QScrollView; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QDragLeaveEvent; +import org.kde.qt.TQScrollView; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQDragLeaveEvent; import java.util.ArrayList; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QDragObject; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDragObject; public interface KFileDetailViewSignals { /** @@ -20,12 +20,12 @@ public interface KFileDetailViewSignals { user dropped on empty space. @short The user dropped something. */ - void dropped(QDropEvent event, KFileItem fileItem); + void dropped(TQDropEvent event, KFileItem fileItem); /** The user dropped the URLs <code>urls.</code> <code>url</code> points to the item dropped on or can be empty if the user dropped on empty space. @short The user dropped the URLs <code>urls.</code> */ - void dropped(QDropEvent event, ArrayList urls, KURL url); + void dropped(TQDropEvent event, ArrayList urls, KURL url); } diff --git a/kdejava/koala/org/kde/koala/KFileDialog.java b/kdejava/koala/org/kde/koala/KFileDialog.java index 78a38cac..e0c31747 100644 --- a/kdejava/koala/org/kde/koala/KFileDialog.java +++ b/kdejava/koala/org/kde/koala/KFileDialog.java @@ -2,18 +2,18 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; /** Provides a user (and developer) friendly way to select files and directories. The widget can be used as a drop in replacement for the - QFileDialog widget, but has greater functionality and a nicer GUI. + TQFileDialog widget, but has greater functionality and a nicer GUI. You will usually want to use one of the static methods getOpenFileName(), getSaveFileName(), getOpenURL() or for multiple files getOpenFileNames() or getOpenURLs(). @@ -43,7 +43,7 @@ public class KFileDialog extends KDialogBase { public static final int Opening = 1; public static final int Saving = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a file dialog. @@ -78,15 +78,15 @@ public class KFileDialog extends KDialogBase { See setFilter() for details on how to use this argument. @short Constructs a file dialog. */ - public KFileDialog(String startDir, String filter, QWidget parent, String name, boolean modal) { + public KFileDialog(String startDir, String filter, TQWidget parent, String name, boolean modal) { super((Class) null); newKFileDialog(startDir,filter,parent,name,modal); } - private native void newKFileDialog(String startDir, String filter, QWidget parent, String name, boolean modal); + private native void newKFileDialog(String startDir, String filter, TQWidget parent, String name, boolean modal); /** Constructs a file dialog. The parameters here are identical to the first constructor except - for the addition of a QWidget parameter. + for the addition of a TQWidget parameter. Historical note: The original version of KFileDialog did not have this extra parameter. It was added later, and, in order to maintain binary compatibility, it was placed in a new constructor instead of added to the original one. @@ -126,11 +126,11 @@ public class KFileDialog extends KDialogBase { @param modal Whether to create a modal dialog or not @short Constructs a file dialog. */ - public KFileDialog(String startDir, String filter, QWidget parent, String name, boolean modal, QWidget widget) { + public KFileDialog(String startDir, String filter, TQWidget parent, String name, boolean modal, TQWidget widget) { super((Class) null); newKFileDialog(startDir,filter,parent,name,modal,widget); } - private native void newKFileDialog(String startDir, String filter, QWidget parent, String name, boolean modal, QWidget widget); + private native void newKFileDialog(String startDir, String filter, TQWidget parent, String name, boolean modal, TQWidget widget); /** @return The selected fully qualified filename. @@ -411,17 +411,17 @@ public class KFileDialog extends KDialogBase { @param caption The name of the dialog widget. @short Creates a modal file dialog and return the selected filename or an empty string if none was chosen. */ - public static native String getOpenFileName(String startDir, String filter, QWidget parent, String caption); - public static native String getOpenFileName(String startDir, String filter, QWidget parent); + public static native String getOpenFileName(String startDir, String filter, TQWidget parent, String caption); + public static native String getOpenFileName(String startDir, String filter, TQWidget parent); public static native String getOpenFileName(String startDir, String filter); public static native String getOpenFileName(String startDir); public static native String getOpenFileName(); /** - Use this version only if you have no QWidget available as + Use this version only if you have no TQWidget available as parent widget. This can be the case if the parent widget is a widget in another process or if the parent widget is a non-Qt widget. For example, in a GTK program. - @short Use this version only if you have no QWidget available as parent widget. + @short Use this version only if you have no TQWidget available as parent widget. */ public static native String getOpenFileNameWId(String startDir, String filter, long parent_id, String caption); /** @@ -460,8 +460,8 @@ public class KFileDialog extends KDialogBase { @param caption The name of the dialog widget. @short Creates a modal file dialog and returns the selected filenames or an empty list if none was chosen. */ - public static native ArrayList getOpenFileNames(String startDir, String filter, QWidget parent, String caption); - public static native ArrayList getOpenFileNames(String startDir, String filter, QWidget parent); + public static native ArrayList getOpenFileNames(String startDir, String filter, TQWidget parent, String caption); + public static native ArrayList getOpenFileNames(String startDir, String filter, TQWidget parent); public static native ArrayList getOpenFileNames(String startDir, String filter); public static native ArrayList getOpenFileNames(String startDir); public static native ArrayList getOpenFileNames(); @@ -501,8 +501,8 @@ public class KFileDialog extends KDialogBase { @param caption The name of the dialog widget. @short Creates a modal file dialog and returns the selected URL or an empty string if none was chosen. */ - public static native KURL getOpenURL(String startDir, String filter, QWidget parent, String caption); - public static native KURL getOpenURL(String startDir, String filter, QWidget parent); + public static native KURL getOpenURL(String startDir, String filter, TQWidget parent, String caption); + public static native KURL getOpenURL(String startDir, String filter, TQWidget parent); public static native KURL getOpenURL(String startDir, String filter); public static native KURL getOpenURL(String startDir); public static native KURL getOpenURL(); @@ -542,8 +542,8 @@ public class KFileDialog extends KDialogBase { @param caption The name of the dialog widget. @short Creates a modal file dialog and returns the selected URLs or an empty list if none was chosen. */ - public static native ArrayList getOpenURLs(String startDir, String filter, QWidget parent, String caption); - public static native ArrayList getOpenURLs(String startDir, String filter, QWidget parent); + public static native ArrayList getOpenURLs(String startDir, String filter, TQWidget parent, String caption); + public static native ArrayList getOpenURLs(String startDir, String filter, TQWidget parent); public static native ArrayList getOpenURLs(String startDir, String filter); public static native ArrayList getOpenURLs(String startDir); public static native ArrayList getOpenURLs(); @@ -588,15 +588,15 @@ public class KFileDialog extends KDialogBase { @param caption The name of the dialog widget. @short Creates a modal file dialog and returns the selected filename or an empty string if none was chosen. */ - public static native String getSaveFileName(String startDir, String filter, QWidget parent, String caption); - public static native String getSaveFileName(String startDir, String filter, QWidget parent); + public static native String getSaveFileName(String startDir, String filter, TQWidget parent, String caption); + public static native String getSaveFileName(String startDir, String filter, TQWidget parent); public static native String getSaveFileName(String startDir, String filter); public static native String getSaveFileName(String startDir); public static native String getSaveFileName(); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native String getSaveFileNameWId(String dir, String filter, long parent_id, String caption); /** @@ -640,8 +640,8 @@ public class KFileDialog extends KDialogBase { @param caption The name of the dialog widget. @short Creates a modal file dialog and returns the selected filename or an empty string if none was chosen. */ - public static native KURL getSaveURL(String startDir, String filter, QWidget parent, String caption); - public static native KURL getSaveURL(String startDir, String filter, QWidget parent); + public static native KURL getSaveURL(String startDir, String filter, TQWidget parent, String caption); + public static native KURL getSaveURL(String startDir, String filter, TQWidget parent); public static native KURL getSaveURL(String startDir, String filter); public static native KURL getSaveURL(String startDir); public static native KURL getSaveURL(); @@ -675,8 +675,8 @@ public class KFileDialog extends KDialogBase { @param caption The name of the dialog widget. @short Creates a modal file dialog and returns the selected directory or an empty string if none was chosen. */ - public static native String getExistingDirectory(String startDir, QWidget parent, String caption); - public static native String getExistingDirectory(String startDir, QWidget parent); + public static native String getExistingDirectory(String startDir, TQWidget parent, String caption); + public static native String getExistingDirectory(String startDir, TQWidget parent); public static native String getExistingDirectory(String startDir); public static native String getExistingDirectory(); /** @@ -711,8 +711,8 @@ public class KFileDialog extends KDialogBase { @param caption The name of the dialog widget. @short Creates a modal file dialog and returns the selected directory or an empty string if none was chosen. */ - public static native KURL getExistingURL(String startDir, QWidget parent, String caption); - public static native KURL getExistingURL(String startDir, QWidget parent); + public static native KURL getExistingURL(String startDir, TQWidget parent, String caption); + public static native KURL getExistingURL(String startDir, TQWidget parent); public static native KURL getExistingURL(String startDir); public static native KURL getExistingURL(); /** @@ -745,8 +745,8 @@ public class KFileDialog extends KDialogBase { @param caption The name of the dialog widget. @short Creates a modal file dialog with an image previewer and returns the selected url or an empty string if none was chosen. */ - public static native KURL getImageOpenURL(String startDir, QWidget parent, String caption); - public static native KURL getImageOpenURL(String startDir, QWidget parent); + public static native KURL getImageOpenURL(String startDir, TQWidget parent, String caption); + public static native KURL getImageOpenURL(String startDir, TQWidget parent); public static native KURL getImageOpenURL(String startDir); public static native KURL getImageOpenURL(); /** @@ -772,12 +772,12 @@ public class KFileDialog extends KDialogBase { Reimplemented to animate the cancel button. @short Reimplemented to animate the cancel button. */ - protected native void keyPressEvent(QKeyEvent e); + protected native void keyPressEvent(TQKeyEvent e); /** Perform basic initialization tasks. Called by constructors. @short Perform basic initialization tasks. */ - protected native void init(String startDir, String filter, QWidget widget); + protected native void init(String startDir, String filter, TQWidget widget); /** rebuild geometry management. @short rebuild geometry management. diff --git a/kdejava/koala/org/kde/koala/KFileDialogSignals.java b/kdejava/koala/org/kde/koala/KFileDialogSignals.java index 4fc3f6f1..5d746e23 100644 --- a/kdejava/koala/org/kde/koala/KFileDialogSignals.java +++ b/kdejava/koala/org/kde/koala/KFileDialogSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; public interface KFileDialogSignals { /** diff --git a/kdejava/koala/org/kde/koala/KFileFilterCombo.java b/kdejava/koala/org/kde/koala/KFileFilterCombo.java index 9b54c41b..1a1711d2 100644 --- a/kdejava/koala/org/kde/koala/KFileFilterCombo.java +++ b/kdejava/koala/org/kde/koala/KFileFilterCombo.java @@ -2,29 +2,29 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; /** See {@link KFileFilterComboSignals} for signals emitted by KFileFilterCombo */ public class KFileFilterCombo extends KComboBox { protected KFileFilterCombo(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KFileFilterCombo(QWidget parent, String name) { + public KFileFilterCombo(TQWidget parent, String name) { super((Class) null); newKFileFilterCombo(parent,name); } - private native void newKFileFilterCombo(QWidget parent, String name); - public KFileFilterCombo(QWidget parent) { + private native void newKFileFilterCombo(TQWidget parent, String name); + public KFileFilterCombo(TQWidget parent) { super((Class) null); newKFileFilterCombo(parent); } - private native void newKFileFilterCombo(QWidget parent); + private native void newKFileFilterCombo(TQWidget parent); public KFileFilterCombo() { super((Class) null); newKFileFilterCombo(); @@ -74,7 +74,7 @@ public class KFileFilterCombo extends KComboBox { @see #setDefaultFilter */ public native String defaultFilter(); - public native boolean eventFilter(QObject o, QEvent e); + public native boolean eventFilter(TQObject o, TQEvent e); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KFileFilterComboSignals.java b/kdejava/koala/org/kde/koala/KFileFilterComboSignals.java index 47df5f89..37e4aa09 100644 --- a/kdejava/koala/org/kde/koala/KFileFilterComboSignals.java +++ b/kdejava/koala/org/kde/koala/KFileFilterComboSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; public interface KFileFilterComboSignals { void filterChanged(); diff --git a/kdejava/koala/org/kde/koala/KFileIconView.java b/kdejava/koala/org/kde/koala/KFileIconView.java index 1a35f977..9d44dacc 100644 --- a/kdejava/koala/org/kde/koala/KFileIconView.java +++ b/kdejava/koala/org/kde/koala/KFileIconView.java @@ -2,21 +2,21 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QHideEvent; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QScrollView; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QDragLeaveEvent; +import org.kde.qt.TQObject; +import org.kde.qt.TQScrollView; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQDragLeaveEvent; import java.util.ArrayList; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QShowEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QDragObject; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDragObject; /** @@ -31,14 +31,14 @@ import org.kde.qt.QDragObject; */ public class KFileIconView extends KIconView implements KFileViewInterface { protected KFileIconView(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KFileIconView(QWidget parent, String name) { + public KFileIconView(TQWidget parent, String name) { super((Class) null); newKFileIconView(parent,name); } - private native void newKFileIconView(QWidget parent, String name); - public native QWidget widget(); + private native void newKFileIconView(TQWidget parent, String name); + public native TQWidget widget(); public native void clearView(); public native void setAutoUpdate(boolean arg1); public native void updateView(boolean arg1); @@ -88,7 +88,7 @@ public class KFileIconView extends KIconView implements KFileViewInterface { public native void writeConfig(KConfig arg1); public native void mimeTypeDeterminationFinished(); public native void determineIcon(KFileIconViewItem item); - public native QScrollView scrollWidget(); + public native TQScrollView scrollWidget(); public native void setAcceptDrops(boolean b); /** Starts loading previews for all files shown and shows them. Switches @@ -106,23 +106,23 @@ public class KFileIconView extends KIconView implements KFileViewInterface { public native void arrangeItemsInGrid(boolean updated); public native void arrangeItemsInGrid(); /** - Reimplemented to not let QIconView eat return-key events - @short Reimplemented to not let QIconView eat return-key events + Reimplemented to not let TQIconView eat return-key events + @short Reimplemented to not let TQIconView eat return-key events */ - protected native void keyPressEvent(QKeyEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); /** Reimplemented to remove an eventual tooltip @short Reimplemented to remove an eventual tooltip */ - protected native void hideEvent(QHideEvent arg1); - public native void showEvent(QShowEvent arg1); - public native boolean eventFilter(QObject o, QEvent e); - protected native QDragObject dragObject(); - protected native void contentsDragEnterEvent(QDragEnterEvent e); - protected native void contentsDragMoveEvent(QDragMoveEvent e); - protected native void contentsDragLeaveEvent(QDragLeaveEvent e); - protected native void contentsDropEvent(QDropEvent ev); - protected native boolean acceptDrag(QDropEvent e); + protected native void hideEvent(TQHideEvent arg1); + public native void showEvent(TQShowEvent arg1); + public native boolean eventFilter(TQObject o, TQEvent e); + protected native TQDragObject dragObject(); + protected native void contentsDragEnterEvent(TQDragEnterEvent e); + protected native void contentsDragMoveEvent(TQDragMoveEvent e); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); + protected native void contentsDropEvent(TQDropEvent ev); + protected native boolean acceptDrag(TQDropEvent e); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ @@ -153,8 +153,8 @@ public class KFileIconView extends KIconView implements KFileViewInterface { public native int sorting(); /** Tells whether the current items are in reversed order (shortcut to - sorting() & QDir.Reversed). - @short Tells whether the current items are in reversed order (shortcut to sorting() & QDir.Reversed). + sorting() & TQDir.Reversed). + @short Tells whether the current items are in reversed order (shortcut to sorting() & TQDir.Reversed). */ public native boolean isReversed(); public native void sortReversed(); @@ -253,13 +253,13 @@ public class KFileIconView extends KIconView implements KFileViewInterface { public native int dropOptions(); /** This method calculates a String from the given parameters, that is - suitable for sorting with e.g. QIconView or QListView. Their + suitable for sorting with e.g. TQIconView or TQListView. Their Item-classes usually have a setKey( String ) method or a virtual method String key() that is used for sorting. @param value Any string that should be used as sort criterion @param isDir Tells whether the key is computed for an item representing a directory (directories are usually sorted before files) - @param sortSpec An ORed combination of QDir.SortSpec flags. + @param sortSpec An ORed combination of TQDir.SortSpec flags. Currently, the values IgnoreCase, Reversed and DirsFirst are taken into account. @short This method calculates a String from the given parameters, that is suitable for sorting with e. diff --git a/kdejava/koala/org/kde/koala/KFileIconViewItem.java b/kdejava/koala/org/kde/koala/KFileIconViewItem.java index 8a3abdfa..dbb67030 100644 --- a/kdejava/koala/org/kde/koala/KFileIconViewItem.java +++ b/kdejava/koala/org/kde/koala/KFileIconViewItem.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QIconView; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQIconView; /** @@ -15,19 +15,19 @@ import org.kde.qt.QIconView; */ public class KFileIconViewItem extends KIconViewItem { protected KFileIconViewItem(Class dummy){super((Class) null);} - public KFileIconViewItem(QIconView parent, String text, QPixmap pixmap, KFileItem fi) { + public KFileIconViewItem(TQIconView parent, String text, TQPixmap pixmap, KFileItem fi) { super((Class) null); newKFileIconViewItem(parent,text,pixmap,fi); } - private native void newKFileIconViewItem(QIconView parent, String text, QPixmap pixmap, KFileItem fi); + private native void newKFileIconViewItem(TQIconView parent, String text, TQPixmap pixmap, KFileItem fi); /** @short */ - public KFileIconViewItem(QIconView parent, KFileItem fi) { + public KFileIconViewItem(TQIconView parent, KFileItem fi) { super((Class) null); newKFileIconViewItem(parent,fi); } - private native void newKFileIconViewItem(QIconView parent, KFileItem fi); + private native void newKFileIconViewItem(TQIconView parent, KFileItem fi); /** @return the corresponding KFileItem diff --git a/kdejava/koala/org/kde/koala/KFileIconViewSignals.java b/kdejava/koala/org/kde/koala/KFileIconViewSignals.java index 52a50bc5..bb2fbbed 100644 --- a/kdejava/koala/org/kde/koala/KFileIconViewSignals.java +++ b/kdejava/koala/org/kde/koala/KFileIconViewSignals.java @@ -1,21 +1,21 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QHideEvent; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QScrollView; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QDragLeaveEvent; +import org.kde.qt.TQObject; +import org.kde.qt.TQScrollView; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQDragLeaveEvent; import java.util.ArrayList; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QShowEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QDragObject; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDragObject; public interface KFileIconViewSignals { /** @@ -24,12 +24,12 @@ public interface KFileIconViewSignals { user dropped on empty space. @short The user dropped something. */ - void dropped(QDropEvent event, KFileItem fileItem); + void dropped(TQDropEvent event, KFileItem fileItem); /** The user dropped the URLs <code>urls.</code> <code>url</code> points to the item dropped on or can be empty if the user dropped on empty space. @short The user dropped the URLs <code>urls.</code> */ - void dropped(QDropEvent event, ArrayList urls, KURL url); + void dropped(TQDropEvent event, ArrayList urls, KURL url); } diff --git a/kdejava/koala/org/kde/koala/KFileItem.java b/kdejava/koala/org/kde/koala/KFileItem.java index 09da9800..dd729fed 100644 --- a/kdejava/koala/org/kde/koala/KFileItem.java +++ b/kdejava/koala/org/kde/koala/KFileItem.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; +import org.kde.qt.TQPixmap; /** @@ -357,8 +357,8 @@ public class KFileItem implements QtSupport { @short Returns a pixmap representing the file. */ - public native QPixmap pixmap(int _size, int _state); - public native QPixmap pixmap(int _size); + public native TQPixmap pixmap(int _size, int _state); + public native TQPixmap pixmap(int _size); /** Returns the overlays (bitfield of KIcon.Overlay flags) that are used for this item's pixmap. Overlays are used to show for example, whether @@ -445,7 +445,7 @@ public class KFileItem implements QtSupport { That way a KFileItem can hold and provide access to all those views separately. I.e. a KFileIconView that associates a KFileIconViewItem (an item suitable - for use with QIconView) does + for use with TQIconView) does <pre> kfileItem.setExtraData( this, iconViewItem ); </pre> @@ -454,7 +454,7 @@ public class KFileItem implements QtSupport { KFileIconViewItem iconViewItem = (KFileIconViewItem)( kfileItem.extraData( this )); </pre> This is usually more efficient then having every view associate data to - items by using a separate QDict or QMap. + items by using a separate TQDict or TQMap. Note: you have to remove and destroy the data you associated yourself when you don't need it anymore! @param key the key of the extra data diff --git a/kdejava/koala/org/kde/koala/KFileListViewItem.java b/kdejava/koala/org/kde/koala/KFileListViewItem.java index 42033792..b2b9795d 100644 --- a/kdejava/koala/org/kde/koala/KFileListViewItem.java +++ b/kdejava/koala/org/kde/koala/KFileListViewItem.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; -import org.kde.qt.QListViewItem; +import org.kde.qt.TQRect; +import org.kde.qt.TQListViewItem; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QListView; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQListView; /** @@ -17,24 +17,24 @@ import org.kde.qt.QListView; */ public class KFileListViewItem extends KListViewItem { protected KFileListViewItem(Class dummy){super((Class) null);} - public KFileListViewItem(QListView parent, String text, QPixmap icon, KFileItem fi) { + public KFileListViewItem(TQListView parent, String text, TQPixmap icon, KFileItem fi) { super((Class) null); newKFileListViewItem(parent,text,icon,fi); } - private native void newKFileListViewItem(QListView parent, String text, QPixmap icon, KFileItem fi); + private native void newKFileListViewItem(TQListView parent, String text, TQPixmap icon, KFileItem fi); /** @short */ - public KFileListViewItem(QListView parent, KFileItem fi) { + public KFileListViewItem(TQListView parent, KFileItem fi) { super((Class) null); newKFileListViewItem(parent,fi); } - private native void newKFileListViewItem(QListView parent, KFileItem fi); - public KFileListViewItem(QListView parent, String text, QPixmap icon, KFileItem fi, QListViewItem after) { + private native void newKFileListViewItem(TQListView parent, KFileItem fi); + public KFileListViewItem(TQListView parent, String text, TQPixmap icon, KFileItem fi, TQListViewItem after) { super((Class) null); newKFileListViewItem(parent,text,icon,fi,after); } - private native void newKFileListViewItem(QListView parent, String text, QPixmap icon, KFileItem fi, QListViewItem after); + private native void newKFileListViewItem(TQListView parent, String text, TQPixmap icon, KFileItem fi, TQListViewItem after); /** @return the corresponding KFileItem @@ -43,7 +43,7 @@ public class KFileListViewItem extends KListViewItem { public native KFileItem fileInfo(); public native String key(int arg1, boolean arg2); public native void setKey(String key); - public native QRect rect(); + public native TQRect rect(); /** @short */ diff --git a/kdejava/koala/org/kde/koala/KFileMetaInfo.java b/kdejava/koala/org/kde/koala/KFileMetaInfo.java index a298e652..e349722d 100644 --- a/kdejava/koala/org/kde/koala/KFileMetaInfo.java +++ b/kdejava/koala/org/kde/koala/KFileMetaInfo.java @@ -4,7 +4,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QVariant; +import org.kde.qt.TQVariant; /** @@ -257,7 +257,7 @@ public class KFileMetaInfo implements QtSupport { @short Returns the value with the given <code>key.</code> */ - public native QVariant value(String key); + public native TQVariant value(String key); /** Returns true if the item is valid, i.e. if actually represents the info about a file, false if the object is uninitialized. diff --git a/kdejava/koala/org/kde/koala/KFileMetaInfoGroup.java b/kdejava/koala/org/kde/koala/KFileMetaInfoGroup.java index fe8989ab..107de482 100644 --- a/kdejava/koala/org/kde/koala/KFileMetaInfoGroup.java +++ b/kdejava/koala/org/kde/koala/KFileMetaInfoGroup.java @@ -4,7 +4,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QVariant; +import org.kde.qt.TQVariant; /** @@ -24,7 +24,7 @@ public class KFileMetaInfoGroup implements QtSupport { KFileMetaInfo do it for you. @short */ - // KFileMetaInfoGroup* KFileMetaInfoGroup(const QString& arg1,const KFileMimeTypeInfo* arg2); >>>> NOT CONVERTED + // KFileMetaInfoGroup* KFileMetaInfoGroup(const TQString& arg1,const KFileMimeTypeInfo* arg2); >>>> NOT CONVERTED /** Copy constructor @short Copy constructor @@ -97,7 +97,7 @@ public class KFileMetaInfoGroup implements QtSupport { @short Convenience function. */ - public native QVariant value(String key); + public native TQVariant value(String key); /** Use this method to get a list of keys in the specified group that the plugin knows about. No variable keys. @@ -189,7 +189,7 @@ public class KFileMetaInfoGroup implements QtSupport { */ public native int attributes(); protected native void setAdded(); - protected native KFileMetaInfoItem appendItem(String key, QVariant value); + protected native KFileMetaInfoItem appendItem(String key, TQVariant value); protected native void ref(); protected native void deref(); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KFileMetaInfoItem.java b/kdejava/koala/org/kde/koala/KFileMetaInfoItem.java index 37b80258..422dfcea 100644 --- a/kdejava/koala/org/kde/koala/KFileMetaInfoItem.java +++ b/kdejava/koala/org/kde/koala/KFileMetaInfoItem.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QVariant; +import org.kde.qt.TQVariant; /** @@ -23,7 +23,7 @@ public class KFileMetaInfoItem implements QtSupport { KFileMetaInfo do it for you. @short */ - // KFileMetaInfoItem* KFileMetaInfoItem(const KFileMimeTypeInfo::ItemInfo* arg1,const QString& arg2,const QVariant& arg3); >>>> NOT CONVERTED + // KFileMetaInfoItem* KFileMetaInfoItem(const KFileMimeTypeInfo::ItemInfo* arg1,const TQString& arg2,const TQVariant& arg3); >>>> NOT CONVERTED /** Copy constructor @short Copy constructor @@ -61,7 +61,7 @@ public class KFileMetaInfoItem implements QtSupport { @short Returns the value of the item. */ - public native QVariant value(); + public native TQVariant value(); /** Returns a string containing the value, if possible. If not, null is returned. @@ -80,7 +80,7 @@ public class KFileMetaInfoItem implements QtSupport { @short Changes the value of the item. */ - public native boolean setValue(QVariant value); + public native boolean setValue(TQVariant value); /** Return the type of the item. @return the type of the item diff --git a/kdejava/koala/org/kde/koala/KFilePlugin.java b/kdejava/koala/org/kde/koala/KFilePlugin.java index 0dd2ca43..b904fa38 100644 --- a/kdejava/koala/org/kde/koala/KFilePlugin.java +++ b/kdejava/koala/org/kde/koala/KFilePlugin.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QValidator; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQValidator; +import org.kde.qt.TQObject; /** @@ -27,7 +27,7 @@ import org.kde.qt.QObject; structure of the meta information supported by your plugin. Example: @code - FooPlugin.FooPlugin(QObject parent, String name, + FooPlugin.FooPlugin(TQObject parent, String name, ArrayListargs) { KFileMimeTypeInfo info = addMimeTypeInfo( "application/x-foo" ); @@ -36,11 +36,11 @@ import org.kde.qt.QObject; group = addGroupInfo(info, "FooInfo", i18n("Foo Information")); KFileMimeTypeInfo.ItemInfo item; // our new items in the group - item = addItemInfo(group, "Items", i18n("Items"), QVariant.Int); - item = addItemInfo(group, "Size", i18n("Size"), QVariant.Int); + item = addItemInfo(group, "Items", i18n("Items"), TQVariant.Int); + item = addItemInfo(group, "Size", i18n("Size"), TQVariant.Int); setUnit(item, KFileMimeTypeInfo.KiloBytes); // strings are possible, too: - //addItemInfo(group, "Document Type", i18n("Document type"), QVariant.String); + //addItemInfo(group, "Document Type", i18n("Document type"), TQVariant.String); } @endcode Some meta information items are likely to be available in several different @@ -55,7 +55,7 @@ import org.kde.qt.QObject; achieve this task. This might be the best way for binary files, since a change in the file format is likely to be supported by subsequent releases of that library. Alternatively, for text-based file formats, you can use - QTextStream to parse the file. For simple file formats, QRegExp can be of + TQTextStream to parse the file. For simple file formats, TQRegExp can be of great help, too. After you extracted the relevant information, use appendGroup() and appendItem() to fill the meta information data structure (as defined in the @@ -68,7 +68,7 @@ import org.kde.qt.QObject; int numItems = 0; int size = 0; // do your calculations here, e.g. using a third-party - // library or by writing an own parser using e.g. QTextStream + // library or by writing an own parser using e.g. TQTextStream // calculate numItems and size ... // note: use the same key strings as in the constructor KFileMetaInfoGroup group = appendGroup(info, "FooInfo"); @@ -79,8 +79,8 @@ import org.kde.qt.QObject; @endcode If you want to define mutable meta information items, you need to overwrite the writeInfo() method. In this method, you can use third-party library - (appropriate mostly for binary files, see above) or QTextStream to write the - information back to the file. If you use QTextStream, be sure to write all + (appropriate mostly for binary files, see above) or TQTextStream to write the + information back to the file. If you use TQTextStream, be sure to write all file contents back. For some items, it might be that not all possible values are allowed. You can overwrite the createValidator() method to define constraints for a meta @@ -95,7 +95,7 @@ import org.kde.qt.QObject; K_EXPORT_COMPONENT_FACTORY(kfile_foo, FooFactory("kfile_foo")); @endcode To make your plugin available within KDE, you also need to provide a - <code>.desktop</code> file which describes your plugin. The required fields in the + <code>.desktop</code> file which describes your plugin. The retquired fields in the file are: - <code>Type</code>: must be @c "Service" - <code>Name</code>: the name of the plugin @@ -123,21 +123,21 @@ import org.kde.qt.QObject; @short @brief Base class for a meta information plugin */ -public class KFilePlugin extends QObject { +public class KFilePlugin extends TQObject { protected KFilePlugin(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a new KFilePlugin instance. You need to implement a constructor - with the same argument list as this is required by KGenericFactory - @param parent the parent of the QObject, can be <code>0</code> - @param name the name of the QObject, can be <code>0</code> + with the same argument list as this is retquired by KGenericFactory + @param parent the parent of the TQObject, can be <code>0</code> + @param name the name of the TQObject, can be <code>0</code> @param args currently ignored @short Creates a new KFilePlugin instance. @see #addMimeTypeInfo @see #addGroupInfo @see #addItemInfo - @see org.kde.qt.QObject + @see org.kde.qt.TQObject */ /** Read the info from the file in this method and insert it into the @@ -171,9 +171,9 @@ public class KFilePlugin extends QObject { @param mimeType the mime type @param group the group name of the validator item @param key the key name of the validator item - @param parent the QObject parent, can be <code>0</code> - @param name the name of the QObject, can be <code>0</code> + @param parent the TQObject parent, can be <code>0</code> + @param name the name of the TQObject, can be <code>0</code> @short This method should create an appropriate validator for the specified item if it's editable or return a null pointer if not. */ - public native QValidator createValidator(String mimeType, String group, String key, QObject parent, String name); + public native TQValidator createValidator(String mimeType, String group, String key, TQObject parent, String name); } diff --git a/kdejava/koala/org/kde/koala/KFilePreview.java b/kdejava/koala/org/kde/koala/KFilePreview.java index 423692e7..dd9b6061 100644 --- a/kdejava/koala/org/kde/koala/KFilePreview.java +++ b/kdejava/koala/org/kde/koala/KFilePreview.java @@ -2,30 +2,30 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; -import org.kde.qt.QSplitter; +import org.kde.qt.TQWidget; +import org.kde.qt.TQSplitter; /** See {@link KFilePreviewSignals} for signals emitted by KFilePreview */ -public class KFilePreview extends QSplitter implements KFileViewInterface { +public class KFilePreview extends TQSplitter implements KFileViewInterface { protected KFilePreview(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KFilePreview(QWidget parent, String name) { + public KFilePreview(TQWidget parent, String name) { super((Class) null); newKFilePreview(parent,name); } - private native void newKFilePreview(QWidget parent, String name); - public KFilePreview(KFileViewInterface view, QWidget parent, String name) { + private native void newKFilePreview(TQWidget parent, String name); + public KFilePreview(KFileViewInterface view, TQWidget parent, String name) { super((Class) null); newKFilePreview(view,parent,name); } - private native void newKFilePreview(KFileViewInterface view, QWidget parent, String name); - public native QWidget widget(); + private native void newKFilePreview(KFileViewInterface view, TQWidget parent, String name); + public native TQWidget widget(); public native void clearView(); /** Delets the current view and sets the view to the given <code>view.</code> @@ -70,7 +70,7 @@ public class KFilePreview extends QSplitter implements KFileViewInterface { */ public native KActionCollection actionCollection(); public native void ensureItemVisible(KFileItem arg1); - public native void setPreviewWidget(QWidget w, KURL u); + public native void setPreviewWidget(TQWidget w, KURL u); protected native void slotHighlighted(KFileItem arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; @@ -97,8 +97,8 @@ public class KFilePreview extends QSplitter implements KFileViewInterface { public native int sorting(); /** Tells whether the current items are in reversed order (shortcut to - sorting() & QDir.Reversed). - @short Tells whether the current items are in reversed order (shortcut to sorting() & QDir.Reversed). + sorting() & TQDir.Reversed). + @short Tells whether the current items are in reversed order (shortcut to sorting() & TQDir.Reversed). */ public native boolean isReversed(); public native void sortReversed(); @@ -189,13 +189,13 @@ public class KFilePreview extends QSplitter implements KFileViewInterface { public native int dropOptions(); /** This method calculates a String from the given parameters, that is - suitable for sorting with e.g. QIconView or QListView. Their + suitable for sorting with e.g. TQIconView or TQListView. Their Item-classes usually have a setKey( String ) method or a virtual method String key() that is used for sorting. @param value Any string that should be used as sort criterion @param isDir Tells whether the key is computed for an item representing a directory (directories are usually sorted before files) - @param sortSpec An ORed combination of QDir.SortSpec flags. + @param sortSpec An ORed combination of TQDir.SortSpec flags. Currently, the values IgnoreCase, Reversed and DirsFirst are taken into account. @short This method calculates a String from the given parameters, that is suitable for sorting with e. diff --git a/kdejava/koala/org/kde/koala/KFilePreviewSignals.java b/kdejava/koala/org/kde/koala/KFilePreviewSignals.java index 6332452b..1642a558 100644 --- a/kdejava/koala/org/kde/koala/KFilePreviewSignals.java +++ b/kdejava/koala/org/kde/koala/KFilePreviewSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KFilePreviewSignals { void showPreview(KURL arg1); diff --git a/kdejava/koala/org/kde/koala/KFileTreeBranch.java b/kdejava/koala/org/kde/koala/KFileTreeBranch.java index 13b9e251..75dedfa3 100644 --- a/kdejava/koala/org/kde/koala/KFileTreeBranch.java +++ b/kdejava/koala/org/kde/koala/KFileTreeBranch.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; +import org.kde.qt.TQPixmap; /** @@ -18,7 +18,7 @@ import org.kde.qt.QPixmap; */ public class KFileTreeBranch extends KDirLister { protected KFileTreeBranch(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** constructs a branch for KFileTreeView. Does not yet start to list it. @@ -31,21 +31,21 @@ public class KFileTreeBranch extends KDirLister { it for you. @short constructs a branch for KFileTreeView. */ - public KFileTreeBranch(KFileTreeView arg1, KURL url, String name, QPixmap pix, boolean showHidden, KFileTreeViewItem branchRoot) { + public KFileTreeBranch(KFileTreeView arg1, KURL url, String name, TQPixmap pix, boolean showHidden, KFileTreeViewItem branchRoot) { super((Class) null); newKFileTreeBranch(arg1,url,name,pix,showHidden,branchRoot); } - private native void newKFileTreeBranch(KFileTreeView arg1, KURL url, String name, QPixmap pix, boolean showHidden, KFileTreeViewItem branchRoot); - public KFileTreeBranch(KFileTreeView arg1, KURL url, String name, QPixmap pix, boolean showHidden) { + private native void newKFileTreeBranch(KFileTreeView arg1, KURL url, String name, TQPixmap pix, boolean showHidden, KFileTreeViewItem branchRoot); + public KFileTreeBranch(KFileTreeView arg1, KURL url, String name, TQPixmap pix, boolean showHidden) { super((Class) null); newKFileTreeBranch(arg1,url,name,pix,showHidden); } - private native void newKFileTreeBranch(KFileTreeView arg1, KURL url, String name, QPixmap pix, boolean showHidden); - public KFileTreeBranch(KFileTreeView arg1, KURL url, String name, QPixmap pix) { + private native void newKFileTreeBranch(KFileTreeView arg1, KURL url, String name, TQPixmap pix, boolean showHidden); + public KFileTreeBranch(KFileTreeView arg1, KURL url, String name, TQPixmap pix) { super((Class) null); newKFileTreeBranch(arg1,url,name,pix); } - private native void newKFileTreeBranch(KFileTreeView arg1, KURL url, String name, QPixmap pix); + private native void newKFileTreeBranch(KFileTreeView arg1, KURL url, String name, TQPixmap pix); /** @return the root url of the branch. @@ -77,8 +77,8 @@ public class KFileTreeBranch extends KDirLister { @short sets the name of the branch. */ public native void setName(String n); - public native QPixmap pixmap(); - public native QPixmap openPixmap(); + public native TQPixmap pixmap(); + public native TQPixmap openPixmap(); /** @return whether the items in the branch show their file extensions in the tree or not. See setShowExtensions for more information. @@ -132,7 +132,7 @@ public class KFileTreeBranch extends KDirLister { */ public native void setShowExtensions(boolean visible); public native void setShowExtensions(); - public native void setOpenPixmap(QPixmap pix); + public native void setOpenPixmap(TQPixmap pix); /** allocates a KFileTreeViewItem for the branch for new items. diff --git a/kdejava/koala/org/kde/koala/KFileTreeBranchSignals.java b/kdejava/koala/org/kde/koala/KFileTreeBranchSignals.java index 5cc86082..79c8d27e 100644 --- a/kdejava/koala/org/kde/koala/KFileTreeBranchSignals.java +++ b/kdejava/koala/org/kde/koala/KFileTreeBranchSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; +import org.kde.qt.TQPixmap; public interface KFileTreeBranchSignals { /** diff --git a/kdejava/koala/org/kde/koala/KFileTreeView.java b/kdejava/koala/org/kde/koala/KFileTreeView.java index 6d697ec7..a0a8002c 100644 --- a/kdejava/koala/org/kde/koala/KFileTreeView.java +++ b/kdejava/koala/org/kde/koala/KFileTreeView.java @@ -2,22 +2,22 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QListViewItem; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQListViewItem; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QDragLeaveEvent; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQDragLeaveEvent; import java.util.ArrayList; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QDragObject; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDragObject; /** The filetreeview offers a treeview on the file system which behaves like - a QTreeView showing files and/or directories in the file system. + a TQTreeView showing files and/or directories in the file system. KFileTreeView is able to handle more than one URL, represented by KFileTreeBranch. Typical usage: @@ -26,23 +26,23 @@ import org.kde.qt.QDragObject; 3. retrieve the root item with KFileTreeBranch.root() and set it open if desired. That starts the listing. See {@link KFileTreeViewSignals} for signals emitted by KFileTreeView - @short The filetreeview offers a treeview on the file system which behaves like a QTreeView showing files and/or directories in the file system. + @short The filetreeview offers a treeview on the file system which behaves like a TQTreeView showing files and/or directories in the file system. */ public class KFileTreeView extends KListView { protected KFileTreeView(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KFileTreeView(QWidget parent, String name) { + public KFileTreeView(TQWidget parent, String name) { super((Class) null); newKFileTreeView(parent,name); } - private native void newKFileTreeView(QWidget parent, String name); - public KFileTreeView(QWidget parent) { + private native void newKFileTreeView(TQWidget parent, String name); + public KFileTreeView(TQWidget parent) { super((Class) null); newKFileTreeView(parent); } - private native void newKFileTreeView(QWidget parent); + private native void newKFileTreeView(TQWidget parent); /** @return the current (i.e. selected) item @@ -74,8 +74,8 @@ public class KFileTreeView extends KListView { same as the function above but with a pixmap to set for the branch. @short same as the function above but with a pixmap to set for the branch. */ - public native KFileTreeBranch addBranch(KURL path, String name, QPixmap pix, boolean showHidden); - public native KFileTreeBranch addBranch(KURL path, String name, QPixmap pix); + public native KFileTreeBranch addBranch(KURL path, String name, TQPixmap pix, boolean showHidden); + public native KFileTreeBranch addBranch(KURL path, String name, TQPixmap pix); /** same as the function above but letting the user create the branch. @short same as the function above but letting the user create the branch. @@ -145,20 +145,20 @@ public class KFileTreeView extends KListView { @short */ - protected native boolean acceptDrag(QDropEvent event); - protected native QDragObject dragObject(); + protected native boolean acceptDrag(TQDropEvent event); + protected native TQDragObject dragObject(); protected native void startAnimation(KFileTreeViewItem item, String iconBaseName, int iconCount); protected native void startAnimation(KFileTreeViewItem item, String iconBaseName); protected native void startAnimation(KFileTreeViewItem item); protected native void stopAnimation(KFileTreeViewItem item); - protected native void contentsDragEnterEvent(QDragEnterEvent e); - protected native void contentsDragMoveEvent(QDragMoveEvent e); - protected native void contentsDragLeaveEvent(QDragLeaveEvent e); - protected native void contentsDropEvent(QDropEvent ev); + protected native void contentsDragEnterEvent(TQDragEnterEvent e); + protected native void contentsDragMoveEvent(TQDragMoveEvent e); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); + protected native void contentsDropEvent(TQDropEvent ev); // void slotNewTreeViewItems(KFileTreeBranch* arg1,const KFileTreeViewItemList& arg2); >>>> NOT CONVERTED protected native void slotSetNextUrlToSelect(KURL url); - protected native QPixmap itemIcon(KFileTreeViewItem arg1, int gap); - protected native QPixmap itemIcon(KFileTreeViewItem arg1); + protected native TQPixmap itemIcon(KFileTreeViewItem arg1, int gap); + protected native TQPixmap itemIcon(KFileTreeViewItem arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KFileTreeViewSignals.java b/kdejava/koala/org/kde/koala/KFileTreeViewSignals.java index 6ddc4179..1964efa1 100644 --- a/kdejava/koala/org/kde/koala/KFileTreeViewSignals.java +++ b/kdejava/koala/org/kde/koala/KFileTreeViewSignals.java @@ -1,26 +1,26 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QListViewItem; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQListViewItem; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QDragLeaveEvent; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQDragLeaveEvent; import java.util.ArrayList; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QDragObject; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDragObject; public interface KFileTreeViewSignals { void onItem(String arg1); - void dropped(QWidget arg1, QDropEvent arg2); - void dropped(QWidget arg1, QDropEvent arg2, ArrayList arg3); + void dropped(TQWidget arg1, TQDropEvent arg2); + void dropped(TQWidget arg1, TQDropEvent arg2, ArrayList arg3); void dropped(ArrayList arg1, KURL arg2); - void dropped(QWidget arg1, QDropEvent arg2, ArrayList arg3, KURL arg4); - void dropped(QDropEvent arg1, QListViewItem arg2); - void dropped(KFileTreeView arg1, QDropEvent arg2, QListViewItem arg3); - void dropped(QDropEvent arg1, QListViewItem arg2, QListViewItem arg3); - void dropped(KFileTreeView arg1, QDropEvent arg2, QListViewItem arg3, QListViewItem arg4); + void dropped(TQWidget arg1, TQDropEvent arg2, ArrayList arg3, KURL arg4); + void dropped(TQDropEvent arg1, TQListViewItem arg2); + void dropped(KFileTreeView arg1, TQDropEvent arg2, TQListViewItem arg3); + void dropped(TQDropEvent arg1, TQListViewItem arg2, TQListViewItem arg3); + void dropped(KFileTreeView arg1, TQDropEvent arg2, TQListViewItem arg3, TQListViewItem arg4); } diff --git a/kdejava/koala/org/kde/koala/KFileTreeViewToolTip.java b/kdejava/koala/org/kde/koala/KFileTreeViewToolTip.java index b78565c4..bda5ac86 100644 --- a/kdejava/koala/org/kde/koala/KFileTreeViewToolTip.java +++ b/kdejava/koala/org/kde/koala/KFileTreeViewToolTip.java @@ -3,20 +3,20 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QListView; -import org.kde.qt.QToolTip; +import org.kde.qt.TQPoint; +import org.kde.qt.TQListView; +import org.kde.qt.TQToolTip; /** */ -public class KFileTreeViewToolTip extends QToolTip { +public class KFileTreeViewToolTip extends TQToolTip { protected KFileTreeViewToolTip(Class dummy){super((Class) null);} - public KFileTreeViewToolTip(QListView view) { + public KFileTreeViewToolTip(TQListView view) { super((Class) null); newKFileTreeViewToolTip(view); } - private native void newKFileTreeViewToolTip(QListView view); - protected native void maybeTip(QPoint arg1); + private native void newKFileTreeViewToolTip(TQListView view); + protected native void maybeTip(TQPoint arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KFileView.java b/kdejava/koala/org/kde/koala/KFileView.java index 23c1254a..fa504c7d 100644 --- a/kdejava/koala/org/kde/koala/KFileView.java +++ b/kdejava/koala/org/kde/koala/KFileView.java @@ -4,7 +4,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -49,12 +49,12 @@ public class KFileView implements QtSupport, KFileViewInterface { */ public native void addItemList(ArrayList list); /** - a pure function to get a QWidget, that can be added to + a pure function to get a TQWidget, that can be added to other widgets. This function is needed to make it possible for derived classes to derive from other widgets. - @short a pure virtual function to get a QWidget, that can be added to other widgets. + @short a pure virtual function to get a TQWidget, that can be added to other widgets. */ - public native QWidget widget(); + public native TQWidget widget(); /** Sets <code>filename</code> the current item in the view, if available. @short Sets <code>filename</code> the current item in the view, if available. @@ -111,21 +111,21 @@ public class KFileView implements QtSupport, KFileViewInterface { public native int sorting(); /** Sets the sorting order of the view. - Default is QDir.Name | QDir.IgnoreCase | QDir.DirsFirst + Default is TQDir.Name | TQDir.IgnoreCase | TQDir.DirsFirst Override this in your subclass and sort accordingly (usually by - setting the sorting-key for every item and telling QIconView - or QListView to sort. - A view may choose to use a different sorting than QDir.Name, Time + setting the sorting-key for every item and telling TQIconView + or TQListView to sort. + A view may choose to use a different sorting than TQDir.Name, Time or Size. E.g. to sort by mimetype or any possible string. Set the - sorting to QDir.Unsorted for that and do the rest internally. + sorting to TQDir.Unsorted for that and do the rest internally. @short Sets the sorting order of the view. @see #sortingKey */ public native void setSorting(int sort); /** Tells whether the current items are in reversed order (shortcut to - sorting() & QDir.Reversed). - @short Tells whether the current items are in reversed order (shortcut to sorting() & QDir.Reversed). + sorting() & TQDir.Reversed). + @short Tells whether the current items are in reversed order (shortcut to sorting() & TQDir.Reversed). */ public native boolean isReversed(); public native void sortReversed(); @@ -284,13 +284,13 @@ public class KFileView implements QtSupport, KFileViewInterface { public native int dropOptions(); /** This method calculates a String from the given parameters, that is - suitable for sorting with e.g. QIconView or QListView. Their + suitable for sorting with e.g. TQIconView or TQListView. Their Item-classes usually have a setKey( String ) method or a virtual method String key() that is used for sorting. @param value Any string that should be used as sort criterion @param isDir Tells whether the key is computed for an item representing a directory (directories are usually sorted before files) - @param sortSpec An ORed combination of QDir.SortSpec flags. + @param sortSpec An ORed combination of TQDir.SortSpec flags. Currently, the values IgnoreCase, Reversed and DirsFirst are taken into account. @short This method calculates a String from the given parameters, that is suitable for sorting with e. diff --git a/kdejava/koala/org/kde/koala/KFileViewInterface.java b/kdejava/koala/org/kde/koala/KFileViewInterface.java index 7c0db042..eb17ea8f 100644 --- a/kdejava/koala/org/kde/koala/KFileViewInterface.java +++ b/kdejava/koala/org/kde/koala/KFileViewInterface.java @@ -3,11 +3,11 @@ package org.kde.koala; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KFileViewInterface { void addItemList(ArrayList list); - QWidget widget(); + TQWidget widget(); void setCurrentItem(String filename); void setCurrentItem(KFileItem item); KFileItem currentFileItem(); diff --git a/kdejava/koala/org/kde/koala/KFileViewSignaler.java b/kdejava/koala/org/kde/koala/KFileViewSignaler.java index bf655da3..efa5f874 100644 --- a/kdejava/koala/org/kde/koala/KFileViewSignaler.java +++ b/kdejava/koala/org/kde/koala/KFileViewSignaler.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; +import org.kde.qt.TQPoint; import java.util.ArrayList; -import org.kde.qt.QDropEvent; -import org.kde.qt.QObject; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQObject; /** @@ -16,9 +16,9 @@ import org.kde.qt.QObject; @short internal class to make easier to use signals possible */ -public class KFileViewSignaler extends QObject { +public class KFileViewSignaler extends TQObject { protected KFileViewSignaler(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Call this method when an item is selected (depends on single click / @@ -32,9 +32,9 @@ public class KFileViewSignaler extends QObject { @short emits the highlighted signal for item. */ public native void highlightFile(KFileItem i); - public native void activateMenu(KFileItem i, QPoint pos); + public native void activateMenu(KFileItem i, TQPoint pos); public native void changeSorting(int sorting); - public native void dropURLs(KFileItem i, QDropEvent e, ArrayList urls); + public native void dropURLs(KFileItem i, TQDropEvent e, ArrayList urls); public KFileViewSignaler() { super((Class) null); newKFileViewSignaler(); diff --git a/kdejava/koala/org/kde/koala/KFileViewSignalerSignals.java b/kdejava/koala/org/kde/koala/KFileViewSignalerSignals.java index a8297700..9a0c0463 100644 --- a/kdejava/koala/org/kde/koala/KFileViewSignalerSignals.java +++ b/kdejava/koala/org/kde/koala/KFileViewSignalerSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; +import org.kde.qt.TQPoint; import java.util.ArrayList; -import org.kde.qt.QDropEvent; +import org.kde.qt.TQDropEvent; public interface KFileViewSignalerSignals { void dirActivated(KFileItem arg1); @@ -17,6 +17,6 @@ public interface KFileViewSignalerSignals { */ void fileHighlighted(KFileItem arg1); void fileSelected(KFileItem arg1); - void activatedMenu(KFileItem i, QPoint arg2); - void dropped(KFileItem arg1, QDropEvent arg2, ArrayList arg3); + void activatedMenu(KFileItem i, TQPoint arg2); + void dropped(KFileItem arg1, TQDropEvent arg2, ArrayList arg3); } diff --git a/kdejava/koala/org/kde/koala/KFilterBase.java b/kdejava/koala/org/kde/koala/KFilterBase.java index 90558605..2d73b097 100644 --- a/kdejava/koala/org/kde/koala/KFilterBase.java +++ b/kdejava/koala/org/kde/koala/KFilterBase.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QIODevice; -import org.kde.qt.QIODeviceInterface; -import org.kde.qt.QObject; +import org.kde.qt.TQIODevice; +import org.kde.qt.TQIODeviceInterface; +import org.kde.qt.TQObject; /** @@ -16,7 +16,7 @@ import org.kde.qt.QObject; @short This is the base class for compression filters such as gzip and bzip2. */ -public class KFilterBase extends QObject { +public class KFilterBase extends TQObject { protected KFilterBase(Class dummy){super((Class) null);} /** \internal @short \internal */ @@ -24,7 +24,7 @@ public class KFilterBase extends QObject { public static final int END = 1; public static final int ERROR = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Sets the device on which the filter will work @@ -32,15 +32,15 @@ public class KFilterBase extends QObject { @param autodelete if true, <code>dev</code> is deleted when the filter is deleted @short Sets the device on which the filter will work */ - public native void setDevice(QIODeviceInterface dev, boolean autodelete); - public native void setDevice(QIODeviceInterface dev); + public native void setDevice(TQIODeviceInterface dev, boolean autodelete); + public native void setDevice(TQIODeviceInterface dev); /** Returns the device on which the filter will work. @return the device on which the filter will work @short Returns the device on which the filter will work. */ - public native QIODeviceInterface device(); + public native TQIODeviceInterface device(); /** \internal @short \internal */ public native void init(int mode); diff --git a/kdejava/koala/org/kde/koala/KFilterDev.java b/kdejava/koala/org/kde/koala/KFilterDev.java index a20c7244..beb1e1d8 100644 --- a/kdejava/koala/org/kde/koala/KFilterDev.java +++ b/kdejava/koala/org/kde/koala/KFilterDev.java @@ -3,9 +3,9 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QIODevice; -import org.kde.qt.QIODeviceInterface; -import org.kde.qt.QIODevice; +import org.kde.qt.TQIODevice; +import org.kde.qt.TQIODeviceInterface; +import org.kde.qt.TQIODevice; /** @@ -17,7 +17,7 @@ import org.kde.qt.QIODevice; @short A class for reading and writing compressed data onto a device (e. */ -public class KFilterDev extends QIODevice { +public class KFilterDev extends TQIODevice { protected KFilterDev(Class dummy){super((Class) null);} /** Constructs a KFilterDev for a given filter (e.g. gzip, bzip2 etc.). @@ -84,27 +84,27 @@ public class KFilterDev extends QIODevice { if <code>mimetype</code> is empty. Pass "application/x-gzip" or "application/x-bzip2" to force the corresponding decompression filter, if available. Warning: application/x-bzip2 may not be available. - In that case a QFile opened on the compressed data will be returned ! + In that case a TQFile opened on the compressed data will be returned ! Use KFilterBase.findFilterByMimeType and code similar to what deviceForFile is doing, to better control what's happening. - The returned QIODevice has to be deleted after using. + The returned TQIODevice has to be deleted after using. @param fileName the name of the file to filter @param mimetype the mime type of the file to filter, or null if unknown @param forceFilter if true, the function will either find a compression filter, or return 0. - If false, it will always return a QIODevice. If no - filter is available it will return a simple QFile. + If false, it will always return a TQIODevice. If no + filter is available it will return a simple TQFile. This can be useful if the file is usable without a filter. - @return if a filter has been found, the QIODevice for the filter. If the + @return if a filter has been found, the TQIODevice for the filter. If the filter does not exist, the return value depends on <code>forceFilter.</code> - The returned QIODevice has to be deleted after using. + The returned TQIODevice has to be deleted after using. @short Creates an i/o device that is able to read from <code>fileName</code>, whether it's compressed or not. */ - public static native QIODeviceInterface deviceForFile(String fileName, String mimetype, boolean forceFilter); - public static native QIODeviceInterface deviceForFile(String fileName, String mimetype); - public static native QIODeviceInterface deviceForFile(String fileName); + public static native TQIODeviceInterface deviceForFile(String fileName, String mimetype, boolean forceFilter); + public static native TQIODeviceInterface deviceForFile(String fileName, String mimetype); + public static native TQIODeviceInterface deviceForFile(String fileName); /** - Creates an i/o device that is able to read from the QIODevice <code>inDevice</code>, + Creates an i/o device that is able to read from the TQIODevice <code>inDevice</code>, whether the data is compressed or not. Available compression filters (gzip/bzip2 etc.) will automatically be used. The compression filter to be used is determined <code>mimetype</code> . @@ -112,17 +112,17 @@ public class KFilterDev extends QIODevice { to use the corresponding decompression filter. Warning: application/x-bzip2 may not be available. In that case 0 will be returned ! - The returned QIODevice has to be deleted after using. + The returned TQIODevice has to be deleted after using. @param inDevice input device, becomes owned by this device! Automatically deleted! @param mimetype the mime type for the filter - @return a QIODevice that filters the original stream. Must be deleted after + @return a TQIODevice that filters the original stream. Must be deleted after using - @short Creates an i/o device that is able to read from the QIODevice <code>inDevice</code>, whether the data is compressed or not. + @short Creates an i/o device that is able to read from the TQIODevice <code>inDevice</code>, whether the data is compressed or not. */ - public static native QIODeviceInterface device(QIODeviceInterface inDevice, String mimetype); + public static native TQIODeviceInterface device(TQIODeviceInterface inDevice, String mimetype); /** - Creates an i/o device that is able to read from the QIODevice <code>inDevice</code>, + Creates an i/o device that is able to read from the TQIODevice <code>inDevice</code>, whether the data is compressed or not. Available compression filters (gzip/bzip2 etc.) will automatically be used. The compression filter to be used is determined <code>mimetype</code> . @@ -130,16 +130,16 @@ public class KFilterDev extends QIODevice { to use the corresponding decompression filter. Warning: application/x-bzip2 may not be available. In that case 0 will be returned ! - The returned QIODevice has to be deleted after using. + The returned TQIODevice has to be deleted after using. @param inDevice input device. Won't be deleted if <code>autoDeleteInDevice</code> = false @param mimetype the mime type for the filter @param autoDeleteInDevice if true, <code>inDevice</code> will be deleted automatically - @return a QIODevice that filters the original stream. Must be deleted after + @return a TQIODevice that filters the original stream. Must be deleted after using - @short Creates an i/o device that is able to read from the QIODevice <code>inDevice</code>, whether the data is compressed or not. + @short Creates an i/o device that is able to read from the TQIODevice <code>inDevice</code>, whether the data is compressed or not. */ - public static native QIODeviceInterface device(QIODeviceInterface inDevice, String mimetype, boolean autoDeleteInDevice); + public static native TQIODeviceInterface device(TQIODeviceInterface inDevice, String mimetype, boolean autoDeleteInDevice); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KFind.java b/kdejava/koala/org/kde/koala/KFind.java index fcdd0b0e..a0b964f1 100644 --- a/kdejava/koala/org/kde/koala/KFind.java +++ b/kdejava/koala/org/kde/koala/KFind.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QRegExp; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQRegExp; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -70,23 +70,23 @@ import org.kde.qt.QObject; @short @brief A generic implementation of the "find" function. */ -public class KFind extends QObject { +public class KFind extends TQObject { protected KFind(Class dummy){super((Class) null);} public static final int NoMatch = 0; public static final int Match = 1; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Only use this constructor if you don't use KFindDialog, or if you use it as a modal dialog. @short Only use this constructor if you don't use KFindDialog, or if you use it as a modal dialog. */ - public KFind(String pattern, long options, QWidget parent) { + public KFind(String pattern, long options, TQWidget parent) { super((Class) null); newKFind(pattern,options,parent); } - private native void newKFind(String pattern, long options, QWidget parent); + private native void newKFind(String pattern, long options, TQWidget parent); /** @return true if the application must supply a new text fragment It also means the last call returned "NoMatch". But by storing this here @@ -245,9 +245,9 @@ public class KFind extends QObject { @short Search the given string, and returns whether a match was found. */ public static native int find(String text, String pattern, int index, long options, int[] matchedlength); - public static native int find(String text, QRegExp pattern, int index, long options, int[] matchedlength); - protected native QWidget parentWidget(); - protected native QWidget dialogsParent(); + public static native int find(String text, TQRegExp pattern, int index, long options, int[] matchedlength); + protected native TQWidget parentWidget(); + protected native TQWidget dialogsParent(); protected native void slotFindNext(); protected native void slotDialogClosed(); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KFindDialog.java b/kdejava/koala/org/kde/koala/KFindDialog.java index f84e6a04..d2d279cc 100644 --- a/kdejava/koala/org/kde/koala/KFindDialog.java +++ b/kdejava/koala/org/kde/koala/KFindDialog.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QShowEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQWidget; /** @@ -19,7 +19,7 @@ import org.kde.qt.QWidget; To use the basic modal find dialog, and then run the search: <pre> KFindDialog dlg(....) - if ( dlg.exec() != QDialog.Accepted ) + if ( dlg.exec() != TQDialog.Accepted ) return; // proceed with KFind from here </pre> @@ -52,7 +52,7 @@ public class KFindDialog extends KDialogBase { public static final int FindIncremental = 64; public static final int MinimumUserOption = 65536; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a modal find dialog @@ -63,31 +63,31 @@ public class KFindDialog extends KDialogBase { @param hasSelection Whether a selection exists @short Construct a modal find dialog */ - public KFindDialog(QWidget parent, String name, long options, String[] findStrings, boolean hasSelection) { + public KFindDialog(TQWidget parent, String name, long options, String[] findStrings, boolean hasSelection) { super((Class) null); newKFindDialog(parent,name,options,findStrings,hasSelection); } - private native void newKFindDialog(QWidget parent, String name, long options, String[] findStrings, boolean hasSelection); - public KFindDialog(QWidget parent, String name, long options, String[] findStrings) { + private native void newKFindDialog(TQWidget parent, String name, long options, String[] findStrings, boolean hasSelection); + public KFindDialog(TQWidget parent, String name, long options, String[] findStrings) { super((Class) null); newKFindDialog(parent,name,options,findStrings); } - private native void newKFindDialog(QWidget parent, String name, long options, String[] findStrings); - public KFindDialog(QWidget parent, String name, long options) { + private native void newKFindDialog(TQWidget parent, String name, long options, String[] findStrings); + public KFindDialog(TQWidget parent, String name, long options) { super((Class) null); newKFindDialog(parent,name,options); } - private native void newKFindDialog(QWidget parent, String name, long options); - public KFindDialog(QWidget parent, String name) { + private native void newKFindDialog(TQWidget parent, String name, long options); + public KFindDialog(TQWidget parent, String name) { super((Class) null); newKFindDialog(parent,name); } - private native void newKFindDialog(QWidget parent, String name); - public KFindDialog(QWidget parent) { + private native void newKFindDialog(TQWidget parent, String name); + public KFindDialog(TQWidget parent) { super((Class) null); newKFindDialog(parent); } - private native void newKFindDialog(QWidget parent); + private native void newKFindDialog(TQWidget parent); public KFindDialog() { super((Class) null); newKFindDialog(); @@ -103,31 +103,31 @@ public class KFindDialog extends KDialogBase { @param hasSelection Whether a selection exists @short Construct a non-modal find dialog */ - public KFindDialog(boolean modal, QWidget parent, String name, long options, String[] findStrings, boolean hasSelection) { + public KFindDialog(boolean modal, TQWidget parent, String name, long options, String[] findStrings, boolean hasSelection) { super((Class) null); newKFindDialog(modal,parent,name,options,findStrings,hasSelection); } - private native void newKFindDialog(boolean modal, QWidget parent, String name, long options, String[] findStrings, boolean hasSelection); - public KFindDialog(boolean modal, QWidget parent, String name, long options, String[] findStrings) { + private native void newKFindDialog(boolean modal, TQWidget parent, String name, long options, String[] findStrings, boolean hasSelection); + public KFindDialog(boolean modal, TQWidget parent, String name, long options, String[] findStrings) { super((Class) null); newKFindDialog(modal,parent,name,options,findStrings); } - private native void newKFindDialog(boolean modal, QWidget parent, String name, long options, String[] findStrings); - public KFindDialog(boolean modal, QWidget parent, String name, long options) { + private native void newKFindDialog(boolean modal, TQWidget parent, String name, long options, String[] findStrings); + public KFindDialog(boolean modal, TQWidget parent, String name, long options) { super((Class) null); newKFindDialog(modal,parent,name,options); } - private native void newKFindDialog(boolean modal, QWidget parent, String name, long options); - public KFindDialog(boolean modal, QWidget parent, String name) { + private native void newKFindDialog(boolean modal, TQWidget parent, String name, long options); + public KFindDialog(boolean modal, TQWidget parent, String name) { super((Class) null); newKFindDialog(modal,parent,name); } - private native void newKFindDialog(boolean modal, QWidget parent, String name); - public KFindDialog(boolean modal, QWidget parent) { + private native void newKFindDialog(boolean modal, TQWidget parent, String name); + public KFindDialog(boolean modal, TQWidget parent) { super((Class) null); newKFindDialog(modal,parent); } - private native void newKFindDialog(boolean modal, QWidget parent); + private native void newKFindDialog(boolean modal, TQWidget parent); public KFindDialog(boolean modal) { super((Class) null); newKFindDialog(modal); @@ -220,13 +220,13 @@ public class KFindDialog extends KDialogBase { public native void setPattern(String pattern); /** Returns an empty widget which the user may fill with additional UI - elements as required. The widget occupies the width of the dialog, + elements as retquired. The widget occupies the width of the dialog, and is positioned immediately below the regular expression support widgets for the pattern string. - @short Returns an empty widget which the user may fill with additional UI elements as required. + @short Returns an empty widget which the user may fill with additional UI elements as retquired. */ - public native QWidget findExtension(); - public native void showEvent(QShowEvent arg1); + public native TQWidget findExtension(); + public native void showEvent(TQShowEvent arg1); protected native void slotOk(); protected native void slotSelectedTextToggled(boolean arg1); protected native void showPatterns(); diff --git a/kdejava/koala/org/kde/koala/KFindSignals.java b/kdejava/koala/org/kde/koala/KFindSignals.java index 6e289b38..c5b54c62 100644 --- a/kdejava/koala/org/kde/koala/KFindSignals.java +++ b/kdejava/koala/org/kde/koala/KFindSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QRegExp; -import org.kde.qt.QWidget; +import org.kde.qt.TQRegExp; +import org.kde.qt.TQWidget; public interface KFindSignals { /** diff --git a/kdejava/koala/org/kde/koala/KFloatValidator.java b/kdejava/koala/org/kde/koala/KFloatValidator.java index 029f9eff..521a010c 100644 --- a/kdejava/koala/org/kde/koala/KFloatValidator.java +++ b/kdejava/koala/org/kde/koala/KFloatValidator.java @@ -3,66 +3,66 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QValidator; +import org.kde.qt.TQWidget; +import org.kde.qt.TQValidator; /** - \brief QValidator for floating point entry (Obsolete) - Extends the QValidator class to properly validate double numeric data. - This can be used by QLineEdit or subclass to provide validated + \brief TQValidator for floating point entry (Obsolete) + Extends the TQValidator class to properly validate double numeric data. + This can be used by TQLineEdit or subclass to provide validated text entry. @author Glen Parker <glenebob@nwlink.com> @version 0.0.1 - @short \brief QValidator for floating point entry (Obsolete) + @short \brief TQValidator for floating point entry (Obsolete) */ -public class KFloatValidator extends QValidator { +public class KFloatValidator extends TQValidator { protected KFloatValidator(Class dummy){super((Class) null);} /** Constructor. @short Constructor. */ - public KFloatValidator(QWidget parent, String name) { + public KFloatValidator(TQWidget parent, String name) { super((Class) null); newKFloatValidator(parent,name); } - private native void newKFloatValidator(QWidget parent, String name); - public KFloatValidator(QWidget parent) { + private native void newKFloatValidator(TQWidget parent, String name); + public KFloatValidator(TQWidget parent) { super((Class) null); newKFloatValidator(parent); } - private native void newKFloatValidator(QWidget parent); + private native void newKFloatValidator(TQWidget parent); /** Constructor. Also sets the minimum and maximum values. @short Constructor. */ - public KFloatValidator(double bottom, double top, QWidget parent, String name) { + public KFloatValidator(double bottom, double top, TQWidget parent, String name) { super((Class) null); newKFloatValidator(bottom,top,parent,name); } - private native void newKFloatValidator(double bottom, double top, QWidget parent, String name); - public KFloatValidator(double bottom, double top, QWidget parent) { + private native void newKFloatValidator(double bottom, double top, TQWidget parent, String name); + public KFloatValidator(double bottom, double top, TQWidget parent) { super((Class) null); newKFloatValidator(bottom,top,parent); } - private native void newKFloatValidator(double bottom, double top, QWidget parent); + private native void newKFloatValidator(double bottom, double top, TQWidget parent); /** Constructor. Sets the validator to be locale aware if <code>localeAware</code> is true. @short Constructor. */ - public KFloatValidator(double bottom, double top, boolean localeAware, QWidget parent, String name) { + public KFloatValidator(double bottom, double top, boolean localeAware, TQWidget parent, String name) { super((Class) null); newKFloatValidator(bottom,top,localeAware,parent,name); } - private native void newKFloatValidator(double bottom, double top, boolean localeAware, QWidget parent, String name); - public KFloatValidator(double bottom, double top, boolean localeAware, QWidget parent) { + private native void newKFloatValidator(double bottom, double top, boolean localeAware, TQWidget parent, String name); + public KFloatValidator(double bottom, double top, boolean localeAware, TQWidget parent) { super((Class) null); newKFloatValidator(bottom,top,localeAware,parent); } - private native void newKFloatValidator(double bottom, double top, boolean localeAware, QWidget parent); + private native void newKFloatValidator(double bottom, double top, boolean localeAware, TQWidget parent); /** Validates the text, and return the result. Does not modify the parameters. @short Validates the text, and return the result. diff --git a/kdejava/koala/org/kde/koala/KFolderType.java b/kdejava/koala/org/kde/koala/KFolderType.java index ef9ce910..7c8ac7d1 100644 --- a/kdejava/koala/org/kde/koala/KFolderType.java +++ b/kdejava/koala/org/kde/koala/KFolderType.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; +import org.kde.qt.TQDataStream; /** @@ -25,11 +25,11 @@ public class KFolderType extends KMimeType { private native void newKFolderType(KDesktopFile config); /** \internal @short \internal */ - public KFolderType(QDataStream _str, int offset) { + public KFolderType(TQDataStream _str, int offset) { super((Class) null); newKFolderType(_str,offset); } - private native void newKFolderType(QDataStream _str, int offset); + private native void newKFolderType(TQDataStream _str, int offset); public native String icon(String _url, boolean _is_local); public native String icon(KURL _url, boolean _is_local); public native String comment(String _url, boolean _is_local); diff --git a/kdejava/koala/org/kde/koala/KFontAction.java b/kdejava/koala/org/kde/koala/KFontAction.java index e23f0ecc..56241891 100644 --- a/kdejava/koala/org/kde/koala/KFontAction.java +++ b/kdejava/koala/org/kde/koala/KFontAction.java @@ -2,28 +2,28 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; /** */ public class KFontAction extends KSelectAction { protected KFontAction(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KFontAction(String text, KShortcut cut, QObject parent, String name) { + public KFontAction(String text, KShortcut cut, TQObject parent, String name) { super((Class) null); newKFontAction(text,cut,parent,name); } - private native void newKFontAction(String text, KShortcut cut, QObject parent, String name); - public KFontAction(String text, KShortcut cut, QObject parent) { + private native void newKFontAction(String text, KShortcut cut, TQObject parent, String name); + public KFontAction(String text, KShortcut cut, TQObject parent) { super((Class) null); newKFontAction(text,cut,parent); } - private native void newKFontAction(String text, KShortcut cut, QObject parent); + private native void newKFontAction(String text, KShortcut cut, TQObject parent); public KFontAction(String text, KShortcut cut) { super((Class) null); newKFontAction(text,cut); @@ -34,46 +34,46 @@ public class KFontAction extends KSelectAction { newKFontAction(text); } private native void newKFontAction(String text); - public KFontAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KFontAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKFontAction(text,cut,receiver,slot,parent,name); } - private native void newKFontAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KFontAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKFontAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KFontAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKFontAction(text,cut,receiver,slot,parent); } - private native void newKFontAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent); - public KFontAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name) { + private native void newKFontAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent); + public KFontAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name) { super((Class) null); newKFontAction(text,pix,cut,parent,name); } - private native void newKFontAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name); - public KFontAction(String text, QIconSet pix, KShortcut cut, QObject parent) { + private native void newKFontAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name); + public KFontAction(String text, TQIconSet pix, KShortcut cut, TQObject parent) { super((Class) null); newKFontAction(text,pix,cut,parent); } - private native void newKFontAction(String text, QIconSet pix, KShortcut cut, QObject parent); - public KFontAction(String text, QIconSet pix, KShortcut cut) { + private native void newKFontAction(String text, TQIconSet pix, KShortcut cut, TQObject parent); + public KFontAction(String text, TQIconSet pix, KShortcut cut) { super((Class) null); newKFontAction(text,pix,cut); } - private native void newKFontAction(String text, QIconSet pix, KShortcut cut); - public KFontAction(String text, QIconSet pix) { + private native void newKFontAction(String text, TQIconSet pix, KShortcut cut); + public KFontAction(String text, TQIconSet pix) { super((Class) null); newKFontAction(text,pix); } - private native void newKFontAction(String text, QIconSet pix); - public KFontAction(String text, String pix, KShortcut cut, QObject parent, String name) { + private native void newKFontAction(String text, TQIconSet pix); + public KFontAction(String text, String pix, KShortcut cut, TQObject parent, String name) { super((Class) null); newKFontAction(text,pix,cut,parent,name); } - private native void newKFontAction(String text, String pix, KShortcut cut, QObject parent, String name); - public KFontAction(String text, String pix, KShortcut cut, QObject parent) { + private native void newKFontAction(String text, String pix, KShortcut cut, TQObject parent, String name); + public KFontAction(String text, String pix, KShortcut cut, TQObject parent) { super((Class) null); newKFontAction(text,pix,cut,parent); } - private native void newKFontAction(String text, String pix, KShortcut cut, QObject parent); + private native void newKFontAction(String text, String pix, KShortcut cut, TQObject parent); public KFontAction(String text, String pix, KShortcut cut) { super((Class) null); newKFontAction(text,pix,cut); @@ -84,36 +84,36 @@ public class KFontAction extends KSelectAction { newKFontAction(text,pix); } private native void newKFontAction(String text, String pix); - public KFontAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KFontAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKFontAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKFontAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KFontAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKFontAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KFontAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKFontAction(text,pix,cut,receiver,slot,parent); } - private native void newKFontAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent); - public KFontAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + private native void newKFontAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); + public KFontAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKFontAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKFontAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KFontAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKFontAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KFontAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKFontAction(text,pix,cut,receiver,slot,parent); } - private native void newKFontAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent); - public KFontAction(int fontListCriteria, String text, KShortcut cut, QObject parent, String name) { + private native void newKFontAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); + public KFontAction(int fontListCriteria, String text, KShortcut cut, TQObject parent, String name) { super((Class) null); newKFontAction(fontListCriteria,text,cut,parent,name); } - private native void newKFontAction(int fontListCriteria, String text, KShortcut cut, QObject parent, String name); - public KFontAction(int fontListCriteria, String text, KShortcut cut, QObject parent) { + private native void newKFontAction(int fontListCriteria, String text, KShortcut cut, TQObject parent, String name); + public KFontAction(int fontListCriteria, String text, KShortcut cut, TQObject parent) { super((Class) null); newKFontAction(fontListCriteria,text,cut,parent); } - private native void newKFontAction(int fontListCriteria, String text, KShortcut cut, QObject parent); + private native void newKFontAction(int fontListCriteria, String text, KShortcut cut, TQObject parent); public KFontAction(int fontListCriteria, String text, KShortcut cut) { super((Class) null); newKFontAction(fontListCriteria,text,cut); @@ -124,16 +124,16 @@ public class KFontAction extends KSelectAction { newKFontAction(fontListCriteria,text); } private native void newKFontAction(int fontListCriteria, String text); - public KFontAction(int fontListCriteria, String text, String pix, KShortcut cut, QObject parent, String name) { + public KFontAction(int fontListCriteria, String text, String pix, KShortcut cut, TQObject parent, String name) { super((Class) null); newKFontAction(fontListCriteria,text,pix,cut,parent,name); } - private native void newKFontAction(int fontListCriteria, String text, String pix, KShortcut cut, QObject parent, String name); - public KFontAction(int fontListCriteria, String text, String pix, KShortcut cut, QObject parent) { + private native void newKFontAction(int fontListCriteria, String text, String pix, KShortcut cut, TQObject parent, String name); + public KFontAction(int fontListCriteria, String text, String pix, KShortcut cut, TQObject parent) { super((Class) null); newKFontAction(fontListCriteria,text,pix,cut,parent); } - private native void newKFontAction(int fontListCriteria, String text, String pix, KShortcut cut, QObject parent); + private native void newKFontAction(int fontListCriteria, String text, String pix, KShortcut cut, TQObject parent); public KFontAction(int fontListCriteria, String text, String pix, KShortcut cut) { super((Class) null); newKFontAction(fontListCriteria,text,pix,cut); @@ -144,24 +144,24 @@ public class KFontAction extends KSelectAction { newKFontAction(fontListCriteria,text,pix); } private native void newKFontAction(int fontListCriteria, String text, String pix); - public KFontAction(QObject parent, String name) { + public KFontAction(TQObject parent, String name) { super((Class) null); newKFontAction(parent,name); } - private native void newKFontAction(QObject parent, String name); - public KFontAction(QObject parent) { + private native void newKFontAction(TQObject parent, String name); + public KFontAction(TQObject parent) { super((Class) null); newKFontAction(parent); } - private native void newKFontAction(QObject parent); + private native void newKFontAction(TQObject parent); public KFontAction() { super((Class) null); newKFontAction(); } private native void newKFontAction(); public native String font(); - public native int plug(QWidget arg1, int index); - public native int plug(QWidget arg1); + public native int plug(TQWidget arg1, int index); + public native int plug(TQWidget arg1); public native void setFont(String family); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KFontChooser.java b/kdejava/koala/org/kde/koala/KFontChooser.java index 2389e668..d75c5ff6 100644 --- a/kdejava/koala/org/kde/koala/KFontChooser.java +++ b/kdejava/koala/org/kde/koala/KFontChooser.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -25,7 +25,7 @@ import org.kde.qt.QWidget; @short A font selection widget. */ -public class KFontChooser extends QWidget { +public class KFontChooser extends TQWidget { protected KFontChooser(Class dummy){super((Class) null);} /** @@ -90,7 +90,7 @@ public class KFontChooser extends QWidget { public static final int ScalableFonts = 0x02; public static final int SmoothScalableFonts = 0x04; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a font picker widget. @@ -126,46 +126,46 @@ public class KFontChooser extends QWidget { calling sizeIsRelative(). @short Constructs a font picker widget. */ - public KFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff, int sizeIsRelativeState) { + public KFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff, int sizeIsRelativeState) { super((Class) null); newKFontChooser(parent,name,onlyFixed,fontList,makeFrame,visibleListSize,diff,sizeIsRelativeState); } - private native void newKFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff, int sizeIsRelativeState); - public KFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff) { + private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff, int sizeIsRelativeState); + public KFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff) { super((Class) null); newKFontChooser(parent,name,onlyFixed,fontList,makeFrame,visibleListSize,diff); } - private native void newKFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff); - public KFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize) { + private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize, boolean diff); + public KFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize) { super((Class) null); newKFontChooser(parent,name,onlyFixed,fontList,makeFrame,visibleListSize); } - private native void newKFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize); - public KFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame) { + private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame, int visibleListSize); + public KFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame) { super((Class) null); newKFontChooser(parent,name,onlyFixed,fontList,makeFrame); } - private native void newKFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame); - public KFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList) { + private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList, boolean makeFrame); + public KFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList) { super((Class) null); newKFontChooser(parent,name,onlyFixed,fontList); } - private native void newKFontChooser(QWidget parent, String name, boolean onlyFixed, String[] fontList); - public KFontChooser(QWidget parent, String name, boolean onlyFixed) { + private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed, String[] fontList); + public KFontChooser(TQWidget parent, String name, boolean onlyFixed) { super((Class) null); newKFontChooser(parent,name,onlyFixed); } - private native void newKFontChooser(QWidget parent, String name, boolean onlyFixed); - public KFontChooser(QWidget parent, String name) { + private native void newKFontChooser(TQWidget parent, String name, boolean onlyFixed); + public KFontChooser(TQWidget parent, String name) { super((Class) null); newKFontChooser(parent,name); } - private native void newKFontChooser(QWidget parent, String name); - public KFontChooser(QWidget parent) { + private native void newKFontChooser(TQWidget parent, String name); + public KFontChooser(TQWidget parent) { super((Class) null); newKFontChooser(parent); } - private native void newKFontChooser(QWidget parent); + private native void newKFontChooser(TQWidget parent); public KFontChooser() { super((Class) null); newKFontChooser(); @@ -189,8 +189,8 @@ public class KFontChooser extends QWidget { width fonts if <code>true</code>, or vice-versa. @short Sets the currently selected font in the chooser. */ - public native void setFont(QFont font, boolean onlyFixed); - public native void setFont(QFont font); + public native void setFont(TQFont font, boolean onlyFixed); + public native void setFont(TQFont font); /** @return The bitmask corresponding to the attributes the user wishes to change. @@ -203,31 +203,31 @@ public class KFontChooser extends QWidget { @short */ - public native QFont font(); + public native TQFont font(); /** Sets the color to use in the preview. @short Sets the color to use in the preview. */ - public native void setColor(QColor col); + public native void setColor(TQColor col); /** @return The color currently used in the preview (default: the text color of the active color group) @short */ - public native QColor color(); + public native TQColor color(); /** Sets the background color to use in the preview. @short Sets the background color to use in the preview. */ - public native void setBackgroundColor(QColor col); + public native void setBackgroundColor(TQColor col); /** @return The background color currently used in the preview (default: the base color of the active colorgroup) @short */ - public native QColor backgroundColor(); + public native TQColor backgroundColor(); /** Sets the state of the checkbox indicating whether the font size is to be interpreted as relative size. @@ -238,7 +238,7 @@ public class KFontChooser extends QWidget { public native void setSizeIsRelative(int relative); /** @return Whether the font size is to be interpreted as relative size - (default: QButton:Off) + (default: TQButton:Off) @short */ @@ -269,16 +269,16 @@ public class KFontChooser extends QWidget { Reimplemented for internal reasons. @short Reimplemented for internal reasons. */ - public native QSize sizeHint(); + public native TQSize sizeHint(); /** - Converts a QFont into the corresponding X Logical Font + Converts a TQFont into the corresponding X Logical Font Description (XLFD). @param theFont The font to convert. @return A string representing the given font in XLFD format. - @short Converts a QFont into the corresponding X Logical Font Description (XLFD). + @short Converts a TQFont into the corresponding X Logical Font Description (XLFD). */ - public static native String getXLFD(QFont theFont); + public static native String getXLFD(TQFont theFont); /** Creates a list of font strings. @param list The list is returned here. diff --git a/kdejava/koala/org/kde/koala/KFontChooserSignals.java b/kdejava/koala/org/kde/koala/KFontChooserSignals.java index c404ce5f..93ef6bf3 100644 --- a/kdejava/koala/org/kde/koala/KFontChooserSignals.java +++ b/kdejava/koala/org/kde/koala/KFontChooserSignals.java @@ -1,17 +1,17 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; public interface KFontChooserSignals { /** Emitted whenever the selected font changes. @short Emitted whenever the selected font changes. */ - void fontSelected(QFont font); + void fontSelected(TQFont font); } diff --git a/kdejava/koala/org/kde/koala/KFontCombo.java b/kdejava/koala/org/kde/koala/KFontCombo.java index d25f2093..6ce80e5d 100644 --- a/kdejava/koala/org/kde/koala/KFontCombo.java +++ b/kdejava/koala/org/kde/koala/KFontCombo.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -18,7 +18,7 @@ import org.kde.qt.QWidget; */ public class KFontCombo extends KComboBox { protected KFontCombo(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor @@ -26,16 +26,16 @@ public class KFontCombo extends KComboBox { @param name The object name for the widget @short Constructor */ - public KFontCombo(QWidget parent, String name) { + public KFontCombo(TQWidget parent, String name) { super((Class) null); newKFontCombo(parent,name); } - private native void newKFontCombo(QWidget parent, String name); - public KFontCombo(QWidget parent) { + private native void newKFontCombo(TQWidget parent, String name); + public KFontCombo(TQWidget parent) { super((Class) null); newKFontCombo(parent); } - private native void newKFontCombo(QWidget parent); + private native void newKFontCombo(TQWidget parent); /** Constructor that takes an already initialzed font list @param fonts A list of fonts to show @@ -43,16 +43,16 @@ public class KFontCombo extends KComboBox { @param name The object name for the widget @short Constructor that takes an already initialzed font list */ - public KFontCombo(String[] fonts, QWidget parent, String name) { + public KFontCombo(String[] fonts, TQWidget parent, String name) { super((Class) null); newKFontCombo(fonts,parent,name); } - private native void newKFontCombo(String[] fonts, QWidget parent, String name); - public KFontCombo(String[] fonts, QWidget parent) { + private native void newKFontCombo(String[] fonts, TQWidget parent, String name); + public KFontCombo(String[] fonts, TQWidget parent) { super((Class) null); newKFontCombo(fonts,parent); } - private native void newKFontCombo(String[] fonts, QWidget parent); + private native void newKFontCombo(String[] fonts, TQWidget parent); /** Sets the font list. @param fonts Font list to show diff --git a/kdejava/koala/org/kde/koala/KFontDialog.java b/kdejava/koala/org/kde/koala/KFontDialog.java index 6f50d454..d53456a7 100644 --- a/kdejava/koala/org/kde/koala/KFontDialog.java +++ b/kdejava/koala/org/kde/koala/KFontDialog.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -17,7 +17,7 @@ import org.kde.qt.QWidget; returns when the dialog is closed. Example: <pre> - QFont myFont; + TQFont myFont; int result = KFontDialog.getFont( myFont ); if ( result == KFontDialog.Accepted ) ... @@ -33,7 +33,7 @@ import org.kde.qt.QWidget; */ public class KFontDialog extends KDialogBase { protected KFontDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a font selection dialog. @@ -56,46 +56,46 @@ public class KFontDialog extends KDialogBase { calling sizeIsRelative(). @short Constructs a font selection dialog. */ - public KFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff, int sizeIsRelativeState) { + public KFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff, int sizeIsRelativeState) { super((Class) null); newKFontDialog(parent,name,onlyFixed,modal,fontlist,makeFrame,diff,sizeIsRelativeState); } - private native void newKFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff, int sizeIsRelativeState); - public KFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff) { + private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff, int sizeIsRelativeState); + public KFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff) { super((Class) null); newKFontDialog(parent,name,onlyFixed,modal,fontlist,makeFrame,diff); } - private native void newKFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff); - public KFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame) { + private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame, boolean diff); + public KFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame) { super((Class) null); newKFontDialog(parent,name,onlyFixed,modal,fontlist,makeFrame); } - private native void newKFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame); - public KFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist) { + private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist, boolean makeFrame); + public KFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist) { super((Class) null); newKFontDialog(parent,name,onlyFixed,modal,fontlist); } - private native void newKFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist); - public KFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal) { + private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal, String[] fontlist); + public KFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal) { super((Class) null); newKFontDialog(parent,name,onlyFixed,modal); } - private native void newKFontDialog(QWidget parent, String name, boolean onlyFixed, boolean modal); - public KFontDialog(QWidget parent, String name, boolean onlyFixed) { + private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed, boolean modal); + public KFontDialog(TQWidget parent, String name, boolean onlyFixed) { super((Class) null); newKFontDialog(parent,name,onlyFixed); } - private native void newKFontDialog(QWidget parent, String name, boolean onlyFixed); - public KFontDialog(QWidget parent, String name) { + private native void newKFontDialog(TQWidget parent, String name, boolean onlyFixed); + public KFontDialog(TQWidget parent, String name) { super((Class) null); newKFontDialog(parent,name); } - private native void newKFontDialog(QWidget parent, String name); - public KFontDialog(QWidget parent) { + private native void newKFontDialog(TQWidget parent, String name); + public KFontDialog(TQWidget parent) { super((Class) null); newKFontDialog(parent); } - private native void newKFontDialog(QWidget parent); + private native void newKFontDialog(TQWidget parent); public KFontDialog() { super((Class) null); newKFontDialog(); @@ -108,14 +108,14 @@ public class KFontDialog extends KDialogBase { width fonts if true, or vice-versa @short Sets the currently selected font in the dialog. */ - public native void setFont(QFont font, boolean onlyFixed); - public native void setFont(QFont font); + public native void setFont(TQFont font, boolean onlyFixed); + public native void setFont(TQFont font); /** @return The currently selected font in the dialog. @short */ - public native QFont font(); + public native TQFont font(); /** Sets the state of the checkbox indicating whether the font size is to be interpreted as relative size. @@ -146,15 +146,15 @@ public class KFontDialog extends KDialogBase { Initial state of this checkbox will be set according to sizeIsRelativeState and user choice will be returned therein. - @return QDialog.result(). + @return TQDialog.result(). @short Creates a modal font dialog, lets the user choose a font, and returns when the dialog is closed. */ - public static native int getFont(QFont theFont, boolean onlyFixed, QWidget parent, boolean makeFrame, int sizeIsRelativeState); - public static native int getFont(QFont theFont, boolean onlyFixed, QWidget parent, boolean makeFrame); - public static native int getFont(QFont theFont, boolean onlyFixed, QWidget parent); - public static native int getFont(QFont theFont, boolean onlyFixed); - public static native int getFont(QFont theFont); + public static native int getFont(TQFont theFont, boolean onlyFixed, TQWidget parent, boolean makeFrame, int sizeIsRelativeState); + public static native int getFont(TQFont theFont, boolean onlyFixed, TQWidget parent, boolean makeFrame); + public static native int getFont(TQFont theFont, boolean onlyFixed, TQWidget parent); + public static native int getFont(TQFont theFont, boolean onlyFixed); + public static native int getFont(TQFont theFont); /** Creates a modal font difference dialog, lets the user choose a selection of changes that should be made to a set of fonts, and returns when the @@ -183,15 +183,15 @@ public class KFontDialog extends KDialogBase { Initial state of this checkbox will be set according to sizeIsRelativeState and user choice will be returned therein. - @return QDialog.result(). + @return TQDialog.result(). @short Creates a modal font difference dialog, lets the user choose a selection of changes that should be made to a set of fonts, and returns when the dialog is closed. */ - public static native int getFontDiff(QFont theFont, int[] diffFlags, boolean onlyFixed, QWidget parent, boolean makeFrame, int sizeIsRelativeState); - public static native int getFontDiff(QFont theFont, int[] diffFlags, boolean onlyFixed, QWidget parent, boolean makeFrame); - public static native int getFontDiff(QFont theFont, int[] diffFlags, boolean onlyFixed, QWidget parent); - public static native int getFontDiff(QFont theFont, int[] diffFlags, boolean onlyFixed); - public static native int getFontDiff(QFont theFont, int[] diffFlags); + public static native int getFontDiff(TQFont theFont, int[] diffFlags, boolean onlyFixed, TQWidget parent, boolean makeFrame, int sizeIsRelativeState); + public static native int getFontDiff(TQFont theFont, int[] diffFlags, boolean onlyFixed, TQWidget parent, boolean makeFrame); + public static native int getFontDiff(TQFont theFont, int[] diffFlags, boolean onlyFixed, TQWidget parent); + public static native int getFontDiff(TQFont theFont, int[] diffFlags, boolean onlyFixed); + public static native int getFontDiff(TQFont theFont, int[] diffFlags); /** When you are not only interested in the font selected, but also in the example string typed in, you can call this method. @@ -212,11 +212,11 @@ public class KFontDialog extends KDialogBase { @short When you are not only interested in the font selected, but also in the example string typed in, you can call this method. */ - public static native int getFontAndText(QFont theFont, StringBuffer theString, boolean onlyFixed, QWidget parent, boolean makeFrame, int sizeIsRelativeState); - public static native int getFontAndText(QFont theFont, StringBuffer theString, boolean onlyFixed, QWidget parent, boolean makeFrame); - public static native int getFontAndText(QFont theFont, StringBuffer theString, boolean onlyFixed, QWidget parent); - public static native int getFontAndText(QFont theFont, StringBuffer theString, boolean onlyFixed); - public static native int getFontAndText(QFont theFont, StringBuffer theString); + public static native int getFontAndText(TQFont theFont, StringBuffer theString, boolean onlyFixed, TQWidget parent, boolean makeFrame, int sizeIsRelativeState); + public static native int getFontAndText(TQFont theFont, StringBuffer theString, boolean onlyFixed, TQWidget parent, boolean makeFrame); + public static native int getFontAndText(TQFont theFont, StringBuffer theString, boolean onlyFixed, TQWidget parent); + public static native int getFontAndText(TQFont theFont, StringBuffer theString, boolean onlyFixed); + public static native int getFontAndText(TQFont theFont, StringBuffer theString); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KFontDialogSignals.java b/kdejava/koala/org/kde/koala/KFontDialogSignals.java index e5477d08..e567a077 100644 --- a/kdejava/koala/org/kde/koala/KFontDialogSignals.java +++ b/kdejava/koala/org/kde/koala/KFontDialogSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KFontDialogSignals { /** @@ -13,5 +13,5 @@ public interface KFontDialogSignals { not running modal. @short Emitted whenever the currently selected font changes. */ - void fontSelected(QFont font); + void fontSelected(TQFont font); } diff --git a/kdejava/koala/org/kde/koala/KFontRequester.java b/kdejava/koala/org/kde/koala/KFontRequester.java index 2938bde1..b93ce12a 100644 --- a/kdejava/koala/org/kde/koala/KFontRequester.java +++ b/kdejava/koala/org/kde/koala/KFontRequester.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPushButton; -import org.kde.qt.QWidget; -import org.kde.qt.QLabel; -import org.kde.qt.QWidget; +import org.kde.qt.TQPushButton; +import org.kde.qt.TQWidget; +import org.kde.qt.TQLabel; +import org.kde.qt.TQWidget; /** @@ -23,9 +23,9 @@ import org.kde.qt.QWidget; @short This class provides a widget with a lineedit and a button, which invokes a font dialog (KFontDialog). */ -public class KFontRequester extends QWidget { +public class KFontRequester extends TQWidget { protected KFontRequester(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a font requester widget. @@ -35,21 +35,21 @@ public class KFontRequester extends QWidget { sizes. @short Constructs a font requester widget. */ - public KFontRequester(QWidget parent, String name, boolean onlyFixed) { + public KFontRequester(TQWidget parent, String name, boolean onlyFixed) { super((Class) null); newKFontRequester(parent,name,onlyFixed); } - private native void newKFontRequester(QWidget parent, String name, boolean onlyFixed); - public KFontRequester(QWidget parent, String name) { + private native void newKFontRequester(TQWidget parent, String name, boolean onlyFixed); + public KFontRequester(TQWidget parent, String name) { super((Class) null); newKFontRequester(parent,name); } - private native void newKFontRequester(QWidget parent, String name); - public KFontRequester(QWidget parent) { + private native void newKFontRequester(TQWidget parent, String name); + public KFontRequester(TQWidget parent) { super((Class) null); newKFontRequester(parent); } - private native void newKFontRequester(QWidget parent); + private native void newKFontRequester(TQWidget parent); public KFontRequester() { super((Class) null); newKFontRequester(); @@ -60,7 +60,7 @@ public class KFontRequester extends QWidget { @short */ - public native QFont font(); + public native TQFont font(); /** @return Returns true if only fixed fonts are displayed. @@ -84,13 +84,13 @@ public class KFontRequester extends QWidget { @short */ - public native QLabel label(); + public native TQLabel label(); /** @return Pointer to the pushbutton in the widget. @short */ - public native QPushButton button(); + public native TQPushButton button(); /** Sets the currently selected font in the requester. @param font The font to select. @@ -98,8 +98,8 @@ public class KFontRequester extends QWidget { if <code>true</code>, or vice-versa. @short Sets the currently selected font in the requester. */ - public native void setFont(QFont font, boolean onlyFixed); - public native void setFont(QFont font); + public native void setFont(TQFont font, boolean onlyFixed); + public native void setFont(TQFont font); /** Sets the sample text. Normally you should not change this diff --git a/kdejava/koala/org/kde/koala/KFontRequesterSignals.java b/kdejava/koala/org/kde/koala/KFontRequesterSignals.java index 435782e3..21628c5b 100644 --- a/kdejava/koala/org/kde/koala/KFontRequesterSignals.java +++ b/kdejava/koala/org/kde/koala/KFontRequesterSignals.java @@ -1,17 +1,17 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPushButton; -import org.kde.qt.QWidget; -import org.kde.qt.QLabel; +import org.kde.qt.TQPushButton; +import org.kde.qt.TQWidget; +import org.kde.qt.TQLabel; public interface KFontRequesterSignals { /** Emitted when a new <code>font</code> has been selected in the underlying dialog @short Emitted when a new <code>font</code> has been selected in the underlying dialog */ - void fontSelected(QFont font); + void fontSelected(TQFont font); } diff --git a/kdejava/koala/org/kde/koala/KFontSizeAction.java b/kdejava/koala/org/kde/koala/KFontSizeAction.java index 76ef6362..4a970fdf 100644 --- a/kdejava/koala/org/kde/koala/KFontSizeAction.java +++ b/kdejava/koala/org/kde/koala/KFontSizeAction.java @@ -2,28 +2,28 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QIconSet; +import org.kde.qt.TQObject; +import org.kde.qt.TQIconSet; /** See {@link KFontSizeActionSignals} for signals emitted by KFontSizeAction */ public class KFontSizeAction extends KSelectAction { protected KFontSizeAction(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KFontSizeAction(String text, KShortcut cut, QObject parent, String name) { + public KFontSizeAction(String text, KShortcut cut, TQObject parent, String name) { super((Class) null); newKFontSizeAction(text,cut,parent,name); } - private native void newKFontSizeAction(String text, KShortcut cut, QObject parent, String name); - public KFontSizeAction(String text, KShortcut cut, QObject parent) { + private native void newKFontSizeAction(String text, KShortcut cut, TQObject parent, String name); + public KFontSizeAction(String text, KShortcut cut, TQObject parent) { super((Class) null); newKFontSizeAction(text,cut,parent); } - private native void newKFontSizeAction(String text, KShortcut cut, QObject parent); + private native void newKFontSizeAction(String text, KShortcut cut, TQObject parent); public KFontSizeAction(String text, KShortcut cut) { super((Class) null); newKFontSizeAction(text,cut); @@ -34,46 +34,46 @@ public class KFontSizeAction extends KSelectAction { newKFontSizeAction(text); } private native void newKFontSizeAction(String text); - public KFontSizeAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KFontSizeAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKFontSizeAction(text,cut,receiver,slot,parent,name); } - private native void newKFontSizeAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KFontSizeAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKFontSizeAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KFontSizeAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKFontSizeAction(text,cut,receiver,slot,parent); } - private native void newKFontSizeAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent); - public KFontSizeAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name) { + private native void newKFontSizeAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent); + public KFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name) { super((Class) null); newKFontSizeAction(text,pix,cut,parent,name); } - private native void newKFontSizeAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name); - public KFontSizeAction(String text, QIconSet pix, KShortcut cut, QObject parent) { + private native void newKFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name); + public KFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject parent) { super((Class) null); newKFontSizeAction(text,pix,cut,parent); } - private native void newKFontSizeAction(String text, QIconSet pix, KShortcut cut, QObject parent); - public KFontSizeAction(String text, QIconSet pix, KShortcut cut) { + private native void newKFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject parent); + public KFontSizeAction(String text, TQIconSet pix, KShortcut cut) { super((Class) null); newKFontSizeAction(text,pix,cut); } - private native void newKFontSizeAction(String text, QIconSet pix, KShortcut cut); - public KFontSizeAction(String text, QIconSet pix) { + private native void newKFontSizeAction(String text, TQIconSet pix, KShortcut cut); + public KFontSizeAction(String text, TQIconSet pix) { super((Class) null); newKFontSizeAction(text,pix); } - private native void newKFontSizeAction(String text, QIconSet pix); - public KFontSizeAction(String text, String pix, KShortcut cut, QObject parent, String name) { + private native void newKFontSizeAction(String text, TQIconSet pix); + public KFontSizeAction(String text, String pix, KShortcut cut, TQObject parent, String name) { super((Class) null); newKFontSizeAction(text,pix,cut,parent,name); } - private native void newKFontSizeAction(String text, String pix, KShortcut cut, QObject parent, String name); - public KFontSizeAction(String text, String pix, KShortcut cut, QObject parent) { + private native void newKFontSizeAction(String text, String pix, KShortcut cut, TQObject parent, String name); + public KFontSizeAction(String text, String pix, KShortcut cut, TQObject parent) { super((Class) null); newKFontSizeAction(text,pix,cut,parent); } - private native void newKFontSizeAction(String text, String pix, KShortcut cut, QObject parent); + private native void newKFontSizeAction(String text, String pix, KShortcut cut, TQObject parent); public KFontSizeAction(String text, String pix, KShortcut cut) { super((Class) null); newKFontSizeAction(text,pix,cut); @@ -84,36 +84,36 @@ public class KFontSizeAction extends KSelectAction { newKFontSizeAction(text,pix); } private native void newKFontSizeAction(String text, String pix); - public KFontSizeAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKFontSizeAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKFontSizeAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KFontSizeAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKFontSizeAction(text,pix,cut,receiver,slot,parent); } - private native void newKFontSizeAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent); - public KFontSizeAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + private native void newKFontSizeAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); + public KFontSizeAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKFontSizeAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKFontSizeAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KFontSizeAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKFontSizeAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KFontSizeAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKFontSizeAction(text,pix,cut,receiver,slot,parent); } - private native void newKFontSizeAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent); - public KFontSizeAction(QObject parent, String name) { + private native void newKFontSizeAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); + public KFontSizeAction(TQObject parent, String name) { super((Class) null); newKFontSizeAction(parent,name); } - private native void newKFontSizeAction(QObject parent, String name); - public KFontSizeAction(QObject parent) { + private native void newKFontSizeAction(TQObject parent, String name); + public KFontSizeAction(TQObject parent) { super((Class) null); newKFontSizeAction(parent); } - private native void newKFontSizeAction(QObject parent); + private native void newKFontSizeAction(TQObject parent); public KFontSizeAction() { super((Class) null); newKFontSizeAction(); diff --git a/kdejava/koala/org/kde/koala/KFontSizeActionSignals.java b/kdejava/koala/org/kde/koala/KFontSizeActionSignals.java index b7df8936..79fed5ac 100644 --- a/kdejava/koala/org/kde/koala/KFontSizeActionSignals.java +++ b/kdejava/koala/org/kde/koala/KFontSizeActionSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QIconSet; +import org.kde.qt.TQObject; +import org.kde.qt.TQIconSet; public interface KFontSizeActionSignals { void fontSizeChanged(int arg1); diff --git a/kdejava/koala/org/kde/koala/KGlobal.java b/kdejava/koala/org/kde/koala/KGlobal.java index 707e4b48..5515caae 100644 --- a/kdejava/koala/org/kde/koala/KGlobal.java +++ b/kdejava/koala/org/kde/koala/KGlobal.java @@ -93,7 +93,7 @@ public class KGlobal implements QtSupport { @short Creates a static String. */ - public static native String staticQString(String str); + public static native String staticTQString(String str); /** Registers a static deleter. @param d the static deleter to register diff --git a/kdejava/koala/org/kde/koala/KGlobalAccel.java b/kdejava/koala/org/kde/koala/KGlobalAccel.java index f9081cc3..f34882d1 100644 --- a/kdejava/koala/org/kde/koala/KGlobalAccel.java +++ b/kdejava/koala/org/kde/koala/KGlobalAccel.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQObject; /** @@ -19,27 +19,27 @@ import org.kde.qt.QObject; @see KKeyDialog */ -public class KGlobalAccel extends QObject { +public class KGlobalAccel extends TQObject { protected KGlobalAccel(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a new KGlobalAccel object with the given pParent and psName. - @param pParent the parent of the QObject - @param psName the name of the QObject + @param pParent the parent of the TQObject + @param psName the name of the TQObject @short Creates a new KGlobalAccel object with the given pParent and psName. */ - public KGlobalAccel(QObject pParent, String psName) { + public KGlobalAccel(TQObject pParent, String psName) { super((Class) null); newKGlobalAccel(pParent,psName); } - private native void newKGlobalAccel(QObject pParent, String psName); - public KGlobalAccel(QObject pParent) { + private native void newKGlobalAccel(TQObject pParent, String psName); + public KGlobalAccel(TQObject pParent) { super((Class) null); newKGlobalAccel(pParent); } - private native void newKGlobalAccel(QObject pParent); + private native void newKGlobalAccel(TQObject pParent); /** Checks whether the accelerators are enabled. @return true if the KGlobalAccel is enabled @@ -68,9 +68,9 @@ public class KGlobalAccel extends QObject { @param bEnabled The action will be activated by the shortcut if set to 'true'. @short Create an accelerator action. */ - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, QObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, QObject pObjSlot, String psMethodSlot, boolean bConfigurable); - public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, QObject pObjSlot, String psMethodSlot); + public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable, boolean bEnabled); + public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, TQObject pObjSlot, String psMethodSlot, boolean bConfigurable); + public native KAccelAction insert(String sAction, String sLabel, String sWhatsThis, KShortcut cutDef3, KShortcut cutDef4, TQObject pObjSlot, String psMethodSlot); /** Removes the accelerator action identified by the name. Remember to also call updateConnections(). @@ -122,7 +122,7 @@ public class KGlobalAccel extends QObject { @short Set the slot to be called when the shortcut of the action named by <code>sAction</code> is pressed. */ - public native boolean setSlot(String sAction, QObject pObjSlot, String psMethodSlot); + public native boolean setSlot(String sAction, TQObject pObjSlot, String psMethodSlot); /** Enables or disables action <code>sAction.</code> @short Enables or disables action <code>sAction.</code> diff --git a/kdejava/koala/org/kde/koala/KGlobalSettings.java b/kdejava/koala/org/kde/koala/KGlobalSettings.java index e7db8734..a5bab271 100644 --- a/kdejava/koala/org/kde/koala/KGlobalSettings.java +++ b/kdejava/koala/org/kde/koala/KGlobalSettings.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QRect; -import org.kde.qt.QFont; +import org.kde.qt.TQColor; +import org.kde.qt.TQRect; +import org.kde.qt.TQFont; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QWidget; +import org.kde.qt.TQPoint; +import org.kde.qt.TQWidget; /** @@ -56,22 +56,22 @@ public class KGlobalSettings implements QtSupport { be started. This prevents spurious drags when the user intended to click on something but moved the mouse a bit while doing so. For this to work you must save the position of the mouse (oldPos) - in the QWidget.mousePressEvent(). + in the TQWidget.mousePressEvent(). When the position of the mouse (newPos) - in a QWidget.mouseMoveEvent() exceeds this threshold + in a TQWidget.mouseMoveEvent() exceeds this threshold you may start a drag which should originate from oldPos. Example code: <pre> - void KColorCells.mousePressEvent( QMouseEvent e ) + void KColorCells.mousePressEvent( TQMouseEvent e ) { mOldPos = e.pos(); } - void KColorCells.mouseMoveEvent( QMouseEvent e ) + void KColorCells.mouseMoveEvent( TQMouseEvent e ) { if( !(e.state() && LeftButton)) return; int delay = KGlobalSettings.dndEventDelay(); - QPoint newPos = e.pos(); + TQPoint newPos = e.pos(); if(newPos.x() > mOldPos.x()+delay || newPos.x() < mOldPos.x()-delay || newPos.y() > mOldPos.y()+delay || newPos.y() < mOldPos.y()-delay) { @@ -201,35 +201,35 @@ public class KGlobalSettings implements QtSupport { @short The default color to use when highlighting toolbar buttons. */ - public static native QColor toolBarHighlightColor(); + public static native TQColor toolBarHighlightColor(); /** The default color to use for inactive titles. @return the inactive title color @short The default color to use for inactive titles. */ - public static native QColor inactiveTitleColor(); + public static native TQColor inactiveTitleColor(); /** The default color to use for inactive texts. @return the inactive text color @short The default color to use for inactive texts. */ - public static native QColor inactiveTextColor(); + public static native TQColor inactiveTextColor(); /** The default color to use for active titles. @return the active title color @short The default color to use for active titles. */ - public static native QColor activeTitleColor(); + public static native TQColor activeTitleColor(); /** The default color to use for active texts. @return the active text color @short The default color to use for active texts. */ - public static native QColor activeTextColor(); + public static native TQColor activeTextColor(); /** Returns the contrast for borders. @return the contrast (between 0 for minimum and 10 for maximum @@ -244,60 +244,60 @@ public class KGlobalSettings implements QtSupport { @short Returns the button background color */ - public static native QColor buttonBackground(); + public static native TQColor buttonBackground(); /** Returns the button text color @return the button text color @short Returns the button text color */ - public static native QColor buttonTextColor(); + public static native TQColor buttonTextColor(); /** Returns the default base (background) color. @return the default base (background) color @short Returns the default base (background) color. - @see org.kde.qt.QColorGroup#base + @see org.kde.qt.TQColorGroup#base */ - public static native QColor baseColor(); + public static native TQColor baseColor(); /** Returns the default text color. @return the default text color @short Returns the default text color. - @see org.kde.qt.QColorGroup#text + @see org.kde.qt.TQColorGroup#text */ - public static native QColor textColor(); + public static native TQColor textColor(); /** Returns the default link color. @return the default link color @short Returns the default link color. */ - public static native QColor linkColor(); + public static native TQColor linkColor(); /** Returns the default color for visited links. @return the default color for visited links @short Returns the default color for visited links. */ - public static native QColor visitedLinkColor(); + public static native TQColor visitedLinkColor(); /** Returns the default color for highlighted text. @return the default color for highlighted text @short Returns the default color for highlighted text. - @see org.kde.qt.QColorGroup#hightlightedText + @see org.kde.qt.TQColorGroup#hightlightedText */ - public static native QColor highlightedTextColor(); + public static native TQColor highlightedTextColor(); /** Returns the default color for text highlights. @return the default color for text highlights @short Returns the default color for text highlights. - @see org.kde.qt.QColorGroup#hightlight + @see org.kde.qt.TQColorGroup#hightlight */ - public static native QColor highlightColor(); + public static native TQColor highlightColor(); /** Returns the alternate background color used by KListView with KListViewItem. Any other list that uses alternating background @@ -308,7 +308,7 @@ public class KGlobalSettings implements QtSupport { @short Returns the alternate background color used by KListView with KListViewItem. @see #calculateAlternateBackgroundColor */ - public static native QColor alternateBackgroundColor(); + public static native TQColor alternateBackgroundColor(); /** Calculates a color based on <code>base</code> to be used as alternating color for e.g. listviews. @@ -318,7 +318,7 @@ public class KGlobalSettings implements QtSupport { @short Calculates a color based on <code>base</code> to be used as alternating color for e. @see #alternateBackgroundColor */ - public static native QColor calculateAlternateBackgroundColor(QColor base); + public static native TQColor calculateAlternateBackgroundColor(TQColor base); /** Returns if the sorted column in a KListView shall be drawn with a shaded background color. @@ -333,42 +333,42 @@ public class KGlobalSettings implements QtSupport { @short Returns the default general font. */ - public static native QFont generalFont(); + public static native TQFont generalFont(); /** Returns the default fixed font. @return the default fixed font. @short Returns the default fixed font. */ - public static native QFont fixedFont(); + public static native TQFont fixedFont(); /** Returns the default toolbar font. @return the default toolbar font. @short Returns the default toolbar font. */ - public static native QFont toolBarFont(); + public static native TQFont toolBarFont(); /** Returns the default menu font. @return the default menu font. @short Returns the default menu font. */ - public static native QFont menuFont(); + public static native TQFont menuFont(); /** Returns the default window title font. @return the default window title font. @short Returns the default window title font. */ - public static native QFont windowTitleFont(); + public static native TQFont windowTitleFont(); /** Returns the default taskbar font. @return the default taskbar font. @short Returns the default taskbar font. */ - public static native QFont taskbarFont(); + public static native TQFont taskbarFont(); /** Returns a font of approx. 48 pt. capable of showing <code>text.</code> @param text the text to test @@ -376,8 +376,8 @@ public class KGlobalSettings implements QtSupport { @short Returns a font of approx. */ - public static native QFont largeFont(String text); - public static native QFont largeFont(); + public static native TQFont largeFont(String text); + public static native TQFont largeFont(); /** Returns if the user specified multihead. In case the display has multiple screens, the return value of this function specifies @@ -389,16 +389,16 @@ public class KGlobalSettings implements QtSupport { */ public static native boolean isMultiHead(); /** - Typically, QScrollView derived classes can be scrolled fast by + Typically, TQScrollView derived classes can be scrolled fast by holding down the Ctrl-button during wheel-scrolling. - But QTextEdit and derived classes perform zooming instead of fast + But TQTextEdit and derived classes perform zooming instead of fast scrolling. This value determines whether the user wants to zoom or scroll fast with Ctrl-wheelscroll. @return true if the user wishes to zoom with the mouse wheel, false for scrolling - @short Typically, QScrollView derived classes can be scrolled fast by holding down the Ctrl-button during wheel-scrolling. + @short Typically, TQScrollView derived classes can be scrolled fast by holding down the Ctrl-button during wheel-scrolling. */ public static native boolean wheelMouseZooms(); /** @@ -411,7 +411,7 @@ public class KGlobalSettings implements QtSupport { @short This function returns the desktop geometry for an application's splash screen. */ - public static native QRect splashScreenDesktopGeometry(); + public static native TQRect splashScreenDesktopGeometry(); /** This function returns the desktop geometry for an application that needs to set the geometry of a widget on the screen manually. It takes into @@ -426,7 +426,7 @@ public class KGlobalSettings implements QtSupport { @short This function returns the desktop geometry for an application that needs to set the geometry of a widget on the screen manually. */ - public static native QRect desktopGeometry(QPoint point); + public static native TQRect desktopGeometry(TQPoint point); /** This function returns the desktop geometry for an application that needs to set the geometry of a widget on the screen manually. It takes into @@ -439,7 +439,7 @@ public class KGlobalSettings implements QtSupport { @short This function returns the desktop geometry for an application that needs to set the geometry of a widget on the screen manually. */ - public static native QRect desktopGeometry(QWidget w); + public static native TQRect desktopGeometry(TQWidget w); /** This function determines if the user wishes to see icons on the push buttons. @@ -458,7 +458,7 @@ public class KGlobalSettings implements QtSupport { public static native boolean showFilePreview(KURL arg1); /** Whether the user wishes to use opaque resizing. Primarily - intended for QSplitter.setOpaqueResize() + intended for TQSplitter.setOpaqueResize() @return Returns true if user wants to use opaque resizing. @short Whether the user wishes to use opaque resizing. diff --git a/kdejava/koala/org/kde/koala/KGradientSelector.java b/kdejava/koala/org/kde/koala/KGradientSelector.java index ad502882..911fca0e 100644 --- a/kdejava/koala/org/kde/koala/KGradientSelector.java +++ b/kdejava/koala/org/kde/koala/KGradientSelector.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QPainter; -import org.kde.qt.QWidget; +import org.kde.qt.TQSize; +import org.kde.qt.TQPainter; +import org.kde.qt.TQWidget; /** @@ -20,23 +20,23 @@ import org.kde.qt.QWidget; */ public class KGradientSelector extends KSelector { protected KGradientSelector(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a horizontal color selector which contains a gradient between white and black. @short Constructs a horizontal color selector which contains a gradient between white and black. */ - public KGradientSelector(QWidget parent, String name) { + public KGradientSelector(TQWidget parent, String name) { super((Class) null); newKGradientSelector(parent,name); } - private native void newKGradientSelector(QWidget parent, String name); - public KGradientSelector(QWidget parent) { + private native void newKGradientSelector(TQWidget parent, String name); + public KGradientSelector(TQWidget parent) { super((Class) null); newKGradientSelector(parent); } - private native void newKGradientSelector(QWidget parent); + private native void newKGradientSelector(TQWidget parent); public KGradientSelector() { super((Class) null); newKGradientSelector(); @@ -47,16 +47,16 @@ public class KGradientSelector extends KSelector { contains a gradient between white and black. @short Constructs a colors selector with orientation o which contains a gradient between white and black. */ - public KGradientSelector(int o, QWidget parent, String name) { + public KGradientSelector(int o, TQWidget parent, String name) { super((Class) null); newKGradientSelector(o,parent,name); } - private native void newKGradientSelector(int o, QWidget parent, String name); - public KGradientSelector(int o, QWidget parent) { + private native void newKGradientSelector(int o, TQWidget parent, String name); + public KGradientSelector(int o, TQWidget parent) { super((Class) null); newKGradientSelector(o,parent); } - private native void newKGradientSelector(int o, QWidget parent); + private native void newKGradientSelector(int o, TQWidget parent); public KGradientSelector(int o) { super((Class) null); newKGradientSelector(o); @@ -66,26 +66,26 @@ public class KGradientSelector extends KSelector { Sets the two colors which span the gradient. @short Sets the two colors which span the gradient. */ - public native void setColors(QColor col1, QColor col2); + public native void setColors(TQColor col1, TQColor col2); public native void setText(String t1, String t2); /** Set each color on its own. @short Set each color on its own. */ - public native void setFirstColor(QColor col); - public native void setSecondColor(QColor col); + public native void setFirstColor(TQColor col); + public native void setSecondColor(TQColor col); /** Set each description on its own @short Set each description on its own */ public native void setFirstText(String t); public native void setSecondText(String t); - public native QColor firstColor(); - public native QColor secondColor(); + public native TQColor firstColor(); + public native TQColor secondColor(); public native String firstText(); public native String secondText(); - protected native void drawContents(QPainter arg1); - public native QSize minimumSize(); + protected native void drawContents(TQPainter arg1); + public native TQSize minimumSize(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KGuiItem.java b/kdejava/koala/org/kde/koala/KGuiItem.java index 29adae20..503d8a6b 100644 --- a/kdejava/koala/org/kde/koala/KGuiItem.java +++ b/kdejava/koala/org/kde/koala/KGuiItem.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QIconSet; +import org.kde.qt.TQIconSet; /** @@ -37,28 +37,28 @@ public class KGuiItem implements QtSupport { newKGuiItem(text); } private native void newKGuiItem(String text); - public KGuiItem(String text, QIconSet iconSet, String toolTip, String whatsThis) { + public KGuiItem(String text, TQIconSet iconSet, String toolTip, String whatsThis) { newKGuiItem(text,iconSet,toolTip,whatsThis); } - private native void newKGuiItem(String text, QIconSet iconSet, String toolTip, String whatsThis); - public KGuiItem(String text, QIconSet iconSet, String toolTip) { + private native void newKGuiItem(String text, TQIconSet iconSet, String toolTip, String whatsThis); + public KGuiItem(String text, TQIconSet iconSet, String toolTip) { newKGuiItem(text,iconSet,toolTip); } - private native void newKGuiItem(String text, QIconSet iconSet, String toolTip); - public KGuiItem(String text, QIconSet iconSet) { + private native void newKGuiItem(String text, TQIconSet iconSet, String toolTip); + public KGuiItem(String text, TQIconSet iconSet) { newKGuiItem(text,iconSet); } - private native void newKGuiItem(String text, QIconSet iconSet); + private native void newKGuiItem(String text, TQIconSet iconSet); public KGuiItem(KGuiItem rhs) { newKGuiItem(rhs); } private native void newKGuiItem(KGuiItem rhs); public native String text(); public native String plainText(); - public native QIconSet iconSet(int arg1, int size, KInstanceInterface instance); - public native QIconSet iconSet(int arg1, int size); - public native QIconSet iconSet(int arg1); - public native QIconSet iconSet(); + public native TQIconSet iconSet(int arg1, int size, KInstanceInterface instance); + public native TQIconSet iconSet(int arg1, int size); + public native TQIconSet iconSet(int arg1); + public native TQIconSet iconSet(); public native String iconName(); public native String toolTip(); public native String whatsThis(); @@ -70,7 +70,7 @@ public class KGuiItem implements QtSupport { public native boolean hasIcon(); public native boolean hasIconSet(); public native void setText(String text); - public native void setIconSet(QIconSet iconset); + public native void setIconSet(TQIconSet iconset); public native void setIconName(String iconName); public native void setToolTip(String tooltip); public native void setWhatsThis(String whatsThis); diff --git a/kdejava/koala/org/kde/koala/KHSSelector.java b/kdejava/koala/org/kde/koala/KHSSelector.java index 0c8c8469..5632dfb8 100644 --- a/kdejava/koala/org/kde/koala/KHSSelector.java +++ b/kdejava/koala/org/kde/koala/KHSSelector.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QPainter; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQPainter; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; /** @@ -25,22 +25,22 @@ import org.kde.qt.QResizeEvent; */ public class KHSSelector extends KXYSelector { protected KHSSelector(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a hue/saturation selection widget. @short Constructs a hue/saturation selection widget. */ - public KHSSelector(QWidget parent, String name) { + public KHSSelector(TQWidget parent, String name) { super((Class) null); newKHSSelector(parent,name); } - private native void newKHSSelector(QWidget parent, String name); - public KHSSelector(QWidget parent) { + private native void newKHSSelector(TQWidget parent, String name); + public KHSSelector(TQWidget parent) { super((Class) null); newKHSSelector(parent); } - private native void newKHSSelector(QWidget parent); + private native void newKHSSelector(TQWidget parent); public KHSSelector() { super((Class) null); newKHSSelector(); @@ -51,15 +51,15 @@ public class KHSSelector extends KXYSelector { which is used for buffering. @short Draws the contents of the widget on a pixmap, which is used for buffering. */ - protected native void drawPalette(QPixmap pixmap); - protected native void resizeEvent(QResizeEvent arg1); + protected native void drawPalette(TQPixmap pixmap); + protected native void resizeEvent(TQResizeEvent arg1); /** Reimplemented from KXYSelector. This drawing is buffered in a pixmap here. As real drawing routine, drawPalette() is used. @short Reimplemented from KXYSelector. */ - protected native void drawContents(QPainter painter); + protected native void drawContents(TQPainter painter); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KHTMLPart.java b/kdejava/koala/org/kde/koala/KHTMLPart.java index f5b3660c..3ee52003 100644 --- a/kdejava/koala/org/kde/koala/KHTMLPart.java +++ b/kdejava/koala/org/kde/koala/KHTMLPart.java @@ -2,18 +2,18 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; -import org.kde.qt.QObject; -import org.kde.qt.QPoint; +import org.kde.qt.TQDataStream; +import org.kde.qt.TQObject; +import org.kde.qt.TQPoint; import java.util.ArrayList; -import org.kde.qt.QPainter; -import org.kde.qt.QCustomEvent; -import org.kde.qt.QCursor; -import org.kde.qt.QVariant; -import org.kde.qt.QWidget; +import org.kde.qt.TQPainter; +import org.kde.qt.TQCustomEvent; +import org.kde.qt.TQCursor; +import org.kde.qt.TQVariant; +import org.kde.qt.TQWidget; /** @@ -108,13 +108,13 @@ public class KHTMLPart extends ReadOnlyPart { public static final int Encrypted = 1; public static final int Mixed = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a new KHTMLPart. KHTML basically consists of two objects: The KHTMLPart itself, holding the document data (DOM document), and the KHTMLView, - derived from QScrollView, in which the document content is + derived from TQScrollView, in which the document content is rendered in. You can specify two different parent objects for a KHTMLPart, one parent for the KHTMLPart document and on parent for the KHTMLView. If the second <code>parent</code> argument is null, then @@ -122,51 +122,51 @@ public class KHTMLPart extends ReadOnlyPart { the view. @short Constructs a new KHTMLPart. */ - public KHTMLPart(QWidget parentWidget, String widgetname, QObject parent, String name, int prof) { + public KHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name, int prof) { super((Class) null); newKHTMLPart(parentWidget,widgetname,parent,name,prof); } - private native void newKHTMLPart(QWidget parentWidget, String widgetname, QObject parent, String name, int prof); - public KHTMLPart(QWidget parentWidget, String widgetname, QObject parent, String name) { + private native void newKHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name, int prof); + public KHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name) { super((Class) null); newKHTMLPart(parentWidget,widgetname,parent,name); } - private native void newKHTMLPart(QWidget parentWidget, String widgetname, QObject parent, String name); - public KHTMLPart(QWidget parentWidget, String widgetname, QObject parent) { + private native void newKHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name); + public KHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent) { super((Class) null); newKHTMLPart(parentWidget,widgetname,parent); } - private native void newKHTMLPart(QWidget parentWidget, String widgetname, QObject parent); - public KHTMLPart(QWidget parentWidget, String widgetname) { + private native void newKHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent); + public KHTMLPart(TQWidget parentWidget, String widgetname) { super((Class) null); newKHTMLPart(parentWidget,widgetname); } - private native void newKHTMLPart(QWidget parentWidget, String widgetname); - public KHTMLPart(QWidget parentWidget) { + private native void newKHTMLPart(TQWidget parentWidget, String widgetname); + public KHTMLPart(TQWidget parentWidget) { super((Class) null); newKHTMLPart(parentWidget); } - private native void newKHTMLPart(QWidget parentWidget); + private native void newKHTMLPart(TQWidget parentWidget); public KHTMLPart() { super((Class) null); newKHTMLPart(); } private native void newKHTMLPart(); - public KHTMLPart(KHTMLView view, QObject parent, String name, int prof) { + public KHTMLPart(KHTMLView view, TQObject parent, String name, int prof) { super((Class) null); newKHTMLPart(view,parent,name,prof); } - private native void newKHTMLPart(KHTMLView view, QObject parent, String name, int prof); - public KHTMLPart(KHTMLView view, QObject parent, String name) { + private native void newKHTMLPart(KHTMLView view, TQObject parent, String name, int prof); + public KHTMLPart(KHTMLView view, TQObject parent, String name) { super((Class) null); newKHTMLPart(view,parent,name); } - private native void newKHTMLPart(KHTMLView view, QObject parent, String name); - public KHTMLPart(KHTMLView view, QObject parent) { + private native void newKHTMLPart(KHTMLView view, TQObject parent, String name); + public KHTMLPart(KHTMLView view, TQObject parent) { super((Class) null); newKHTMLPart(view,parent); } - private native void newKHTMLPart(KHTMLView view, QObject parent); + private native void newKHTMLPart(KHTMLView view, TQObject parent); public KHTMLPart(KHTMLView view) { super((Class) null); newKHTMLPart(view); @@ -261,8 +261,8 @@ public class KHTMLPart extends ReadOnlyPart { setStatusBarText(String text) If you want to catch this for your own statusbar, note that it returns back a rich text string, starting with "<qt>". This you need to - either pass this into your own QLabel or to strip out the tags - before passing it to QStatusBar.message(String message) + either pass this into your own TQLabel or to strip out the tags + before passing it to TQStatusBar.message(String message) @short Enable/disable statusbar messages. @see Part#setStatusBarText( @see #const @@ -289,7 +289,7 @@ public class KHTMLPart extends ReadOnlyPart { specifying the 'this' value. @short Same as executeScript( String ) except with the Node parameter specifying the 'this' value. */ - public native QVariant executeScript(Node n, String script); + public native TQVariant executeScript(Node n, String script); /** Enables or disables Drag'n'Drop support. A drag operation is started if the users drags a link. @@ -472,12 +472,12 @@ public class KHTMLPart extends ReadOnlyPart { */ public native void end(); /** - Paints the HTML page to a QPainter. See KHTMLView.paint for details - @short Paints the HTML page to a QPainter. + Paints the HTML page to a TQPainter. See KHTMLView.paint for details + @short Paints the HTML page to a TQPainter. */ - public native void paint(QPainter arg1, QRect arg2, int arg3, boolean[] arg4); - public native void paint(QPainter arg1, QRect arg2, int arg3); - public native void paint(QPainter arg1, QRect arg2); + public native void paint(TQPainter arg1, TQRect arg2, int arg3, boolean[] arg4); + public native void paint(TQPainter arg1, TQRect arg2, int arg3); + public native void paint(TQPainter arg1, TQRect arg2); /** Sets the encoding the page uses. This can be different from the charset. The widget will try to reload the current page in the new @@ -546,12 +546,12 @@ public class KHTMLPart extends ReadOnlyPart { Sets the cursor to use when the cursor is on a link. @short Sets the cursor to use when the cursor is on a link. */ - public native void setURLCursor(QCursor c); + public native void setURLCursor(TQCursor c); /** Returns the cursor which is used when the cursor is on a link. @short Returns the cursor which is used when the cursor is on a link. */ - public native QCursor urlCursor(); + public native TQCursor urlCursor(); /** Starts a new search by popping up a dialog asking the user what he wants to search for. @@ -566,8 +566,8 @@ public class KHTMLPart extends ReadOnlyPart { @param findDialog Optionally, you can supply your own dialog. @short Starts a new search, but bypasses the user dialog. */ - public native void findText(String str, long options, QWidget parent, KFindDialog findDialog); - public native void findText(String str, long options, QWidget parent); + public native void findText(String str, long options, TQWidget parent, KFindDialog findDialog); + public native void findText(String str, long options, TQWidget parent); public native void findText(String str, long options); /** Initiates a text search. @@ -672,21 +672,21 @@ public class KHTMLPart extends ReadOnlyPart { public native PartManager partManager(); /** Saves the KHTMLPart's complete state (including child frame - objects) to the provided QDataStream. + objects) to the provided TQDataStream. This is called from the saveState() method of the browserExtension(). - @short Saves the KHTMLPart's complete state (including child frame objects) to the provided QDataStream. + @short Saves the KHTMLPart's complete state (including child frame objects) to the provided TQDataStream. */ - public native void saveState(QDataStream stream); + public native void saveState(TQDataStream stream); /** Restores the KHTMLPart's previously saved state (including - child frame objects) from the provided QDataStream. + child frame objects) from the provided TQDataStream. This is called from the restoreState() method of the browserExtension() . - @short Restores the KHTMLPart's previously saved state (including child frame objects) from the provided QDataStream. + @short Restores the KHTMLPart's previously saved state (including child frame objects) from the provided TQDataStream. @see #saveState */ - public native void restoreState(QDataStream stream); + public native void restoreState(TQDataStream stream); /** Returns the <code>Node</code> currently under the mouse. The returned node may be a shared node (e. g. an \<area> node if the @@ -720,7 +720,7 @@ public class KHTMLPart extends ReadOnlyPart { @short Returns a list of names of all frame (including iframe) objects of the current document. */ public native ArrayList frameNames(); - // QPtrList<KParts::ReadOnlyPart> frames(); >>>> NOT CONVERTED + // TQPtrList<KParts::ReadOnlyPart> frames(); >>>> NOT CONVERTED /** Finds a frame by name. Returns null if frame can't be found. @short Finds a frame by name. @@ -734,7 +734,7 @@ public class KHTMLPart extends ReadOnlyPart { frame info in <code>childFrame</code> @short Recursively finds the part containing the frame with name <code>f</code> and checks if it is accessible by <code>callingPart</code> Returns 0L if no suitable frame can't be found. */ - // KHTMLPart* findFrameParent(KParts::ReadOnlyPart* arg1,const QString& arg2,khtml::ChildFrame** arg3); >>>> NOT CONVERTED + // KHTMLPart* findFrameParent(KParts::ReadOnlyPart* arg1,const TQString& arg2,khtml::ChildFrame** arg3); >>>> NOT CONVERTED public native KHTMLPart findFrameParent(ReadOnlyPart callingPart, String f); /** Return the current frame (the one that has focus) @@ -929,7 +929,7 @@ public class KHTMLPart extends ReadOnlyPart { @short presents a detailed error message to the user. */ protected native void htmlError(int errorCode, String text, KURL reqUrl); - protected native void customEvent(QCustomEvent event); + protected native void customEvent(TQCustomEvent event); /** Eventhandler of the khtml.MousePressEvent. @short Eventhandler of the khtml.MousePressEvent. @@ -976,7 +976,7 @@ public class KHTMLPart extends ReadOnlyPart { the mimetype 'text/html' . @short This method is called when a new embedded object (include html frames) is to be created. */ - protected native ReadOnlyPart createPart(QWidget parentWidget, String widgetName, QObject parent, String name, String mimetype, StringBuffer serviceName, String[] serviceTypes, String[] params); + protected native ReadOnlyPart createPart(TQWidget parentWidget, String widgetName, TQObject parent, String name, String mimetype, StringBuffer serviceName, String[] serviceTypes, String[] params); protected native boolean pluginPageQuestionAsked(String mimetype); protected native void setPluginPageQuestionAsked(String mimetype); // void setPageSecurity(KHTMLPart::PageSecurity arg1); >>>> NOT CONVERTED diff --git a/kdejava/koala/org/kde/koala/KHTMLPartSignals.java b/kdejava/koala/org/kde/koala/KHTMLPartSignals.java index 1130933a..efeebe2f 100644 --- a/kdejava/koala/org/kde/koala/KHTMLPartSignals.java +++ b/kdejava/koala/org/kde/koala/KHTMLPartSignals.java @@ -1,18 +1,18 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; -import org.kde.qt.QObject; -import org.kde.qt.QPoint; +import org.kde.qt.TQDataStream; +import org.kde.qt.TQObject; +import org.kde.qt.TQPoint; import java.util.ArrayList; -import org.kde.qt.QPainter; -import org.kde.qt.QCustomEvent; -import org.kde.qt.QCursor; -import org.kde.qt.QVariant; -import org.kde.qt.QWidget; +import org.kde.qt.TQPainter; +import org.kde.qt.TQCustomEvent; +import org.kde.qt.TQCursor; +import org.kde.qt.TQVariant; +import org.kde.qt.TQWidget; public interface KHTMLPartSignals { /** @@ -24,7 +24,7 @@ public interface KHTMLPartSignals { Emitted when the user clicks the right mouse button on the document. @short Emitted when the user clicks the right mouse button on the document. */ - void popupMenu(String url, QPoint point); + void popupMenu(String url, TQPoint point); /** This signal is emitted when the selection changes. @short This signal is emitted when the selection changes. diff --git a/kdejava/koala/org/kde/koala/KHTMLSettings.java b/kdejava/koala/org/kde/koala/KHTMLSettings.java index 358737a2..86840c2d 100644 --- a/kdejava/koala/org/kde/koala/KHTMLSettings.java +++ b/kdejava/koala/org/kde/koala/KHTMLSettings.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; +import org.kde.qt.TQColor; import org.kde.qt.QtSupport; /** @@ -109,10 +109,10 @@ public class KHTMLSettings implements QtSupport { public native void setJSErrorsEnabled(boolean enabled); public native String encoding(); public native boolean followSystemColors(); - public native QColor textColor(); - public native QColor baseColor(); - public native QColor linkColor(); - public native QColor vLinkColor(); + public native TQColor textColor(); + public native TQColor baseColor(); + public native TQColor linkColor(); + public native TQColor vLinkColor(); public native boolean autoLoadImages(); public native boolean unfinishedImageFrame(); public native boolean isOpenMiddleClickEnabled(); diff --git a/kdejava/koala/org/kde/koala/KHTMLView.java b/kdejava/koala/org/kde/koala/KHTMLView.java index fff1a853..e82dad57 100644 --- a/kdejava/koala/org/kde/koala/KHTMLView.java +++ b/kdejava/koala/org/kde/koala/KHTMLView.java @@ -2,52 +2,52 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QHideEvent; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QCloseEvent; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QContextMenuEvent; -import org.kde.qt.QPainter; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QShowEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QTimerEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QWheelEvent; -import org.kde.qt.QScrollView; +import org.kde.qt.TQObject; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQContextMenuEvent; +import org.kde.qt.TQPainter; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQTimerEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQWheelEvent; +import org.kde.qt.TQScrollView; /** - Renders and displays HTML in a QScrollView. + Renders and displays HTML in a TQScrollView. Suitable for use as an application's main view. See {@link KHTMLViewSignals} for signals emitted by KHTMLView - @short Renders and displays HTML in a QScrollView. + @short Renders and displays HTML in a TQScrollView. */ -public class KHTMLView extends QScrollView { +public class KHTMLView extends TQScrollView { protected KHTMLView(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KHTMLView. @short Constructs a KHTMLView. */ - public KHTMLView(KHTMLPart part, QWidget parent, String name) { + public KHTMLView(KHTMLPart part, TQWidget parent, String name) { super((Class) null); newKHTMLView(part,parent,name); } - private native void newKHTMLView(KHTMLPart part, QWidget parent, String name); - public KHTMLView(KHTMLPart part, QWidget parent) { + private native void newKHTMLView(KHTMLPart part, TQWidget parent, String name); + public KHTMLView(KHTMLPart part, TQWidget parent) { super((Class) null); newKHTMLView(part,parent); } - private native void newKHTMLView(KHTMLPart part, QWidget parent); + private native void newKHTMLView(KHTMLPart part, TQWidget parent); /** Returns a pointer to the KHTMLPart that is rendering the page. @@ -90,10 +90,10 @@ public class KHTMLView extends QScrollView { public native void print(); /** Prints the HTML document. - @param quick if true, fully automated printing, without print dialog + @param tquick if true, fully automated printing, without print dialog @short Prints the HTML document. */ - public native void print(boolean quick); + public native void print(boolean tquick); /** ensure the display is up to date @short ensure the display is up to date @@ -105,29 +105,29 @@ public class KHTMLView extends QScrollView { */ public native void displayAccessKeys(); protected native void clear(); - protected native void resizeEvent(QResizeEvent event); - public native void showEvent(QShowEvent arg1); - protected native void hideEvent(QHideEvent arg1); + protected native void resizeEvent(TQResizeEvent event); + public native void showEvent(TQShowEvent arg1); + protected native void hideEvent(TQHideEvent arg1); protected native boolean focusNextPrevChild(boolean next); - protected native void drawContents(QPainter p, int clipx, int clipy, int clipw, int cliph); - protected native void drawContents(QPainter arg1); - protected native void viewportMousePressEvent(QMouseEvent arg1); - protected native void focusInEvent(QFocusEvent arg1); - protected native void focusOutEvent(QFocusEvent arg1); - protected native void viewportMouseDoubleClickEvent(QMouseEvent arg1); - protected native void viewportMouseMoveEvent(QMouseEvent arg1); - protected native void viewportMouseReleaseEvent(QMouseEvent arg1); - protected native void viewportResizeEvent(QResizeEvent arg1); - protected native void viewportWheelEvent(QWheelEvent arg1); - protected native void dragEnterEvent(QDragEnterEvent arg1); - protected native void dropEvent(QDropEvent arg1); - protected native void closeEvent(QCloseEvent arg1); - public native boolean eventFilter(QObject arg1, QEvent arg2); - protected native void keyPressEvent(QKeyEvent _ke); - protected native void keyReleaseEvent(QKeyEvent _ke); - protected native void contentsContextMenuEvent(QContextMenuEvent _ce); + protected native void drawContents(TQPainter p, int clipx, int clipy, int clipw, int cliph); + protected native void drawContents(TQPainter arg1); + protected native void viewportMousePressEvent(TQMouseEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void viewportMouseDoubleClickEvent(TQMouseEvent arg1); + protected native void viewportMouseMoveEvent(TQMouseEvent arg1); + protected native void viewportMouseReleaseEvent(TQMouseEvent arg1); + protected native void viewportResizeEvent(TQResizeEvent arg1); + protected native void viewportWheelEvent(TQWheelEvent arg1); + protected native void dragEnterEvent(TQDragEnterEvent arg1); + protected native void dropEvent(TQDropEvent arg1); + protected native void closeEvent(TQCloseEvent arg1); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + protected native void keyPressEvent(TQKeyEvent _ke); + protected native void keyReleaseEvent(TQKeyEvent _ke); + protected native void contentsContextMenuEvent(TQContextMenuEvent _ce); protected native void doAutoScroll(); - protected native void timerEvent(QTimerEvent arg1); + protected native void timerEvent(TQTimerEvent arg1); protected native void slotPaletteChanged(); protected native void slotScrollBarMoved(); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KHTMLViewSignals.java b/kdejava/koala/org/kde/koala/KHTMLViewSignals.java index 95441733..71034fee 100644 --- a/kdejava/koala/org/kde/koala/KHTMLViewSignals.java +++ b/kdejava/koala/org/kde/koala/KHTMLViewSignals.java @@ -1,24 +1,24 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QHideEvent; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QCloseEvent; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QContextMenuEvent; -import org.kde.qt.QPainter; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QShowEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QTimerEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QWheelEvent; +import org.kde.qt.TQObject; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQContextMenuEvent; +import org.kde.qt.TQPainter; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQTimerEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQWheelEvent; public interface KHTMLViewSignals { void finishedLayout(); diff --git a/kdejava/koala/org/kde/koala/KHelpMenu.java b/kdejava/koala/org/kde/koala/KHelpMenu.java index 2f448c71..68124c85 100644 --- a/kdejava/koala/org/kde/koala/KHelpMenu.java +++ b/kdejava/koala/org/kde/koala/KHelpMenu.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -80,7 +80,7 @@ import org.kde.qt.QObject; @short Standard %KDE help menu with dialog boxes. */ -public class KHelpMenu extends QObject { +public class KHelpMenu extends TQObject { protected KHelpMenu(Class dummy){super((Class) null);} public static final int menuHelpContents = 0; public static final int menuWhatsThis = 1; @@ -88,7 +88,7 @@ public class KHelpMenu extends QObject { public static final int menuAboutKDE = 3; public static final int menuReportBug = 4; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. @@ -102,21 +102,21 @@ public class KHelpMenu extends QObject { added to the dialog. @short Constructor. */ - public KHelpMenu(QWidget parent, String aboutAppText, boolean showWhatsThis) { + public KHelpMenu(TQWidget parent, String aboutAppText, boolean showWhatsThis) { super((Class) null); newKHelpMenu(parent,aboutAppText,showWhatsThis); } - private native void newKHelpMenu(QWidget parent, String aboutAppText, boolean showWhatsThis); - public KHelpMenu(QWidget parent, String aboutAppText) { + private native void newKHelpMenu(TQWidget parent, String aboutAppText, boolean showWhatsThis); + public KHelpMenu(TQWidget parent, String aboutAppText) { super((Class) null); newKHelpMenu(parent,aboutAppText); } - private native void newKHelpMenu(QWidget parent, String aboutAppText); - public KHelpMenu(QWidget parent) { + private native void newKHelpMenu(TQWidget parent, String aboutAppText); + public KHelpMenu(TQWidget parent) { super((Class) null); newKHelpMenu(parent); } - private native void newKHelpMenu(QWidget parent); + private native void newKHelpMenu(TQWidget parent); public KHelpMenu() { super((Class) null); newKHelpMenu(); @@ -136,21 +136,21 @@ public class KHelpMenu extends QObject { standard actions. @short Constructor. */ - public KHelpMenu(QWidget parent, KAboutData aboutData, boolean showWhatsThis, KActionCollection actions) { + public KHelpMenu(TQWidget parent, KAboutData aboutData, boolean showWhatsThis, KActionCollection actions) { super((Class) null); newKHelpMenu(parent,aboutData,showWhatsThis,actions); } - private native void newKHelpMenu(QWidget parent, KAboutData aboutData, boolean showWhatsThis, KActionCollection actions); - public KHelpMenu(QWidget parent, KAboutData aboutData, boolean showWhatsThis) { + private native void newKHelpMenu(TQWidget parent, KAboutData aboutData, boolean showWhatsThis, KActionCollection actions); + public KHelpMenu(TQWidget parent, KAboutData aboutData, boolean showWhatsThis) { super((Class) null); newKHelpMenu(parent,aboutData,showWhatsThis); } - private native void newKHelpMenu(QWidget parent, KAboutData aboutData, boolean showWhatsThis); - public KHelpMenu(QWidget parent, KAboutData aboutData) { + private native void newKHelpMenu(TQWidget parent, KAboutData aboutData, boolean showWhatsThis); + public KHelpMenu(TQWidget parent, KAboutData aboutData) { super((Class) null); newKHelpMenu(parent,aboutData); } - private native void newKHelpMenu(QWidget parent, KAboutData aboutData); + private native void newKHelpMenu(TQWidget parent, KAboutData aboutData); /** Returns a popup menu you can use in the menu bar or where you need it. diff --git a/kdejava/koala/org/kde/koala/KHelpMenuSignals.java b/kdejava/koala/org/kde/koala/KHelpMenuSignals.java index cf7e0a08..4bce0b26 100644 --- a/kdejava/koala/org/kde/koala/KHelpMenuSignals.java +++ b/kdejava/koala/org/kde/koala/KHelpMenuSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KHelpMenuSignals { /** diff --git a/kdejava/koala/org/kde/koala/KHistoryCombo.java b/kdejava/koala/org/kde/koala/KHistoryCombo.java index 59750836..614811dc 100644 --- a/kdejava/koala/org/kde/koala/KHistoryCombo.java +++ b/kdejava/koala/org/kde/koala/KHistoryCombo.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWheelEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; /** @@ -29,7 +29,7 @@ import org.kde.qt.QWheelEvent; */ public class KHistoryCombo extends KComboBox { protected KHistoryCombo(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a "read-write" combobox. A read-only history combobox @@ -42,21 +42,21 @@ public class KHistoryCombo extends KComboBox { connect( combo, SIGNAL("activated( String )"), combo, SLOT("addToHistory( String )")); </pre> - Use QComboBox.setMaxCount() to limit the history. + Use TQComboBox.setMaxCount() to limit the history. <code>parent</code> the parent object of this widget. <code>name</code> the name of this widget. @short Constructs a "read-write" combobox. */ - public KHistoryCombo(QWidget parent, String name) { + public KHistoryCombo(TQWidget parent, String name) { super((Class) null); newKHistoryCombo(parent,name); } - private native void newKHistoryCombo(QWidget parent, String name); - public KHistoryCombo(QWidget parent) { + private native void newKHistoryCombo(TQWidget parent, String name); + public KHistoryCombo(TQWidget parent) { super((Class) null); newKHistoryCombo(parent); } - private native void newKHistoryCombo(QWidget parent); + private native void newKHistoryCombo(TQWidget parent); public KHistoryCombo() { super((Class) null); newKHistoryCombo(); @@ -69,16 +69,16 @@ public class KHistoryCombo extends KComboBox { contents of the combobox. @short Same as the previous constructor, but additionally has the option to specify whether you want to let KHistoryCombo handle completion or not. */ - public KHistoryCombo(boolean useCompletion, QWidget parent, String name) { + public KHistoryCombo(boolean useCompletion, TQWidget parent, String name) { super((Class) null); newKHistoryCombo(useCompletion,parent,name); } - private native void newKHistoryCombo(boolean useCompletion, QWidget parent, String name); - public KHistoryCombo(boolean useCompletion, QWidget parent) { + private native void newKHistoryCombo(boolean useCompletion, TQWidget parent, String name); + public KHistoryCombo(boolean useCompletion, TQWidget parent) { super((Class) null); newKHistoryCombo(useCompletion,parent); } - private native void newKHistoryCombo(boolean useCompletion, QWidget parent); + private native void newKHistoryCombo(boolean useCompletion, TQWidget parent); public KHistoryCombo(boolean useCompletion) { super((Class) null); newKHistoryCombo(useCompletion); @@ -182,7 +182,7 @@ public class KHistoryCombo extends KComboBox { not in the combobox, and vice versa. @short Adds an item to the end of the history list and to the completion list. @see #removeFromHistory - @see org.kde.qt.QComboBox#setDuplicatesEnabled + @see org.kde.qt.TQComboBox#setDuplicatesEnabled */ public native void addToHistory(String item); /** @@ -194,12 +194,12 @@ public class KHistoryCombo extends KComboBox { Handling key-events, the shortcuts to rotate the items. @short Handling key-events, the shortcuts to rotate the items. */ - protected native void keyPressEvent(QKeyEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); /** Handling wheel-events, to rotate the items. @short Handling wheel-events, to rotate the items. */ - protected native void wheelEvent(QWheelEvent ev); + protected native void wheelEvent(TQWheelEvent ev); /** Inserts <code>items</code> into the combo, honoring pixmapProvider() Does not update the completionObject. diff --git a/kdejava/koala/org/kde/koala/KHistoryComboSignals.java b/kdejava/koala/org/kde/koala/KHistoryComboSignals.java index 4af6bc3d..9df1432e 100644 --- a/kdejava/koala/org/kde/koala/KHistoryComboSignals.java +++ b/kdejava/koala/org/kde/koala/KHistoryComboSignals.java @@ -1,12 +1,12 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWheelEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; public interface KHistoryComboSignals { /** diff --git a/kdejava/koala/org/kde/koala/KIO.java b/kdejava/koala/org/kde/koala/KIO.java index bca2a331..5e9c1545 100644 --- a/kdejava/koala/org/kde/koala/KIO.java +++ b/kdejava/koala/org/kde/koala/KIO.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QDomDocument; -import org.kde.qt.QMimeSourceInterface; +import org.kde.qt.TQDomDocument; +import org.kde.qt.TQMimeSourceInterface; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; +import org.kde.qt.TQDataStream; import java.util.ArrayList; -import org.kde.qt.QMimeSource; -import org.kde.qt.QWidget; +import org.kde.qt.TQMimeSource; +import org.kde.qt.TQWidget; /** @@ -139,7 +139,7 @@ public class KIO { public static final int ERR_DISK_FULL = 61; public static final int ERR_IDENTICAL_FILES = 62; public static final int ERR_SLAVE_DEFINED = 63; - public static final int ERR_UPGRADE_REQUIRED = 64; + public static final int ERR_UPGRADE_RETQUIRED = 64; public static final int ERR_POST_DENIED = 65; /** @@ -245,7 +245,7 @@ public class KIO { public static final int MSG_RESUME = 108; public static final int MSG_SLAVE_STATUS = 109; public static final int MSG_SLAVE_ACK = 110; - public static final int MSG_NET_REQUEST = 111; + public static final int MSG_NET_RETQUEST = 111; public static final int MSG_NET_DROP = 112; public static final int MSG_NEED_SUBURL_DATA = 113; public static final int MSG_CANRESUME = 114; @@ -287,8 +287,8 @@ public class KIO { public static native int open_RenameDlg(String caption, String src, String dest, int mode, StringBuffer newDestPath, long sizeSrc, long sizeDest); public static native int open_RenameDlg(String caption, String src, String dest, int mode, StringBuffer newDestPath, long sizeSrc); public static native int open_RenameDlg(String caption, String src, String dest, int mode, StringBuffer newDestPath); - public static native QDataStream op_write(QDataStream s, AuthInfo a); - public static native QDataStream op_read(QDataStream s, AuthInfo a); + public static native TQDataStream op_write(TQDataStream s, AuthInfo a); + public static native TQDataStream op_read(TQDataStream s, AuthInfo a); /** Converts <code>size</code> from bytes to the string representation. @param size size in bytes @@ -548,8 +548,8 @@ public class KIO { @short Creates a new DavJob that issues a PROPFIND command. */ - public static native DavJob davPropFind(KURL url, QDomDocument properties, String depth, boolean showProgressInfo); - public static native DavJob davPropFind(KURL url, QDomDocument properties, String depth); + public static native DavJob davPropFind(KURL url, TQDomDocument properties, String depth, boolean showProgressInfo); + public static native DavJob davPropFind(KURL url, TQDomDocument properties, String depth); /** Creates a new DavJob that issues a PROPPATCH command. PROPPATCH sets the properties of the resource identified by the given <code>url.</code> @@ -561,8 +561,8 @@ public class KIO { @short Creates a new DavJob that issues a PROPPATCH command. */ - public static native DavJob davPropPatch(KURL url, QDomDocument properties, boolean showProgressInfo); - public static native DavJob davPropPatch(KURL url, QDomDocument properties); + public static native DavJob davPropPatch(KURL url, TQDomDocument properties, boolean showProgressInfo); + public static native DavJob davPropPatch(KURL url, TQDomDocument properties); /** Creates a new DavJob that issues a SEARCH command. @param url the URL of the resource @@ -1121,7 +1121,7 @@ public class KIO { public static native void pasteData(KURL destURL, byte[] data); /** Pastes the given <code>data</code> to the given destination URL. - Note that this method requires the caller to have chosen the byte[] + Note that this method retquires the caller to have chosen the byte[] to paste before hand, unlike pasteClipboard and pasteMimeSource. @param destURL the URL of the directory where the data will be pasted. The filename to use in that directory is prompted by this method. @@ -1132,7 +1132,7 @@ public class KIO { public static native CopyJob pasteDataAsync(KURL destURL, byte[] data); /** Pastes the given <code>data</code> to the given destination URL. - Note that this method requires the caller to have chosen the byte[] + Note that this method retquires the caller to have chosen the byte[] to paste before hand, unlike pasteClipboard and pasteMimeSource. @param destURL the URL of the directory where the data will be pasted. The filename to use in that directory is prompted by this method. @@ -1147,18 +1147,18 @@ public class KIO { after offering the user to choose a data format. This is the method used when handling drops (of anything else than URLs) onto kdesktop and konqueror. - @param data the QMimeSource (e.g. a QDropEvent) + @param data the TQMimeSource (e.g. a TQDropEvent) @param destURL the URL of the directory where the data will be pasted. The filename to use in that directory is prompted by this method. @param dialogText the text to show in the dialog @param widget parent widget to use for dialogs - @param clipboard whether the QMimeSource comes from QClipboard. If you + @param clipboard whether the TQMimeSource comes from TQClipboard. If you use pasteClipboard for that case, you never have to worry about this parameter. @short Save the given mimesource <code>data</code> to the given destination URL after offering the user to choose a data format. @see #pasteClipboard */ - public static native CopyJob pasteMimeSource(QMimeSourceInterface data, KURL destURL, String dialogText, QWidget widget, boolean clipboard); - public static native CopyJob pasteMimeSource(QMimeSourceInterface data, KURL destURL, String dialogText, QWidget widget); + public static native CopyJob pasteMimeSource(TQMimeSourceInterface data, KURL destURL, String dialogText, TQWidget widget, boolean clipboard); + public static native CopyJob pasteMimeSource(TQMimeSourceInterface data, KURL destURL, String dialogText, TQWidget widget); /** Checks whether the clipboard contains any URLs. @return true if not diff --git a/kdejava/koala/org/kde/koala/KIconButton.java b/kdejava/koala/org/kde/koala/KIconButton.java index ff2289f3..49df7b10 100644 --- a/kdejava/koala/org/kde/koala/KIconButton.java +++ b/kdejava/koala/org/kde/koala/KIconButton.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QPushButton; +import org.kde.qt.TQWidget; +import org.kde.qt.TQPushButton; /** @@ -17,24 +17,24 @@ import org.kde.qt.QPushButton; @see KIconDialog */ -public class KIconButton extends QPushButton { +public class KIconButton extends TQPushButton { protected KIconButton(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KIconButton using the global iconloader. @short Constructs a KIconButton using the global iconloader. */ - public KIconButton(QWidget parent, String name) { + public KIconButton(TQWidget parent, String name) { super((Class) null); newKIconButton(parent,name); } - private native void newKIconButton(QWidget parent, String name); - public KIconButton(QWidget parent) { + private native void newKIconButton(TQWidget parent, String name); + public KIconButton(TQWidget parent) { super((Class) null); newKIconButton(parent); } - private native void newKIconButton(QWidget parent); + private native void newKIconButton(TQWidget parent); public KIconButton() { super((Class) null); newKIconButton(); @@ -44,16 +44,16 @@ public class KIconButton extends QPushButton { Constructs a KIconButton using a specific KIconLoader. @short Constructs a KIconButton using a specific KIconLoader. */ - public KIconButton(KIconLoader loader, QWidget parent, String name) { + public KIconButton(KIconLoader loader, TQWidget parent, String name) { super((Class) null); newKIconButton(loader,parent,name); } - private native void newKIconButton(KIconLoader loader, QWidget parent, String name); - public KIconButton(KIconLoader loader, QWidget parent) { + private native void newKIconButton(KIconLoader loader, TQWidget parent, String name); + public KIconButton(KIconLoader loader, TQWidget parent) { super((Class) null); newKIconButton(loader,parent); } - private native void newKIconButton(KIconLoader loader, QWidget parent); + private native void newKIconButton(KIconLoader loader, TQWidget parent); /** Sets a strict icon size policy for allowed icons. When true, only icons of the specified group's size in setIconType are allowed, diff --git a/kdejava/koala/org/kde/koala/KIconButtonSignals.java b/kdejava/koala/org/kde/koala/KIconButtonSignals.java index 3ba88df8..4f624036 100644 --- a/kdejava/koala/org/kde/koala/KIconButtonSignals.java +++ b/kdejava/koala/org/kde/koala/KIconButtonSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KIconButtonSignals { /** diff --git a/kdejava/koala/org/kde/koala/KIconCanvas.java b/kdejava/koala/org/kde/koala/KIconCanvas.java index 9c724d78..6e505ea1 100644 --- a/kdejava/koala/org/kde/koala/KIconCanvas.java +++ b/kdejava/koala/org/kde/koala/KIconCanvas.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -15,18 +15,18 @@ import org.kde.qt.QWidget; */ public class KIconCanvas extends KIconView { protected KIconCanvas(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KIconCanvas(QWidget parent, String name) { + public KIconCanvas(TQWidget parent, String name) { super((Class) null); newKIconCanvas(parent,name); } - private native void newKIconCanvas(QWidget parent, String name); - public KIconCanvas(QWidget parent) { + private native void newKIconCanvas(TQWidget parent, String name); + public KIconCanvas(TQWidget parent) { super((Class) null); newKIconCanvas(parent); } - private native void newKIconCanvas(QWidget parent); + private native void newKIconCanvas(TQWidget parent); public KIconCanvas() { super((Class) null); newKIconCanvas(); diff --git a/kdejava/koala/org/kde/koala/KIconCanvasSignals.java b/kdejava/koala/org/kde/koala/KIconCanvasSignals.java index 36ccab8b..60990ef8 100644 --- a/kdejava/koala/org/kde/koala/KIconCanvasSignals.java +++ b/kdejava/koala/org/kde/koala/KIconCanvasSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KIconCanvasSignals { /** diff --git a/kdejava/koala/org/kde/koala/KIconDialog.java b/kdejava/koala/org/kde/koala/KIconDialog.java index 726b3237..45dff0b3 100644 --- a/kdejava/koala/org/kde/koala/KIconDialog.java +++ b/kdejava/koala/org/kde/koala/KIconDialog.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -16,22 +16,22 @@ import org.kde.qt.QWidget; */ public class KIconDialog extends KDialogBase { protected KIconDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs an icon selection dialog using the global iconloader. @short Constructs an icon selection dialog using the global iconloader. */ - public KIconDialog(QWidget parent, String name) { + public KIconDialog(TQWidget parent, String name) { super((Class) null); newKIconDialog(parent,name); } - private native void newKIconDialog(QWidget parent, String name); - public KIconDialog(QWidget parent) { + private native void newKIconDialog(TQWidget parent, String name); + public KIconDialog(TQWidget parent) { super((Class) null); newKIconDialog(parent); } - private native void newKIconDialog(QWidget parent); + private native void newKIconDialog(TQWidget parent); public KIconDialog() { super((Class) null); newKIconDialog(); @@ -41,16 +41,16 @@ public class KIconDialog extends KDialogBase { Constructs an icon selection dialog using a specific iconloader. @short Constructs an icon selection dialog using a specific iconloader. */ - public KIconDialog(KIconLoader loader, QWidget parent, String name) { + public KIconDialog(KIconLoader loader, TQWidget parent, String name) { super((Class) null); newKIconDialog(loader,parent,name); } - private native void newKIconDialog(KIconLoader loader, QWidget parent, String name); - public KIconDialog(KIconLoader loader, QWidget parent) { + private native void newKIconDialog(KIconLoader loader, TQWidget parent, String name); + public KIconDialog(KIconLoader loader, TQWidget parent) { super((Class) null); newKIconDialog(loader,parent); } - private native void newKIconDialog(KIconLoader loader, QWidget parent); + private native void newKIconDialog(KIconLoader loader, TQWidget parent); public KIconDialog(KIconLoader loader) { super((Class) null); newKIconDialog(loader); @@ -141,8 +141,8 @@ public class KIconDialog extends KDialogBase { @short Pops up the dialog an lets the user select an icon. */ - public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize, boolean user, QWidget parent, String caption); - public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize, boolean user, QWidget parent); + public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize, boolean user, TQWidget parent, String caption); + public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize, boolean user, TQWidget parent); public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize, boolean user); public static native String getIcon(int group, int context, boolean strictIconSize, int iconSize); public static native String getIcon(int group, int context, boolean strictIconSize); diff --git a/kdejava/koala/org/kde/koala/KIconDialogSignals.java b/kdejava/koala/org/kde/koala/KIconDialogSignals.java index 9f68ccd0..6f35597c 100644 --- a/kdejava/koala/org/kde/koala/KIconDialogSignals.java +++ b/kdejava/koala/org/kde/koala/KIconDialogSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KIconDialogSignals { void newIconName(String arg1); diff --git a/kdejava/koala/org/kde/koala/KIconEffect.java b/kdejava/koala/org/kde/koala/KIconEffect.java index 5422b0a8..757bffd4 100644 --- a/kdejava/koala/org/kde/koala/KIconEffect.java +++ b/kdejava/koala/org/kde/koala/KIconEffect.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QRect; +import org.kde.qt.TQColor; +import org.kde.qt.TQRect; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QImage; -import org.kde.qt.QWidget; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQImage; +import org.kde.qt.TQWidget; /** @@ -108,7 +108,7 @@ public class KIconEffect implements QtSupport { @short Applies an effect to an image. */ - public native QImage apply(QImage src, int group, int state); + public native TQImage apply(TQImage src, int group, int state); /** Applies an effect to an image. @param src The image. @@ -120,11 +120,11 @@ public class KIconEffect implements QtSupport { @short Applies an effect to an image. */ - public native QImage apply(QImage src, int effect, float value, QColor rgb, boolean trans); + public native TQImage apply(TQImage src, int effect, float value, TQColor rgb, boolean trans); /** @short */ - public native QImage apply(QImage src, int effect, float value, QColor rgb, QColor rgb2, boolean trans); + public native TQImage apply(TQImage src, int effect, float value, TQColor rgb, TQColor rgb2, boolean trans); /** Applies an effect to a pixmap. @param src The pixmap. @@ -134,7 +134,7 @@ public class KIconEffect implements QtSupport { @short Applies an effect to a pixmap. */ - public native QPixmap apply(QPixmap src, int group, int state); + public native TQPixmap apply(TQPixmap src, int group, int state); /** Applies an effect to a pixmap. @param src The pixmap. @@ -146,11 +146,11 @@ public class KIconEffect implements QtSupport { @short Applies an effect to a pixmap. */ - public native QPixmap apply(QPixmap src, int effect, float value, QColor rgb, boolean trans); + public native TQPixmap apply(TQPixmap src, int effect, float value, TQColor rgb, boolean trans); /** @short */ - public native QPixmap apply(QPixmap src, int effect, float value, QColor rgb, QColor rgb2, boolean trans); + public native TQPixmap apply(TQPixmap src, int effect, float value, TQColor rgb, TQColor rgb2, boolean trans); /** Returns an image twice as large, consisting of 2x2 pixels. @param src the image. @@ -158,7 +158,7 @@ public class KIconEffect implements QtSupport { @short Returns an image twice as large, consisting of 2x2 pixels. */ - public native QImage doublePixels(QImage src); + public native TQImage doublePixels(TQImage src); /** Provides visual feedback to show activation of an icon on a widget. Not strictly an 'icon effect', but in practice that's what it looks @@ -169,14 +169,14 @@ public class KIconEffect implements QtSupport { @param rect This rectangle defines the effect's borders @short Provides visual feedback to show activation of an icon on a widget. */ - public static native void visualActivate(QWidget widget, QRect rect); + public static native void visualActivate(TQWidget widget, TQRect rect); /** Tints an image gray. @param image The image @param value Strength of the effect. 0 <= <code>value</code> <= 1 @short Tints an image gray. */ - public static native void toGray(QImage image, float value); + public static native void toGray(TQImage image, float value); /** Colorizes an image with a specific color. @param image The image @@ -184,7 +184,7 @@ public class KIconEffect implements QtSupport { @param value Strength of the effect. 0 <= <code>value</code> <= 1 @short Colorizes an image with a specific color. */ - public static native void colorize(QImage image, QColor col, float value); + public static native void colorize(TQImage image, TQColor col, float value); /** Produces a monochrome icon with a given foreground and background color @param image The image @@ -193,40 +193,40 @@ public class KIconEffect implements QtSupport { @param value Strength of the effect. 0 <= <code>value</code> <= 1 @short Produces a monochrome icon with a given foreground and background color */ - public static native void toMonochrome(QImage image, QColor black, QColor white, float value); + public static native void toMonochrome(TQImage image, TQColor black, TQColor white, float value); /** Desaturates an image. @param image The image @param value Strength of the effect. 0 <= <code>value</code> <= 1 @short Desaturates an image. */ - public static native void deSaturate(QImage image, float value); + public static native void deSaturate(TQImage image, float value); /** Changes the gamma value of an image. @param image The image @param value Strength of the effect. 0 <= <code>value</code> <= 1 @short Changes the gamma value of an image. */ - public static native void toGamma(QImage image, float value); + public static native void toGamma(TQImage image, float value); /** Renders an image semi-transparent. @param image The image @short Renders an image semi-transparent. */ - public static native void semiTransparent(QImage image); + public static native void semiTransparent(TQImage image); /** Renders a pixmap semi-transparent. @param pixmap The pixmap @short Renders a pixmap semi-transparent. */ - public static native void semiTransparent(QPixmap pixmap); + public static native void semiTransparent(TQPixmap pixmap); /** Overlays an image with an other image. @param src The image @param overlay The image to overlay <code>src</code> with @short Overlays an image with an other image. */ - public static native void overlay(QImage src, QImage overlay); + public static native void overlay(TQImage src, TQImage overlay); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KIconLoader.java b/kdejava/koala/org/kde/koala/KIconLoader.java index e54f81a1..eaf82a59 100644 --- a/kdejava/koala/org/kde/koala/KIconLoader.java +++ b/kdejava/koala/org/kde/koala/KIconLoader.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMovie; +import org.kde.qt.TQMovie; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; +import org.kde.qt.TQPixmap; import java.util.ArrayList; -import org.kde.qt.QIconSet; +import org.kde.qt.TQIconSet; /** @@ -108,16 +108,16 @@ public class KIconLoader implements QtSupport { @param path_store If not null, the path of the icon is stored here. @param canReturnNull Can return a null pixmap? If false, the "unknown" pixmap is returned when no appropriate icon has been found. - @return the QPixmap. Can be null when not found, depending on + @return the TQPixmap. Can be null when not found, depending on <code>canReturnNull.</code> @short Loads an icon. */ - public native QPixmap loadIcon(String name, int group, int size, int state, StringBuffer path_store, boolean canReturnNull); - public native QPixmap loadIcon(String name, int group, int size, int state, StringBuffer path_store); - public native QPixmap loadIcon(String name, int group, int size, int state); - public native QPixmap loadIcon(String name, int group, int size); - public native QPixmap loadIcon(String name, int group); + public native TQPixmap loadIcon(String name, int group, int size, int state, StringBuffer path_store, boolean canReturnNull); + public native TQPixmap loadIcon(String name, int group, int size, int state, StringBuffer path_store); + public native TQPixmap loadIcon(String name, int group, int size, int state); + public native TQPixmap loadIcon(String name, int group, int size); + public native TQPixmap loadIcon(String name, int group); /** Creates an icon set, that will do on-demand loading of the icon. Loading itself is done by calling loadIcon . @@ -136,7 +136,7 @@ public class KIconLoader implements QtSupport { @short Creates an icon set, that will do on-demand loading of the icon. */ - public native QIconSet loadIconSet(String name, int group, int size, boolean canReturnNull, boolean immediateExistenceCheck); + public native TQIconSet loadIconSet(String name, int group, int size, boolean canReturnNull, boolean immediateExistenceCheck); /** Creates an icon set, that will do on-demand loading of the icon. Loading itself is done by calling loadIcon . @@ -153,7 +153,7 @@ public class KIconLoader implements QtSupport { @short Creates an icon set, that will do on-demand loading of the icon. */ - public native QIconSet loadIconSet(String name, int group, int size, boolean canReturnNull); + public native TQIconSet loadIconSet(String name, int group, int size, boolean canReturnNull); /** Creates an icon set, that will do on-demand loading of the icon. Loading itself is done by calling loadIcon . @@ -166,8 +166,8 @@ public class KIconLoader implements QtSupport { @short Creates an icon set, that will do on-demand loading of the icon. */ - public native QIconSet loadIconSet(String name, int group, int size); - public native QIconSet loadIconSet(String name, int group); + public native TQIconSet loadIconSet(String name, int group, int size); + public native TQIconSet loadIconSet(String name, int group); /** Returns the path of an icon. @param name The name of the icon, without extension. If an absolute @@ -192,19 +192,19 @@ public class KIconLoader implements QtSupport { @param group The icon group. See loadIcon(). @param size Override the default size for <code>group.</code> See KIcon.StdSizes. - @return A QMovie object. Can be null if not found. + @return A TQMovie object. Can be null if not found. @short Loads an animated icon. */ - public native QMovie loadMovie(String name, int group, int size); - public native QMovie loadMovie(String name, int group); + public native TQMovie loadMovie(String name, int group, int size); + public native TQMovie loadMovie(String name, int group); /** Returns the path to an animated icon. @param name The name of the icon. @param group The icon group. See loadIcon(). @param size Override the default size for <code>group.</code> See KIcon.StdSizes. - @return the full path to the movie, ready to be passed to QMovie's constructor. + @return the full path to the movie, ready to be passed to TQMovie's constructor. Empty string if not found. @short Returns the path to an animated icon. @@ -213,7 +213,7 @@ public class KIconLoader implements QtSupport { public native String moviePath(String name, int group); /** Loads an animated icon as a series of still frames. If you want to load - a .mng animation as QMovie instead, please use loadMovie() instead. + a .mng animation as TQMovie instead, please use loadMovie() instead. @param name The name of the icon. @param group The icon group. See loadIcon(). @param size Override the default size for <code>group.</code> @@ -307,7 +307,7 @@ public class KIconLoader implements QtSupport { */ public native boolean extraDesktopThemesAdded(); /** - Enables on-demand icon loading for QIconSets using QIconFactory. + Enables on-demand icon loading for TQIconSets using TQIconFactory. Icons loaded via loadIconSet() will be loaded as soon as they need to be displayed, not earlier. Note that enabling or disabling this only affects loadIconSet() @@ -317,18 +317,18 @@ public class KIconLoader implements QtSupport { (Some broken applications use temporary KIconLoader objects). Every KInstance 's iconloader has this feature enabled. @param enable true to enable delayed icon loading, false to disable - @short Enables on-demand icon loading for QIconSets using QIconFactory. + @short Enables on-demand icon loading for TQIconSets using TQIconFactory. @see #isDelayedIconSetLoadingEnabled - @see org.kde.qt.QIconFactory + @see org.kde.qt.TQIconFactory */ public native void enableDelayedIconSetLoading(boolean enable); /** - Checks whether delayed loading for QIconSet is enabled. - @return whether icons for QIconSets will be loaded on demand. + Checks whether delayed loading for TQIconSet is enabled. + @return whether icons for TQIconSets will be loaded on demand. - @short Checks whether delayed loading for QIconSet is enabled. + @short Checks whether delayed loading for TQIconSet is enabled. @see #enableDelayedIconSetLoading - @see org.kde.qt.QIconFactory + @see org.kde.qt.TQIconFactory */ public native boolean isDelayedIconSetLoadingEnabled(); /** @@ -338,7 +338,7 @@ public class KIconLoader implements QtSupport { @short Returns the unknown icon. */ - public static native QPixmap unknown(); + public static native TQPixmap unknown(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KIconView.java b/kdejava/koala/org/kde/koala/KIconView.java index 7554b270..d4c83d5f 100644 --- a/kdejava/koala/org/kde/koala/KIconView.java +++ b/kdejava/koala/org/kde/koala/KIconView.java @@ -2,39 +2,39 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QIconViewItem; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQIconViewItem; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QDragLeaveEvent; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWheelEvent; -import org.kde.qt.QIconView; +import org.kde.qt.TQPoint; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQDragLeaveEvent; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; +import org.kde.qt.TQIconView; /** - This Widget extends the functionality of QIconView to honor the system + This Widget extends the functionality of TQIconView to honor the system wide settings for Single Click/Double Click mode, Auto Selection and Change Cursor over Link. There is a new signal executed(). It gets connected to either - QIconView.clicked() or QIconView.doubleClicked() depending on the KDE + TQIconView.clicked() or TQIconView.doubleClicked() depending on the KDE wide Single Click/Double Click settings. It is strongly recommended that you use this signal instead of the above mentioned. This way you don't need to care about the current settings. If you want to get informed when the user selects something connect to the - QIconView.selectionChanged() signal. + TQIconView.selectionChanged() signal. See {@link KIconViewSignals} for signals emitted by KIconView - @short A variant of QIconView that honors KDE's system-wide settings. + @short A variant of TQIconView that honors KDE's system-wide settings. */ -public class KIconView extends QIconView { +public class KIconView extends TQIconView { protected KIconView(Class dummy){super((Class) null);} /** KIconView has two different operating modes. Execute mode is depending @@ -47,23 +47,23 @@ public class KIconView extends QIconView { public static final int Execute = 0; public static final int Select = 1; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KIconView(QWidget parent, String name, int f) { + public KIconView(TQWidget parent, String name, int f) { super((Class) null); newKIconView(parent,name,f); } - private native void newKIconView(QWidget parent, String name, int f); - public KIconView(QWidget parent, String name) { + private native void newKIconView(TQWidget parent, String name, int f); + public KIconView(TQWidget parent, String name) { super((Class) null); newKIconView(parent,name); } - private native void newKIconView(QWidget parent, String name); - public KIconView(QWidget parent) { + private native void newKIconView(TQWidget parent, String name); + public KIconView(TQWidget parent) { super((Class) null); newKIconView(parent); } - private native void newKIconView(QWidget parent); + private native void newKIconView(TQWidget parent); public KIconView() { super((Class) null); newKIconView(); @@ -79,7 +79,7 @@ public class KIconView extends QIconView { <li> Select mode is - the normal QIconView mode. + the normal TQIconView mode. </li> Default is Execute. @short Sets the mode to Execute or Select. @@ -95,7 +95,7 @@ public class KIconView extends QIconView { Reimplemented for internal purposes @short Reimplemented for internal purposes */ - public native void setFont(QFont arg1); + public native void setFont(TQFont arg1); /** Set the maximum number of lines that will be used to display icon text. Setting this value will enable word-wrap, too. @@ -113,28 +113,28 @@ public class KIconView extends QIconView { Reimplemented for held() signal behavior internal purposes @short Reimplemented for held() signal behavior internal purposes */ - public native void takeItem(QIconViewItem item); - protected native void emitExecute(QIconViewItem item, QPoint pos); - protected native void updateDragHoldItem(QDropEvent e); - protected native void focusOutEvent(QFocusEvent fe); - protected native void leaveEvent(QEvent e); - protected native void contentsMousePressEvent(QMouseEvent e); - protected native void contentsMouseDoubleClickEvent(QMouseEvent e); - protected native void contentsMouseReleaseEvent(QMouseEvent e); - protected native void contentsDragEnterEvent(QDragEnterEvent e); - protected native void contentsDragLeaveEvent(QDragLeaveEvent e); - protected native void contentsDragMoveEvent(QDragMoveEvent e); - protected native void contentsDropEvent(QDropEvent e); - protected native void wheelEvent(QWheelEvent e); + public native void takeItem(TQIconViewItem item); + protected native void emitExecute(TQIconViewItem item, TQPoint pos); + protected native void updateDragHoldItem(TQDropEvent e); + protected native void focusOutEvent(TQFocusEvent fe); + protected native void leaveEvent(TQEvent e); + protected native void contentsMousePressEvent(TQMouseEvent e); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); + protected native void contentsMouseReleaseEvent(TQMouseEvent e); + protected native void contentsDragEnterEvent(TQDragEnterEvent e); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); + protected native void contentsDragMoveEvent(TQDragMoveEvent e); + protected native void contentsDropEvent(TQDropEvent e); + protected native void wheelEvent(TQWheelEvent e); /** This method allows to handle correctly cases where a subclass needs the held() signal to not be triggered without calling a KIconView.contentsDragEvent() method (which have side effects - because they forward to QIconView). - @short This method allows to handle correctly cases where a subclass needs the held() signal to not be triggered without calling a KIconView.contentsDrag Event() method (which have side effects because they forward to QIconView). + because they forward to TQIconView). + @short This method allows to handle correctly cases where a subclass needs the held() signal to not be triggered without calling a KIconView.contentsDrag Event() method (which have side effects because they forward to TQIconView). */ protected native void cancelPendingHeldSignal(); - protected native void slotOnItem(QIconViewItem item); + protected native void slotOnItem(TQIconViewItem item); protected native void slotOnViewport(); protected native void slotSettingsChanged(int arg1); /** diff --git a/kdejava/koala/org/kde/koala/KIconViewItem.java b/kdejava/koala/org/kde/koala/KIconViewItem.java index af2e8aa8..486548ab 100644 --- a/kdejava/koala/org/kde/koala/KIconViewItem.java +++ b/kdejava/koala/org/kde/koala/KIconViewItem.java @@ -2,67 +2,67 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QIconViewItem; +import org.kde.qt.TQIconViewItem; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QSize; -import org.kde.qt.QPainter; -import org.kde.qt.QIconView; -import org.kde.qt.QPicture; -import org.kde.qt.QColorGroup; -import org.kde.qt.QIconViewItem; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSize; +import org.kde.qt.TQPainter; +import org.kde.qt.TQIconView; +import org.kde.qt.TQPicture; +import org.kde.qt.TQColorGroup; +import org.kde.qt.TQIconViewItem; /** - KIconViewItem exists to improve the word-wrap functionality of QIconViewItem - Use KIconViewItem instead of QIconViewItem for any iconview item you might have :) + KIconViewItem exists to improve the word-wrap functionality of TQIconViewItem + Use KIconViewItem instead of TQIconViewItem for any iconview item you might have :) @author David Faure <david@mandrakesoft.com> - @short A variant of QIconViewItem that wraps words better. + @short A variant of TQIconViewItem that wraps words better. */ -public class KIconViewItem extends QIconViewItem { +public class KIconViewItem extends TQIconViewItem { protected KIconViewItem(Class dummy){super((Class) null);} - public KIconViewItem(QIconView parent) { + public KIconViewItem(TQIconView parent) { super((Class) null); newKIconViewItem(parent); } - private native void newKIconViewItem(QIconView parent); - public KIconViewItem(QIconView parent, QIconViewItem after) { + private native void newKIconViewItem(TQIconView parent); + public KIconViewItem(TQIconView parent, TQIconViewItem after) { super((Class) null); newKIconViewItem(parent,after); } - private native void newKIconViewItem(QIconView parent, QIconViewItem after); - public KIconViewItem(QIconView parent, String text) { + private native void newKIconViewItem(TQIconView parent, TQIconViewItem after); + public KIconViewItem(TQIconView parent, String text) { super((Class) null); newKIconViewItem(parent,text); } - private native void newKIconViewItem(QIconView parent, String text); - public KIconViewItem(QIconView parent, QIconViewItem after, String text) { + private native void newKIconViewItem(TQIconView parent, String text); + public KIconViewItem(TQIconView parent, TQIconViewItem after, String text) { super((Class) null); newKIconViewItem(parent,after,text); } - private native void newKIconViewItem(QIconView parent, QIconViewItem after, String text); - public KIconViewItem(QIconView parent, String text, QPixmap icon) { + private native void newKIconViewItem(TQIconView parent, TQIconViewItem after, String text); + public KIconViewItem(TQIconView parent, String text, TQPixmap icon) { super((Class) null); newKIconViewItem(parent,text,icon); } - private native void newKIconViewItem(QIconView parent, String text, QPixmap icon); - public KIconViewItem(QIconView parent, QIconViewItem after, String text, QPixmap icon) { + private native void newKIconViewItem(TQIconView parent, String text, TQPixmap icon); + public KIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon) { super((Class) null); newKIconViewItem(parent,after,text,icon); } - private native void newKIconViewItem(QIconView parent, QIconViewItem after, String text, QPixmap icon); - public KIconViewItem(QIconView parent, String text, QPicture picture) { + private native void newKIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon); + public KIconViewItem(TQIconView parent, String text, TQPicture picture) { super((Class) null); newKIconViewItem(parent,text,picture); } - private native void newKIconViewItem(QIconView parent, String text, QPicture picture); - public KIconViewItem(QIconView parent, QIconViewItem after, String text, QPicture picture) { + private native void newKIconViewItem(TQIconView parent, String text, TQPicture picture); + public KIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture) { super((Class) null); newKIconViewItem(parent,after,text,picture); } - private native void newKIconViewItem(QIconView parent, QIconViewItem after, String text, QPicture picture); + private native void newKIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture); /** Using this function, you can specify a custom size for the pixmap. The geometry of the item will be calculated to let a pixmap of the given size @@ -73,20 +73,20 @@ public class KIconViewItem extends QIconViewItem { @param size The size to use @short Using this function, you can specify a custom size for the pixmap. */ - public native void setPixmapSize(QSize size); + public native void setPixmapSize(TQSize size); /** - @return The size set by setPixmapSize() or QSize( 0, 0 ) + @return The size set by setPixmapSize() or TQSize( 0, 0 ) @short */ - public native QSize pixmapSize(); + public native TQSize pixmapSize(); protected native void init(); protected native void calcRect(String text_); protected native void calcRect(); - protected native void paintItem(QPainter p, QColorGroup c); + protected native void paintItem(TQPainter p, TQColorGroup c); protected native KWordWrap wordWrap(); - protected native void paintPixmap(QPainter p, QColorGroup c); - protected native void paintText(QPainter p, QColorGroup c); + protected native void paintPixmap(TQPainter p, TQColorGroup c); + protected native void paintText(TQPainter p, TQColorGroup c); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KIconViewSignals.java b/kdejava/koala/org/kde/koala/KIconViewSignals.java index 8386f4f5..8d9bdd00 100644 --- a/kdejava/koala/org/kde/koala/KIconViewSignals.java +++ b/kdejava/koala/org/kde/koala/KIconViewSignals.java @@ -1,20 +1,20 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QIconViewItem; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQIconViewItem; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QDragLeaveEvent; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWheelEvent; +import org.kde.qt.TQPoint; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQDragLeaveEvent; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; public interface KIconViewSignals { /** @@ -22,42 +22,42 @@ public interface KIconViewSignals { That means depending on the KDE wide Single Click/Double Click setting the user clicked or double clicked on that item. @param item is the pointer to the executed iconview item. - Note that you may not delete any QIconViewItem objects in slots + Note that you may not delete any TQIconViewItem objects in slots connected to this signal. @short This signal is emitted whenever the user executes an iconview item. */ - void executed(QIconViewItem item); + void executed(TQIconViewItem item); /** This signal is emitted whenever the user executes an iconview item. That means depending on the KDE wide Single Click/Double Click setting the user clicked or double clicked on that item. @param item is the pointer to the executed iconview item. @param pos is the position where the user has clicked - Note that you may not delete any QIconViewItem objects in slots + Note that you may not delete any TQIconViewItem objects in slots connected to this signal. @short This signal is emitted whenever the user executes an iconview item. */ - void executed(QIconViewItem item, QPoint pos); + void executed(TQIconViewItem item, TQPoint pos); /** This signal is emitted whenever the user hold something on an iconview during a drag'n'drop. @param item is the pointer to the iconview item the hold event occur. - Note that you may not delete any QIconViewItem objects in slots + Note that you may not delete any TQIconViewItem objects in slots connected to this signal. @short This signal is emitted whenever the user hold something on an iconview during a drag'n'drop. */ - void held(QIconViewItem item); + void held(TQIconViewItem item); /** This signal gets emitted whenever the user double clicks into the iconview. @param item is the pointer to the clicked iconview item. @param pos is the position where the user has clicked, and - Note that you may not delete any QIconViewItem objects in slots + Note that you may not delete any TQIconViewItem objects in slots connected to this signal. This signal is more or less here for the sake of completeness. You should normally not need to use this. In most cases it's better to use executed() instead. @short This signal gets emitted whenever the user double clicks into the iconview. */ - void doubleClicked(QIconViewItem item, QPoint pos); + void doubleClicked(TQIconViewItem item, TQPoint pos); } diff --git a/kdejava/koala/org/kde/koala/KImageEffect.java b/kdejava/koala/org/kde/koala/KImageEffect.java index 8d4fd85a..a75e6f0e 100644 --- a/kdejava/koala/org/kde/koala/KImageEffect.java +++ b/kdejava/koala/org/kde/koala/KImageEffect.java @@ -2,21 +2,21 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QRect; +import org.kde.qt.TQColor; +import org.kde.qt.TQRect; import org.kde.qt.QtSupport; -import org.kde.qt.QImage; -import org.kde.qt.QPoint; -import org.kde.qt.QSize; +import org.kde.qt.TQImage; +import org.kde.qt.TQPoint; +import org.kde.qt.TQSize; /** - This class includes various QImage based graphical effects. + This class includes various TQImage based graphical effects. Everything is static, so there is no need to create an instance of this class. You can just call the static methods. They are encapsulated here merely to provide a common namespace. - @short This class includes various QImage based graphical effects. + @short This class includes various TQImage based graphical effects. */ public class KImageEffect implements QtSupport { @@ -137,8 +137,8 @@ public class KImageEffect implements QtSupport { colors. Pass 0 to prevent dithering. @short Create a gradient from color a to color b of the specified type. */ - public static native QImage gradient(QSize size, QColor ca, QColor cb, int type, int ncols); - public static native QImage gradient(QSize size, QColor ca, QColor cb, int type); + public static native TQImage gradient(TQSize size, TQColor ca, TQColor cb, int type, int ncols); + public static native TQImage gradient(TQSize size, TQColor ca, TQColor cb, int type); /** Create an unbalanced gradient. An unbalanced gradient is a gradient where the transition from @@ -152,10 +152,10 @@ public class KImageEffect implements QtSupport { @param ncols The number of colors. See KImageEffect:gradient. @short Create an unbalanced gradient. */ - public static native QImage unbalancedGradient(QSize size, QColor ca, QColor cb, int type, int xfactor, int yfactor, int ncols); - public static native QImage unbalancedGradient(QSize size, QColor ca, QColor cb, int type, int xfactor, int yfactor); - public static native QImage unbalancedGradient(QSize size, QColor ca, QColor cb, int type, int xfactor); - public static native QImage unbalancedGradient(QSize size, QColor ca, QColor cb, int type); + public static native TQImage unbalancedGradient(TQSize size, TQColor ca, TQColor cb, int type, int xfactor, int yfactor, int ncols); + public static native TQImage unbalancedGradient(TQSize size, TQColor ca, TQColor cb, int type, int xfactor, int yfactor); + public static native TQImage unbalancedGradient(TQSize size, TQColor ca, TQColor cb, int type, int xfactor); + public static native TQImage unbalancedGradient(TQSize size, TQColor ca, TQColor cb, int type); /** Blends a color into the destination image, using an opacity value for blending one into another. Very fast direct pixel @@ -172,7 +172,7 @@ public class KImageEffect implements QtSupport { @short Blends a color into the destination image, using an opacity value for blending one into another. */ - public static native QImage blend(QColor clr, QImage dst, float opacity); + public static native TQImage blend(TQColor clr, TQImage dst, float opacity); /** Blend the src image into the destination image, using an opacity value for blending one into another. Very fast direct pixel @@ -189,7 +189,7 @@ public class KImageEffect implements QtSupport { @short Blend the src image into the destination image, using an opacity value for blending one into another. */ - public static native QImage blend(QImage src, QImage dst, float opacity); + public static native TQImage blend(TQImage src, TQImage dst, float opacity); /** Blend the provided image into a background of the indicated color. @param initial_intensity this parameter takes values from -1 to 1: @@ -204,8 +204,8 @@ public class KImageEffect implements QtSupport { @param image must be 32bpp @short Blend the provided image into a background of the indicated color. */ - public static native QImage blend(QImage image, float initial_intensity, QColor bgnd, int eff, boolean anti_dir); - public static native QImage blend(QImage image, float initial_intensity, QColor bgnd, int eff); + public static native TQImage blend(TQImage image, float initial_intensity, TQColor bgnd, int eff, boolean anti_dir); + public static native TQImage blend(TQImage image, float initial_intensity, TQColor bgnd, int eff); /** Blend an image into another one, using a gradient type for blending from one to another. @@ -216,9 +216,9 @@ public class KImageEffect implements QtSupport { @param yf y decay length for unbalanced gradient tpye @short Blend an image into another one, using a gradient type for blending from one to another. */ - public static native QImage blend(QImage image1, QImage image2, int gt, int xf, int yf); - public static native QImage blend(QImage image1, QImage image2, int gt, int xf); - public static native QImage blend(QImage image1, QImage image2, int gt); + public static native TQImage blend(TQImage image1, TQImage image2, int gt, int xf, int yf); + public static native TQImage blend(TQImage image1, TQImage image2, int gt, int xf); + public static native TQImage blend(TQImage image1, TQImage image2, int gt); /** Blend an image into another one, using a color channel of a third image for the decision of blending from one to another. @@ -231,7 +231,7 @@ public class KImageEffect implements QtSupport { @param channel The RBG channel to use for the blending decision. @short Blend an image into another one, using a color channel of a third image for the decision of blending from one to another. */ - public static native QImage blend(QImage image1, QImage image2, QImage blendImage, int channel); + public static native TQImage blend(TQImage image1, TQImage image2, TQImage blendImage, int channel); /** Blend an image into another one, using alpha in the expected way. @param upper the "upper" image @@ -241,11 +241,11 @@ public class KImageEffect implements QtSupport { @short Blend an image into another one, using alpha in the expected way. */ - public static native boolean blend(QImage upper, QImage lower, QImage output); + public static native boolean blend(TQImage upper, TQImage lower, TQImage output); /** Blend an image into another one, using alpha in the expected way and over coordinates <code>x</code> and <code>y</code> with respect to the lower image. - The output is a QImage which is the <code>upper</code> image already blended + The output is a TQImage which is the <code>upper</code> image already blended with the <code>lower</code> one, so its size will be (in general) the same than <code>upper</code> instead of the same size than <code>lower</code> like the method above. In fact, the size of <code>output</code> is like upper's one only when it can be @@ -259,7 +259,7 @@ public class KImageEffect implements QtSupport { @param output the target image @short Blend an image into another one, using alpha in the expected way and over coordinates <code>x</code> and <code>y</code> with respect to the lower image. */ - public static native boolean blend(int[] x, int[] y, QImage upper, QImage lower, QImage output); + public static native boolean blend(int[] x, int[] y, TQImage upper, TQImage lower, TQImage output); /** Blend an image into another one, using alpha in the expected way and over coordinates <code>x</code> and <code>y</code> with respect to the lower image. @@ -271,7 +271,7 @@ public class KImageEffect implements QtSupport { @param lower the "lower" image, which becomes the output image @short Blend an image into another one, using alpha in the expected way and over coordinates <code>x</code> and <code>y</code> with respect to the lower image. */ - public static native boolean blendOnLower(int x, int y, QImage upper, QImage lower); + public static native boolean blendOnLower(int x, int y, TQImage upper, TQImage lower); /** Blend part of an image into part of another, using the alpha channel in the expected way. @@ -283,7 +283,7 @@ public class KImageEffect implements QtSupport { blending will occur. @short Blend part of an image into part of another, using the alpha channel in the expected way. */ - public static native void blendOnLower(QImage upper, QPoint upperOffset, QImage lower, QRect lowerRect); + public static native void blendOnLower(TQImage upper, TQPoint upperOffset, TQImage lower, TQRect lowerRect); /** Blend part of an image into part of another, using the opacity value and the alpha channel in the expected way. @@ -297,7 +297,7 @@ public class KImageEffect implements QtSupport { the source image will be blended into the destination image. @short Blend part of an image into part of another, using the opacity value and the alpha channel in the expected way. */ - public static native void blendOnLower(QImage upper, QPoint upperOffset, QImage lower, QRect lowerRect, float opacity); + public static native void blendOnLower(TQImage upper, TQPoint upperOffset, TQImage lower, TQRect lowerRect, float opacity); /** Compute the destination rectangle where to draw the upper image on top of another image using the given disposition. For tiled @@ -311,17 +311,17 @@ public class KImageEffect implements QtSupport { @short Compute the destination rectangle where to draw the upper image on top of another image using the given disposition. */ - public static native QRect computeDestinationRect(QSize lowerSize, int disposition, QImage upper); + public static native TQRect computeDestinationRect(TQSize lowerSize, int disposition, TQImage upper); /** Blend an image on top of another using a given disposition and a given opacity. The alpha channel of the upper image is used in the expected way. Beware the upper image may be modified. @short Blend an image on top of another using a given disposition and a given opacity. */ - public static native void blendOnLower(QImage upper, QImage lower, int disposition, float opacity); + public static native void blendOnLower(TQImage upper, TQImage lower, int disposition, float opacity); /** Modifies the intensity of a pixmap's RGB channel component. - @param image The QImage to process. + @param image The TQImage to process. @param percent Percent value. Use a negative value to dim. @param channel Which channel(s) should be modified @return The <code>image</code>, provided for convenience. @@ -330,48 +330,48 @@ public class KImageEffect implements QtSupport { @short Modifies the intensity of a pixmap's RGB channel component. */ - public static native QImage channelIntensity(QImage image, float percent, int channel); + public static native TQImage channelIntensity(TQImage image, float percent, int channel); /** Fade an image to a certain background color. The number of colors will not be changed. - @param image The QImage to process. + @param image The TQImage to process. @param val The strength of the effect. 0 <= val <= 1. @param color The background color. @return Returns the image(), provided for convenience. @short Fade an image to a certain background color. */ - public static native QImage fade(QImage image, float val, QColor color); + public static native TQImage fade(TQImage image, float val, TQColor color); /** This recolors a pixmap. The most dark color will become color a, the most bright one color b, and in between. - @param image A QImage to process. + @param image A TQImage to process. @param ca Color a @param cb Color b @param ncols The number of colors to dither the image to. Pass 0 to prevent dithering. @short This recolors a pixmap. */ - public static native QImage flatten(QImage image, QColor ca, QColor cb, int ncols); - public static native QImage flatten(QImage image, QColor ca, QColor cb); + public static native TQImage flatten(TQImage image, TQColor ca, TQColor cb, int ncols); + public static native TQImage flatten(TQImage image, TQColor ca, TQColor cb); /** - Build a hash on any given QImage - @param image The QImage to process + Build a hash on any given TQImage + @param image The TQImage to process @param lite The hash faces the indicated lighting (cardinal poles). @param spacing How many unmodified pixels in between hashes. @return Returns the image(), provided for convenience. - @short Build a hash on any given QImage + @short Build a hash on any given TQImage */ - public static native QImage hash(QImage image, int lite, int spacing); - public static native QImage hash(QImage image, int lite); - public static native QImage hash(QImage image); + public static native TQImage hash(TQImage image, int lite, int spacing); + public static native TQImage hash(TQImage image, int lite); + public static native TQImage hash(TQImage image); /** Either brighten or dim the image by a specified percent. For example, .50 will modify the colors by 50%. This function uses MMX instructions to process the image on processors that support it. - @param image The QImage to process. + @param image The TQImage to process. @param percent The percent value. Use a negative value to dim. @return Returns The image(), provided for convenience. @@ -379,11 +379,11 @@ public class KImageEffect implements QtSupport { @short Either brighten or dim the image by a specified percent. */ - public static native QImage intensity(QImage image, float percent); + public static native TQImage intensity(TQImage image, float percent); /** Modulate the image with a color channel of another image. - @param image The QImage to modulate and result. - @param modImage The QImage to use for modulation. + @param image The TQImage to modulate and result. + @param modImage The TQImage to use for modulation. @param reverse Invert the meaning of image/modImage; result is image! @param type The modulation Type to use. @param factor The modulation amplitude; with 0 no effect [-200;200]. @@ -392,10 +392,10 @@ public class KImageEffect implements QtSupport { @short Modulate the image with a color channel of another image. */ - public static native QImage modulate(QImage image, QImage modImage, boolean reverse, int type, int factor, int channel); + public static native TQImage modulate(TQImage image, TQImage modImage, boolean reverse, int type, int factor, int channel); /** Convert an image to grayscale. - @param image The QImage to process. + @param image The TQImage to process. @param fast Set to <code>true</code> in order to use a faster but non-photographic quality algorithm. Appropriate for things such as toolbar icons. @return Returns the image(), provided for convenience. @@ -404,21 +404,21 @@ public class KImageEffect implements QtSupport { @short Convert an image to grayscale. */ - public static native QImage toGray(QImage image, boolean fast); - public static native QImage toGray(QImage image); + public static native TQImage toGray(TQImage image, boolean fast); + public static native TQImage toGray(TQImage image); /** Desaturate an image evenly. - @param image The QImage to process. + @param image The TQImage to process. @param desat A value between 0 and 1 setting the degree of desaturation @return Returns the image(), provided for convenience. @short Desaturate an image evenly. */ - public static native QImage desaturate(QImage image, float desat); - public static native QImage desaturate(QImage image); + public static native TQImage desaturate(TQImage image, float desat); + public static native TQImage desaturate(TQImage image); /** Fast, but low quality contrast of an image. Also see contrastHSV. - @param image The QImage to process. + @param image The TQImage to process. @param c A contrast value between -255 to 255. @return The image(), provided for convenience. @@ -427,40 +427,40 @@ public class KImageEffect implements QtSupport { @short Fast, but low quality contrast of an image. */ - public static native QImage contrast(QImage image, int c); + public static native TQImage contrast(TQImage image, int c); /** Dither an image using Floyd-Steinberg dithering for low-color situations. - @param image The QImage to process. + @param image The TQImage to process. @param palette The color palette to use @param size The size of the palette @return Returns the image(), provided for convenience. @short Dither an image using Floyd-Steinberg dithering for low-color situations. */ - public static native QImage dither(QImage image, QColor palette, int size); + public static native TQImage dither(TQImage image, TQColor palette, int size); /** Calculate the image for a selected image, for instance a selected icon on the desktop. - @param img the QImage to select - @param col the selected color, usually from QColorGroup.highlight(). + @param img the TQImage to select + @param col the selected color, usually from TQColorGroup.highlight(). @short Calculate the image for a selected image, for instance a selected icon on the desktop. */ - public static native QImage selectedImage(QImage img, QColor col); + public static native TQImage selectedImage(TQImage img, TQColor col); /** High quality, expensive HSV contrast. You can do a faster one by just taking a intensity threshold (ie: 128) and incrementing RGB color channels above it and decrementing those below it, but this gives much better results. - @param img The QImage to process. + @param img The TQImage to process. @param sharpen If true sharpness is increase, (spiffed). Otherwise it is decreased, (dulled). @author Daniel M. Duley (mosfet) @short High quality, expensive HSV contrast. */ - public static native void contrastHSV(QImage img, boolean sharpen); - public static native void contrastHSV(QImage img); + public static native void contrastHSV(TQImage img, boolean sharpen); + public static native void contrastHSV(TQImage img); /** Normalises the pixel values to span the full range of color values. This is a contrast enhancement technique. @@ -469,7 +469,7 @@ public class KImageEffect implements QtSupport { @short Normalises the pixel values to span the full range of color values. */ - public static native void normalize(QImage img); + public static native void normalize(TQImage img); /** Performs histogram equalisation on the reference image. @@ -478,35 +478,35 @@ public class KImageEffect implements QtSupport { @short Performs histogram equalisation on the reference image. */ - public static native void equalize(QImage img); + public static native void equalize(TQImage img); /** Thresholds the reference image. You can also threshold images by using - ThresholdDither in the various QPixmap/QImage convert methods, but this + ThresholdDither in the various TQPixmap/TQImage convert methods, but this lets you specify a threshold value. - @param img The QImage to process. + @param img The TQImage to process. @param value The threshold value. @author Daniel M. Duley (mosfet) @short Thresholds the reference image. */ - public static native void threshold(QImage img, int value); - public static native void threshold(QImage img); + public static native void threshold(TQImage img, int value); + public static native void threshold(TQImage img); /** Produces a 'solarization' effect seen when exposing a photographic film to light during the development process. - @param img The QImage to process. + @param img The TQImage to process. @param factor The extent of the solarization (0-99.9) @author Daniel M. Duley (mosfet) @short Produces a 'solarization' effect seen when exposing a photographic film to light during the development process. */ - public static native void solarize(QImage img, double factor); - public static native void solarize(QImage img); + public static native void solarize(TQImage img, double factor); + public static native void solarize(TQImage img); /** Embosses the source image. This involves highlighting the edges and applying various other enhancements in order to get a metal effect. - @param src The QImage to process. + @param src The TQImage to process. @param radius The radius of the gaussian not counting the center pixel. Use 0 and a suitable radius will be automatically used. @param sigma The standard deviation of the gaussian. Use 1 if you're not @@ -517,26 +517,26 @@ public class KImageEffect implements QtSupport { @short Embosses the source image. */ - public static native QImage emboss(QImage src, double radius, double sigma); + public static native TQImage emboss(TQImage src, double radius, double sigma); /** Convenience method. @short Convenience method. */ - public static native QImage emboss(QImage src); + public static native TQImage emboss(TQImage src); /** Minimizes speckle noise in the source image using the 8 hull algorithm. - @param src The QImage to process. + @param src The TQImage to process. @return The despeckled image. The original is not changed. @author Daniel M. Duley (mosfet) @short Minimizes speckle noise in the source image using the 8 hull algorithm. */ - public static native QImage despeckle(QImage src); + public static native TQImage despeckle(TQImage src); /** Produces a neat little "charcoal" effect. - @param src The QImage to process. + @param src The TQImage to process. @param radius The radius of the gaussian not counting the center pixel. Use 0 and a suitable radius will be automatically used. @param sigma The standard deviation of the gaussian. Use 1 if you're not @@ -547,17 +547,17 @@ public class KImageEffect implements QtSupport { @short Produces a neat little "charcoal" effect. */ - public static native QImage charcoal(QImage src, double radius, double sigma); + public static native TQImage charcoal(TQImage src, double radius, double sigma); /** This is provided for binary compatability only! Use the above method with a radius and sigma instead! @short This is provided for binary compatability only! Use the above method with a radius and sigma instead! */ - public static native QImage charcoal(QImage src, double factor); - public static native QImage charcoal(QImage src); + public static native TQImage charcoal(TQImage src, double factor); + public static native TQImage charcoal(TQImage src); /** Rotates the image by the specified amount - @param src The QImage to process. + @param src The TQImage to process. @param r The rotate direction. @return The rotated image. The original is not changed. @@ -565,12 +565,12 @@ public class KImageEffect implements QtSupport { @short Rotates the image by the specified amount */ - public static native QImage rotate(QImage src, int r); + public static native TQImage rotate(TQImage src, int r); /** Scales an image using simple pixel sampling. This does not produce - nearly as nice a result as QImage.smoothScale(), but has the + nearly as nice a result as TQImage.smoothScale(), but has the advantage of being much faster - only a few milliseconds. - @param src The QImage to process. + @param src The TQImage to process. @param w The new width. @param h The new height. @return The scaled image. The original is not changed. @@ -579,10 +579,10 @@ public class KImageEffect implements QtSupport { @short Scales an image using simple pixel sampling. */ - public static native QImage sample(QImage src, int w, int h); + public static native TQImage sample(TQImage src, int w, int h); /** Adds noise to an image. - @param src The QImage to process. + @param src The TQImage to process. @param type The algorithm used to generate the noise. @return The image with noise added. The original is not changed. @@ -590,11 +590,11 @@ public class KImageEffect implements QtSupport { @short Adds noise to an image. */ - public static native QImage addNoise(QImage src, int type); - public static native QImage addNoise(QImage src); + public static native TQImage addNoise(TQImage src, int type); + public static native TQImage addNoise(TQImage src); /** Blurs an image by convolving pixel neighborhoods. - @param src The QImage to process. + @param src The TQImage to process. @param radius The radius of the gaussian not counting the center pixel. Use 0 and a suitable radius will be automatically used. @param sigma The standard deviation of the gaussian. Use 1 if you're not @@ -605,18 +605,18 @@ public class KImageEffect implements QtSupport { @short Blurs an image by convolving pixel neighborhoods. */ - public static native QImage blur(QImage src, double radius, double sigma); + public static native TQImage blur(TQImage src, double radius, double sigma); /** This is provided for binary compatability only! Use the above method with a radius and sigma instead! @short This is provided for binary compatability only! Use the above method with a radius and sigma instead! */ - public static native QImage blur(QImage src, double factor); - public static native QImage blur(QImage src); + public static native TQImage blur(TQImage src, double factor); + public static native TQImage blur(TQImage src); /** Detects edges in an image using pixel neighborhoods and an edge detection mask. - @param src The QImage to process. + @param src The TQImage to process. @param radius The radius of the gaussian not counting the center pixel. Use 0 and a suitable radius will be automatically used. @return The image with edges detected. The original is not changed. @@ -625,10 +625,10 @@ public class KImageEffect implements QtSupport { @short Detects edges in an image using pixel neighborhoods and an edge detection mask. */ - public static native QImage edge(QImage src, double radius); + public static native TQImage edge(TQImage src, double radius); /** Implodes an image by a specified percent. - @param src The QImage to process. + @param src The TQImage to process. @param factor The extent of the implosion. @param background An RGBA value to use for the background. After the effect some pixels may be "empty". This value is used for those pixels. @@ -638,12 +638,12 @@ public class KImageEffect implements QtSupport { @short Implodes an image by a specified percent. */ - public static native QImage implode(QImage src, double factor, int background); - public static native QImage implode(QImage src, double factor); - public static native QImage implode(QImage src); + public static native TQImage implode(TQImage src, double factor, int background); + public static native TQImage implode(TQImage src, double factor); + public static native TQImage implode(TQImage src); /** Produces an oil painting effect. - @param src The QImage to process. + @param src The TQImage to process. @param radius The radius of the gaussian not counting the center pixel. Use 0 and a suitable radius will be automatically used. @return The new image. The original is not changed. @@ -652,17 +652,17 @@ public class KImageEffect implements QtSupport { @short Produces an oil painting effect. */ - public static native QImage oilPaintConvolve(QImage src, double radius); + public static native TQImage oilPaintConvolve(TQImage src, double radius); /** This is provided for binary compatability only! Use the above method instead! @short This is provided for binary compatability only! Use the above method instead! */ - public static native QImage oilPaint(QImage src, int radius); - public static native QImage oilPaint(QImage src); + public static native TQImage oilPaint(TQImage src, int radius); + public static native TQImage oilPaint(TQImage src); /** Sharpens the pixels in the image using pixel neighborhoods. - @param src The QImage to process. + @param src The TQImage to process. @param radius The radius of the gaussian not counting the center pixel. Use 0 and a suitable radius will be automatically used. @param sigma The standard deviation of the gaussian. Use 1 if you're not @@ -673,17 +673,17 @@ public class KImageEffect implements QtSupport { @short Sharpens the pixels in the image using pixel neighborhoods. */ - public static native QImage sharpen(QImage src, double radius, double sigma); + public static native TQImage sharpen(TQImage src, double radius, double sigma); /** This is provided for binary compatability only! Use the above method instead! @short This is provided for binary compatability only! Use the above method instead! */ - public static native QImage sharpen(QImage src, double factor); - public static native QImage sharpen(QImage src); + public static native TQImage sharpen(TQImage src, double factor); + public static native TQImage sharpen(TQImage src); /** Randomly displaces pixels. - @param src The QImage to process. + @param src The TQImage to process. @param amount The vicinity for choosing a random pixel to swap. @return The image with pixels displaced. The original is not changed. @@ -691,11 +691,11 @@ public class KImageEffect implements QtSupport { @short Randomly displaces pixels. */ - public static native QImage spread(QImage src, int amount); - public static native QImage spread(QImage src); + public static native TQImage spread(TQImage src, int amount); + public static native TQImage spread(TQImage src); /** Shades the image using a distance light source. - @param src The QImage to process. + @param src The TQImage to process. @param color_shading If true do color shading, otherwise do grayscale. @param azimuth Determines the light source and direction. @param elevation Determines the light source and direction. @@ -705,13 +705,13 @@ public class KImageEffect implements QtSupport { @short Shades the image using a distance light source. */ - public static native QImage shade(QImage src, boolean color_shading, double azimuth, double elevation); - public static native QImage shade(QImage src, boolean color_shading, double azimuth); - public static native QImage shade(QImage src, boolean color_shading); - public static native QImage shade(QImage src); + public static native TQImage shade(TQImage src, boolean color_shading, double azimuth, double elevation); + public static native TQImage shade(TQImage src, boolean color_shading, double azimuth); + public static native TQImage shade(TQImage src, boolean color_shading); + public static native TQImage shade(TQImage src); /** Swirls the image by a specified amount - @param src The QImage to process. + @param src The TQImage to process. @param degrees The tightness of the swirl. @param background An RGBA value to use for the background. After the effect some pixels may be "empty". This value is used for those pixels. @@ -721,12 +721,12 @@ public class KImageEffect implements QtSupport { @short Swirls the image by a specified amount */ - public static native QImage swirl(QImage src, double degrees, int background); - public static native QImage swirl(QImage src, double degrees); - public static native QImage swirl(QImage src); + public static native TQImage swirl(TQImage src, double degrees, int background); + public static native TQImage swirl(TQImage src, double degrees); + public static native TQImage swirl(TQImage src); /** Modifies the pixels along a sine wave. - @param src The QImage to process. + @param src The TQImage to process. @param amplitude The amplitude of the sine wave. @param frequency The frequency of the sine wave. @param background An RGBA value to use for the background. After the @@ -737,10 +737,10 @@ public class KImageEffect implements QtSupport { @short Modifies the pixels along a sine wave. */ - public static native QImage wave(QImage src, double amplitude, double frequency, int background); - public static native QImage wave(QImage src, double amplitude, double frequency); - public static native QImage wave(QImage src, double amplitude); - public static native QImage wave(QImage src); + public static native TQImage wave(TQImage src, double amplitude, double frequency, int background); + public static native TQImage wave(TQImage src, double amplitude, double frequency); + public static native TQImage wave(TQImage src, double amplitude); + public static native TQImage wave(TQImage src); /** A bumpmapping algorithm. @param img the image you want bumpmap @@ -762,7 +762,7 @@ public class KImageEffect implements QtSupport { @short A bumpmapping algorithm. */ - public static native QImage bumpmap(QImage img, QImage map, double azimuth, double elevation, int depth, int xofs, int yofs, int waterlevel, int ambient, boolean compensate, boolean invert, int type, boolean tiled); + public static native TQImage bumpmap(TQImage img, TQImage map, double azimuth, double elevation, int depth, int xofs, int yofs, int waterlevel, int ambient, boolean compensate, boolean invert, int type, boolean tiled); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KImageIO.java b/kdejava/koala/org/kde/koala/KImageIO.java index d0f06a6d..73844ff1 100644 --- a/kdejava/koala/org/kde/koala/KImageIO.java +++ b/kdejava/koala/org/kde/koala/KImageIO.java @@ -9,10 +9,10 @@ import java.util.ArrayList; Interface to the KDE Image IO plugin architecture. This library allows KDE applications to read and write images in a - variety of formats, transparently via the QImage and QPixmap load + variety of formats, transparently via the TQImage and TQPixmap load and save methods. The image processing backends are written as image handlers compatible - with the QImageIO handler format. The backends are loaded on demand + with the TQImageIO handler format. The backends are loaded on demand when a particular format is requested. Each format can be identified by a unique type id string. <b></b>ormats: @@ -99,9 +99,9 @@ import java.util.ArrayList; @short Interface to the KDE Image IO plugin architecture. @see KImageIO - @see org.kde.qt.QPixmap - @see org.kde.qt.QImage - @see org.kde.qt.QImageIO + @see org.kde.qt.TQPixmap + @see org.kde.qt.TQImage + @see org.kde.qt.TQImageIO */ public class KImageIO implements QtSupport { diff --git a/kdejava/koala/org/kde/koala/KInputDialog.java b/kdejava/koala/org/kde/koala/KInputDialog.java index 2abcb298..4b6317a6 100644 --- a/kdejava/koala/org/kde/koala/KInputDialog.java +++ b/kdejava/koala/org/kde/koala/KInputDialog.java @@ -2,18 +2,18 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QValidator; -import org.kde.qt.QWidget; +import org.kde.qt.TQValidator; +import org.kde.qt.TQWidget; /** The KInputDialog class provides a simple dialog to get a single value from the user. The value can be a string, a number (either an integer or a float) or an item from a list. This class is designed to be source - compatible with QInputDialog. + compatible with TQInputDialog. Five static convenience functions are provided: getText(), getInteger(). getDouble(), getItem() and getItemList(). @author Nadeem Hasan <nhasan@kde.org> @@ -23,7 +23,7 @@ import org.kde.qt.QWidget; */ public class KInputDialog extends KDialogBase { protected KInputDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Static convenience function to get a string from the user. @@ -34,8 +34,8 @@ public class KInputDialog extends KDialogBase { If you provide a validator, the Ok button is disabled as long as the validator doesn't return Acceptable. If there is no validator, the Ok button is enabled whenever the line edit isn't empty. If you - want to accept empty input, create a trivial QValidator that - always returns acceptable, e.g. QRegExpValidator with a regexp + want to accept empty input, create a trivial TQValidator that + always returns acceptable, e.g. TQRegExpValidator with a regexp of ".*". @param caption Caption of the dialog @param label Text of the label for the line edit @@ -43,31 +43,31 @@ public class KInputDialog extends KDialogBase { @param ok This boolean would be set to true if user pressed Ok @param parent Parent of the dialog widget @param name Name of the dialog widget - @param validator A {@link QValidator} to be associated with the line edit + @param validator A {@link TQValidator} to be associated with the line edit @param mask Mask associated with the line edit. See the - documentation for {@link QLineEdit} about masks. + documentation for {@link TQLineEdit} about masks. @return String user entered if Ok was pressed, else a null string @short Static convenience function to get a string from the user. */ - public static native String getText(String caption, String label, String value, boolean[] ok, QWidget parent, String name, QValidator validator, String mask); - public static native String getText(String caption, String label, String value, boolean[] ok, QWidget parent, String name, QValidator validator); - public static native String getText(String caption, String label, String value, boolean[] ok, QWidget parent, String name); - public static native String getText(String caption, String label, String value, boolean[] ok, QWidget parent); + public static native String getText(String caption, String label, String value, boolean[] ok, TQWidget parent, String name, TQValidator validator, String mask); + public static native String getText(String caption, String label, String value, boolean[] ok, TQWidget parent, String name, TQValidator validator); + public static native String getText(String caption, String label, String value, boolean[] ok, TQWidget parent, String name); + public static native String getText(String caption, String label, String value, boolean[] ok, TQWidget parent); public static native String getText(String caption, String label, String value, boolean[] ok); public static native String getText(String caption, String label, String value); public static native String getText(String caption, String label); /** Same as {@link #getText} except it provides an extra parameter to specify - a QWhatsThis text for the input widget. + a TQWhatsThis text for the input widget. ### KDE4: Merge with getText. - @short Same as @ref getText except it provides an extra parameter to specify a QWhatsThis text for the input widget. + @short Same as @ref getText except it provides an extra parameter to specify a TQWhatsThis text for the input widget. */ - public static native String text(String caption, String label, String value, boolean[] ok, QWidget parent, String name, QValidator validator, String mask, String whatsThis); - public static native String text(String caption, String label, String value, boolean[] ok, QWidget parent, String name, QValidator validator, String mask); - public static native String text(String caption, String label, String value, boolean[] ok, QWidget parent, String name, QValidator validator); - public static native String text(String caption, String label, String value, boolean[] ok, QWidget parent, String name); - public static native String text(String caption, String label, String value, boolean[] ok, QWidget parent); + public static native String text(String caption, String label, String value, boolean[] ok, TQWidget parent, String name, TQValidator validator, String mask, String whatsThis); + public static native String text(String caption, String label, String value, boolean[] ok, TQWidget parent, String name, TQValidator validator, String mask); + public static native String text(String caption, String label, String value, boolean[] ok, TQWidget parent, String name, TQValidator validator); + public static native String text(String caption, String label, String value, boolean[] ok, TQWidget parent, String name); + public static native String text(String caption, String label, String value, boolean[] ok, TQWidget parent); public static native String text(String caption, String label, String value, boolean[] ok); public static native String text(String caption, String label, String value); public static native String text(String caption, String label); @@ -87,8 +87,8 @@ public class KInputDialog extends KDialogBase { @short Static convenience function to get a multiline string from the user. */ - public static native String getMultiLineText(String caption, String label, String value, boolean[] ok, QWidget parent, String name); - public static native String getMultiLineText(String caption, String label, String value, boolean[] ok, QWidget parent); + public static native String getMultiLineText(String caption, String label, String value, boolean[] ok, TQWidget parent, String name); + public static native String getMultiLineText(String caption, String label, String value, boolean[] ok, TQWidget parent); public static native String getMultiLineText(String caption, String label, String value, boolean[] ok); public static native String getMultiLineText(String caption, String label, String value); public static native String getMultiLineText(String caption, String label); @@ -112,8 +112,8 @@ public class KInputDialog extends KDialogBase { @short Static convenience function to let the user select an item from a list. */ - public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok, QWidget parent, String name); - public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok, QWidget parent); + public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok, TQWidget parent, String name); + public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok, TQWidget parent); public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok); public static native String getItem(String caption, String label, String[] list, int current, boolean editable); public static native String getItem(String caption, String label, String[] list, int current); @@ -138,8 +138,8 @@ public class KInputDialog extends KDialogBase { @short Static convenience function to let the user select one or more items from a listbox. */ - public static native ArrayList getItemList(String caption, String label, String[] list, String[] select, boolean multiple, boolean[] ok, QWidget parent, String name); - public static native ArrayList getItemList(String caption, String label, String[] list, String[] select, boolean multiple, boolean[] ok, QWidget parent); + public static native ArrayList getItemList(String caption, String label, String[] list, String[] select, boolean multiple, boolean[] ok, TQWidget parent, String name); + public static native ArrayList getItemList(String caption, String label, String[] list, String[] select, boolean multiple, boolean[] ok, TQWidget parent); public static native ArrayList getItemList(String caption, String label, String[] list, String[] select, boolean multiple, boolean[] ok); public static native ArrayList getItemList(String caption, String label, String[] list, String[] select, boolean multiple); public static native ArrayList getItemList(String caption, String label, String[] list, String[] select); diff --git a/kdejava/koala/org/kde/koala/KIntNumInput.java b/kdejava/koala/org/kde/koala/KIntNumInput.java index 74927b07..106936c0 100644 --- a/kdejava/koala/org/kde/koala/KIntNumInput.java +++ b/kdejava/koala/org/kde/koala/KIntNumInput.java @@ -2,15 +2,15 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; /** - KIntNumInput combines a QSpinBox and optionally a QSlider + KIntNumInput combines a TQSpinBox and optionally a TQSlider with a label to make an easy to use control for setting some integer parameter. This is especially nice for configuration dialogs, which can have many such combinated controls. @@ -20,7 +20,7 @@ import org.kde.qt.QResizeEvent; A special feature of KIntNumInput, designed specifically for the situation when there are several KIntNumInputs in a column, is that you can specify what portion of the control is taken by the - QSpinBox (the remaining portion is used by the slider). This makes + TQSpinBox (the remaining portion is used by the slider). This makes it very simple to have all the sliders in a column be the same size. It uses KIntValidator validator class. KIntNumInput enforces the value to be in the given range, and can display it in any base @@ -34,23 +34,23 @@ import org.kde.qt.QResizeEvent; */ public class KIntNumInput extends KNumInput { protected KIntNumInput(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs an input control for integer values with base 10 and initial value 0. @short Constructs an input control for integer values with base 10 and initial value 0. */ - public KIntNumInput(QWidget parent, String name) { + public KIntNumInput(TQWidget parent, String name) { super((Class) null); newKIntNumInput(parent,name); } - private native void newKIntNumInput(QWidget parent, String name); - public KIntNumInput(QWidget parent) { + private native void newKIntNumInput(TQWidget parent, String name); + public KIntNumInput(TQWidget parent) { super((Class) null); newKIntNumInput(parent); } - private native void newKIntNumInput(QWidget parent); + private native void newKIntNumInput(TQWidget parent); public KIntNumInput() { super((Class) null); newKIntNumInput(); @@ -58,31 +58,31 @@ public class KIntNumInput extends KNumInput { private native void newKIntNumInput(); /** Constructor - It constructs a QSpinBox that allows the input of integer numbers + It constructs a TQSpinBox that allows the input of integer numbers in the range of -INT_MAX to +INT_MAX. To set a descriptive label, use setLabel(). To enforce the value being in a range and optionally to attach a slider to it, use setRange(). @param value initial value for the control @param base numeric base used for display - @param parent parent QWidget + @param parent parent TQWidget @param name internal name for this widget - @short Constructor It constructs a QSpinBox that allows the input of integer numbers in the range of -INT_MAX to +INT_MAX. + @short Constructor It constructs a TQSpinBox that allows the input of integer numbers in the range of -INT_MAX to +INT_MAX. */ - public KIntNumInput(int value, QWidget parent, int base, String name) { + public KIntNumInput(int value, TQWidget parent, int base, String name) { super((Class) null); newKIntNumInput(value,parent,base,name); } - private native void newKIntNumInput(int value, QWidget parent, int base, String name); - public KIntNumInput(int value, QWidget parent, int base) { + private native void newKIntNumInput(int value, TQWidget parent, int base, String name); + public KIntNumInput(int value, TQWidget parent, int base) { super((Class) null); newKIntNumInput(value,parent,base); } - private native void newKIntNumInput(int value, QWidget parent, int base); - public KIntNumInput(int value, QWidget parent) { + private native void newKIntNumInput(int value, TQWidget parent, int base); + public KIntNumInput(int value, TQWidget parent) { super((Class) null); newKIntNumInput(value,parent); } - private native void newKIntNumInput(int value, QWidget parent); + private native void newKIntNumInput(int value, TQWidget parent); public KIntNumInput(int value) { super((Class) null); newKIntNumInput(value); @@ -100,25 +100,25 @@ public class KIntNumInput extends KNumInput { @param below append KIntNumInput to the KNumInput chain @param value initial value for the control @param base numeric base used for display - @param parent parent QWidget + @param parent parent TQWidget @param name internal name for this widget @short Constructor */ - public KIntNumInput(KNumInput below, int value, QWidget parent, int base, String name) { + public KIntNumInput(KNumInput below, int value, TQWidget parent, int base, String name) { super((Class) null); newKIntNumInput(below,value,parent,base,name); } - private native void newKIntNumInput(KNumInput below, int value, QWidget parent, int base, String name); - public KIntNumInput(KNumInput below, int value, QWidget parent, int base) { + private native void newKIntNumInput(KNumInput below, int value, TQWidget parent, int base, String name); + public KIntNumInput(KNumInput below, int value, TQWidget parent, int base) { super((Class) null); newKIntNumInput(below,value,parent,base); } - private native void newKIntNumInput(KNumInput below, int value, QWidget parent, int base); - public KIntNumInput(KNumInput below, int value, QWidget parent) { + private native void newKIntNumInput(KNumInput below, int value, TQWidget parent, int base); + public KIntNumInput(KNumInput below, int value, TQWidget parent) { super((Class) null); newKIntNumInput(below,value,parent); } - private native void newKIntNumInput(KNumInput below, int value, QWidget parent); + private native void newKIntNumInput(KNumInput below, int value, TQWidget parent); public KIntNumInput(KNumInput below, int value) { super((Class) null); newKIntNumInput(below,value); @@ -166,7 +166,7 @@ public class KIntNumInput extends KNumInput { /** @param min minimum value @param max maximum value - @param step step size for the QSlider + @param step step size for the TQSlider @param slider whether the slider is created or not @short */ @@ -213,7 +213,7 @@ public class KIntNumInput extends KNumInput { @short This method returns the minimum size necessary to display the control. */ - public native QSize minimumSizeHint(); + public native TQSize minimumSizeHint(); /** Sets the value of the control. @short Sets the value of the control. @@ -236,7 +236,7 @@ public class KIntNumInput extends KNumInput { prepended <code>value</code> and the suffix's text has to be provided as the first character in the suffix). @short Sets the suffix to <code>suffix.</code> - @see org.kde.qt.QSpinBox#setSuffix + @see org.kde.qt.TQSpinBox#setSuffix @see #setPrefix */ public native void setSuffix(String suffix); @@ -245,7 +245,7 @@ public class KIntNumInput extends KNumInput { Use null to disable this feature. Formatting has to be provided (see above). @short Sets the prefix to <code>prefix.</code> - @see org.kde.qt.QSpinBox#setPrefix + @see org.kde.qt.TQSpinBox#setPrefix @see #setSuffix */ public native void setPrefix(String prefix); @@ -256,7 +256,7 @@ public class KIntNumInput extends KNumInput { public native void setEditFocus(boolean mark); public native void setEditFocus(); protected native void doLayout(); - protected native void resizeEvent(QResizeEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KIntNumInputSignals.java b/kdejava/koala/org/kde/koala/KIntNumInputSignals.java index d3e304a9..952fe2a2 100644 --- a/kdejava/koala/org/kde/koala/KIntNumInputSignals.java +++ b/kdejava/koala/org/kde/koala/KIntNumInputSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; public interface KIntNumInputSignals { /** diff --git a/kdejava/koala/org/kde/koala/KIntSpinBox.java b/kdejava/koala/org/kde/koala/KIntSpinBox.java index dd01b526..efbba247 100644 --- a/kdejava/koala/org/kde/koala/KIntSpinBox.java +++ b/kdejava/koala/org/kde/koala/KIntSpinBox.java @@ -2,23 +2,23 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QSpinBox; +import org.kde.qt.TQWidget; +import org.kde.qt.TQSpinBox; /** - A QSpinBox with support for arbitrary base numbers + A TQSpinBox with support for arbitrary base numbers (e.g. hexadecimal). The class provides an easy interface to use other numeric systems than the decimal. - @short A QSpinBox with support for arbitrary base numbers. + @short A TQSpinBox with support for arbitrary base numbers. */ -public class KIntSpinBox extends QSpinBox { +public class KIntSpinBox extends TQSpinBox { protected KIntSpinBox(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. @@ -27,16 +27,16 @@ public class KIntSpinBox extends QSpinBox { and initial value 0. @short Constructor. */ - public KIntSpinBox(QWidget parent, String name) { + public KIntSpinBox(TQWidget parent, String name) { super((Class) null); newKIntSpinBox(parent,name); } - private native void newKIntSpinBox(QWidget parent, String name); - public KIntSpinBox(QWidget parent) { + private native void newKIntSpinBox(TQWidget parent, String name); + public KIntSpinBox(TQWidget parent) { super((Class) null); newKIntSpinBox(parent); } - private native void newKIntSpinBox(QWidget parent); + private native void newKIntSpinBox(TQWidget parent); public KIntSpinBox() { super((Class) null); newKIntSpinBox(); @@ -55,16 +55,16 @@ public class KIntSpinBox extends QSpinBox { @param name The Name of the widget. @short Constructor. */ - public KIntSpinBox(int lower, int upper, int step, int value, int base, QWidget parent, String name) { + public KIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent, String name) { super((Class) null); newKIntSpinBox(lower,upper,step,value,base,parent,name); } - private native void newKIntSpinBox(int lower, int upper, int step, int value, int base, QWidget parent, String name); - public KIntSpinBox(int lower, int upper, int step, int value, int base, QWidget parent) { + private native void newKIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent, String name); + public KIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent) { super((Class) null); newKIntSpinBox(lower,upper,step,value,base,parent); } - private native void newKIntSpinBox(int lower, int upper, int step, int value, int base, QWidget parent); + private native void newKIntSpinBox(int lower, int upper, int step, int value, int base, TQWidget parent); public KIntSpinBox(int lower, int upper, int step, int value, int base) { super((Class) null); newKIntSpinBox(lower,upper,step,value,base); @@ -92,15 +92,15 @@ public class KIntSpinBox extends QSpinBox { */ public native void setEditFocus(boolean mark); /** - Overloaded the method in QSpinBox + Overloaded the method in TQSpinBox to make use of the base given in the constructor. - @short Overloaded the method in QSpinBox to make use of the base given in the constructor. + @short Overloaded the method in TQSpinBox to make use of the base given in the constructor. */ protected native String mapValueToText(int arg1); /** - Overloaded the method in QSpinBox + Overloaded the method in TQSpinBox to make use of the base given in the constructor. - @short Overloaded the method in QSpinBox to make use of the base given in the constructor. + @short Overloaded the method in TQSpinBox to make use of the base given in the constructor. */ protected native int mapTextToValue(boolean[] arg1); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KIntValidator.java b/kdejava/koala/org/kde/koala/KIntValidator.java index 6c883490..7024a6a8 100644 --- a/kdejava/koala/org/kde/koala/KIntValidator.java +++ b/kdejava/koala/org/kde/koala/KIntValidator.java @@ -3,62 +3,62 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QValidator; +import org.kde.qt.TQWidget; +import org.kde.qt.TQValidator; /** - QValidator for integers. - This can be used by QLineEdit or subclass to provide validated + TQValidator for integers. + This can be used by TQLineEdit or subclass to provide validated text entry. Can be provided with a base value (default is 10), to allow the proper entry of hexadecimal, octal, or any other base numeric data. @author Glen Parker <glenebob@nwlink.com> @version 0.0.1 - @short QValidator for integers. + @short TQValidator for integers. */ -public class KIntValidator extends QValidator { +public class KIntValidator extends TQValidator { protected KIntValidator(Class dummy){super((Class) null);} /** Constuctor. Also sets the base value. @short Constuctor. */ - public KIntValidator(QWidget parent, int base, String name) { + public KIntValidator(TQWidget parent, int base, String name) { super((Class) null); newKIntValidator(parent,base,name); } - private native void newKIntValidator(QWidget parent, int base, String name); - public KIntValidator(QWidget parent, int base) { + private native void newKIntValidator(TQWidget parent, int base, String name); + public KIntValidator(TQWidget parent, int base) { super((Class) null); newKIntValidator(parent,base); } - private native void newKIntValidator(QWidget parent, int base); - public KIntValidator(QWidget parent) { + private native void newKIntValidator(TQWidget parent, int base); + public KIntValidator(TQWidget parent) { super((Class) null); newKIntValidator(parent); } - private native void newKIntValidator(QWidget parent); + private native void newKIntValidator(TQWidget parent); /** Constructor. Also sets the minimum, maximum, and numeric base values. @short Constructor. */ - public KIntValidator(int bottom, int top, QWidget parent, int base, String name) { + public KIntValidator(int bottom, int top, TQWidget parent, int base, String name) { super((Class) null); newKIntValidator(bottom,top,parent,base,name); } - private native void newKIntValidator(int bottom, int top, QWidget parent, int base, String name); - public KIntValidator(int bottom, int top, QWidget parent, int base) { + private native void newKIntValidator(int bottom, int top, TQWidget parent, int base, String name); + public KIntValidator(int bottom, int top, TQWidget parent, int base) { super((Class) null); newKIntValidator(bottom,top,parent,base); } - private native void newKIntValidator(int bottom, int top, QWidget parent, int base); - public KIntValidator(int bottom, int top, QWidget parent) { + private native void newKIntValidator(int bottom, int top, TQWidget parent, int base); + public KIntValidator(int bottom, int top, TQWidget parent) { super((Class) null); newKIntValidator(bottom,top,parent); } - private native void newKIntValidator(int bottom, int top, QWidget parent); + private native void newKIntValidator(int bottom, int top, TQWidget parent); /** Validates the text, and return the result. Does not modify the parameters. @short Validates the text, and return the result. diff --git a/kdejava/koala/org/kde/koala/KJanusWidget.java b/kdejava/koala/org/kde/koala/KJanusWidget.java index 119f5ebe..9a023238 100644 --- a/kdejava/koala/org/kde/koala/KJanusWidget.java +++ b/kdejava/koala/org/kde/koala/KJanusWidget.java @@ -2,19 +2,19 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPixmap; -import org.kde.qt.QSize; -import org.kde.qt.QGrid; -import org.kde.qt.QShowEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QVBox; -import org.kde.qt.QFrame; -import org.kde.qt.QHBox; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSize; +import org.kde.qt.TQGrid; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQVBox; +import org.kde.qt.TQFrame; +import org.kde.qt.TQHBox; +import org.kde.qt.TQWidget; /** @@ -23,15 +23,15 @@ import org.kde.qt.QWidget; widget of its own. This class provides KJanusWidget.TreeList, KJanusWidget.IconList, KJanusWidget.Tabbed, KJanusWidget.Plain and KJanusWidget.Swallow layouts. - For all modes it is important that you specify the QWidget.minimumSize() - on the page, plain widget or the swallowed widget. If you use a QLayout + For all modes it is important that you specify the TQWidget.minimumSize() + on the page, plain widget or the swallowed widget. If you use a TQLayout on the page, plain widget or the swallowed widget this will be taken care of automatically. The size is used when the KJanusWidget determines its own minimum size. You get the minimum size by using the minimumSizeHint() or sizeHint() methods. Pages that have been added in TreeList, IconList or Tabbed mode can be removed by simply deleting the page. However, it would be preferable to use - the QObject.deleteLater() function on the page as the main event loop + the TQObject.deleteLater() function on the page as the main event loop may have optimized UI update events of the page by scheduling them for later. See {@link KJanusWidgetSignals} for signals emitted by KJanusWidget @author Espen Sand (espen@kde.org) @@ -39,7 +39,7 @@ import org.kde.qt.QWidget; @short Easy to use widget with many layouts. */ -public class KJanusWidget extends QWidget { +public class KJanusWidget extends TQWidget { protected KJanusWidget(Class dummy){super((Class) null);} public static final int TreeList = 0; public static final int Tabbed = 1; @@ -47,7 +47,7 @@ public class KJanusWidget extends QWidget { public static final int Swallow = 3; public static final int IconList = 4; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor where you specify the face. @@ -57,21 +57,21 @@ public class KJanusWidget extends QWidget { Swallow. @short Constructor where you specify the face. */ - public KJanusWidget(QWidget parent, String name, int face) { + public KJanusWidget(TQWidget parent, String name, int face) { super((Class) null); newKJanusWidget(parent,name,face); } - private native void newKJanusWidget(QWidget parent, String name, int face); - public KJanusWidget(QWidget parent, String name) { + private native void newKJanusWidget(TQWidget parent, String name, int face); + public KJanusWidget(TQWidget parent, String name) { super((Class) null); newKJanusWidget(parent,name); } - private native void newKJanusWidget(QWidget parent, String name); - public KJanusWidget(QWidget parent) { + private native void newKJanusWidget(TQWidget parent, String name); + public KJanusWidget(TQWidget parent) { super((Class) null); newKJanusWidget(parent); } - private native void newKJanusWidget(QWidget parent); + private native void newKJanusWidget(TQWidget parent); public KJanusWidget() { super((Class) null); newKJanusWidget(); @@ -113,7 +113,7 @@ public class KJanusWidget extends QWidget { @short Returns the minimum size that must be made available for the widget so that UIs can be displayed properly */ - public native QSize minimumSizeHint(); + public native TQSize minimumSizeHint(); /** Returns the recommended size for the widget in order to be displayed properly. @@ -121,14 +121,14 @@ public class KJanusWidget extends QWidget { @short Returns the recommended size for the widget in order to be displayed properly. */ - public native QSize sizeHint(); + public native TQSize sizeHint(); /** Returns the empty widget that is available in Plain mode. @return The widget or 0 if the face in not Plain. @short Returns the empty widget that is available in Plain mode. */ - public native QFrame plainPage(); + public native TQFrame plainPage(); /** Add a new page when the class is used in TreeList, IconList or Tabbed mode. The returned widget is empty and you must add your widgets @@ -147,9 +147,9 @@ public class KJanusWidget extends QWidget { @short Add a new page when the class is used in TreeList, IconList or Tabbed mode. */ - public native QFrame addPage(String item, String header, QPixmap pixmap); - public native QFrame addPage(String item, String header); - public native QFrame addPage(String item); + public native TQFrame addPage(String item, String header, TQPixmap pixmap); + public native TQFrame addPage(String item, String header); + public native TQFrame addPage(String item); /** This is like addPage just above, with the difference that the first element is a list of strings. These strings are used to form a path @@ -164,14 +164,14 @@ public class KJanusWidget extends QWidget { removed (you can re-add a page with the same name later. @short This is like addPage just above, with the difference that the first element is a list of strings. */ - public native QFrame addPage(String[] items, String header, QPixmap pixmap); - public native QFrame addPage(String[] items, String header); - public native QFrame addPage(String[] items); + public native TQFrame addPage(String[] items, String header, TQPixmap pixmap); + public native TQFrame addPage(String[] items, String header); + public native TQFrame addPage(String[] items); /** Add a new page when the class is used in TreeList, IconList or Tabbed mode. The returned widget is empty and you must add your widgets - as children to this widget. The returned widget is a QVBox - so it contains a QVBoxLayout layout that lines up the child widgets + as children to this widget. The returned widget is a TQVBox + so it contains a TQVBoxLayout layout that lines up the child widgets are vertically. Deleting the returned frame will cause the listitem or tab to be removed (you can re-add a page with the same name later. @@ -185,9 +185,9 @@ public class KJanusWidget extends QWidget { Tabbed. @short Add a new page when the class is used in TreeList, IconList or Tabbed mode. */ - public native QVBox addVBoxPage(String item, String header, QPixmap pixmap); - public native QVBox addVBoxPage(String item, String header); - public native QVBox addVBoxPage(String item); + public native TQVBox addVBoxPage(String item, String header, TQPixmap pixmap); + public native TQVBox addVBoxPage(String item, String header); + public native TQVBox addVBoxPage(String item); /** This is like addVBoxPage just above, with the difference that the first element is a list of strings. These strings are used to form a path @@ -200,14 +200,14 @@ public class KJanusWidget extends QWidget { removed (you can re-add a page with the same name later. @short This is like addVBoxPage just above, with the difference that the first element is a list of strings. */ - public native QVBox addVBoxPage(String[] items, String header, QPixmap pixmap); - public native QVBox addVBoxPage(String[] items, String header); - public native QVBox addVBoxPage(String[] items); + public native TQVBox addVBoxPage(String[] items, String header, TQPixmap pixmap); + public native TQVBox addVBoxPage(String[] items, String header); + public native TQVBox addVBoxPage(String[] items); /** Add a new page when the class is used in TreeList, IconList or Tabbed mode. The returned widget is empty and you must add your widgets - as children to this widget. The returned widget is a QHBox - so it contains a QHBoxLayout layout that lines up the child widgets + as children to this widget. The returned widget is a TQHBox + so it contains a TQHBoxLayout layout that lines up the child widgets are horizontally. Deleting the returned frame will cause the listitem or tab to be removed (you can re-add a page with the same name later. @@ -222,9 +222,9 @@ public class KJanusWidget extends QWidget { @short Add a new page when the class is used in TreeList, IconList or Tabbed mode. */ - public native QHBox addHBoxPage(String itemName, String header, QPixmap pixmap); - public native QHBox addHBoxPage(String itemName, String header); - public native QHBox addHBoxPage(String itemName); + public native TQHBox addHBoxPage(String itemName, String header, TQPixmap pixmap); + public native TQHBox addHBoxPage(String itemName, String header); + public native TQHBox addHBoxPage(String itemName); /** This is like addHBoxPage just above, with the difference that the first element is a list of strings. These strings are used to form a path @@ -237,20 +237,20 @@ public class KJanusWidget extends QWidget { removed (you can re-add a page with the same name later. @short This is like addHBoxPage just above, with the difference that the first element is a list of strings. */ - public native QHBox addHBoxPage(String[] items, String header, QPixmap pixmap); - public native QHBox addHBoxPage(String[] items, String header); - public native QHBox addHBoxPage(String[] items); + public native TQHBox addHBoxPage(String[] items, String header, TQPixmap pixmap); + public native TQHBox addHBoxPage(String[] items, String header); + public native TQHBox addHBoxPage(String[] items); /** Add a new page when the class is used in either TreeList or Tabbed mode. The returned widget is empty and you must add your widgets - as children to this widget. The returned widget is a QGrid - so it contains a QGridLayout layout that places up the child widgets + as children to this widget. The returned widget is a TQGrid + so it contains a TQGridLayout layout that places up the child widgets in a grid. Deleting the returned frame will cause the listitem or tab to be removed (you can re-add a page with the same name later. - @param n Specifies the number of columns if 'dir' is QGrid.Horizontal - or the number of rows if 'dir' is QGrid.Vertical. - @param dir Can be QGrid.Horizontal or QGrid.Vertical. + @param n Specifies the number of columns if 'dir' is TQGrid.Horizontal + or the number of rows if 'dir' is TQGrid.Vertical. + @param dir Can be TQGrid.Horizontal or TQGrid.Vertical. @param itemName String used in the list or Tab item. @param header A longer string used in TreeList and IconList mode to describe the contents of a page. If empty, the item string @@ -262,9 +262,9 @@ public class KJanusWidget extends QWidget { @short Add a new page when the class is used in either TreeList or Tabbed mode. */ - public native QGrid addGridPage(int n, int dir, String itemName, String header, QPixmap pixmap); - public native QGrid addGridPage(int n, int dir, String itemName, String header); - public native QGrid addGridPage(int n, int dir, String itemName); + public native TQGrid addGridPage(int n, int dir, String itemName, String header, TQPixmap pixmap); + public native TQGrid addGridPage(int n, int dir, String itemName, String header); + public native TQGrid addGridPage(int n, int dir, String itemName); /** This is like addGridPage just above, with the difference that the first element is a list of strings. These strings are used to form a path @@ -277,15 +277,15 @@ public class KJanusWidget extends QWidget { removed (you can re-add a page with the same name later. @short This is like addGridPage just above, with the difference that the first element is a list of strings. */ - public native QGrid addGridPage(int n, int dir, String[] items, String header, QPixmap pixmap); - public native QGrid addGridPage(int n, int dir, String[] items, String header); - public native QGrid addGridPage(int n, int dir, String[] items); + public native TQGrid addGridPage(int n, int dir, String[] items, String header, TQPixmap pixmap); + public native TQGrid addGridPage(int n, int dir, String[] items, String header); + public native TQGrid addGridPage(int n, int dir, String[] items); /** @param page The widget returned by addPage , addVBoxPage , addHBoxPage or addGridPage . @short Removes a page created with addPage, addVBoxPage, addHBoxPage or addGridPage. If the page has already been deleted or has already been removed, nothing happens. The widget itself is not deleted. */ - public native void removePage(QWidget page); + public native void removePage(TQWidget page); /** Returns the index of a page created with addPage , addVBoxPage , addHBoxPage or addGridPage . @@ -301,7 +301,7 @@ public class KJanusWidget extends QWidget { @short Returns the index of a page created with addPage , addVBoxPage , addHBoxPage or addGridPage . */ - public native int pageIndex(QWidget widget); + public native int pageIndex(TQWidget widget); /** Defines the widget to be swallowed. This method can be used several @@ -310,7 +310,7 @@ public class KJanusWidget extends QWidget { is displayed. @short Defines the widget to be swallowed. */ - public native boolean setSwallowedWidget(QWidget widget); + public native boolean setSwallowedWidget(TQWidget widget); /** This function has only effect in TreeList mode. Defines how the tree list is resized when the widget is resized @@ -335,7 +335,7 @@ public class KJanusWidget extends QWidget { /** This function has only effect in TreeList mode. This tells the widgets whether the root should be decorated. - For details see QListView.setRootIsDecorated + For details see TQListView.setRootIsDecorated @param state Root will be decorated if true. @short This function has only effect in TreeList mode. */ @@ -360,7 +360,7 @@ public class KJanusWidget extends QWidget { the pointer to this widget. @short Add a widget at the bottom of the TreeList/IconList. */ - public native void addWidgetBelowList(QWidget widget); + public native void addWidgetBelowList(TQWidget widget); /** Add a button at the bottom of the TreeList/IconList. @param text The text on the PushButton. @@ -369,7 +369,7 @@ public class KJanusWidget extends QWidget { @param slot The slot to connect to the clicked signal of the button. @short Add a button at the bottom of the TreeList/IconList. */ - public native void addButtonBelowList(String text, QObject recv, String slot); + public native void addButtonBelowList(String text, TQObject recv, String slot); /** The same as the above function, but with a KGuiItem providing the text and icon for the button at the bottom of the TreeList/IconList. @@ -379,7 +379,7 @@ public class KJanusWidget extends QWidget { @param slot The slot to connect to the clicked signal of the button. @short The same as the above function, but with a KGuiItem providing the text and icon for the button at the bottom of the TreeList/IconList. */ - public native void addButtonBelowList(KGuiItem guiitem, QObject recv, String slot); + public native void addButtonBelowList(KGuiItem guiitem, TQObject recv, String slot); /** This function has only effect in IconList mode. Defines how the icon list widget is displayed. By default it is @@ -398,7 +398,7 @@ public class KJanusWidget extends QWidget { @param pixmap The icon used. @short Sets the icon used in TreeList Mode for the given path. */ - public native void setFolderIcon(String[] path, QPixmap pixmap); + public native void setFolderIcon(String[] path, TQPixmap pixmap); /** Returns the title string associated with a page index in TreeList or IconList mode. @param index The index of the page or null if there is no such page. @@ -413,7 +413,7 @@ public class KJanusWidget extends QWidget { @short Returns the page widget associated with a page index or null if there is no such page. @see #pageIndex */ - public native QWidget pageWidget(int index); + public native TQWidget pageWidget(int index); /** Give the keyboard input focus to the widget. @short Give the keyboard input focus to the widget. @@ -424,7 +424,7 @@ public class KJanusWidget extends QWidget { is TreeList @short Reimplemented to handle the splitter width when the the face is TreeList */ - public native void showEvent(QShowEvent arg1); + public native void showEvent(TQShowEvent arg1); /** This function is used internally when in IconList mode. If you reimplement this class a make your own event filter, make sure to @@ -433,11 +433,11 @@ public class KJanusWidget extends QWidget { @param e The event. @short This function is used internally when in IconList mode. */ - public native boolean eventFilter(QObject o, QEvent e); - protected native boolean showPage(QWidget w); - protected native void addPageWidget(QFrame page, String[] items, String header, QPixmap pixmap); - protected native void InsertTreeListItem(String[] items, QPixmap pixmap, QFrame page); - protected native QWidget FindParent(); + public native boolean eventFilter(TQObject o, TQEvent e); + protected native boolean showPage(TQWidget w); + protected native void addPageWidget(TQFrame page, String[] items, String header, TQPixmap pixmap); + protected native void InsertTreeListItem(String[] items, TQPixmap pixmap, TQFrame page); + protected native TQWidget FindParent(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KJanusWidgetSignals.java b/kdejava/koala/org/kde/koala/KJanusWidgetSignals.java index 9a505a94..2108a8e9 100644 --- a/kdejava/koala/org/kde/koala/KJanusWidgetSignals.java +++ b/kdejava/koala/org/kde/koala/KJanusWidgetSignals.java @@ -1,18 +1,18 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPixmap; -import org.kde.qt.QSize; -import org.kde.qt.QGrid; -import org.kde.qt.QShowEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QVBox; -import org.kde.qt.QFrame; -import org.kde.qt.QHBox; +import org.kde.qt.TQObject; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSize; +import org.kde.qt.TQGrid; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQVBox; +import org.kde.qt.TQFrame; +import org.kde.qt.TQHBox; public interface KJanusWidgetSignals { /** @@ -20,5 +20,5 @@ public interface KJanusWidgetSignals { @param page the new page. @short This signal is emitted whenever the current page changes. */ - void aboutToShowPage(QWidget page); + void aboutToShowPage(TQWidget page); } diff --git a/kdejava/koala/org/kde/koala/KKey.java b/kdejava/koala/org/kde/koala/KKey.java index 6bc2827e..3bc06cf6 100644 --- a/kdejava/koala/org/kde/koala/KKey.java +++ b/kdejava/koala/org/kde/koala/KKey.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QKeySequence; +import org.kde.qt.TQKeySequence; import org.kde.qt.QtSupport; -import org.kde.qt.QKeyEvent; +import org.kde.qt.TQKeyEvent; /** @@ -68,19 +68,19 @@ public class KKey implements QtSupport { @param keySeq the key sequence that contains the key @short Creates a new key from the first key code of the given key sequence. */ - public KKey(QKeySequence keySeq) { + public KKey(TQKeySequence keySeq) { newKKey(keySeq); } - private native void newKKey(QKeySequence keySeq); + private native void newKKey(TQKeySequence keySeq); /** Extracts the key from the given key event. @param keyEvent the key event to get the key from @short Extracts the key from the given key event. */ - public KKey(QKeyEvent keyEvent) { + public KKey(TQKeyEvent keyEvent) { newKKey(keyEvent); } - private native void newKKey(QKeyEvent keyEvent); + private native void newKKey(TQKeyEvent keyEvent); /** Copy constructor. @short Copy constructor. @@ -131,7 +131,7 @@ public class KKey implements QtSupport { @short Initializes the key with the first key code of the given key sequence. */ - public native boolean init(QKeySequence keySeq); + public native boolean init(TQKeySequence keySeq); /** Initializes the key by extracting the code from the given key event. @param keyEvent the key event to get the key from @@ -139,7 +139,7 @@ public class KKey implements QtSupport { @short Initializes the key by extracting the code from the given key event. */ - public native boolean init(QKeyEvent keyEvent); + public native boolean init(TQKeyEvent keyEvent); /** Copies the given key. @param key the key to copy diff --git a/kdejava/koala/org/kde/koala/KKeyButton.java b/kdejava/koala/org/kde/koala/KKeyButton.java index 82ed6ace..8d7c27e8 100644 --- a/kdejava/koala/org/kde/koala/KKeyButton.java +++ b/kdejava/koala/org/kde/koala/KKeyButton.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPainter; -import org.kde.qt.QWidget; -import org.kde.qt.QPushButton; +import org.kde.qt.TQPainter; +import org.kde.qt.TQWidget; +import org.kde.qt.TQPushButton; /** @@ -23,24 +23,24 @@ import org.kde.qt.QPushButton; @short A push button that looks like a keyboard key. */ -public class KKeyButton extends QPushButton { +public class KKeyButton extends TQPushButton { protected KKeyButton(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs key button widget. @short Constructs key button widget. */ - public KKeyButton(QWidget parent, String name) { + public KKeyButton(TQWidget parent, String name) { super((Class) null); newKKeyButton(parent,name); } - private native void newKKeyButton(QWidget parent, String name); - public KKeyButton(QWidget parent) { + private native void newKKeyButton(TQWidget parent, String name); + public KKeyButton(TQWidget parent) { super((Class) null); newKKeyButton(parent); } - private native void newKKeyButton(QWidget parent); + private native void newKKeyButton(TQWidget parent); public KKeyButton() { super((Class) null); newKKeyButton(); @@ -63,7 +63,7 @@ public class KKeyButton extends QPushButton { Reimplemented for internal reasons. @short Reimplemented for internal reasons. */ - protected native void drawButton(QPainter _painter); + protected native void drawButton(TQPainter _painter); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KKeyButtonSignals.java b/kdejava/koala/org/kde/koala/KKeyButtonSignals.java index adf70da4..73f3e25e 100644 --- a/kdejava/koala/org/kde/koala/KKeyButtonSignals.java +++ b/kdejava/koala/org/kde/koala/KKeyButtonSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPainter; -import org.kde.qt.QWidget; +import org.kde.qt.TQPainter; +import org.kde.qt.TQWidget; public interface KKeyButtonSignals { void capturedShortcut(KShortcut arg1); diff --git a/kdejava/koala/org/kde/koala/KKeyChooser.java b/kdejava/koala/org/kde/koala/KKeyChooser.java index 0c45d5e5..deca238f 100644 --- a/kdejava/koala/org/kde/koala/KKeyChooser.java +++ b/kdejava/koala/org/kde/koala/KKeyChooser.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QListViewItem; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQListViewItem; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQPoint; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -25,7 +25,7 @@ import org.kde.qt.QWidget; @see KKeyDialog */ -public class KKeyChooser extends QWidget { +public class KKeyChooser extends TQWidget { protected KKeyChooser(Class dummy){super((Class) null);} public static final int NoKey = 1; public static final int DefaultKey = 2; @@ -36,7 +36,7 @@ public class KKeyChooser extends QWidget { public static final int Standard = 2; public static final int Global = 3; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. @@ -46,13 +46,13 @@ public class KKeyChooser extends QWidget { keys ('A', '1', etc.) are not permissible shortcuts. @short Constructor. */ - // KKeyChooser* KKeyChooser(QWidget* arg1,ActionType arg2,bool arg3); >>>> NOT CONVERTED - // KKeyChooser* KKeyChooser(QWidget* arg1,ActionType arg2); >>>> NOT CONVERTED - public KKeyChooser(QWidget parent) { + // KKeyChooser* KKeyChooser(TQWidget* arg1,ActionType arg2,bool arg3); >>>> NOT CONVERTED + // KKeyChooser* KKeyChooser(TQWidget* arg1,ActionType arg2); >>>> NOT CONVERTED + public KKeyChooser(TQWidget parent) { super((Class) null); newKKeyChooser(parent); } - private native void newKKeyChooser(QWidget parent); + private native void newKKeyChooser(TQWidget parent); /** \overload @param parent parent widget @@ -61,38 +61,38 @@ public class KKeyChooser extends QWidget { keys ('A', '1', etc.) are not permissible shortcuts. @short \overload */ - public KKeyChooser(KActionCollection coll, QWidget parent, boolean bAllowLetterShortcuts) { + public KKeyChooser(KActionCollection coll, TQWidget parent, boolean bAllowLetterShortcuts) { super((Class) null); newKKeyChooser(coll,parent,bAllowLetterShortcuts); } - private native void newKKeyChooser(KActionCollection coll, QWidget parent, boolean bAllowLetterShortcuts); - public KKeyChooser(KActionCollection coll, QWidget parent) { + private native void newKKeyChooser(KActionCollection coll, TQWidget parent, boolean bAllowLetterShortcuts); + public KKeyChooser(KActionCollection coll, TQWidget parent) { super((Class) null); newKKeyChooser(coll,parent); } - private native void newKKeyChooser(KActionCollection coll, QWidget parent); - public KKeyChooser(KAccel actions, QWidget parent, boolean bAllowLetterShortcuts) { + private native void newKKeyChooser(KActionCollection coll, TQWidget parent); + public KKeyChooser(KAccel actions, TQWidget parent, boolean bAllowLetterShortcuts) { super((Class) null); newKKeyChooser(actions,parent,bAllowLetterShortcuts); } - private native void newKKeyChooser(KAccel actions, QWidget parent, boolean bAllowLetterShortcuts); - public KKeyChooser(KAccel actions, QWidget parent) { + private native void newKKeyChooser(KAccel actions, TQWidget parent, boolean bAllowLetterShortcuts); + public KKeyChooser(KAccel actions, TQWidget parent) { super((Class) null); newKKeyChooser(actions,parent); } - private native void newKKeyChooser(KAccel actions, QWidget parent); - public KKeyChooser(KGlobalAccel actions, QWidget parent) { + private native void newKKeyChooser(KAccel actions, TQWidget parent); + public KKeyChooser(KGlobalAccel actions, TQWidget parent) { super((Class) null); newKKeyChooser(actions,parent); } - private native void newKKeyChooser(KGlobalAccel actions, QWidget parent); - // KKeyChooser* KKeyChooser(KShortcutList* arg1,QWidget* arg2,ActionType arg3,bool arg4); >>>> NOT CONVERTED - // KKeyChooser* KKeyChooser(KShortcutList* arg1,QWidget* arg2,ActionType arg3); >>>> NOT CONVERTED - public KKeyChooser(KShortcutList arg1, QWidget parent) { + private native void newKKeyChooser(KGlobalAccel actions, TQWidget parent); + // KKeyChooser* KKeyChooser(KShortcutList* arg1,TQWidget* arg2,ActionType arg3,bool arg4); >>>> NOT CONVERTED + // KKeyChooser* KKeyChooser(KShortcutList* arg1,TQWidget* arg2,ActionType arg3); >>>> NOT CONVERTED + public KKeyChooser(KShortcutList arg1, TQWidget parent) { super((Class) null); newKKeyChooser(arg1,parent); } - private native void newKKeyChooser(KShortcutList arg1, QWidget parent); + private native void newKKeyChooser(KShortcutList arg1, TQWidget parent); /** Insert an action collection, i.e. add all its actions to the ones already associated with the KKeyChooser object. @@ -151,7 +151,7 @@ public class KKeyChooser extends QWidget { @short Checks whether the given shortcut conflicts with global keyboard shortcuts. */ - public static native boolean checkGlobalShortcutsConflict(KShortcut cut, boolean warnUser, QWidget parent); + public static native boolean checkGlobalShortcutsConflict(KShortcut cut, boolean warnUser, TQWidget parent); /** Checks whether the given shortcut conflicts with standard keyboard shortcuts. If yes, and the warnUser argument is true, warns the user and gives them a chance @@ -164,7 +164,7 @@ public class KKeyChooser extends QWidget { @short Checks whether the given shortcut conflicts with standard keyboard shortcuts. */ - public static native boolean checkStandardShortcutsConflict(KShortcut cut, boolean warnUser, QWidget parent); + public static native boolean checkStandardShortcutsConflict(KShortcut cut, boolean warnUser, TQWidget parent); // void initGUI(ActionType arg1,bool arg2); >>>> NOT CONVERTED protected native boolean insert(KAccel arg1); protected native boolean insert(KGlobalAccel arg1); @@ -173,19 +173,19 @@ public class KKeyChooser extends QWidget { protected native void buildListView(int iList); protected native void readGlobalKeys(); protected native void updateButtons(); - protected native void fontChange(QFont _font); + protected native void fontChange(TQFont _font); protected native void setShortcut(KShortcut cut); protected native boolean isKeyPresent(KShortcut cut, boolean warnuser); protected native boolean isKeyPresent(KShortcut cut); - // bool isKeyPresentLocally(const KShortcut& arg1,KKeyChooserItem* arg2,const QString& arg3); >>>> NOT CONVERTED + // bool isKeyPresentLocally(const KShortcut& arg1,KKeyChooserItem* arg2,const TQString& arg3); >>>> NOT CONVERTED protected native void _warning(KKeySequence seq, String sAction, String sTitle); protected native void slotNoKey(); protected native void slotDefaultKey(); protected native void slotCustomKey(); - protected native void slotListItemSelected(QListViewItem item); + protected native void slotListItemSelected(TQListViewItem item); protected native void capturedShortcut(KShortcut cut); protected native void slotSettingsChanged(int arg1); - protected native void slotListItemDoubleClicked(QListViewItem ipoQListViewItem, QPoint ipoQPoint, int c); + protected native void slotListItemDoubleClicked(TQListViewItem ipoTQListViewItem, TQPoint ipoTQPoint, int c); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KKeyChooserSignals.java b/kdejava/koala/org/kde/koala/KKeyChooserSignals.java index ae5daecf..cf23df80 100644 --- a/kdejava/koala/org/kde/koala/KKeyChooserSignals.java +++ b/kdejava/koala/org/kde/koala/KKeyChooserSignals.java @@ -1,12 +1,12 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QListViewItem; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQListViewItem; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QWidget; +import org.kde.qt.TQPoint; +import org.kde.qt.TQWidget; public interface KKeyChooserSignals { /** diff --git a/kdejava/koala/org/kde/koala/KKeyDialog.java b/kdejava/koala/org/kde/koala/KKeyDialog.java index ed927738..7fc1247d 100644 --- a/kdejava/koala/org/kde/koala/KKeyDialog.java +++ b/kdejava/koala/org/kde/koala/KKeyDialog.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -23,7 +23,7 @@ import org.kde.qt.QWidget; */ public class KKeyDialog extends KDialogBase { protected KKeyDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KKeyDialog called <code>name</code> as a child of <code>parent.</code> @@ -31,16 +31,16 @@ public class KKeyDialog extends KDialogBase { keys ('A', '1', etc.) are not permissible shortcuts. @short Constructs a KKeyDialog called <code>name</code> as a child of <code>parent.</code> */ - public KKeyDialog(boolean bAllowLetterShortcuts, QWidget parent, String name) { + public KKeyDialog(boolean bAllowLetterShortcuts, TQWidget parent, String name) { super((Class) null); newKKeyDialog(bAllowLetterShortcuts,parent,name); } - private native void newKKeyDialog(boolean bAllowLetterShortcuts, QWidget parent, String name); - public KKeyDialog(boolean bAllowLetterShortcuts, QWidget parent) { + private native void newKKeyDialog(boolean bAllowLetterShortcuts, TQWidget parent, String name); + public KKeyDialog(boolean bAllowLetterShortcuts, TQWidget parent) { super((Class) null); newKKeyDialog(bAllowLetterShortcuts,parent); } - private native void newKKeyDialog(boolean bAllowLetterShortcuts, QWidget parent); + private native void newKKeyDialog(boolean bAllowLetterShortcuts, TQWidget parent); public KKeyDialog(boolean bAllowLetterShortcuts) { super((Class) null); newKKeyDialog(bAllowLetterShortcuts); @@ -98,8 +98,8 @@ public class KKeyDialog extends KDialogBase { @short Pops up a modal dialog for configuring key settings. */ - public static native int configure(KActionCollection coll, QWidget parent, boolean bSaveSettings); - public static native int configure(KActionCollection coll, QWidget parent); + public static native int configure(KActionCollection coll, TQWidget parent, boolean bSaveSettings); + public static native int configure(KActionCollection coll, TQWidget parent); public static native int configure(KActionCollection coll); /** This is an overloaded member function, provided for convenience. @@ -107,16 +107,16 @@ public class KKeyDialog extends KDialogBase { are saved to a .rc file using KConfig. @short This is an overloaded member function, provided for convenience. */ - public static native int configure(KAccel keys, QWidget parent, boolean bSaveSettings); - public static native int configure(KAccel keys, QWidget parent); + public static native int configure(KAccel keys, TQWidget parent, boolean bSaveSettings); + public static native int configure(KAccel keys, TQWidget parent); public static native int configure(KAccel keys); /** This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @short This is an overloaded member function, provided for convenience. */ - public static native int configure(KGlobalAccel keys, QWidget parent, boolean bSaveSettings); - public static native int configure(KGlobalAccel keys, QWidget parent); + public static native int configure(KGlobalAccel keys, TQWidget parent, boolean bSaveSettings); + public static native int configure(KGlobalAccel keys, TQWidget parent); public static native int configure(KGlobalAccel keys); /** This is an overloaded member function, provided for convenience. @@ -129,24 +129,24 @@ public class KKeyDialog extends KDialogBase { the uirc file which they were intially read from. @short This is an overloaded member function, provided for convenience. */ - public static native int configure(KActionCollection coll, boolean bAllowLetterShortcuts, QWidget parent, boolean bSaveSettings); - public static native int configure(KActionCollection coll, boolean bAllowLetterShortcuts, QWidget parent); + public static native int configure(KActionCollection coll, boolean bAllowLetterShortcuts, TQWidget parent, boolean bSaveSettings); + public static native int configure(KActionCollection coll, boolean bAllowLetterShortcuts, TQWidget parent); public static native int configure(KActionCollection coll, boolean bAllowLetterShortcuts); /** This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @short This is an overloaded member function, provided for convenience. */ - public static native int configure(KAccel keys, boolean bAllowLetterShortcuts, QWidget parent, boolean bSaveSettings); - public static native int configure(KAccel keys, boolean bAllowLetterShortcuts, QWidget parent); + public static native int configure(KAccel keys, boolean bAllowLetterShortcuts, TQWidget parent, boolean bSaveSettings); + public static native int configure(KAccel keys, boolean bAllowLetterShortcuts, TQWidget parent); public static native int configure(KAccel keys, boolean bAllowLetterShortcuts); /** This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @short This is an overloaded member function, provided for convenience. */ - public static native int configure(KGlobalAccel keys, boolean bAllowLetterShortcuts, QWidget parent, boolean bSaveSettings); - public static native int configure(KGlobalAccel keys, boolean bAllowLetterShortcuts, QWidget parent); + public static native int configure(KGlobalAccel keys, boolean bAllowLetterShortcuts, TQWidget parent, boolean bSaveSettings); + public static native int configure(KGlobalAccel keys, boolean bAllowLetterShortcuts, TQWidget parent); public static native int configure(KGlobalAccel keys, boolean bAllowLetterShortcuts); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KKeySequence.java b/kdejava/koala/org/kde/koala/KKeySequence.java index 143f9612..4ca40d77 100644 --- a/kdejava/koala/org/kde/koala/KKeySequence.java +++ b/kdejava/koala/org/kde/koala/KKeySequence.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QKeySequence; +import org.kde.qt.TQKeySequence; import org.kde.qt.QtSupport; /** @@ -37,10 +37,10 @@ public class KKeySequence implements QtSupport { @param keySeq the qt key sequence to copy @short Copies the given qt key sequence. */ - public KKeySequence(QKeySequence keySeq) { + public KKeySequence(TQKeySequence keySeq) { newKKeySequence(keySeq); } - private native void newKKeySequence(QKeySequence keySeq); + private native void newKKeySequence(TQKeySequence keySeq); /** Create a new key sequence that only contains the given key. @param key the key to add @@ -62,7 +62,7 @@ public class KKeySequence implements QtSupport { /** Creates a new key sequence that contains the given key sequence. The description consists of comma-separated keys as - required by KKey.KKey(String). + retquired by KKey.KKey(String). @param keySeq the description of the key @short Creates a new key sequence that contains the given key sequence. @see KKeyServer#Sym#init @@ -165,12 +165,12 @@ public class KKeySequence implements QtSupport { */ public native boolean op_lt(KKeySequence seq); /** - Converts this key sequence to a QKeySequence. - @return the QKeySequence + Converts this key sequence to a TQKeySequence. + @return the TQKeySequence - @short Converts this key sequence to a QKeySequence. + @short Converts this key sequence to a TQKeySequence. */ - public native QKeySequence qt(); + public native TQKeySequence qt(); /** Returns the qt key code of the first key. @return the qt key code of the first key diff --git a/kdejava/koala/org/kde/koala/KLed.java b/kdejava/koala/org/kde/koala/KLed.java index 6a0cedc7..7ff61c08 100644 --- a/kdejava/koala/org/kde/koala/KLed.java +++ b/kdejava/koala/org/kde/koala/KLed.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -23,7 +23,7 @@ import org.kde.qt.QWidget; @short An LED widget. */ -public class KLed extends QWidget { +public class KLed extends TQWidget { protected KLed(Class dummy){super((Class) null);} /** Status of the light is on/off. @@ -67,23 +67,23 @@ public class KLed extends QWidget { public static final int Raised = 1; public static final int Sunken = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a green, round LED widget which will initially be turned on. @short Constructs a green, round LED widget which will initially be turned on. */ - public KLed(QWidget parent, String name) { + public KLed(TQWidget parent, String name) { super((Class) null); newKLed(parent,name); } - private native void newKLed(QWidget parent, String name); - public KLed(QWidget parent) { + private native void newKLed(TQWidget parent, String name); + public KLed(TQWidget parent) { super((Class) null); newKLed(parent); } - private native void newKLed(QWidget parent); + private native void newKLed(TQWidget parent); public KLed() { super((Class) null); newKLed(); @@ -93,25 +93,25 @@ public class KLed extends QWidget { Constructor with the ledcolor, the parent widget, and the name. The State will be defaulted On and the Look round. @param col Initial color of the LED. - @param parent Will be handed over to QWidget. - @param name Will be handed over to QWidget. + @param parent Will be handed over to TQWidget. + @param name Will be handed over to TQWidget. @short Constructor. */ - public KLed(QColor col, QWidget parent, String name) { + public KLed(TQColor col, TQWidget parent, String name) { super((Class) null); newKLed(col,parent,name); } - private native void newKLed(QColor col, QWidget parent, String name); - public KLed(QColor col, QWidget parent) { + private native void newKLed(TQColor col, TQWidget parent, String name); + public KLed(TQColor col, TQWidget parent) { super((Class) null); newKLed(col,parent); } - private native void newKLed(QColor col, QWidget parent); - public KLed(QColor col) { + private native void newKLed(TQColor col, TQWidget parent); + public KLed(TQColor col) { super((Class) null); newKLed(col); } - private native void newKLed(QColor col); + private native void newKLed(TQColor col); /** Constructor with the ledcolor, ledstate, ledlook, the parent widget, and the name. @@ -120,25 +120,25 @@ public class KLed extends QWidget { @param state Sets the State. @param look Sets the Look. @param shape Sets the Shape (rectangular or circular) - @param parent Will be handed over to QWidget. - @param name Will be handed over to QWidget. + @param parent Will be handed over to TQWidget. + @param name Will be handed over to TQWidget. @short Constructor. */ - public KLed(QColor col, int state, int look, int shape, QWidget parent, String name) { + public KLed(TQColor col, int state, int look, int shape, TQWidget parent, String name) { super((Class) null); newKLed(col,state,look,shape,parent,name); } - private native void newKLed(QColor col, int state, int look, int shape, QWidget parent, String name); - public KLed(QColor col, int state, int look, int shape, QWidget parent) { + private native void newKLed(TQColor col, int state, int look, int shape, TQWidget parent, String name); + public KLed(TQColor col, int state, int look, int shape, TQWidget parent) { super((Class) null); newKLed(col,state,look,shape,parent); } - private native void newKLed(QColor col, int state, int look, int shape, QWidget parent); - public KLed(QColor col, int state, int look, int shape) { + private native void newKLed(TQColor col, int state, int look, int shape, TQWidget parent); + public KLed(TQColor col, int state, int look, int shape) { super((Class) null); newKLed(col,state,look,shape); } - private native void newKLed(QColor col, int state, int look, int shape); + private native void newKLed(TQColor col, int state, int look, int shape); /** Returns the current state of the widget (on/off). @short Returns LED state. @@ -151,7 +151,7 @@ public class KLed extends QWidget { @short Returns LED color. @see Color */ - public native QColor color(); + public native TQColor color(); /** Returns the look of the widget. @short Returns LED look. @@ -183,23 +183,23 @@ public class KLed extends QWidget { /** Set the color of the widget. The Color is shown with the KLed.On state. - The KLed.Off state is shown with QColor.dark() method + The KLed.Off state is shown with TQColor.dark() method The widget calls the update() method, so it will be updated when entering the main event loop. @param color New color of the LED. @short Sets the LED color. @see Color */ - public native void setColor(QColor color); + public native void setColor(TQColor color); /** Sets the factor to darken the LED in OFF state. - Same as QColor.dark(). + Same as TQColor.dark(). "darkfactor should be greater than 100, else the LED gets lighter in OFF state. Defaults to 300. @param darkfactor sets the factor to darken the LED. @short sets the factor to darken the LED. - @see org.kde.qt.QColor + @see org.kde.qt.TQColor */ public native void setDarkFactor(int darkfactor); /** @@ -212,8 +212,8 @@ public class KLed extends QWidget { @see Look */ public native void setLook(int look); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); /** Toggles the state of the led from Off to On or vice versa. The widget repaints itself immediately. @@ -266,7 +266,7 @@ public class KLed extends QWidget { @short Paints a rectangular LED, either raised or sunken, depending on its argument. */ protected native void paintRectFrame(boolean raised); - protected native void paintEvent(QPaintEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); /** Compute LED width @short Compute LED width diff --git a/kdejava/koala/org/kde/koala/KLibFactory.java b/kdejava/koala/org/kde/koala/KLibFactory.java index bb9c9a19..4aac16e3 100644 --- a/kdejava/koala/org/kde/koala/KLibFactory.java +++ b/kdejava/koala/org/kde/koala/KLibFactory.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQObject; /** @@ -33,7 +33,7 @@ import org.kde.qt.QObject; The KLibFactory is used to create the components, the library has to offer. The factory of KSpread for example will create instances of KSpreadDoc, while the Konqueror factory will create KonqView widgets. - All objects created by the factory must be derived from QObject, since QObject + All objects created by the factory must be derived from TQObject, since TQObject offers type safe casting. KLibFactory is an abstract class. Reimplement the createObject() method to give it functionality. @@ -43,14 +43,14 @@ import org.kde.qt.QObject; @short If you develop a library that is to be loaded dynamically at runtime, then you should return a pointer to your factory. */ -public class KLibFactory extends QObject { +public class KLibFactory extends TQObject { protected KLibFactory(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create a new factory. - @param parent the parent of the QObject, 0 for no parent - @param name the name of the QObject, 0 for no name + @param parent the parent of the TQObject, 0 for no parent + @param name the name of the TQObject, 0 for no name @short Create a new factory. */ /** @@ -59,21 +59,21 @@ public class KLibFactory extends QObject { It is valid behavior to create different kinds of objects depending on the requested <code>classname.</code> For example a koffice library may usually return a pointer to KoDocument. But - if asked for a "QWidget", it could create a wrapper widget, + if asked for a "TQWidget", it could create a wrapper widget, that encapsulates the Koffice specific features. create() automatically emits a signal objectCreated to tell the library about its newly created object. This is very important for reference counting, and allows unloading the library automatically once all its objects have been destroyed. - @param parent the parent of the QObject, 0 for no parent - @param name the name of the QObject, 0 for no name + @param parent the parent of the TQObject, 0 for no parent + @param name the name of the TQObject, 0 for no name @param classname the name of the class @param args a list of arguments @short Creates a new object. */ - public native QObject create(QObject parent, String name, String classname, String[] args); - public native QObject create(QObject parent, String name, String classname); - public native QObject create(QObject parent, String name); - public native QObject create(QObject parent); - public native QObject create(); + public native TQObject create(TQObject parent, String name, String classname, String[] args); + public native TQObject create(TQObject parent, String name, String classname); + public native TQObject create(TQObject parent, String name); + public native TQObject create(TQObject parent); + public native TQObject create(); } diff --git a/kdejava/koala/org/kde/koala/KLibFactorySignals.java b/kdejava/koala/org/kde/koala/KLibFactorySignals.java index 91682c60..7cf57c00 100644 --- a/kdejava/koala/org/kde/koala/KLibFactorySignals.java +++ b/kdejava/koala/org/kde/koala/KLibFactorySignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; public interface KLibFactorySignals { /** @@ -11,5 +11,5 @@ public interface KLibFactorySignals { @param obj the new object @short Emitted in #create */ - void objectCreated(QObject arg1); + void objectCreated(TQObject arg1); } diff --git a/kdejava/koala/org/kde/koala/KLibLoader.java b/kdejava/koala/org/kde/koala/KLibLoader.java index 75f6d4aa..2e331307 100644 --- a/kdejava/koala/org/kde/koala/KLibLoader.java +++ b/kdejava/koala/org/kde/koala/KLibLoader.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQObject; /** @@ -19,9 +19,9 @@ import org.kde.qt.QObject; @see KLibrary */ -public class KLibLoader extends QObject { +public class KLibLoader extends TQObject { protected KLibLoader(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Loads and initializes a library. Loading a library multiple times is @@ -142,16 +142,16 @@ public class KLibLoader extends QObject { */ public static native String findLibrary(String name, KInstanceInterface instance); public static native String findLibrary(String name); - public KLibLoader(QObject parent, String name) { + public KLibLoader(TQObject parent, String name) { super((Class) null); newKLibLoader(parent,name); } - private native void newKLibLoader(QObject parent, String name); - public KLibLoader(QObject parent) { + private native void newKLibLoader(TQObject parent, String name); + public KLibLoader(TQObject parent) { super((Class) null); newKLibLoader(parent); } - private native void newKLibLoader(QObject parent); + private native void newKLibLoader(TQObject parent); public KLibLoader() { super((Class) null); newKLibLoader(); diff --git a/kdejava/koala/org/kde/koala/KLineEdit.java b/kdejava/koala/org/kde/koala/KLineEdit.java index 04136209..bacfdca2 100644 --- a/kdejava/koala/org/kde/koala/KLineEdit.java +++ b/kdejava/koala/org/kde/koala/KLineEdit.java @@ -2,25 +2,25 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QContextMenuEvent; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QLineEdit; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQContextMenuEvent; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQLineEdit; /** - An enhanced QLineEdit widget for inputting text. + An enhanced TQLineEdit widget for inputting text. <li><b>Detail </b></li> - This widget inherits from QLineEdit and implements the following + This widget inherits from TQLineEdit and implements the following additional functionalities: a completion object that provides both automatic and manual text completion as well as multiple match iteration features, configurable key-bindings to activate these features and a @@ -33,7 +33,7 @@ import org.kde.qt.QLineEdit; user in filling out the remaining text. The text rotation signal is intended to be used to iterate through the list of all possible matches whenever there is more than one match for the entered text. The - <code>returnPressed</code>( String ) signals are the same as QLineEdit's + <code>returnPressed</code>( String ) signals are the same as TQLineEdit's except it provides the current text in the widget as its argument whenever appropriate. This widget by default creates a completion object when you invoke @@ -52,14 +52,14 @@ import org.kde.qt.QLineEdit; calling useGlobalSettings(). An alternate method would be to default individual key-bindings by using setKeyBinding() with the default second argument. - If <code>EchoMode</code> for this widget is set to something other than <code>QLineEdit</code>.Normal, + If <code>EchoMode</code> for this widget is set to something other than <code>TQLineEdit</code>.Normal, the completion mode will always be defaulted to KGlobalSettings.CompletionNone. This is done purposefully to guard against protected entries such as passwords being - cached in KCompletion's list. Hence, if the <code>EchoMode</code> is not QLineEdit.Normal, the + cached in KCompletion's list. Hence, if the <code>EchoMode</code> is not TQLineEdit.Normal, the completion mode is automatically disabled. A read-only KLineEdit will have the same background color as a disabled KLineEdit, but its foreground color will be the one used - for the read-write mode. This differs from QLineEdit's implementation + for the read-write mode. This differs from TQLineEdit's implementation and is done to give visual distinction between the three different modes: disabled, read-only, and read-write. <li><b>Usage </b></li> @@ -101,12 +101,12 @@ import org.kde.qt.QLineEdit; See {@link KLineEditSignals} for signals emitted by KLineEdit @author Dawit Alemayehu <adawit@kde.org> - @short An enhanced QLineEdit widget for inputting text. + @short An enhanced TQLineEdit widget for inputting text. */ -public class KLineEdit extends QLineEdit implements KCompletionBaseInterface { +public class KLineEdit extends TQLineEdit implements KCompletionBaseInterface { protected KLineEdit(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KLineEdit object with a default text, a parent, @@ -116,32 +116,32 @@ public class KLineEdit extends QLineEdit implements KCompletionBaseInterface { @param name the name of this widget @short Constructs a KLineEdit object with a default text, a parent, and a name. */ - public KLineEdit(String string, QWidget parent, String name) { + public KLineEdit(String string, TQWidget parent, String name) { super((Class) null); newKLineEdit(string,parent,name); } - private native void newKLineEdit(String string, QWidget parent, String name); - public KLineEdit(String string, QWidget parent) { + private native void newKLineEdit(String string, TQWidget parent, String name); + public KLineEdit(String string, TQWidget parent) { super((Class) null); newKLineEdit(string,parent); } - private native void newKLineEdit(String string, QWidget parent); + private native void newKLineEdit(String string, TQWidget parent); /** Constructs a KLineEdit object with a parent and a name. @param parent The parent object of this widget. @param name The name of this widget. @short Constructs a KLineEdit object with a parent and a name. */ - public KLineEdit(QWidget parent, String name) { + public KLineEdit(TQWidget parent, String name) { super((Class) null); newKLineEdit(parent,name); } - private native void newKLineEdit(QWidget parent, String name); - public KLineEdit(QWidget parent) { + private native void newKLineEdit(TQWidget parent, String name); + public KLineEdit(TQWidget parent) { super((Class) null); newKLineEdit(parent); } - private native void newKLineEdit(QWidget parent); + private native void newKLineEdit(TQWidget parent); public KLineEdit() { super((Class) null); newKLineEdit(); @@ -183,7 +183,7 @@ public class KLineEdit extends QLineEdit implements KCompletionBaseInterface { /** Enables/Disables handling of URL drops. If enabled and the user drops an URL, the decoded URL will be inserted. Otherwise the default - behavior of QLineEdit is used, which inserts the encoded URL. + behavior of TQLineEdit is used, which inserts the encoded URL. @param enable If <code>true</code>, insert decoded URLs @short Enables/Disables handling of URL drops. */ @@ -215,7 +215,7 @@ public class KLineEdit extends QLineEdit implements KCompletionBaseInterface { Re-implemented for internal reasons. API not affected. @short Re-implemented for internal reasons. */ - public native boolean eventFilter(QObject arg1, QEvent arg2); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); /** @param create Set this to false if you don't want the box to be created i.e. to test if it is available. @@ -241,11 +241,11 @@ public class KLineEdit extends QLineEdit implements KCompletionBaseInterface { /** Enable text squeezing whenever the supplied text is too long. Only works for "read-only" mode. - Note that once text squeezing is enabled, QLineEdit.text() - and QLineEdit.displayText() return the squeezed text. If + Note that once text squeezing is enabled, TQLineEdit.text() + and TQLineEdit.displayText() return the squeezed text. If you want the original text, use {@link #originalText}. @short Enable text squeezing whenever the supplied text is too long. - @see org.kde.qt.QLineEdit + @see org.kde.qt.TQLineEdit */ public native void setEnableSqueezedText(boolean enable); /** @@ -257,9 +257,9 @@ public class KLineEdit extends QLineEdit implements KCompletionBaseInterface { /** Returns the original text if text squeezing is enabled. If the widget is not in "read-only" mode, this function - returns the same thing as QLineEdit.text(). + returns the same thing as TQLineEdit.text(). @short Returns the original text if text squeezing is enabled. - @see org.kde.qt.QLineEdit + @see org.kde.qt.TQLineEdit */ public native String originalText(); /** @@ -308,9 +308,9 @@ public class KLineEdit extends QLineEdit implements KCompletionBaseInterface { */ public native void setCompletedItems(String[] items, boolean autoSuggest); /** - Reimplemented to workaround a buggy QLineEdit.clear() + Reimplemented to workaround a buggy TQLineEdit.clear() (changing the clipboard to the text we just had in the lineedit) - @short Reimplemented to workaround a buggy QLineEdit.clear() (changing the clipboard to the text we just had in the lineedit) + @short Reimplemented to workaround a buggy TQLineEdit.clear() (changing the clipboard to the text we just had in the lineedit) */ public native void clear(); /** @@ -326,46 +326,46 @@ public class KLineEdit extends QLineEdit implements KCompletionBaseInterface { public native void setText(String arg1); /** Re-implemented for internal reasons. API not affected. - See QLineEdit.resizeEvent(). + See TQLineEdit.resizeEvent(). @short Re-implemented for internal reasons. */ - protected native void resizeEvent(QResizeEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); /** Re-implemented for internal reasons. API not affected. - See QLineEdit.keyPressEvent(). + See TQLineEdit.keyPressEvent(). @short Re-implemented for internal reasons. */ - protected native void keyPressEvent(QKeyEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); /** Re-implemented for internal reasons. API not affected. - See QLineEdit.mousePressEvent(). + See TQLineEdit.mousePressEvent(). @short Re-implemented for internal reasons. */ - protected native void mousePressEvent(QMouseEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); /** Re-implemented for internal reasons. API not affected. - See QWidget.mouseDoubleClickEvent(). + See TQWidget.mouseDoubleClickEvent(). @short Re-implemented for internal reasons. */ - protected native void mouseDoubleClickEvent(QMouseEvent arg1); + protected native void mouseDoubleClickEvent(TQMouseEvent arg1); /** Re-implemented for internal reasons. API not affected. - See QLineEdit.contextMenuEvent(). + See TQLineEdit.contextMenuEvent(). @short Re-implemented for internal reasons. */ - protected native void contextMenuEvent(QContextMenuEvent arg1); + protected native void contextMenuEvent(TQContextMenuEvent arg1); /** Re-implemented for internal reasons. API not affected. - See QLineEdit.createPopupMenu(). + See TQLineEdit.createPopupMenu(). @short Re-implemented for internal reasons. */ - protected native QPopupMenu createPopupMenu(); + protected native TQPopupMenu createPopupMenu(); /** Re-implemented to handle URI drops. - See QLineEdit.dropEvent(). + See TQLineEdit.dropEvent(). @short Re-implemented to handle URI drops. */ - protected native void dropEvent(QDropEvent arg1); + protected native void dropEvent(TQDropEvent arg1); protected native void setCompletedText(String arg1, boolean arg2); /** Sets the widget in userSelection mode or in automatic completion @@ -383,10 +383,10 @@ public class KLineEdit extends QLineEdit implements KCompletionBaseInterface { protected native void create(); /** Re-implemented for internal reasons. API not affected. - See QLineEdit.focusInEvent(). + See TQLineEdit.focusInEvent(). @short Re-implemented for internal reasons. */ - protected native void focusInEvent(QFocusEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); /** Whether in current state text should be auto-suggested @short Whether in current state text should be auto-suggested diff --git a/kdejava/koala/org/kde/koala/KLineEditSignals.java b/kdejava/koala/org/kde/koala/KLineEditSignals.java index 23e86a58..3b8f55c4 100644 --- a/kdejava/koala/org/kde/koala/KLineEditSignals.java +++ b/kdejava/koala/org/kde/koala/KLineEditSignals.java @@ -1,18 +1,18 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QContextMenuEvent; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQContextMenuEvent; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; public interface KLineEditSignals { /** @@ -24,7 +24,7 @@ public interface KLineEditSignals { Emitted when the user presses the return key. The argument is the current text. Note that this signal is <b>not</b> emitted if the widget's <code>EchoMode</code> is set to - QLineEdit.EchoMode. + TQLineEdit.EchoMode. @short Emitted when the user presses the return key. */ void returnPressed(String arg1); @@ -62,11 +62,11 @@ public interface KLineEditSignals { Emitted before the context menu is displayed. The signal allows you to add your own entries into the the context menu that is created on demand. - NOTE: Do not store the pointer to the QPopupMenu + NOTE: Do not store the pointer to the TQPopupMenu provided through since it is created and deleted on demand. @param p the context menu about to be displayed @short Emitted before the context menu is displayed. */ - void aboutToShowContextMenu(QPopupMenu p); + void aboutToShowContextMenu(TQPopupMenu p); } diff --git a/kdejava/koala/org/kde/koala/KListAction.java b/kdejava/koala/org/kde/koala/KListAction.java index bc34a103..c7efc164 100644 --- a/kdejava/koala/org/kde/koala/KListAction.java +++ b/kdejava/koala/org/kde/koala/KListAction.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QIconSet; +import org.kde.qt.TQObject; +import org.kde.qt.TQIconSet; /** @@ -14,7 +14,7 @@ import org.kde.qt.QIconSet; */ public class KListAction extends KSelectAction { protected KListAction(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a list action with text and potential keyboard @@ -26,16 +26,16 @@ public class KListAction extends KSelectAction { @param name An internal name for this action. @short Constructs a list action with text and potential keyboard accelerator but nothing else. */ - public KListAction(String text, KShortcut cut, QObject parent, String name) { + public KListAction(String text, KShortcut cut, TQObject parent, String name) { super((Class) null); newKListAction(text,cut,parent,name); } - private native void newKListAction(String text, KShortcut cut, QObject parent, String name); - public KListAction(String text, KShortcut cut, QObject parent) { + private native void newKListAction(String text, KShortcut cut, TQObject parent, String name); + public KListAction(String text, KShortcut cut, TQObject parent) { super((Class) null); newKListAction(text,cut,parent); } - private native void newKListAction(String text, KShortcut cut, QObject parent); + private native void newKListAction(String text, KShortcut cut, TQObject parent); public KListAction(String text, KShortcut cut) { super((Class) null); newKListAction(text,cut); @@ -55,16 +55,16 @@ public class KListAction extends KSelectAction { @param name An internal name for this action. @short */ - public KListAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KListAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKListAction(text,cut,receiver,slot,parent,name); } - private native void newKListAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KListAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKListAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KListAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKListAction(text,cut,receiver,slot,parent); } - private native void newKListAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKListAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The icons that go with this action. @@ -73,26 +73,26 @@ public class KListAction extends KSelectAction { @param name An internal name for this action. @short */ - public KListAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name) { + public KListAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name) { super((Class) null); newKListAction(text,pix,cut,parent,name); } - private native void newKListAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name); - public KListAction(String text, QIconSet pix, KShortcut cut, QObject parent) { + private native void newKListAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name); + public KListAction(String text, TQIconSet pix, KShortcut cut, TQObject parent) { super((Class) null); newKListAction(text,pix,cut,parent); } - private native void newKListAction(String text, QIconSet pix, KShortcut cut, QObject parent); - public KListAction(String text, QIconSet pix, KShortcut cut) { + private native void newKListAction(String text, TQIconSet pix, KShortcut cut, TQObject parent); + public KListAction(String text, TQIconSet pix, KShortcut cut) { super((Class) null); newKListAction(text,pix,cut); } - private native void newKListAction(String text, QIconSet pix, KShortcut cut); - public KListAction(String text, QIconSet pix) { + private native void newKListAction(String text, TQIconSet pix, KShortcut cut); + public KListAction(String text, TQIconSet pix) { super((Class) null); newKListAction(text,pix); } - private native void newKListAction(String text, QIconSet pix); + private native void newKListAction(String text, TQIconSet pix); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -101,16 +101,16 @@ public class KListAction extends KSelectAction { @param name An internal name for this action. @short */ - public KListAction(String text, String pix, KShortcut cut, QObject parent, String name) { + public KListAction(String text, String pix, KShortcut cut, TQObject parent, String name) { super((Class) null); newKListAction(text,pix,cut,parent,name); } - private native void newKListAction(String text, String pix, KShortcut cut, QObject parent, String name); - public KListAction(String text, String pix, KShortcut cut, QObject parent) { + private native void newKListAction(String text, String pix, KShortcut cut, TQObject parent, String name); + public KListAction(String text, String pix, KShortcut cut, TQObject parent) { super((Class) null); newKListAction(text,pix,cut,parent); } - private native void newKListAction(String text, String pix, KShortcut cut, QObject parent); + private native void newKListAction(String text, String pix, KShortcut cut, TQObject parent); public KListAction(String text, String pix, KShortcut cut) { super((Class) null); newKListAction(text,pix,cut); @@ -131,16 +131,16 @@ public class KListAction extends KSelectAction { @param name An internal name for this action. @short */ - public KListAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KListAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKListAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKListAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KListAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKListAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KListAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKListAction(text,pix,cut,receiver,slot,parent); } - private native void newKListAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKListAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -151,31 +151,31 @@ public class KListAction extends KSelectAction { @param name An internal name for this action. @short */ - public KListAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KListAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKListAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKListAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KListAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKListAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KListAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKListAction(text,pix,cut,receiver,slot,parent); } - private native void newKListAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKListAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param parent This action's parent. @param name An internal name for this action. @short */ - public KListAction(QObject parent, String name) { + public KListAction(TQObject parent, String name) { super((Class) null); newKListAction(parent,name); } - private native void newKListAction(QObject parent, String name); - public KListAction(QObject parent) { + private native void newKListAction(TQObject parent, String name); + public KListAction(TQObject parent) { super((Class) null); newKListAction(parent); } - private native void newKListAction(QObject parent); + private native void newKListAction(TQObject parent); public KListAction() { super((Class) null); newKListAction(); diff --git a/kdejava/koala/org/kde/koala/KListBox.java b/kdejava/koala/org/kde/koala/KListBox.java index b077b485..2a666a09 100644 --- a/kdejava/koala/org/kde/koala/KListBox.java +++ b/kdejava/koala/org/kde/koala/KListBox.java @@ -2,64 +2,64 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QListBoxItem; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQListBoxItem; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QListBox; +import org.kde.qt.TQPoint; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQListBox; /** - Extends the functionality of QListBox to honor the system + Extends the functionality of TQListBox to honor the system wide settings for Single Click/Double Click mode, Auto Selection and Change Cursor over Link. There is a new signal executed(). It gets connected to either - QListBox.clicked() or QListBox.doubleClicked() + TQListBox.clicked() or TQListBox.doubleClicked() depending on the KDE wide Single Click/Double Click settings. It is strongly recommended that you use this signal instead of the above mentioned. This way you don't need to care about the current settings. If you want to get informed when the user selects - something connect to the QListBox.selectionChanged() signal. + something connect to the TQListBox.selectionChanged() signal. See {@link KListBoxSignals} for signals emitted by KListBox - @short A variant of QListBox that honors KDE's system-wide settings. + @short A variant of TQListBox that honors KDE's system-wide settings. */ -public class KListBox extends QListBox { +public class KListBox extends TQListBox { protected KListBox(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KListBox(QWidget parent, String name, int f) { + public KListBox(TQWidget parent, String name, int f) { super((Class) null); newKListBox(parent,name,f); } - private native void newKListBox(QWidget parent, String name, int f); - public KListBox(QWidget parent, String name) { + private native void newKListBox(TQWidget parent, String name, int f); + public KListBox(TQWidget parent, String name) { super((Class) null); newKListBox(parent,name); } - private native void newKListBox(QWidget parent, String name); - public KListBox(QWidget parent) { + private native void newKListBox(TQWidget parent, String name); + public KListBox(TQWidget parent) { super((Class) null); newKListBox(parent); } - private native void newKListBox(QWidget parent); + private native void newKListBox(TQWidget parent); public KListBox() { super((Class) null); newKListBox(); } private native void newKListBox(); - protected native void emitExecute(QListBoxItem item, QPoint pos); - protected native void keyPressEvent(QKeyEvent e); - protected native void focusOutEvent(QFocusEvent fe); - protected native void leaveEvent(QEvent e); - protected native void contentsMousePressEvent(QMouseEvent e); - protected native void contentsMouseDoubleClickEvent(QMouseEvent e); - protected native void slotOnItem(QListBoxItem item); + protected native void emitExecute(TQListBoxItem item, TQPoint pos); + protected native void keyPressEvent(TQKeyEvent e); + protected native void focusOutEvent(TQFocusEvent fe); + protected native void leaveEvent(TQEvent e); + protected native void contentsMousePressEvent(TQMouseEvent e); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); + protected native void slotOnItem(TQListBoxItem item); protected native void slotOnViewport(); protected native void slotSettingsChanged(int arg1); /** diff --git a/kdejava/koala/org/kde/koala/KListBoxSignals.java b/kdejava/koala/org/kde/koala/KListBoxSignals.java index 3318f170..86799fe6 100644 --- a/kdejava/koala/org/kde/koala/KListBoxSignals.java +++ b/kdejava/koala/org/kde/koala/KListBoxSignals.java @@ -1,15 +1,15 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QListBoxItem; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQListBoxItem; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQPoint; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; public interface KListBoxSignals { /** @@ -17,33 +17,33 @@ public interface KListBoxSignals { That means depending on the KDE wide Single Click/Double Click setting the user clicked or double clicked on that item. @param item is the pointer to the executed listbox item. - Note that you may not delete any QListBoxItem objects in slots + Note that you may not delete any TQListBoxItem objects in slots connected to this signal. @short Emitted whenever the user executes an listbox item. */ - void executed(QListBoxItem item); + void executed(TQListBoxItem item); /** Emitted whenever the user executes an listbox item. That means depending on the KDE wide Single Click/Double Click setting the user clicked or double clicked on that item. @param item is the pointer to the executed listbox item. @param pos is the position where the user has clicked - Note that you may not delete any QListBoxItem objects in slots + Note that you may not delete any TQListBoxItem objects in slots connected to this signal. @short Emitted whenever the user executes an listbox item. */ - void executed(QListBoxItem item, QPoint pos); + void executed(TQListBoxItem item, TQPoint pos); /** This signal gets emitted whenever the user double clicks into the listbox. @param item The pointer to the clicked listbox item. @param pos The position where the user has clicked. - Note that you may not delete any QListBoxItem objects in slots + Note that you may not delete any TQListBoxItem objects in slots connected to this signal. This signal is more or less here for the sake of completeness. You should normally not need to use this. In most cases it's better to use executed() instead. @short This signal gets emitted whenever the user double clicks into the listbox. */ - void doubleClicked(QListBoxItem item, QPoint pos); + void doubleClicked(TQListBoxItem item, TQPoint pos); } diff --git a/kdejava/koala/org/kde/koala/KListView.java b/kdejava/koala/org/kde/koala/KListView.java index 2cbcdecb..bad351a1 100644 --- a/kdejava/koala/org/kde/koala/KListView.java +++ b/kdejava/koala/org/kde/koala/KListView.java @@ -2,56 +2,56 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QRect; -import org.kde.qt.QListViewItem; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQRect; +import org.kde.qt.TQListViewItem; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QPoint; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QPainter; -import org.kde.qt.QDragLeaveEvent; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QDragObject; -import org.kde.qt.QListView; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQPoint; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQPainter; +import org.kde.qt.TQDragLeaveEvent; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQDragObject; +import org.kde.qt.TQListView; /** - This Widget extends the functionality of QListView to honor the system + This Widget extends the functionality of TQListView to honor the system wide settings for Single Click/Double Click mode, AutoSelection and ChangeCursorOverLink (TM). There is a new signal executed(). It gets connected to either - QListView.clicked() or QListView.doubleClicked() depending on the KDE + TQListView.clicked() or TQListView.doubleClicked() depending on the KDE wide Single Click/Double Click settings. It is strongly recommended that you use this signal instead of the above mentioned. This way you don't need to care about the current settings. If you want to get informed when the user selects something connect to the - QListView.selectionChanged() signal. + TQListView.selectionChanged() signal. Drag-and-Drop is supported with the signal dropped(), just setAcceptDrops(true) and connect it to a suitable slot. To see where you are dropping, setDropVisualizer(true). - And also you'll need acceptDrag(QDropEvent) + And also you'll need acceptDrag(TQDropEvent) KListView is drag-enabled, too: to benefit from that you have to derive from it. Reimplement dragObject() and (possibly) startDrag(), and setDragEnabled(true). See {@link KListViewSignals} for signals emitted by KListView - @short This Widget extends the functionality of QListView to honor the system wide settings for Single Click/Double Click mode, AutoSelection and ChangeCursorOverLink (TM). + @short This Widget extends the functionality of TQListView to honor the system wide settings for Single Click/Double Click mode, AutoSelection and ChangeCursorOverLink (TM). */ -public class KListView extends QListView { +public class KListView extends TQListView { protected KListView(Class dummy){super((Class) null);} /** Possible selection modes. - The first four correspond directly to QListView.SelectionMode, while + The first four correspond directly to TQListView.SelectionMode, while the FileManager selection mode is defined as follows: <li> @@ -113,30 +113,30 @@ public class KListView extends QListView { This way e.g. SHIFT+up/PgUp then SHIFT+down/PgDn leaves no item selected @short Possible selection modes. */ - public static final int Single = QListView.Single; - public static final int Multi = QListView.Multi; - public static final int Extended = QListView.Extended; - public static final int NoSelection = QListView.NoSelection; + public static final int Single = TQListView.Single; + public static final int Multi = TQListView.Multi; + public static final int Extended = TQListView.Extended; + public static final int NoSelection = TQListView.NoSelection; public static final int FileManager = 0; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. The parameters <code>parent</code> and <code>name</code> are handled by - QListView, as usual. + TQListView, as usual. @short Constructor. */ - public KListView(QWidget parent, String name) { + public KListView(TQWidget parent, String name) { super((Class) null); newKListView(parent,name); } - private native void newKListView(QWidget parent, String name); - public KListView(QWidget parent) { + private native void newKListView(TQWidget parent, String name); + public KListView(TQWidget parent) { super((Class) null); newKListView(parent); } - private native void newKListView(QWidget parent); + private native void newKListView(TQWidget parent); public KListView() { super((Class) null); newKListView(); @@ -152,16 +152,16 @@ public class KListView extends QListView { public native void setAcceptDrops(boolean arg1); /** This function determines whether the given coordinates are within the - execute area. The execute area is the part of a QListViewItem where mouse + execute area. The execute area is the part of a TQListViewItem where mouse clicks or double clicks respectively generate a executed() signal. - Depending on QListView.allColumnsShowFocus() this is either the + Depending on TQListView.allColumnsShowFocus() this is either the whole item or only the first column. @return true if point is inside execute area of an item, false in all other cases including the case that it is over the viewport. @short This function determines whether the given coordinates are within the execute area. */ - public native boolean isExecuteArea(QPoint point); + public native boolean isExecuteArea(TQPoint point); /** Same thing, but from an x coordinate only. This only checks if x is in the first column (if all columns don't show focus), without testing if @@ -176,31 +176,31 @@ public class KListView extends QListView { @short */ - // QPtrList<QListViewItem> selectedItems(bool arg1); >>>> NOT CONVERTED + // TQPtrList<TQListViewItem> selectedItems(bool arg1); >>>> NOT CONVERTED /** Arbitrarily move <code>item</code> to <code>parent</code>, positioned immediately after item <code>after.</code> If after is 0, <code>item</code> is made the first child of <code>parent.</code> (Un-deprecated in kde-3.4) @short Arbitrarily move <code>item</code> to <code>parent</code>, positioned immediately after item <code>after.</code> */ - public native void moveItem(QListViewItem item, QListViewItem parent, QListViewItem after); + public native void moveItem(TQListViewItem item, TQListViewItem parent, TQListViewItem after); /** @return the last item (not child!) of this listview. @short @see #lastChild */ - public native QListViewItem lastItem(); + public native TQListViewItem lastItem(); /** @return the last child of this listview. @short @see #lastItem */ - public native QListViewItem lastChild(); + public native TQListViewItem lastChild(); /** @return the lineedit used for inline renaming. - Use that to setup a KCompletion or QValidator for the lineedit + Use that to setup a KCompletion or TQValidator for the lineedit @short */ @@ -284,14 +284,14 @@ public class KListView extends QListView { all items into account not only the visible ones. @short Returns the index of <code>item</code> within the item tree or -1 if <code>item</code> doesn't exist in this list view. */ - public native int itemIndex(QListViewItem item); + public native int itemIndex(TQListViewItem item); /** Returns the item of <code>index</code> within the item tree or 0 if <code>index</code> doesn't exist in this list view. This function takes all items into account not only the visible ones. @short Returns the item of <code>index</code> within the item tree or 0 if <code>index</code> doesn't exist in this list view. */ - public native QListViewItem itemAtIndex(int index); + public native TQListViewItem itemAtIndex(int index); /** Let the last column fit exactly all the available width. @short Let the last column fit exactly all the available width. @@ -315,8 +315,8 @@ public class KListView extends QListView { Reimplemented for full width support @short Reimplemented for full width support */ - public native int addColumn(QIconSet iconset, String label, int width); - public native int addColumn(QIconSet iconset, String label); + public native int addColumn(TQIconSet iconset, String label, int width); + public native int addColumn(TQIconSet iconset, String label); /** Reimplemented for full width support @short Reimplemented for full width support @@ -331,14 +331,14 @@ public class KListView extends QListView { @short sets the alternate background background color. @see #alternateBackground */ - public native void setAlternateBackground(QColor c); + public native void setAlternateBackground(TQColor c); /** @return the alternate background color @short @see #setAlternateBackground */ - public native QColor alternateBackground(); + public native TQColor alternateBackground(); /** Saves the list view's layout (column widtsh, column order, sort column) to a KConfig group @@ -380,7 +380,7 @@ public class KListView extends QListView { Reimplemented for internal reasons. @short Reimplemented for internal reasons. */ - public native void takeItem(QListViewItem i); + public native void takeItem(TQListViewItem i); /** Set to true if the currently sorted column should be drawn shaded. Defaults to true @param shadeSortColumn True if sort column should be shaded. @@ -398,7 +398,7 @@ public class KListView extends QListView { Rename column <code>c</code> of <code>item.</code> @short Rename column <code>c</code> of <code>item.</code> */ - public native void rename(QListViewItem item, int c); + public native void rename(TQListViewItem item, int c); /** By default, if you called setItemsRenameable(true), only the first column is renameable. @@ -466,7 +466,7 @@ public class KListView extends QListView { public native void setDropHighlighter(boolean b); /** Set the selection mode. - A different name was chosen to avoid API-clashes with QListView.setSelectionMode(). + A different name was chosen to avoid API-clashes with TQListView.setSelectionMode(). @short Set the selection mode. */ public native void setSelectionModeExt(int mode); @@ -482,32 +482,32 @@ public class KListView extends QListView { public native boolean tabOrderedRenaming(); /** Determine whether a drop on position <code>p</code> would count as - being above or below the QRect <code>rect.</code> + being above or below the TQRect <code>rect.</code> @param rect is the rectangle we examine. @param p is the point located in the rectangle, p is assumed to be in viewport coordinates. - @short Determine whether a drop on position <code>p</code> would count as being above or below the QRect <code>rect.</code> + @short Determine whether a drop on position <code>p</code> would count as being above or below the TQRect <code>rect.</code> */ - protected native boolean below(QRect rect, QPoint p); + protected native boolean below(TQRect rect, TQPoint p); /** - An overloaded version of below(QRect, QPoint). + An overloaded version of below(TQRect, TQPoint). It differs from the above only in what arguments it takes. @param i the item whose rect() is passed to the above function. @param p is translated from contents coordinates to viewport coordinates before being passed to the above function. - @short An overloaded version of below(QRect, QPoint). + @short An overloaded version of below(TQRect, TQPoint). */ - protected native boolean below(QListViewItem i, QPoint p); + protected native boolean below(TQListViewItem i, TQPoint p); /** Reimplemented to reload the alternate background in palette changes. @short Reimplemented to reload the alternate background in palette changes. */ - public native boolean event(QEvent arg1); + public native boolean event(TQEvent arg1); /** Emit signal executed. @short Emit signal executed. */ - protected native void emitExecute(QListViewItem item, QPoint pos, int c); + protected native void emitExecute(TQListViewItem item, TQPoint pos, int c); /** Reimplemented for internal reasons. Further reimplementations should call this function or else @@ -515,7 +515,7 @@ public class KListView extends QListView { The API is unaffected. @short Reimplemented for internal reasons. */ - protected native void focusInEvent(QFocusEvent fe); + protected native void focusInEvent(TQFocusEvent fe); /** Reimplemented for internal reasons. Further reimplementations should call this function or else @@ -523,7 +523,7 @@ public class KListView extends QListView { The API is unaffected. @short Reimplemented for internal reasons. */ - protected native void focusOutEvent(QFocusEvent fe); + protected native void focusOutEvent(TQFocusEvent fe); /** Reimplemented for internal reasons. Further reimplementations should call this function or else @@ -531,19 +531,19 @@ public class KListView extends QListView { The API is unaffected. @short Reimplemented for internal reasons. */ - protected native void leaveEvent(QEvent e); + protected native void leaveEvent(TQEvent e); /** @return the tooltip for <code>column</code> of <code>item.</code> @short */ - protected native String tooltip(QListViewItem item, int column); + protected native String tooltip(TQListViewItem item, int column); /** @return whether the tooltip for <code>column</code> of <code>item</code> shall be shown at point <code>pos.</code> @short */ - protected native boolean showTooltip(QListViewItem item, QPoint pos, int column); + protected native boolean showTooltip(TQListViewItem item, TQPoint pos, int column); /** Reimplemented for internal reasons. Further reimplementations should call this function or else @@ -551,7 +551,7 @@ public class KListView extends QListView { The API is unaffected. @short Reimplemented for internal reasons. */ - protected native void contentsDragMoveEvent(QDragMoveEvent event); + protected native void contentsDragMoveEvent(TQDragMoveEvent event); /** Reimplemented for internal reasons. Further reimplementations should call this function or else @@ -559,7 +559,7 @@ public class KListView extends QListView { The API is unaffected. @short Reimplemented for internal reasons. */ - protected native void contentsMousePressEvent(QMouseEvent e); + protected native void contentsMousePressEvent(TQMouseEvent e); /** Reimplemented for internal reasons. Further reimplementations should call this function or else @@ -567,7 +567,7 @@ public class KListView extends QListView { The API is unaffected. @short Reimplemented for internal reasons. */ - protected native void contentsMouseMoveEvent(QMouseEvent e); + protected native void contentsMouseMoveEvent(TQMouseEvent e); /** Reimplemented for internal reasons. Further reimplementations should call this function or else @@ -575,7 +575,7 @@ public class KListView extends QListView { The API is unaffected. @short Reimplemented for internal reasons. */ - protected native void contentsMouseDoubleClickEvent(QMouseEvent e); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); /** Reimplemented for internal reasons. Further reimplementations should call this function or else @@ -583,7 +583,7 @@ public class KListView extends QListView { The API is unaffected. @short Reimplemented for internal reasons. */ - protected native void contentsDragLeaveEvent(QDragLeaveEvent event); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent event); /** Reimplemented for internal reasons. Further reimplementations should call this function or else @@ -591,7 +591,7 @@ public class KListView extends QListView { The API is unaffected. @short Reimplemented for internal reasons. */ - protected native void contentsMouseReleaseEvent(QMouseEvent arg1); + protected native void contentsMouseReleaseEvent(TQMouseEvent arg1); /** Reimplemented for internal reasons. Further reimplementations should call this function or else @@ -599,7 +599,7 @@ public class KListView extends QListView { The API is unaffected. @short Reimplemented for internal reasons. */ - protected native void contentsDropEvent(QDropEvent arg1); + protected native void contentsDropEvent(TQDropEvent arg1); /** Reimplemented for internal reasons. Further reimplementations should call this function or else @@ -607,14 +607,14 @@ public class KListView extends QListView { The API is unaffected. @short Reimplemented for internal reasons. */ - protected native void contentsDragEnterEvent(QDragEnterEvent arg1); + protected native void contentsDragEnterEvent(TQDragEnterEvent arg1); /** @return a dragobject encoding the current selection. @short @see #setDragEnabled */ - protected native QDragObject dragObject(); + protected native TQDragObject dragObject(); /** @return true if the <code>event</code> provides some acceptable format. @@ -622,7 +622,7 @@ public class KListView extends QListView { @short */ - protected native boolean acceptDrag(QDropEvent event); + protected native boolean acceptDrag(TQDropEvent event); /** Paint the drag line. If painter is null, don't try to :) If after == 0 then the marker should be drawn at the top. @@ -630,14 +630,14 @@ public class KListView extends QListView { @short Paint the drag line. */ - protected native QRect drawDropVisualizer(QPainter p, QListViewItem parent, QListViewItem after); + protected native TQRect drawDropVisualizer(TQPainter p, TQListViewItem parent, TQListViewItem after); /** Paint the drag rectangle. If painter is null, don't try to :) @return the rectangle that you painted to. @short Paint the drag rectangle. */ - protected native QRect drawItemHighlighter(QPainter painter, QListViewItem item); + protected native TQRect drawItemHighlighter(TQPainter painter, TQListViewItem item); /** This method calls dragObject() and starts the drag. Reimplement it to do fancy stuff like setting a pixmap or @@ -652,7 +652,7 @@ public class KListView extends QListView { The API is unaffected. @short Reimplemented for internal reasons. */ - protected native void keyPressEvent(QKeyEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); /** Reimplemented for internal reasons. Further reimplementations should call this function or else @@ -660,7 +660,7 @@ public class KListView extends QListView { The API is unaffected. @short Reimplemented for internal reasons. */ - protected native void viewportPaintEvent(QPaintEvent arg1); + protected native void viewportPaintEvent(TQPaintEvent arg1); /** In FileManager selection mode: explicitly activate the mode in which the current item is automatically selected. @@ -684,7 +684,7 @@ public class KListView extends QListView { Reimplemented for setFullWidth() @short Reimplemented for setFullWidth() */ - protected native void viewportResizeEvent(QResizeEvent e); + protected native void viewportResizeEvent(TQResizeEvent e); /** Disable AutoSelection. This overrides the system wide setting for AutoSelection. Please don't call this unless you have good reasons to @@ -703,19 +703,19 @@ public class KListView extends QListView { Handle dropEvent when itemsMovable() is set to true. @short Handle dropEvent when itemsMovable() is set to true. */ - protected native void movableDropEvent(QListViewItem parent, QListViewItem afterme); + protected native void movableDropEvent(TQListViewItem parent, TQListViewItem afterme); /** - Where is the nearest QListViewItem that I'm going to drop? + Where is the nearest TQListViewItem that I'm going to drop? FIXME KDE 4.0: Make this method const so it can be called from an acceptDrag method without ugly casts - @short Where is the nearest QListViewItem that I'm going to drop? + @short Where is the nearest TQListViewItem that I'm going to drop? */ - protected native void findDrop(QPoint pos, QListViewItem parent, QListViewItem after); + protected native void findDrop(TQPoint pos, TQListViewItem parent, TQListViewItem after); /** A special keyPressEvent (for FileManager selection mode). @short A special keyPressEvent (for FileManager selection mode). */ - protected native void fileManagerKeyPressEvent(QKeyEvent arg1); + protected native void fileManagerKeyPressEvent(TQKeyEvent arg1); /** Convert the depth of an item into its indentation in pixels @short Convert the depth of an item into its indentation in pixels @@ -726,8 +726,8 @@ public class KListView extends QListView { @short Update internal settings whenever the global ones change. */ protected native void slotSettingsChanged(int arg1); - protected native void slotMouseButtonClicked(int btn, QListViewItem item, QPoint pos, int c); - protected native void doneEditing(QListViewItem item, int row); + protected native void slotMouseButtonClicked(int btn, TQListViewItem item, TQPoint pos, int c); + protected native void doneEditing(TQListViewItem item, int row); /** Repaint the rect where I was drawing the drop line. @short Repaint the rect where I was drawing the drop line. @@ -742,17 +742,17 @@ public class KListView extends QListView { Emit the contextMenu signal. This slot is for mouse actions. @short Emit the contextMenu signal. */ - protected native void emitContextMenu(QListViewItem arg1, QPoint arg2, int arg3); + protected native void emitContextMenu(TQListViewItem arg1, TQPoint arg2, int arg3); /** Emit the contextMenu signal. This slot is for key presses. @short Emit the contextMenu signal. */ - protected native void emitContextMenu(KListView arg1, QListViewItem arg2); + protected native void emitContextMenu(KListView arg1, TQListViewItem arg2); /** Accessory slot for AutoSelect @short Accessory slot for AutoSelect */ - protected native void slotOnItem(QListViewItem item); + protected native void slotOnItem(TQListViewItem item); /** Accessory slot for AutoSelect/ChangeCursorOverItem @short Accessory slot for AutoSelect/ChangeCursorOverItem diff --git a/kdejava/koala/org/kde/koala/KListViewItem.java b/kdejava/koala/org/kde/koala/KListViewItem.java index 2e510ce4..303f3ccf 100644 --- a/kdejava/koala/org/kde/koala/KListViewItem.java +++ b/kdejava/koala/org/kde/koala/KListViewItem.java @@ -2,212 +2,212 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QListViewItem; +import org.kde.qt.TQColor; +import org.kde.qt.TQListViewItem; import org.kde.qt.QtSupport; -import org.kde.qt.QListView; -import org.kde.qt.QPainter; -import org.kde.qt.QColorGroup; -import org.kde.qt.QListViewItem; +import org.kde.qt.TQListView; +import org.kde.qt.TQPainter; +import org.kde.qt.TQColorGroup; +import org.kde.qt.TQListViewItem; /** A listview item with support for alternate background colors. It is - a drop-in replacement for QListViewItem + a drop-in replacement for TQListViewItem @short listview item with alternate background color support. */ -public class KListViewItem extends QListViewItem { +public class KListViewItem extends TQListViewItem { protected KListViewItem(Class dummy){super((Class) null);} /** - constructors. The semantics remain as in QListViewItem. - Although they accept a QListViewItem as parent, please - don't mix KListViewItem (or subclasses) with QListViewItem + constructors. The semantics remain as in TQListViewItem. + Although they accept a TQListViewItem as parent, please + don't mix KListViewItem (or subclasses) with TQListViewItem (or subclasses). @short constructors. */ - public KListViewItem(QListView parent) { + public KListViewItem(TQListView parent) { super((Class) null); newKListViewItem(parent); } - private native void newKListViewItem(QListView parent); - public KListViewItem(QListViewItem parent) { + private native void newKListViewItem(TQListView parent); + public KListViewItem(TQListViewItem parent) { super((Class) null); newKListViewItem(parent); } - private native void newKListViewItem(QListViewItem parent); - public KListViewItem(QListView parent, QListViewItem after) { + private native void newKListViewItem(TQListViewItem parent); + public KListViewItem(TQListView parent, TQListViewItem after) { super((Class) null); newKListViewItem(parent,after); } - private native void newKListViewItem(QListView parent, QListViewItem after); - public KListViewItem(QListViewItem parent, QListViewItem after) { + private native void newKListViewItem(TQListView parent, TQListViewItem after); + public KListViewItem(TQListViewItem parent, TQListViewItem after) { super((Class) null); newKListViewItem(parent,after); } - private native void newKListViewItem(QListViewItem parent, QListViewItem after); - public KListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + private native void newKListViewItem(TQListViewItem parent, TQListViewItem after); + public KListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { super((Class) null); newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); } - private native void newKListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public KListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + private native void newKListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public KListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { super((Class) null); newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); } - private native void newKListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public KListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { + private native void newKListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public KListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { super((Class) null); newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); } - private native void newKListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); - public KListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6) { + private native void newKListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); + public KListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6) { super((Class) null); newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6); } - private native void newKListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6); - public KListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5) { + private native void newKListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6); + public KListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5) { super((Class) null); newKListViewItem(parent,arg2,arg3,arg4,arg5); } - private native void newKListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5); - public KListViewItem(QListView parent, String arg2, String arg3, String arg4) { + private native void newKListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5); + public KListViewItem(TQListView parent, String arg2, String arg3, String arg4) { super((Class) null); newKListViewItem(parent,arg2,arg3,arg4); } - private native void newKListViewItem(QListView parent, String arg2, String arg3, String arg4); - public KListViewItem(QListView parent, String arg2, String arg3) { + private native void newKListViewItem(TQListView parent, String arg2, String arg3, String arg4); + public KListViewItem(TQListView parent, String arg2, String arg3) { super((Class) null); newKListViewItem(parent,arg2,arg3); } - private native void newKListViewItem(QListView parent, String arg2, String arg3); - public KListViewItem(QListView parent, String arg2) { + private native void newKListViewItem(TQListView parent, String arg2, String arg3); + public KListViewItem(TQListView parent, String arg2) { super((Class) null); newKListViewItem(parent,arg2); } - private native void newKListViewItem(QListView parent, String arg2); - public KListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + private native void newKListViewItem(TQListView parent, String arg2); + public KListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { super((Class) null); newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); } - private native void newKListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public KListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + private native void newKListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public KListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { super((Class) null); newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); } - private native void newKListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public KListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { + private native void newKListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public KListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { super((Class) null); newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); } - private native void newKListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); - public KListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6) { + private native void newKListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); + public KListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6) { super((Class) null); newKListViewItem(parent,arg2,arg3,arg4,arg5,arg6); } - private native void newKListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6); - public KListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5) { + private native void newKListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6); + public KListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5) { super((Class) null); newKListViewItem(parent,arg2,arg3,arg4,arg5); } - private native void newKListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5); - public KListViewItem(QListViewItem parent, String arg2, String arg3, String arg4) { + private native void newKListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5); + public KListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4) { super((Class) null); newKListViewItem(parent,arg2,arg3,arg4); } - private native void newKListViewItem(QListViewItem parent, String arg2, String arg3, String arg4); - public KListViewItem(QListViewItem parent, String arg2, String arg3) { + private native void newKListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4); + public KListViewItem(TQListViewItem parent, String arg2, String arg3) { super((Class) null); newKListViewItem(parent,arg2,arg3); } - private native void newKListViewItem(QListViewItem parent, String arg2, String arg3); - public KListViewItem(QListViewItem parent, String arg2) { + private native void newKListViewItem(TQListViewItem parent, String arg2, String arg3); + public KListViewItem(TQListViewItem parent, String arg2) { super((Class) null); newKListViewItem(parent,arg2); } - private native void newKListViewItem(QListViewItem parent, String arg2); - public KListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { + private native void newKListViewItem(TQListViewItem parent, String arg2); + public KListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { super((Class) null); newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); } - private native void newKListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); - public KListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); + public KListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { super((Class) null); newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); } - private native void newKListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public KListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public KListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { super((Class) null); newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); } - private native void newKListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public KListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { + private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public KListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { super((Class) null); newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); } - private native void newKListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); - public KListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6) { + private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); + public KListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6) { super((Class) null); newKListViewItem(parent,after,arg3,arg4,arg5,arg6); } - private native void newKListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6); - public KListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5) { + private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6); + public KListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5) { super((Class) null); newKListViewItem(parent,after,arg3,arg4,arg5); } - private native void newKListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5); - public KListViewItem(QListView parent, QListViewItem after, String arg3, String arg4) { + private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5); + public KListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4) { super((Class) null); newKListViewItem(parent,after,arg3,arg4); } - private native void newKListViewItem(QListView parent, QListViewItem after, String arg3, String arg4); - public KListViewItem(QListView parent, QListViewItem after, String arg3) { + private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4); + public KListViewItem(TQListView parent, TQListViewItem after, String arg3) { super((Class) null); newKListViewItem(parent,after,arg3); } - private native void newKListViewItem(QListView parent, QListViewItem after, String arg3); - public KListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { + private native void newKListViewItem(TQListView parent, TQListViewItem after, String arg3); + public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { super((Class) null); newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); } - private native void newKListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); - public KListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); + public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { super((Class) null); newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); } - private native void newKListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public KListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { super((Class) null); newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); } - private native void newKListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public KListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { + private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { super((Class) null); newKListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); } - private native void newKListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); - public KListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6) { + private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); + public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6) { super((Class) null); newKListViewItem(parent,after,arg3,arg4,arg5,arg6); } - private native void newKListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6); - public KListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5) { + private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6); + public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5) { super((Class) null); newKListViewItem(parent,after,arg3,arg4,arg5); } - private native void newKListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5); - public KListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4) { + private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5); + public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4) { super((Class) null); newKListViewItem(parent,after,arg3,arg4); } - private native void newKListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4); - public KListViewItem(QListViewItem parent, QListViewItem after, String arg3) { + private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4); + public KListViewItem(TQListViewItem parent, TQListViewItem after, String arg3) { super((Class) null); newKListViewItem(parent,after,arg3); } - private native void newKListViewItem(QListViewItem parent, QListViewItem after, String arg3); - public native void insertItem(QListViewItem item); - public native void takeItem(QListViewItem item); + private native void newKListViewItem(TQListViewItem parent, TQListViewItem after, String arg3); + public native void insertItem(TQListViewItem item); + public native void takeItem(TQListViewItem item); /** returns true if this item is to be drawn with the alternate background @short returns true if this item is to be drawn with the alternate background @@ -221,8 +221,8 @@ public class KListViewItem extends QListViewItem { ### only 1 column @short returns the background color for this item at given column This can be different in the column which is sorted due to shading ### could be merged with above (column = -1) to be source compatible ### but will only work if sort-shading is not used or the listView has ### only 1 column */ - public native QColor backgroundColor(int column); - public native void paintCell(QPainter p, QColorGroup cg, int column, int width, int alignment); + public native TQColor backgroundColor(int column); + public native void paintCell(TQPainter p, TQColorGroup cg, int column, int width, int alignment); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KListViewSignals.java b/kdejava/koala/org/kde/koala/KListViewSignals.java index 48cc3ee2..76254966 100644 --- a/kdejava/koala/org/kde/koala/KListViewSignals.java +++ b/kdejava/koala/org/kde/koala/KListViewSignals.java @@ -1,26 +1,26 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QRect; -import org.kde.qt.QListViewItem; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQRect; +import org.kde.qt.TQListViewItem; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QPoint; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QPainter; -import org.kde.qt.QDragLeaveEvent; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QDragObject; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQPoint; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQPainter; +import org.kde.qt.TQDragLeaveEvent; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQDragObject; public interface KListViewSignals { /** @@ -28,11 +28,11 @@ public interface KListViewSignals { That means depending on the KDE wide Single Click/Double Click setting the user clicked or double clicked on that item. @param item is the pointer to the executed listview item. - Note that you may not delete any QListViewItem objects in slots + Note that you may not delete any TQListViewItem objects in slots connected to this signal. @short This signal is emitted whenever the user executes an listview item. */ - void executed(QListViewItem item); + void executed(TQListViewItem item); /** This signal is emitted whenever the user executes an listview item. That means depending on the KDE wide Single Click/Double Click @@ -40,11 +40,11 @@ public interface KListViewSignals { @param item is the pointer to the executed listview item. @param pos is the position where the user has clicked @param c is the column into which the user clicked. - Note that you may not delete any QListViewItem objects in slots + Note that you may not delete any TQListViewItem objects in slots connected to this signal. @short This signal is emitted whenever the user executes an listview item. */ - void executed(QListViewItem item, QPoint pos, int c); + void executed(TQListViewItem item, TQPoint pos, int c); /** This signal gets emitted whenever something acceptable is dropped onto the listview. @@ -54,7 +54,7 @@ public interface KListViewSignals { @short This signal gets emitted whenever something acceptable is dropped onto the listview. @see #acceptDrop */ - void dropped(QDropEvent e, QListViewItem after); + void dropped(TQDropEvent e, TQListViewItem after); /** This signal gets emitted whenever something acceptable is dropped onto the listview. @@ -66,7 +66,7 @@ public interface KListViewSignals { the drop was above all items @short This signal gets emitted whenever something acceptable is dropped onto the listview. */ - void dropped(KListView list, QDropEvent e, QListViewItem after); + void dropped(KListView list, TQDropEvent e, TQListViewItem after); /** This signal gets emitted whenever something acceptable is dropped onto the listview. @@ -79,7 +79,7 @@ public interface KListViewSignals { the drop was above all items @short This signal gets emitted whenever something acceptable is dropped onto the listview. */ - void dropped(KListView list, QDropEvent e, QListViewItem parent, QListViewItem after); + void dropped(KListView list, TQDropEvent e, TQListViewItem parent, TQListViewItem after); /** This signal gets emitted whenever something acceptable is dropped onto the listview. @@ -91,7 +91,7 @@ public interface KListViewSignals { the drop was above all items @short This signal gets emitted whenever something acceptable is dropped onto the listview. */ - void dropped(QDropEvent e, QListViewItem parent, QListViewItem after); + void dropped(TQDropEvent e, TQListViewItem parent, TQListViewItem after); /** This signal is emitted when ever the user moves an item in the list via DnD. @@ -121,8 +121,8 @@ public interface KListViewSignals { @param afterNow the item it's currently after. @short This signal is emitted when ever the user moves an item in the list via DnD. */ - void moved(QListViewItem item, QListViewItem afterFirst, QListViewItem afterNow); - // void moved(QPtrList<QListViewItem>& arg1,QPtrList<QListViewItem>& arg2,QPtrList<QListViewItem>& arg3); >>>> NOT CONVERTED + void moved(TQListViewItem item, TQListViewItem afterFirst, TQListViewItem afterNow); + // void moved(TQPtrList<TQListViewItem>& arg1,TQPtrList<TQListViewItem>& arg2,TQPtrList<TQListViewItem>& arg3); >>>> NOT CONVERTED /** This signal gets emitted when an item is renamed via in-place renaming. @param item is the renamed item. @@ -130,22 +130,22 @@ public interface KListViewSignals { @param col is the renamed column. @short This signal gets emitted when an item is renamed via in-place renaming. */ - void itemRenamed(QListViewItem item, String str, int col); + void itemRenamed(TQListViewItem item, String str, int col); /** Same as above, but without the extra information. @short Same as above, but without the extra information. */ - void itemRenamed(QListViewItem item); + void itemRenamed(TQListViewItem item); /** This signal is emitted when the shortcut key for popup-menus is pressed. Normally you should not use this, just connect a slot to signal - contextMenu (KListView, QListViewItem, QPoint) to correctly + contextMenu (KListView, TQListViewItem, TQPoint) to correctly handle showing context menus regardless of settings. @param list is this listview. @param item is the currentItem() at the time the key was pressed. May be null. @short This signal is emitted when the shortcut key for popup-menus is pressed. */ - void menuShortCutPressed(KListView list, QListViewItem item); + void menuShortCutPressed(KListView list, TQListViewItem item); /** This signal is emitted whenever a context-menu should be shown for item <code>i.</code> It automatically adjusts for all settings involved (Menu key, showMenuOnPress/Click). @@ -154,7 +154,7 @@ public interface KListViewSignals { @param p is the point at which the menu should be shown. @short This signal is emitted whenever a context-menu should be shown for item <code>i.</code> */ - void contextMenu(KListView l, QListViewItem i, QPoint p); - void itemAdded(QListViewItem item); - void itemRemoved(QListViewItem item); + void contextMenu(KListView l, TQListViewItem i, TQPoint p); + void itemAdded(TQListViewItem item); + void itemRemoved(TQListViewItem item); } diff --git a/kdejava/koala/org/kde/koala/KLocale.java b/kdejava/koala/org/kde/koala/KLocale.java index 3417d27a..beaf5dc4 100644 --- a/kdejava/koala/org/kde/koala/KLocale.java +++ b/kdejava/koala/org/kde/koala/KLocale.java @@ -5,7 +5,7 @@ import org.kde.qt.Qt; import org.kde.qt.QtSupport; import java.util.Calendar; import java.util.ArrayList; -import org.kde.qt.QTextCodec; +import org.kde.qt.TQTextCodec; import java.util.Date; /** @@ -461,16 +461,16 @@ public class KLocale implements QtSupport { @param str the string we want to convert. @param ok the booleanean that is set to false if it's not a valid date. If <code>ok</code> is 0, it will be ignored - @return The string converted to a QDate + @return The string converted to a TQDate - @short Converts a localized date string to a QDate. + @short Converts a localized date string to a TQDate. */ public native Calendar readDate(String str, boolean[] ok); public native Calendar readDate(String str); /** Converts a localized date string to a Calendar, using the specified format. You will usually not want to use this method. - @short Converts a localized date string to a QDate, using the specified format. + @short Converts a localized date string to a TQDate, using the specified format. */ public native Calendar readDate(String intstr, String fmt, boolean[] ok); public native Calendar readDate(String intstr, String fmt); @@ -482,9 +482,9 @@ public class KLocale implements QtSupport { @param flags whether the date string is to be in full format or in short format. @param ok the booleanean that is set to false if it's not a valid date. If <code>ok</code> is 0, it will be ignored - @return The string converted to a QDate + @return The string converted to a TQDate - @short Converts a localized date string to a QDate. + @short Converts a localized date string to a TQDate. */ public native Calendar readDate(String str, int flags, boolean[] ok); public native Calendar readDate(String str, int flags); @@ -496,9 +496,9 @@ public class KLocale implements QtSupport { @param str the string we want to convert. @param ok the booleanean that is set to false if it's not a valid time. If <code>ok</code> is 0, it will be ignored - @return The string converted to a QTime + @return The string converted to a TQTime - @short Converts a localized time string to a QTime. + @short Converts a localized time string to a TQTime. */ public native Date readTime(String str, boolean[] ok); public native Date readTime(String str); @@ -511,9 +511,9 @@ public class KLocale implements QtSupport { @param flags whether the time string is expected to contain seconds or not. @param ok the booleanean that is set to false if it's not a valid time. If <code>ok</code> is 0, it will be ignored - @return The string converted to a QTime + @return The string converted to a TQTime - @short Converts a localized time string to a QTime. + @short Converts a localized time string to a TQTime. */ public native Date readTime(String str, int flags, boolean[] ok); public native Date readTime(String str, int flags); @@ -582,14 +582,14 @@ public class KLocale implements QtSupport { @see #encoding @see #encodingMib */ - public native QTextCodec codecForEncoding(); + public native TQTextCodec codecForEncoding(); /** Returns the file encoding. @return The Mib of the file encoding @short Returns the file encoding. - @see org.kde.qt.QFile#encodeName - @see org.kde.qt.QFile#decodeName + @see org.kde.qt.TQFile#encodeName + @see org.kde.qt.TQFile#decodeName */ public native int fileEncodingMib(); /** @@ -849,14 +849,14 @@ public class KLocale implements QtSupport { public native void setCurrencySymbol(String symbol); /** Returns the preferred page size for printing. - @return The preferred page size, cast it to QPrinter.PageSize + @return The preferred page size, cast it to TQPrinter.PageSize @short Returns the preferred page size for printing. */ public native int pageSize(); /** Changes the preferred page size when printing. - @param paperFormat the new preferred page size in the format QPrinter.PageSize + @param paperFormat the new preferred page size in the format TQPrinter.PageSize @short Changes the preferred page size when printing. */ public native void setPageSize(int paperFormat); @@ -898,10 +898,10 @@ public class KLocale implements QtSupport { */ public native void setActiveCatalogue(String catalog); /** - Translates a message as a QTranslator is supposed to. + Translates a message as a TQTranslator is supposed to. The parameters are similar to i18n(), but the result value has other semantics (it can be null) - @short Translates a message as a QTranslator is supposed to. + @short Translates a message as a TQTranslator is supposed to. */ public native String translateQt(String context, String sourceText, String message); /** diff --git a/kdejava/koala/org/kde/koala/KMD5.java b/kdejava/koala/org/kde/koala/KMD5.java index dd338f13..5e8e0bcb 100644 --- a/kdejava/koala/org/kde/koala/KMD5.java +++ b/kdejava/koala/org/kde/koala/KMD5.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QIODevice; -import org.kde.qt.QIODeviceInterface; +import org.kde.qt.TQIODevice; +import org.kde.qt.TQIODeviceInterface; /** @@ -102,14 +102,14 @@ public class KMD5 implements QtSupport { public native void update(byte[] in); /** @overload - reads the data from an I/O device, i.e. from a file (QFile). + reads the data from an I/O device, i.e. from a file (TQFile). NOTE that the file must be open for reading. @param file a pointer to FILE as returned by calls like f{d,re}open @return false if an error occurred during reading. @short @overload */ - public native boolean update(QIODevice file); + public native boolean update(TQIODevice file); /** Calling this function will reset the calculated message digest. Use this method to perform another message digest calculation diff --git a/kdejava/koala/org/kde/koala/KMainWindow.java b/kdejava/koala/org/kde/koala/KMainWindow.java index 1088910d..e11119bb 100644 --- a/kdejava/koala/org/kde/koala/KMainWindow.java +++ b/kdejava/koala/org/kde/koala/KMainWindow.java @@ -2,19 +2,19 @@ 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.QCloseEvent; -import org.kde.qt.QPixmap; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QSize; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQSize; import java.util.ArrayList; -import org.kde.qt.QWidget; -import org.kde.qt.QDomElement; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QChildEvent; -import org.kde.qt.QMainWindow; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDomElement; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQChildEvent; +import org.kde.qt.TQMainWindow; /** @@ -57,7 +57,7 @@ import org.kde.qt.QMainWindow; @see KApplication */ -public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, KXMLGUIClientInterface { +public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface, KXMLGUIClientInterface { protected KMainWindow(Class dummy){super((Class) null);} /** Flags that can be passed in an argument to the constructor to @@ -81,7 +81,7 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, public static final int Save = 8; public static final int Create = 16; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a main window. @@ -111,21 +111,21 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, @short Construct a main window. @see #http://doc#trolltech#com/3#2/qt#html#WidgetFlags-enum */ - public KMainWindow(QWidget parent, String name, int f) { + public KMainWindow(TQWidget parent, String name, int f) { super((Class) null); newKMainWindow(parent,name,f); } - private native void newKMainWindow(QWidget parent, String name, int f); - public KMainWindow(QWidget parent, String name) { + private native void newKMainWindow(TQWidget parent, String name, int f); + public KMainWindow(TQWidget parent, String name) { super((Class) null); newKMainWindow(parent,name); } - private native void newKMainWindow(QWidget parent, String name); - public KMainWindow(QWidget parent) { + private native void newKMainWindow(TQWidget parent, String name); + public KMainWindow(TQWidget parent) { super((Class) null); newKMainWindow(parent); } - private native void newKMainWindow(QWidget parent); + private native void newKMainWindow(TQWidget parent); public KMainWindow() { super((Class) null); newKMainWindow(); @@ -135,21 +135,21 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, Overloaded constructor which allows passing some KMainWindow.CreationFlags. @short Overloaded constructor which allows passing some KMainWindow.CreationFlags. */ - public KMainWindow(int cflags, QWidget parent, String name, int f) { + public KMainWindow(int cflags, TQWidget parent, String name, int f) { super((Class) null); newKMainWindow(cflags,parent,name,f); } - private native void newKMainWindow(int cflags, QWidget parent, String name, int f); - public KMainWindow(int cflags, QWidget parent, String name) { + private native void newKMainWindow(int cflags, TQWidget parent, String name, int f); + public KMainWindow(int cflags, TQWidget parent, String name) { super((Class) null); newKMainWindow(cflags,parent,name); } - private native void newKMainWindow(int cflags, QWidget parent, String name); - public KMainWindow(int cflags, QWidget parent) { + private native void newKMainWindow(int cflags, TQWidget parent, String name); + public KMainWindow(int cflags, TQWidget parent) { super((Class) null); newKMainWindow(cflags,parent); } - private native void newKMainWindow(int cflags, QWidget parent); + private native void newKMainWindow(int cflags, TQWidget parent); public KMainWindow(int cflags) { super((Class) null); newKMainWindow(cflags); @@ -202,13 +202,13 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, public native KPopupMenu customHelpMenu(boolean showWhatsThis); public native KPopupMenu customHelpMenu(); /** - Reimplementation of QMainWindow.show() - @short Reimplementation of QMainWindow.show() + Reimplementation of TQMainWindow.show() + @short Reimplementation of TQMainWindow.show() */ public native void show(); /** - Reimplementation of QMainWindow.hide() - @short Reimplementation of QMainWindow.hide() + Reimplementation of TQMainWindow.hide() + @short Reimplementation of TQMainWindow.hide() */ public native void hide(); /** @@ -236,7 +236,7 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, @param xmlfile The local xmlfile (relative or absolute) @param _conserveMemory Specify whether createGUI() should call KXMLGUIClient.conserveMemory() to free all memory - allocated by the QDomDocument and by the KXMLGUIFactory. + allocated by the TQDomDocument and by the KXMLGUIFactory. @short Create a GUI given a local XML file. */ public native void createGUI(String xmlfile, boolean _conserveMemory); @@ -293,7 +293,7 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, @short */ - // QPtrListIterator<KToolBar> toolBarIterator(); >>>> NOT CONVERTED + // TQPtrListIterator<KToolBar> toolBarIterator(); >>>> NOT CONVERTED /** @return A KAccel instance bound to this mainwindow. Used automatically by KAction to make keybindings work in all cases. @@ -325,9 +325,9 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, - Put the setAutoSaveSettings ( or setupGUI() ) call after all widgets have been created and placed inside the main window (i.e. for 99% of apps setCentralWidget()) - - Widgets that inherit from QWidget (like game boards) should overload - "QSize sizeHint() const;" to specify a default size rather - than letting QWidget.adjust use the default size of 0x0. + - Widgets that inherit from TQWidget (like game boards) should overload + "TQSize sizeHint() const;" to specify a default size rather + than letting TQWidget.adjust use the default size of 0x0. @short Call this to enable "auto-save" of toolbar/menubar/statusbar settings (and optionally window size). */ public native void setAutoSaveSettings(String groupName, boolean saveWindowSize); @@ -432,9 +432,9 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, @short Configures the current windows and its actions in the typical KDE fashion. @see StandardWindowOptions */ - public native void setupGUI(QSize defaultSize, int options, String xmlfile); - public native void setupGUI(QSize defaultSize, int options); - public native void setupGUI(QSize defaultSize); + public native void setupGUI(TQSize defaultSize, int options, String xmlfile); + public native void setupGUI(TQSize defaultSize, int options); + public native void setupGUI(TQSize defaultSize); /** Returns a pointer to the mainwindows action responsible for the toolbars menu @short Returns a pointer to the mainwindows action responsible for the toolbars menu @@ -464,7 +464,7 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, /** @short */ - public native void setIcon(QPixmap arg1); + public native void setIcon(TQPixmap arg1); /** Show a standard configure toolbar dialog. This slot can be connected dirrectly to the action to configure shortcuts. @@ -512,7 +512,7 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, Example (adding a help button to the first toolbar): <pre> KIconLoader &loader = KGlobal.iconLoader(); - QPixmap pixmap = loader.loadIcon( "help" ); + TQPixmap pixmap = loader.loadIcon( "help" ); toolBar(0).insertButton( pixmap, 0, SIGNAL("clicked()"), this, SLOT("appHelpActivated()"), true, i18n("Help") ); </pre> @@ -559,7 +559,7 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, // create default application as usual } </pre> - Note that QWidget.show() is called implicitly in restore. + Note that TQWidget.show() is called implicitly in restore. With this you can easily restore all toplevel windows of your application. If your application uses different kinds of toplevel @@ -609,10 +609,10 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, List of members of KMainWindow class. @short List of members of KMainWindow class. */ - // QPtrList<KMainWindow>* getMemberList(); >>>> NOT CONVERTED - protected native void paintEvent(QPaintEvent e); - protected native void childEvent(QChildEvent e); - protected native void resizeEvent(QResizeEvent e); + // TQPtrList<KMainWindow>* getMemberList(); >>>> NOT CONVERTED + protected native void paintEvent(TQPaintEvent e); + protected native void childEvent(TQChildEvent e); + protected native void resizeEvent(TQResizeEvent e); /** Reimplemented to call the queryClose() and queryExit() handlers. We recommend that you reimplement the handlers rather than closeEvent(). @@ -620,7 +620,7 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, queryExit() running. @short Reimplemented to call the queryClose() and queryExit() handlers. */ - protected native void closeEvent(QCloseEvent arg1); + protected native void closeEvent(TQCloseEvent arg1); /** Called before the very last window is closed, either by the user or indirectly by the session manager. @@ -775,7 +775,7 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, saving. Example: <pre> - void MyMainWindow.closeEvent( QCloseEvent e ) + void MyMainWindow.closeEvent( TQCloseEvent e ) { // Save settings if auto-save is enabled, and settings have changed if ( settingsDirty() && autoSaveSettings() ) @@ -798,7 +798,7 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, public native void setBuilderClient(KXMLGUIClientInterface client); public native KInstanceInterface builderInstance(); public native void setBuilderInstance(KInstanceInterface instance); - public native QWidget widget(); + public native TQWidget widget(); public native ArrayList containerTags(); /** Creates a container (menubar/menu/toolbar/statusbar/separator/...) @@ -812,16 +812,16 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, @param id The id to be used for this container @short Creates a container (menubar/menu/toolbar/statusbar/separator/. */ - public native QWidget createContainer(QWidget parent, int index, QDomElement element, int[] id); + public native TQWidget createContainer(TQWidget parent, int index, TQDomElement element, int[] id); /** Removes the given (and previously via createContainer ) created container. @short Removes the given (and previously via createContainer ) created container. */ - public native void removeContainer(QWidget container, QWidget parent, QDomElement element, int id); + public native void removeContainer(TQWidget container, TQWidget parent, TQDomElement element, int id); public native ArrayList customTags(); - public native int createCustomElement(QWidget parent, int index, QDomElement element); - public native void removeCustomElement(QWidget parent, int id); + public native int createCustomElement(TQWidget parent, int index, TQDomElement element); + public native void removeCustomElement(TQWidget parent, int id); /** Retrieves an action of the client by name. If not found, it looks in its child clients. This method is provided for convenience, as it uses actionCollection() @@ -830,21 +830,21 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, */ public native KAction action(String name); /** - Retrieves an action for a given QDomElement. The default + Retrieves an action for a given TQDomElement. The default implementation uses the "name" attribute to query the action object via the other action() method. - @short Retrieves an action for a given QDomElement. + @short Retrieves an action for a given TQDomElement. */ - public native KAction action(QDomElement element); + public native KAction action(TQDomElement element); /** Retrieves the entire action collection for the GUI client. If you subclass KXMLGUIClient you should call - KActionCollection.setWidget( QWidget ) with this object, or + KActionCollection.setWidget( TQWidget ) with this object, or you will encounter subtle bugs with KAction keyboard shortcuts. This is not necessary if your KXMLGUIClient is a KMainWindow. @short Retrieves the entire action collection for the GUI client. @see KActionCollection#setWidget( - @see org.kde.qt.QWidget* + @see org.kde.qt.TQWidget* */ public native KActionCollection actionCollection(); /** @@ -854,13 +854,13 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, */ public native KInstanceInterface instance(); /** - @return The parsed XML in a QDomDocument, set by + @return The parsed XML in a TQDomDocument, set by setXMLFile() or setXML(). This document describes the layout of the GUI. @short */ - public native QDomDocument domDocument(); + public native TQDomDocument domDocument(); /** This will return the name of the XML file as set by setXMLFile(). If setXML() is used directly, then this will return NULL. @@ -879,11 +879,11 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, /** @short */ - public native void setXMLGUIBuildDocument(QDomDocument doc); + public native void setXMLGUIBuildDocument(TQDomDocument doc); /** @short */ - public native QDomDocument xmlguiBuildDocument(); + public native TQDomDocument xmlguiBuildDocument(); /** This method is called by the KXMLGUIFactory as soon as the client is added to the KXMLGUIFactory's GUI. @@ -921,7 +921,7 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, Retrieves a list of all child clients. @short Retrieves a list of all child clients. */ - // const QPtrList<KXMLGUIClient>* childClients(); >>>> NOT CONVERTED + // const TQPtrList<KXMLGUIClient>* childClients(); >>>> NOT CONVERTED /** A client can have an own KXMLGUIBuilder. Use this method to assign your builder instance to the client (so that the @@ -969,7 +969,7 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, This tag will get expanded to a list of actions. In the example above ( a file manager with a dynamic file menu ), you would call <pre> - QPtrList<KAction> file_actions; + TQPtrList<KAction> file_actions; for( ... ) if( ... ) file_actions.append( cool_action ); @@ -985,7 +985,7 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, menu too.. @short ActionLists are a way for XMLGUI to support dynamic lists of actions. */ - // void plugActionList(const QString& arg1,const QPtrList<KAction>& arg2); >>>> NOT CONVERTED + // void plugActionList(const TQString& arg1,const TQPtrList<KAction>& arg2); >>>> NOT CONVERTED /** The complement of plugActionList() ... @short The complement of plugActionList() . @@ -993,10 +993,10 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, public native void unplugActionList(String name); public native void addStateActionEnabled(String state, String action); public native void addStateActionDisabled(String state, String action); - // KXMLGUIClient::StateChange getActionsToChangeForState(const QString& arg1); >>>> NOT CONVERTED - public native void beginXMLPlug(QWidget arg1); + // KXMLGUIClient::StateChange getActionsToChangeForState(const TQString& arg1); >>>> NOT CONVERTED + public native void beginXMLPlug(TQWidget arg1); public native void endXMLPlug(); - public native void prepareXMLUnplug(QWidget arg1); + public native void prepareXMLUnplug(TQWidget arg1); public static native String findMostRecentXMLFile(String[] files, StringBuffer doc); /** Sets the instance ( KInstance) for this part. @@ -1035,8 +1035,8 @@ public class KMainWindow extends QMainWindow implements KXMLGUIBuilderInterface, setXMLFile or setXML . @short Sets the Document for the part, describing the layout of the GUI. */ - protected native void setDOMDocument(QDomDocument document, boolean merge); - protected native void setDOMDocument(QDomDocument document); + protected native void setDOMDocument(TQDomDocument document, boolean merge); + protected native void setDOMDocument(TQDomDocument document); /** This function will attempt to give up some memory after the GUI is built. It should never be used in apps where the GUI may be diff --git a/kdejava/koala/org/kde/koala/KMdi.java b/kdejava/koala/org/kde/koala/KMdi.java index 1a6d37e6..a948d85a 100644 --- a/kdejava/koala/org/kde/koala/KMdi.java +++ b/kdejava/koala/org/kde/koala/KMdi.java @@ -12,16 +12,16 @@ import org.kde.qt.QtSupport; public class KMdi { /** extent Qt events @short extent Qt events - @see org.kde.qt.QCustomEvent - @see org.kde.qt.QEvent#User + @see org.kde.qt.TQCustomEvent + @see org.kde.qt.TQEvent#User @see <pre> @see #boolean @see B_MyWidget#event( - @see org.kde.qt.QEvent* + @see org.kde.qt.TQEvent* @see #e) @see #if( @see #e#type - @see org.kde.qt.QEvent#Type(QEvent#User + @see org.kde.qt.TQEvent#Type(TQEvent#User @see #int(KMdi#EV_Move))) @see </pre> */ diff --git a/kdejava/koala/org/kde/koala/KMdiChildArea.java b/kdejava/koala/org/kde/koala/KMdiChildArea.java index 61542b7f..677d57c1 100644 --- a/kdejava/koala/org/kde/koala/KMdiChildArea.java +++ b/kdejava/koala/org/kde/koala/KMdiChildArea.java @@ -2,15 +2,15 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QFrame; +import org.kde.qt.TQPoint; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQFrame; /** @@ -26,19 +26,19 @@ import org.kde.qt.QFrame; @short Internal class. */ -public class KMdiChildArea extends QFrame { +public class KMdiChildArea extends TQFrame { protected KMdiChildArea(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Consruction. Note: This class needn't to know about KMdiMainFrm . @short Consruction. */ - public KMdiChildArea(QWidget parent) { + public KMdiChildArea(TQWidget parent) { super((Class) null); newKMdiChildArea(parent); } - private native void newKMdiChildArea(QWidget parent); + private native void newKMdiChildArea(TQWidget parent); /** Appends a new KMdiChildFrm to this manager. The child is shown,raised and gets focus if this window has it. @@ -86,38 +86,38 @@ public class KMdiChildArea extends QFrame { @param indexOfWindow the index of the window in relation the z-ordered window list @short Calculates the cascade point for the given index. */ - public native QPoint getCascadePoint(int indexOfWindow); - public native QPoint getCascadePoint(); + public native TQPoint getCascadePoint(int indexOfWindow); + public native TQPoint getCascadePoint(); /** Sets the MDI childframe window caption font A relayout does not occur when using this function @short Sets the MDI childframe window caption font A relayout does not occur when using this function */ - public native void setMdiCaptionFont(QFont fnt); + public native void setMdiCaptionFont(TQFont fnt); /** Sets the foreground color of the active MDI childframe window caption A relayout does not occur when using this function @short Sets the foreground color of the active MDI childframe window caption A relayout does not occur when using this function */ - public native void setMdiCaptionActiveForeColor(QColor clr); + public native void setMdiCaptionActiveForeColor(TQColor clr); /** Sets the background color of the active MDI childframe window captions A relayout does not occur when using this function @short Sets the background color of the active MDI childframe window captions A relayout does not occur when using this function */ - public native void setMdiCaptionActiveBackColor(QColor clr); + public native void setMdiCaptionActiveBackColor(TQColor clr); /** Sets the foreground color of inactive MDI childframe window captions A relayout does not occur when using this function @short Sets the foreground color of inactive MDI childframe window captions A relayout does not occur when using this function */ - public native void setMdiCaptionInactiveForeColor(QColor clr); + public native void setMdiCaptionInactiveForeColor(TQColor clr); /** Sets the background color of inactive MDI childframe window captions A relayout does not occur when using this function @short Sets the background color of inactive MDI childframe window captions A relayout does not occur when using this function */ - public native void setMdiCaptionInactiveBackColor(QColor clr); + public native void setMdiCaptionInactiveBackColor(TQColor clr); /** Cascades all windows resizing them to the minimum size. @short Cascades all windows resizing them to the minimum size. @@ -173,12 +173,12 @@ public class KMdiChildArea extends QFrame { Automatically resizes a maximized MDI view and layouts the positions of minimized MDI views. @short Automatically resizes a maximized MDI view and layouts the positions of minimized MDI views. */ - protected native void resizeEvent(QResizeEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); /** Shows the 'Window' popup menu on right mouse button click @short Shows the 'Window' popup menu on right mouse button click */ - protected native void mousePressEvent(QMouseEvent e); + protected native void mousePressEvent(TQMouseEvent e); /** Internally used. Actions that are necessary when an MDI view gets minimized @short Internally used. diff --git a/kdejava/koala/org/kde/koala/KMdiChildAreaSignals.java b/kdejava/koala/org/kde/koala/KMdiChildAreaSignals.java index b3a15d57..7be1a1de 100644 --- a/kdejava/koala/org/kde/koala/KMdiChildAreaSignals.java +++ b/kdejava/koala/org/kde/koala/KMdiChildAreaSignals.java @@ -1,14 +1,14 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQPoint; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; public interface KMdiChildAreaSignals { /** @@ -32,7 +32,7 @@ public interface KMdiChildAreaSignals { Signals a KMdiMainFrm that the 'Window' popup menu must be shown @short Signals a KMdiMainFrm that the 'Window' popup menu must be shown */ - void popupWindowMenu(QPoint arg1); + void popupWindowMenu(TQPoint arg1); /** Signals that the last attached (docked) MDI view has been closed. Note: Detached MDI views can remain. diff --git a/kdejava/koala/org/kde/koala/KMdiChildFrm.java b/kdejava/koala/org/kde/koala/KMdiChildFrm.java index 5f991b77..10732335 100644 --- a/kdejava/koala/org/kde/koala/KMdiChildFrm.java +++ b/kdejava/koala/org/kde/koala/KMdiChildFrm.java @@ -2,26 +2,26 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QPoint; -import org.kde.qt.QFrame; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQPoint; +import org.kde.qt.TQFrame; /** @short Internal class. It's an MDI child frame widget. It contains a view widget and a frame caption. Usually you derive from its view. */ -public class KMdiChildFrm extends QFrame { +public class KMdiChildFrm extends TQFrame { protected KMdiChildFrm(Class dummy){super((Class) null);} public static final int Normal = 0; public static final int Maximized = 1; public static final int Minimized = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a new KMdiChildFrm class. @@ -40,18 +40,18 @@ public class KMdiChildFrm extends QFrame { Removes the event filter. @short Reparents the client widget to 0 (desktop), moves with an offset from the original position Removes the event filter. */ - public native void unsetClient(QPoint positionOffset); + public native void unsetClient(TQPoint positionOffset); public native void unsetClient(); /** Sets the window icon pointer. @short Sets the window icon pointer. */ - public native void setIcon(QPixmap pxm); + public native void setIcon(TQPixmap pxm); /** Returns the child frame icon. @short Returns the child frame icon. */ - public native QPixmap icon(); + public native TQPixmap icon(); /** Enables or disables the close button @short Enables or disables the close button @@ -82,17 +82,17 @@ public class KMdiChildFrm extends QFrame { Returns the inner client area of the parent of this (which is KMdiChildArea). @short Returns the inner client area of the parent of this (which is KMdiChildArea). */ - public native QRect mdiAreaContentsRect(); + public native TQRect mdiAreaContentsRect(); /** Returns the geometry that will be restored by calling restore(). @short Returns the geometry that will be restored by calling restore(). */ - public native QRect restoreGeometry(); + public native TQRect restoreGeometry(); /** Sets the geometry that will be restored by calling restore(). @short Sets the geometry that will be restored by calling restore(). */ - public native void setRestoreGeometry(QRect newRestGeo); + public native void setRestoreGeometry(TQRect newRestGeo); /** Forces updating the rects of the caption and so... It may be useful when setting the mdiCaptionFont of the MdiManager @@ -103,7 +103,7 @@ public class KMdiChildFrm extends QFrame { Returns the system menu. @short Returns the system menu. */ - public native QPopupMenu systemMenu(); + public native TQPopupMenu systemMenu(); /** Returns the caption bar height @short Returns the caption bar height diff --git a/kdejava/koala/org/kde/koala/KMdiChildFrmCaption.java b/kdejava/koala/org/kde/koala/KMdiChildFrmCaption.java index 6f78201c..ac0183c0 100644 --- a/kdejava/koala/org/kde/koala/KMdiChildFrmCaption.java +++ b/kdejava/koala/org/kde/koala/KMdiChildFrmCaption.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -12,9 +12,9 @@ import org.kde.qt.QWidget; @short Internal class. */ -public class KMdiChildFrmCaption extends QWidget { +public class KMdiChildFrmCaption extends TQWidget { protected KMdiChildFrmCaption(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor diff --git a/kdejava/koala/org/kde/koala/KMdiChildFrmDragBeginEvent.java b/kdejava/koala/org/kde/koala/KMdiChildFrmDragBeginEvent.java index b1186786..608ce164 100644 --- a/kdejava/koala/org/kde/koala/KMdiChildFrmDragBeginEvent.java +++ b/kdejava/koala/org/kde/koala/KMdiChildFrmDragBeginEvent.java @@ -3,14 +3,14 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QCustomEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQCustomEvent; /** - @short a QCustomEvent for begin of dragging This special event will be useful, to inform view about child frame event. + @short a TQCustomEvent for begin of dragging This special event will be useful, to inform view about child frame event. */ -public class KMdiChildFrmDragBeginEvent extends QCustomEvent { +public class KMdiChildFrmDragBeginEvent extends TQCustomEvent { protected KMdiChildFrmDragBeginEvent(Class dummy){super((Class) null);} } diff --git a/kdejava/koala/org/kde/koala/KMdiChildFrmDragEndEvent.java b/kdejava/koala/org/kde/koala/KMdiChildFrmDragEndEvent.java index c98c20c3..36eb389b 100644 --- a/kdejava/koala/org/kde/koala/KMdiChildFrmDragEndEvent.java +++ b/kdejava/koala/org/kde/koala/KMdiChildFrmDragEndEvent.java @@ -3,14 +3,14 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QCustomEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQCustomEvent; /** - @short a QCustomEvent for end of dragging This special event will be useful, to inform view about child frame event. + @short a TQCustomEvent for end of dragging This special event will be useful, to inform view about child frame event. */ -public class KMdiChildFrmDragEndEvent extends QCustomEvent { +public class KMdiChildFrmDragEndEvent extends TQCustomEvent { protected KMdiChildFrmDragEndEvent(Class dummy){super((Class) null);} } diff --git a/kdejava/koala/org/kde/koala/KMdiChildFrmMoveEvent.java b/kdejava/koala/org/kde/koala/KMdiChildFrmMoveEvent.java index 49fc668e..bd59b924 100644 --- a/kdejava/koala/org/kde/koala/KMdiChildFrmMoveEvent.java +++ b/kdejava/koala/org/kde/koala/KMdiChildFrmMoveEvent.java @@ -3,14 +3,14 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QMoveEvent; -import org.kde.qt.QCustomEvent; +import org.kde.qt.TQMoveEvent; +import org.kde.qt.TQCustomEvent; /** - @short a QCustomEvent for move This special event will be useful, to inform view about child frame event. + @short a TQCustomEvent for move This special event will be useful, to inform view about child frame event. */ -public class KMdiChildFrmMoveEvent extends QCustomEvent { +public class KMdiChildFrmMoveEvent extends TQCustomEvent { protected KMdiChildFrmMoveEvent(Class dummy){super((Class) null);} } diff --git a/kdejava/koala/org/kde/koala/KMdiChildFrmResizeBeginEvent.java b/kdejava/koala/org/kde/koala/KMdiChildFrmResizeBeginEvent.java index a0f6b2b5..3e925987 100644 --- a/kdejava/koala/org/kde/koala/KMdiChildFrmResizeBeginEvent.java +++ b/kdejava/koala/org/kde/koala/KMdiChildFrmResizeBeginEvent.java @@ -3,14 +3,14 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QCustomEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQCustomEvent; /** - @short a QCustomEvent for begin of resizing This special event will be useful, to inform view about child frame event. + @short a TQCustomEvent for begin of resizing This special event will be useful, to inform view about child frame event. */ -public class KMdiChildFrmResizeBeginEvent extends QCustomEvent { +public class KMdiChildFrmResizeBeginEvent extends TQCustomEvent { protected KMdiChildFrmResizeBeginEvent(Class dummy){super((Class) null);} } diff --git a/kdejava/koala/org/kde/koala/KMdiChildFrmResizeEndEvent.java b/kdejava/koala/org/kde/koala/KMdiChildFrmResizeEndEvent.java index c8d34879..df29e75d 100644 --- a/kdejava/koala/org/kde/koala/KMdiChildFrmResizeEndEvent.java +++ b/kdejava/koala/org/kde/koala/KMdiChildFrmResizeEndEvent.java @@ -3,14 +3,14 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QCustomEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQCustomEvent; /** - @short a QCustomEvent for end of resizing This special event will be useful, to inform view about child frame event. + @short a TQCustomEvent for end of resizing This special event will be useful, to inform view about child frame event. */ -public class KMdiChildFrmResizeEndEvent extends QCustomEvent { +public class KMdiChildFrmResizeEndEvent extends TQCustomEvent { protected KMdiChildFrmResizeEndEvent(Class dummy){super((Class) null);} } diff --git a/kdejava/koala/org/kde/koala/KMdiChildView.java b/kdejava/koala/org/kde/koala/KMdiChildView.java index 9bb47bf0..b4caa8fe 100644 --- a/kdejava/koala/org/kde/koala/KMdiChildView.java +++ b/kdejava/koala/org/kde/koala/KMdiChildView.java @@ -2,18 +2,18 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QCloseEvent; -import org.kde.qt.QPixmap; +import org.kde.qt.TQObject; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQPixmap; import java.util.Calendar; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQWidget; /** @@ -33,14 +33,14 @@ import org.kde.qt.QWidget; </pre> or you wrap them by a KMdiChildView somehow like this: <pre> - void DocViewMan.addKMdiFrame(QWidget pNewView, boolean bShow, QPixmap icon) + void DocViewMan.addKMdiFrame(TQWidget pNewView, boolean bShow, TQPixmap icon) { // cover it by a KMdi childview and add that MDI system KMdiChildView pMDICover = new KMdiChildView( pNewView.caption()); pMDICover.setIcon(icon); m_MDICoverList.append( pMDICover); - QBoxLayout pLayout = new QHBoxLayout( pMDICover, 0, -1, "layout"); - pNewView.reparent( pMDICover, QPoint(0,0)); + TQBoxLayout pLayout = new TQHBoxLayout( pMDICover, 0, -1, "layout"); + pNewView.reparent( pMDICover, TQPoint(0,0)); pLayout.addWidget( pNewView); pMDICover.setName( pNewView.name()); // captions @@ -60,7 +60,7 @@ import org.kde.qt.QWidget; flags = KMdi.Hide; } // set the accelerators for Toplevel MDI mode (each toplevel window needs its own accels - connect( m_pParent, SIGNAL("childViewIsDetachedNow(QWidget)"), this, SLOT("initKeyAccel(QWidget)") ); + connect( m_pParent, SIGNAL("childViewIsDetachedNow(TQWidget)"), this, SLOT("initKeyAccel(TQWidget)") ); m_pParent.addWindow( pMDICover, flags); // correct the default settings of KMdi ('cause we haven't a tab order for subwidget focuses) pMDICover.setFirstFocusableChildWidget(null); @@ -71,29 +71,29 @@ import org.kde.qt.QWidget; @short Base class for all your special view windows. */ -public class KMdiChildView extends QWidget { +public class KMdiChildView extends TQWidget { protected KMdiChildView(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor @short Constructor */ - public KMdiChildView(String caption, QWidget parentWidget, String name, int f) { + public KMdiChildView(String caption, TQWidget parentWidget, String name, int f) { super((Class) null); newKMdiChildView(caption,parentWidget,name,f); } - private native void newKMdiChildView(String caption, QWidget parentWidget, String name, int f); - public KMdiChildView(String caption, QWidget parentWidget, String name) { + private native void newKMdiChildView(String caption, TQWidget parentWidget, String name, int f); + public KMdiChildView(String caption, TQWidget parentWidget, String name) { super((Class) null); newKMdiChildView(caption,parentWidget,name); } - private native void newKMdiChildView(String caption, QWidget parentWidget, String name); - public KMdiChildView(String caption, QWidget parentWidget) { + private native void newKMdiChildView(String caption, TQWidget parentWidget, String name); + public KMdiChildView(String caption, TQWidget parentWidget) { super((Class) null); newKMdiChildView(caption,parentWidget); } - private native void newKMdiChildView(String caption, QWidget parentWidget); + private native void newKMdiChildView(String caption, TQWidget parentWidget); public KMdiChildView(String caption) { super((Class) null); newKMdiChildView(caption); @@ -104,21 +104,21 @@ public class KMdiChildView extends QWidget { sets "Unnamed" as default caption @short Constructor sets "Unnamed" as default caption */ - public KMdiChildView(QWidget parentWidget, String name, int f) { + public KMdiChildView(TQWidget parentWidget, String name, int f) { super((Class) null); newKMdiChildView(parentWidget,name,f); } - private native void newKMdiChildView(QWidget parentWidget, String name, int f); - public KMdiChildView(QWidget parentWidget, String name) { + private native void newKMdiChildView(TQWidget parentWidget, String name, int f); + public KMdiChildView(TQWidget parentWidget, String name) { super((Class) null); newKMdiChildView(parentWidget,name); } - private native void newKMdiChildView(QWidget parentWidget, String name); - public KMdiChildView(QWidget parentWidget) { + private native void newKMdiChildView(TQWidget parentWidget, String name); + public KMdiChildView(TQWidget parentWidget) { super((Class) null); newKMdiChildView(parentWidget); } - private native void newKMdiChildView(QWidget parentWidget); + private native void newKMdiChildView(TQWidget parentWidget); public KMdiChildView() { super((Class) null); newKMdiChildView(); @@ -138,17 +138,17 @@ public class KMdiChildView extends QWidget { Memorizes the first focusable child widget of this widget @short Memorizes the first focusable child widget of this widget */ - public native void setFirstFocusableChildWidget(QWidget arg1); + public native void setFirstFocusableChildWidget(TQWidget arg1); /** Memorizes the last focusable child widget of this widget @short Memorizes the last focusable child widget of this widget */ - public native void setLastFocusableChildWidget(QWidget arg1); + public native void setLastFocusableChildWidget(TQWidget arg1); /** Returns the current focused child widget of this widget @short Returns the current focused child widget of this widget */ - public native QWidget focusedChildWidget(); + public native TQWidget focusedChildWidget(); /** Returns true if the MDI view is a child window within the MDI mainframe widget or false if the MDI view is in toplevel mode @@ -199,38 +199,38 @@ public class KMdiChildView extends QWidget { */ public native boolean isMaximized(); /** - Returns the geometry of this MDI child window as QWidget.geometry() does. - @short Returns the geometry of this MDI child window as QWidget.geometry() does. + Returns the geometry of this MDI child window as TQWidget.geometry() does. + @short Returns the geometry of this MDI child window as TQWidget.geometry() does. */ - public native QRect internalGeometry(); + public native TQRect internalGeometry(); /** Sets the geometry of the client area of this MDI child window. The top left position of the argument is the position of the top left point of the client area in its parent coordinates and the arguments width and height is the width and height of the client area. Please note: This - differs from the behavior of QWidget.setGeometry()! + differs from the behavior of TQWidget.setGeometry()! @short Sets the geometry of the client area of this MDI child window. */ - public native void setInternalGeometry(QRect newGeomety); + public native void setInternalGeometry(TQRect newGeomety); /** Returns the frame geometry of this window or of the parent if there is any... @short Returns the frame geometry of this window or of the parent if there is any. */ - public native QRect externalGeometry(); + public native TQRect externalGeometry(); /** Sets the geometry of the frame of this MDI child window. The top left position of the argument is the position of the top left point of the frame in its parent coordinates and the arguments width and height is the width and height of the widget frame. Please note: This differs - from the behavior of QWidget.setGeometry()! + from the behavior of TQWidget.setGeometry()! @short Sets the geometry of the frame of this MDI child window. */ - public native void setExternalGeometry(QRect newGeomety); + public native void setExternalGeometry(TQRect newGeomety); /** You should override this function in the derived class. @short You should override this function in the derived class. */ - public native QPixmap myIconPtr(); + public native TQPixmap myIconPtr(); /** Minimizes this window when it is attached to the Mdi manager. Otherwise has no effect @@ -247,12 +247,12 @@ public class KMdiChildView extends QWidget { Returns the geometry that will be restored by calling restore(). @short Returns the geometry that will be restored by calling restore(). */ - public native QRect restoreGeometry(); + public native TQRect restoreGeometry(); /** Sets the geometry that will be restored by calling restore(). @short Sets the geometry that will be restored by calling restore(). */ - public native void setRestoreGeometry(QRect newRestGeo); + public native void setRestoreGeometry(TQRect newRestGeo); /** Switches interposing in event loop of all current child widgets off. @short Switches interposing in event loop of all current child widgets off. @@ -309,14 +309,14 @@ public class KMdiChildView extends QWidget { /** Mimimizes the MDI view. If attached, the covering childframe widget is minimized (only a mini widget showing the caption bar and the system buttons will remain visible). If detached, it will use the - minimize of the underlying system ( QWidget.showMinimized ). + minimize of the underlying system ( TQWidget.showMinimized ). @short Mimimizes the MDI view. */ public native void minimize(); /** Maximizes the MDI view. If attached, this widget will fill the whole MDI view area widget. The system buttons move to the main menubar (if set by KMdiMainFrm.setMenuForSDIModeSysButtons ). - If detached, it will use the minimize of the underlying system ( QWidget.showMaximized ). + If detached, it will use the minimize of the underlying system ( TQWidget.showMaximized ). @short Maximizes the MDI view. */ public native void maximize(); @@ -348,18 +348,18 @@ public class KMdiChildView extends QWidget { */ public native void slot_clickedInDockMenu(); /** - Calls QWidget.show but also for it's parent widget if attached - @short Calls QWidget.show but also for it's parent widget if attached + Calls TQWidget.show but also for it's parent widget if attached + @short Calls TQWidget.show but also for it's parent widget if attached */ public native void show(); /** - Calls QWidget.hide() or it's parent widget hide() if attached - @short Calls QWidget.hide() or it's parent widget hide() if attached + Calls TQWidget.hide() or it's parent widget hide() if attached + @short Calls TQWidget.hide() or it's parent widget hide() if attached */ public native void hide(); /** - Calls QWidget.raise() or it's parent widget raise() if attached - @short Calls QWidget.raise() or it's parent widget raise() if attached + Calls TQWidget.raise() or it's parent widget raise() if attached + @short Calls TQWidget.raise() or it's parent widget raise() if attached */ public native void raise(); /** @@ -385,15 +385,15 @@ public class KMdiChildView extends QWidget { mainframe has control over the views. Therefore the MDI view has to request the mainframe for a close. @short Ignores the event and calls KMdiMainFrm.childWindowCloseRequest instead. */ - protected native void closeEvent(QCloseEvent e); + protected native void closeEvent(TQCloseEvent e); /** - It only catches QEvent.KeyPress events there. If a Qt.Key_Tab is pressed, the internal MDI focus + It only catches TQEvent.KeyPress events there. If a Qt.Key_Tab is pressed, the internal MDI focus handling is called. That means if the last focusable child widget of this is called, it will jump to the first focusable child widget of this. See KMdiChildView.setFirstFocusableChildWidget and KMdiChildView.lastFirstFocusableChildWidget - @short It only catches QEvent.KeyPress events there. + @short It only catches TQEvent.KeyPress events there. */ - public native boolean eventFilter(QObject arg1, QEvent e); + public native boolean eventFilter(TQObject arg1, TQEvent e); /** If attached, the childframe will be activated and the MDI taskbar button will be pressed. Additionally, the memorized old focused child widget of this is focused again. @@ -401,18 +401,18 @@ public class KMdiChildView extends QWidget { gotFocus signal after changing the focus. @short If attached, the childframe will be activated and the MDI taskbar button will be pressed. */ - protected native void focusInEvent(QFocusEvent e); + protected native void focusInEvent(TQFocusEvent e); /** Send the lostFocus signal @short Send the lostFocus signal */ - protected native void focusOutEvent(QFocusEvent e); + protected native void focusOutEvent(TQFocusEvent e); /** Internally used for the minimize/maximize/restore mechanism when in attach mode. @short Internally used for the minimize/maximize/restore mechanism when in attach mode. */ - protected native void resizeEvent(QResizeEvent e); - protected native void trackIconAndCaptionChanges(QWidget view); + protected native void resizeEvent(TQResizeEvent e); + protected native void trackIconAndCaptionChanges(TQWidget view); protected native void slot_childDestroyed(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KMdiChildViewSignals.java b/kdejava/koala/org/kde/koala/KMdiChildViewSignals.java index 9531d399..e8619aab 100644 --- a/kdejava/koala/org/kde/koala/KMdiChildViewSignals.java +++ b/kdejava/koala/org/kde/koala/KMdiChildViewSignals.java @@ -1,17 +1,17 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QCloseEvent; -import org.kde.qt.QPixmap; +import org.kde.qt.TQObject; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQPixmap; import java.util.Calendar; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; public interface KMdiChildViewSignals { /** @@ -110,6 +110,6 @@ public interface KMdiChildViewSignals { @short Signals this has been detached */ void isDetachedNow(); - void iconUpdated(QWidget arg1, QPixmap arg2); - void captionUpdated(QWidget arg1, String arg2); + void iconUpdated(TQWidget arg1, TQPixmap arg2); + void captionUpdated(TQWidget arg1, String arg2); } diff --git a/kdejava/koala/org/kde/koala/KMdiMainFrm.java b/kdejava/koala/org/kde/koala/KMdiMainFrm.java index 5fae8021..240544bc 100644 --- a/kdejava/koala/org/kde/koala/KMdiMainFrm.java +++ b/kdejava/koala/org/kde/koala/KMdiMainFrm.java @@ -2,24 +2,24 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QPoint; -import org.kde.qt.QSize; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQPoint; +import org.kde.qt.TQSize; import java.util.ArrayList; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; /** \short Base class for all your special main frames. - It contains the child frame area (QMainWindow's central widget) and a child view taskbar + It contains the child frame area (TQMainWindow's central widget) and a child view taskbar for switching the MDI views. Most methods are functions for later overriding. Basically, this class provides functionality for docking/undocking view windows and manages the taskbar. Usually a developer will only need to know about this class and @@ -55,7 +55,7 @@ import org.kde.qt.QResizeEvent; setMenuForSDIModeSysButtons( menuBar() ); } ... - void B_MainModuleWidget.resizeEvent ( QResizeEvent e ) + void B_MainModuleWidget.resizeEvent ( TQResizeEvent e ) { KMdiMainFrm.resizeEvent( e ); setSysButtonsAtMenuPosition(); @@ -142,7 +142,7 @@ import org.kde.qt.QResizeEvent; } else { - m_pMdiMainFrm.addWindow( pWnd, QPoint(20, 20), KMdi.AddWindowFlags(mdiFlags)); + m_pMdiMainFrm.addWindow( pWnd, TQPoint(20, 20), KMdi.AddWindowFlags(mdiFlags)); return; } m_pMdiMainFrm.addWindow( pWnd, KMdi.AddWindowFlags(mdiFlags)); @@ -157,28 +157,28 @@ public class KMdiMainFrm extends DockMainWindow { public static final int ToolView = 1; public static final int AnyView = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KMdiMainFrm(QWidget parentWidget, String name, int mdiMode, int flags) { + public KMdiMainFrm(TQWidget parentWidget, String name, int mdiMode, int flags) { super((Class) null); newKMdiMainFrm(parentWidget,name,mdiMode,flags); } - private native void newKMdiMainFrm(QWidget parentWidget, String name, int mdiMode, int flags); - public KMdiMainFrm(QWidget parentWidget, String name, int mdiMode) { + private native void newKMdiMainFrm(TQWidget parentWidget, String name, int mdiMode, int flags); + public KMdiMainFrm(TQWidget parentWidget, String name, int mdiMode) { super((Class) null); newKMdiMainFrm(parentWidget,name,mdiMode); } - private native void newKMdiMainFrm(QWidget parentWidget, String name, int mdiMode); - public KMdiMainFrm(QWidget parentWidget, String name) { + private native void newKMdiMainFrm(TQWidget parentWidget, String name, int mdiMode); + public KMdiMainFrm(TQWidget parentWidget, String name) { super((Class) null); newKMdiMainFrm(parentWidget,name); } - private native void newKMdiMainFrm(QWidget parentWidget, String name); - public KMdiMainFrm(QWidget parentWidget) { + private native void newKMdiMainFrm(TQWidget parentWidget, String name); + public KMdiMainFrm(TQWidget parentWidget) { super((Class) null); newKMdiMainFrm(parentWidget); } - private native void newKMdiMainFrm(QWidget parentWidget); + private native void newKMdiMainFrm(TQWidget parentWidget); /** Control whether or not the standard MDI menu is displayed when a context menu is displayed @@ -210,15 +210,15 @@ public class KMdiMainFrm extends DockMainWindow { menu called Operations. @short Returns a popup menu filled according to the MDI view state. */ - public native QPopupMenu taskBarPopup(KMdiChildView pWnd, boolean bIncludeWindowPopup); - public native QPopupMenu taskBarPopup(KMdiChildView pWnd); + public native TQPopupMenu taskBarPopup(KMdiChildView pWnd, boolean bIncludeWindowPopup); + public native TQPopupMenu taskBarPopup(KMdiChildView pWnd); /** Returns a popup menu with only a title "Window". You can fill it with own operations entries on the MDI view. This popup menu is inserted as last menu item in taskBarPopup() . @short Returns a popup menu with only a title "Window". */ - public native QPopupMenu windowPopup(KMdiChildView pWnd, boolean bIncludeTaskbarPopup); - public native QPopupMenu windowPopup(KMdiChildView pWnd); + public native TQPopupMenu windowPopup(KMdiChildView pWnd, boolean bIncludeTaskbarPopup); + public native TQPopupMenu windowPopup(KMdiChildView pWnd); /** Called in the constructor (forces a resize of all MDI views) @short Called in the constructor (forces a resize of all MDI views) @@ -243,10 +243,10 @@ public class KMdiMainFrm extends DockMainWindow { You see, a close() is translated to a closeWindow() . It is necessary that the main frame has to start an MDI view close action because it must remove the MDI view from MDI control, additionally. - This method calls QMainWindow.event , additionally. + This method calls TQMainWindow.event , additionally. @short Catches certain Qt events and processes it here. */ - public native boolean event(QEvent e); + public native boolean event(TQEvent e); /** If there's a main menubar given, it will create the 4 maximize mode buttons there (undock, minimize, restore, close). @short If there's a main menubar given, it will create the 4 maximize mode buttons there (undock, minimize, restore, close). @@ -262,7 +262,7 @@ public class KMdiMainFrm extends DockMainWindow { is visually moved on the desktop by this offset. @short Sets an offset value that is used on detachWindow() . */ - public native void setUndockPositioningOffset(QPoint offset); + public native void setUndockPositioningOffset(TQPoint offset); /** If you don't want to know about the inner structure of the KMdi system, you can use this iterator to handle with the MDI view list in a more abstract way. @@ -281,28 +281,28 @@ public class KMdiMainFrm extends DockMainWindow { Usually, you insert this popup menu in your main menubar as "Window" menu. @short Returns a popup menu that contains the MDI controlled view list. */ - public native QPopupMenu windowMenu(); + public native TQPopupMenu windowMenu(); /** Sets a background color for the MDI view area widget. @short Sets a background color for the MDI view area widget. */ - public native void setBackgroundColor(QColor c); + public native void setBackgroundColor(TQColor c); /** Sets a background pixmap for the MDI view area widget. @short Sets a background pixmap for the MDI view area widget. */ - public native void setBackgroundPixmap(QPixmap pm); + public native void setBackgroundPixmap(TQPixmap pm); /** Sets a size that is used as the default size for a newly to the MDI system added KMdiChildView . By default this size is 600x400. So all non-resized added MDI views appear in that size. @short Sets a size that is used as the default size for a newly to the MDI system added KMdiChildView . */ - public native void setDefaultChildFrmSize(QSize sz); + public native void setDefaultChildFrmSize(TQSize sz); /** Returns the default size for a newly added KMdiChildView. See setDefaultChildFrmSize() . @short Returns the default size for a newly added KMdiChildView. */ - public native QSize defaultChildFrmSize(); + public native TQSize defaultChildFrmSize(); /** Do nothing when in Toplevel mode @short Do nothing when in Toplevel mode @@ -314,11 +314,11 @@ public class KMdiMainFrm extends DockMainWindow { */ public native int childFrameModeHeight(); /** - Tells the MDI system a QMenu where it can insert buttons for + Tells the MDI system a TQMenu where it can insert buttons for the system menu, undock, minimize, restore actions. If no such menu is given, KMdi simply overlays the buttons at the upper right-hand side of the main widget. - @short Tells the MDI system a QMenu where it can insert buttons for the system menu, undock, minimize, restore actions. + @short Tells the MDI system a TQMenu where it can insert buttons for the system menu, undock, minimize, restore actions. */ public native void setMenuForSDIModeSysButtons(KMenuBar menuBar); public native void setMenuForSDIModeSysButtons(); @@ -345,18 +345,18 @@ public class KMdiMainFrm extends DockMainWindow { @short */ public native boolean isFakingSDIApplication(); - public native boolean eventFilter(QObject arg1, QEvent e); - // void findRootDockWidgets(QPtrList<KDockWidget>* arg1,QValueList<QRect>* arg2); >>>> NOT CONVERTED + public native boolean eventFilter(TQObject arg1, TQEvent e); + // void findRootDockWidgets(TQPtrList<KDockWidget>* arg1,TQValueList<TQRect>* arg2); >>>> NOT CONVERTED /** We're switching something. @short We're switching something. */ public native void setSwitching(boolean switching); public native boolean switching(); /** - addWindow demands a KMdiChildView. This method wraps every QWidget in such an object and + addWindow demands a KMdiChildView. This method wraps every TQWidget in such an object and this way you can put every widget under MDI control. @short addWindow demands a KMdiChildView. */ - public native KMdiChildView createWrapper(QWidget view, String name, String shortName); + public native KMdiChildView createWrapper(TQWidget view, String name, String shortName); /** Adds a KMdiChildView to the MDI system. The main frame takes control of it. \param pWnd the parent view. @@ -398,8 +398,8 @@ public class KMdiMainFrm extends DockMainWindow { added as document-type view. @short Adds a KMdiChildView to the MDI system. */ - public native void addWindow(KMdiChildView pWnd, QPoint pos, int flags); - public native void addWindow(KMdiChildView pWnd, QPoint pos); + public native void addWindow(KMdiChildView pWnd, TQPoint pos, int flags); + public native void addWindow(KMdiChildView pWnd, TQPoint pos); /** Adds a KMdiChildView to the MDI system. The main frame takes control of it. \param pWnd the parent view. @@ -412,20 +412,20 @@ public class KMdiMainFrm extends DockMainWindow { added as document-type view. @short Adds a KMdiChildView to the MDI system. */ - public native void addWindow(KMdiChildView pWnd, QRect rectNormal, int flags); - public native void addWindow(KMdiChildView pWnd, QRect rectNormal); + public native void addWindow(KMdiChildView pWnd, TQRect rectNormal, int flags); + public native void addWindow(KMdiChildView pWnd, TQRect rectNormal); /** Usually called from addWindow() when adding a tool view window. It reparents the given widget as toplevel and stay-on-top on the application's main widget. @short Usually called from addWindow() when adding a tool view window. */ - public native KMdiToolViewAccessor addToolWindow(QWidget pWnd, int pos, QWidget pTargetWnd, int percent, String tabToolTip, String tabCaption); - public native KMdiToolViewAccessor addToolWindow(QWidget pWnd, int pos, QWidget pTargetWnd, int percent, String tabToolTip); - public native KMdiToolViewAccessor addToolWindow(QWidget pWnd, int pos, QWidget pTargetWnd, int percent); - public native KMdiToolViewAccessor addToolWindow(QWidget pWnd, int pos, QWidget pTargetWnd); - public native KMdiToolViewAccessor addToolWindow(QWidget pWnd, int pos); - public native KMdiToolViewAccessor addToolWindow(QWidget pWnd); - public native void deleteToolWindow(QWidget pWnd); + public native KMdiToolViewAccessor addToolWindow(TQWidget pWnd, int pos, TQWidget pTargetWnd, int percent, String tabToolTip, String tabCaption); + public native KMdiToolViewAccessor addToolWindow(TQWidget pWnd, int pos, TQWidget pTargetWnd, int percent, String tabToolTip); + public native KMdiToolViewAccessor addToolWindow(TQWidget pWnd, int pos, TQWidget pTargetWnd, int percent); + public native KMdiToolViewAccessor addToolWindow(TQWidget pWnd, int pos, TQWidget pTargetWnd); + public native KMdiToolViewAccessor addToolWindow(TQWidget pWnd, int pos); + public native KMdiToolViewAccessor addToolWindow(TQWidget pWnd); + public native void deleteToolWindow(TQWidget pWnd); public native void deleteToolWindow(KMdiToolViewAccessor accessor); /** Using this method you have to use the setWidget method of the access object, and it is very recommendet, that you use @@ -614,7 +614,7 @@ public class KMdiMainFrm extends DockMainWindow { @short */ public static native int frameDecorOfAttachedViews(); - protected native void resizeEvent(QResizeEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); /** Creates a new MDI taskbar (showing the MDI views as taskbar entries) and shows it. @short Creates a new MDI taskbar (showing the MDI views as taskbar entries) and shows it. @@ -631,8 +631,8 @@ public class KMdiMainFrm extends DockMainWindow { @short prevents fillWindowMenu() from m_pWindowMenu.clear(). */ protected native void blockClearingOfWindowMenu(boolean bBlocked); - // void findToolViewsDockedToMain(QPtrList<KDockWidget>* arg1,KDockWidget::DockPosition arg2); >>>> NOT CONVERTED - // void dockToolViewsIntoContainers(QPtrList<KDockWidget>& arg1,KDockWidget* arg2); >>>> NOT CONVERTED + // void findToolViewsDockedToMain(TQPtrList<KDockWidget>* arg1,KDockWidget::DockPosition arg2); >>>> NOT CONVERTED + // void dockToolViewsIntoContainers(TQPtrList<KDockWidget>& arg1,KDockWidget* arg2); >>>> NOT CONVERTED protected native ArrayList prepareIdealToTabs(KDockWidget container); protected native void idealToolViewsToStandardTabs(String[] widgetNames, int pos, int sizee); /** Get tabwidget visibility @short Get tabwidget visibility @@ -679,7 +679,7 @@ public class KMdiMainFrm extends DockMainWindow { Popups the "Window" menu. See also windowPopup() . @short Popups the "Window" menu. */ - protected native void popupWindowMenu(QPoint p); + protected native void popupWindowMenu(TQPoint p); /** The timer for main widget moving has elapsed . send drag end to all concerned views. @short The timer for main widget moving has elapsed . send drag end to all concerned views. diff --git a/kdejava/koala/org/kde/koala/KMdiMainFrmSignals.java b/kdejava/koala/org/kde/koala/KMdiMainFrmSignals.java index e5330772..0b729117 100644 --- a/kdejava/koala/org/kde/koala/KMdiMainFrmSignals.java +++ b/kdejava/koala/org/kde/koala/KMdiMainFrmSignals.java @@ -1,19 +1,19 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QPoint; -import org.kde.qt.QSize; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQPoint; +import org.kde.qt.TQSize; import java.util.ArrayList; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; public interface KMdiMainFrmSignals { /** @@ -35,7 +35,7 @@ public interface KMdiMainFrmSignals { Signals that a child view has been detached (undocked to desktop) @short Signals that a child view has been detached (undocked to desktop) */ - void childViewIsDetachedNow(QWidget arg1); + void childViewIsDetachedNow(TQWidget arg1); /** Signals we need to collapse the overlapped containers @short Signals we need to collapse the overlapped containers */ void collapseOverlapContainers(); diff --git a/kdejava/koala/org/kde/koala/KMdiTaskBar.java b/kdejava/koala/org/kde/koala/KMdiTaskBar.java index b8eec373..85f14541 100644 --- a/kdejava/koala/org/kde/koala/KMdiTaskBar.java +++ b/kdejava/koala/org/kde/koala/KMdiTaskBar.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQResizeEvent; /** - It's a special kind of QToolBar that acts as taskbar for child views. + It's a special kind of TQToolBar that acts as taskbar for child views. KMdiTaskBarButtons can be added or removed dynamically.<br> The button sizes are adjusted dynamically, as well. @short Internal class. @@ -16,11 +16,11 @@ import org.kde.qt.QResizeEvent; */ public class KMdiTaskBar extends KToolBar { protected KMdiTaskBar(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** - Constructor (NoFocus, minimum width = 1, an internal QPtrList of taskbar buttons (autodelete)) - @short Constructor (NoFocus, minimum width = 1, an internal QPtrList of taskbar buttons (autodelete)) + Constructor (NoFocus, minimum width = 1, an internal TQPtrList of taskbar buttons (autodelete)) + @short Constructor (NoFocus, minimum width = 1, an internal TQPtrList of taskbar buttons (autodelete)) */ public KMdiTaskBar(KMdiMainFrm parent, int dock) { super((Class) null); @@ -73,7 +73,7 @@ public class KMdiTaskBar extends KToolBar { Reimplemented from its base class to call layoutTaskBar, additionally. @short Reimplemented from its base class to call layoutTaskBar, additionally. */ - protected native void resizeEvent(QResizeEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); /** Checks if all buttons fits into this. If not, it recalculates all button widths in a way that all buttons fits into the taskbar and have got equal width. diff --git a/kdejava/koala/org/kde/koala/KMdiTaskBarButton.java b/kdejava/koala/org/kde/koala/KMdiTaskBarButton.java index 86a74b7f..1566cf5e 100644 --- a/kdejava/koala/org/kde/koala/KMdiTaskBarButton.java +++ b/kdejava/koala/org/kde/koala/KMdiTaskBarButton.java @@ -2,22 +2,22 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QPushButton; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQPushButton; /** - It's a special kind of QPushButton catching mouse clicks. + It's a special kind of TQPushButton catching mouse clicks. And you have the ability to abbreviate the text that it fits in the button. See {@link KMdiTaskBarButtonSignals} for signals emitted by KMdiTaskBarButton @short Internal class. */ -public class KMdiTaskBarButton extends QPushButton { +public class KMdiTaskBarButton extends TQPushButton { protected KMdiTaskBarButton(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor (sets to toggle button, adds a tooltip (caption) and sets to NoFocus @@ -52,7 +52,7 @@ public class KMdiTaskBarButton extends QPushButton { Reimplemented from its base class to catch right and left mouse button clicks @short Reimplemented from its base class to catch right and left mouse button clicks */ - protected native void mousePressEvent(QMouseEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KMdiTaskBarButtonSignals.java b/kdejava/koala/org/kde/koala/KMdiTaskBarButtonSignals.java index 0c5167df..3760ef8f 100644 --- a/kdejava/koala/org/kde/koala/KMdiTaskBarButtonSignals.java +++ b/kdejava/koala/org/kde/koala/KMdiTaskBarButtonSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QMouseEvent; +import org.kde.qt.TQMouseEvent; public interface KMdiTaskBarButtonSignals { /** diff --git a/kdejava/koala/org/kde/koala/KMdiToolViewAccessor.java b/kdejava/koala/org/kde/koala/KMdiToolViewAccessor.java index 205facae..c834464d 100644 --- a/kdejava/koala/org/kde/koala/KMdiToolViewAccessor.java +++ b/kdejava/koala/org/kde/koala/KMdiToolViewAccessor.java @@ -2,30 +2,30 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** */ -public class KMdiToolViewAccessor extends QObject { +public class KMdiToolViewAccessor extends TQObject { protected KMdiToolViewAccessor(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public native QWidget wrapperWidget(); - public native QWidget wrappedWidget(); - public native void place(int pos, QWidget pTargetWnd, int percent); - public native void place(int pos, QWidget pTargetWnd); + public native TQWidget wrapperWidget(); + public native TQWidget wrappedWidget(); + public native void place(int pos, TQWidget pTargetWnd, int percent); + public native void place(int pos, TQWidget pTargetWnd); public native void place(int pos); public native void place(); - public native void placeAndShow(int pos, QWidget pTargetWnd, int percent); - public native void placeAndShow(int pos, QWidget pTargetWnd); + public native void placeAndShow(int pos, TQWidget pTargetWnd, int percent); + public native void placeAndShow(int pos, TQWidget pTargetWnd); public native void placeAndShow(int pos); public native void placeAndShow(); public native void show(); - public native void setWidgetToWrap(QWidget widgetToWrap, String tabToolTip, String tabCaption); - public native void setWidgetToWrap(QWidget widgetToWrap, String tabToolTip); - public native void setWidgetToWrap(QWidget widgetToWrap); + public native void setWidgetToWrap(TQWidget widgetToWrap, String tabToolTip, String tabCaption); + public native void setWidgetToWrap(TQWidget widgetToWrap, String tabToolTip); + public native void setWidgetToWrap(TQWidget widgetToWrap); public native void hide(); } diff --git a/kdejava/koala/org/kde/koala/KMdiViewCloseEvent.java b/kdejava/koala/org/kde/koala/KMdiViewCloseEvent.java index 2e027618..2267193f 100644 --- a/kdejava/koala/org/kde/koala/KMdiViewCloseEvent.java +++ b/kdejava/koala/org/kde/koala/KMdiViewCloseEvent.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QCustomEvent; +import org.kde.qt.TQCustomEvent; /** @@ -11,7 +11,7 @@ import org.kde.qt.QCustomEvent; @short Internal class. */ -public class KMdiViewCloseEvent extends QCustomEvent { +public class KMdiViewCloseEvent extends TQCustomEvent { protected KMdiViewCloseEvent(Class dummy){super((Class) null);} public KMdiViewCloseEvent(KMdiChildView pWnd) { super((Class) null); diff --git a/kdejava/koala/org/kde/koala/KMdiWin32IconButton.java b/kdejava/koala/org/kde/koala/KMdiWin32IconButton.java index e1ae1a12..78fa9397 100644 --- a/kdejava/koala/org/kde/koala/KMdiWin32IconButton.java +++ b/kdejava/koala/org/kde/koala/KMdiWin32IconButton.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QLabel; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQLabel; /** @@ -14,21 +14,21 @@ import org.kde.qt.QLabel; @short Internal class, only used on Win32. This class provides a label widget that can process mouse click events. */ -public class KMdiWin32IconButton extends QLabel { +public class KMdiWin32IconButton extends TQLabel { protected KMdiWin32IconButton(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KMdiWin32IconButton(QWidget parent, String name) { + public KMdiWin32IconButton(TQWidget parent, String name) { super((Class) null); newKMdiWin32IconButton(parent,name); } - private native void newKMdiWin32IconButton(QWidget parent, String name); - public KMdiWin32IconButton(QWidget parent) { + private native void newKMdiWin32IconButton(TQWidget parent, String name); + public KMdiWin32IconButton(TQWidget parent) { super((Class) null); newKMdiWin32IconButton(parent); } - private native void newKMdiWin32IconButton(QWidget parent); - public native void mousePressEvent(QMouseEvent arg1); + private native void newKMdiWin32IconButton(TQWidget parent); + public native void mousePressEvent(TQMouseEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KMdiWin32IconButtonSignals.java b/kdejava/koala/org/kde/koala/KMdiWin32IconButtonSignals.java index 08265391..0f1d22c4 100644 --- a/kdejava/koala/org/kde/koala/KMdiWin32IconButtonSignals.java +++ b/kdejava/koala/org/kde/koala/KMdiWin32IconButtonSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; public interface KMdiWin32IconButtonSignals { void pressed(); diff --git a/kdejava/koala/org/kde/koala/KMenuBar.java b/kdejava/koala/org/kde/koala/KMenuBar.java index 9bad37e7..712c2c2a 100644 --- a/kdejava/koala/org/kde/koala/KMenuBar.java +++ b/kdejava/koala/org/kde/koala/KMenuBar.java @@ -2,24 +2,24 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QCloseEvent; -import org.kde.qt.QObject; -import org.kde.qt.QSize; -import org.kde.qt.QPainter; -import org.kde.qt.QShowEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QMenuBar; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQObject; +import org.kde.qt.TQSize; +import org.kde.qt.TQPainter; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQMenuBar; /** %KDE Style-able menubar. - This is required since QMenuBar is currently not handled by - QStyle. + This is retquired since TQMenuBar is currently not handled by + TQStyle. @author Daniel "Mosfet" Duley. @version $Id$ @@ -27,20 +27,20 @@ import org.kde.qt.QMenuBar; @short %KDE Style-able menubar. */ -public class KMenuBar extends QMenuBar { +public class KMenuBar extends TQMenuBar { protected KMenuBar(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KMenuBar(QWidget parent, String name) { + public KMenuBar(TQWidget parent, String name) { super((Class) null); newKMenuBar(parent,name); } - private native void newKMenuBar(QWidget parent, String name); - public KMenuBar(QWidget parent) { + private native void newKMenuBar(TQWidget parent, String name); + public KMenuBar(TQWidget parent) { super((Class) null); newKMenuBar(parent); } - private native void newKMenuBar(QWidget parent); + private native void newKMenuBar(TQWidget parent); public KMenuBar() { super((Class) null); newKMenuBar(); @@ -70,20 +70,20 @@ public class KMenuBar extends QMenuBar { @short Is our menubar a top-level (Macintosh style) menubar? */ public native boolean isTopLevelMenu(); - public native void setGeometry(QRect r); + public native void setGeometry(TQRect r); public native void setGeometry(int x, int y, int w, int h); public native void resize(int w, int h); - public native void resize(QSize s); + public native void resize(TQSize s); public native void show(); public native void setFrameStyle(int arg1); public native void setLineWidth(int arg1); public native void setMargin(int arg1); - public native QSize sizeHint(); - public native void showEvent(QShowEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - public native boolean eventFilter(QObject arg1, QEvent arg2); - protected native void closeEvent(QCloseEvent arg1); - protected native void drawContents(QPainter arg1); + public native TQSize sizeHint(); + public native void showEvent(TQShowEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + protected native void closeEvent(TQCloseEvent arg1); + protected native void drawContents(TQPainter arg1); protected native void slotReadConfig(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KMessageBox.java b/kdejava/koala/org/kde/koala/KMessageBox.java index 24287cf0..fcd90c4d 100644 --- a/kdejava/koala/org/kde/koala/KMessageBox.java +++ b/kdejava/koala/org/kde/koala/KMessageBox.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QWidget; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQWidget; /** @@ -79,16 +79,16 @@ public class KMessageBox implements QtSupport { @short Display a simple "question" dialog. */ - public static native int questionYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int questionYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int questionYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int questionYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes); - public static native int questionYesNo(QWidget parent, String text, String caption); - public static native int questionYesNo(QWidget parent, String text); + public static native int questionYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); + public static native int questionYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); + public static native int questionYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int questionYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes); + public static native int questionYesNo(TQWidget parent, String text, String caption); + public static native int questionYesNo(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int questionYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); public static native int questionYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); @@ -124,16 +124,16 @@ public class KMessageBox implements QtSupport { @short Display a simple "question" dialog. */ - public static native int questionYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int questionYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int questionYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int questionYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes); - public static native int questionYesNoCancel(QWidget parent, String text, String caption); - public static native int questionYesNoCancel(QWidget parent, String text); + public static native int questionYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); + public static native int questionYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); + public static native int questionYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int questionYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes); + public static native int questionYesNoCancel(TQWidget parent, String text, String caption); + public static native int questionYesNoCancel(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int questionYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); public static native int questionYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); @@ -172,16 +172,16 @@ public class KMessageBox implements QtSupport { @short Display a "question" dialog with a listbox to show information to the user */ - public static native int questionYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int questionYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int questionYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int questionYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes); - public static native int questionYesNoList(QWidget parent, String text, String[] strlist, String caption); - public static native int questionYesNoList(QWidget parent, String text, String[] strlist); + public static native int questionYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); + public static native int questionYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); + public static native int questionYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int questionYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes); + public static native int questionYesNoList(TQWidget parent, String text, String[] strlist, String caption); + public static native int questionYesNoList(TQWidget parent, String text, String[] strlist); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int questionYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); public static native int questionYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); @@ -217,16 +217,16 @@ public class KMessageBox implements QtSupport { @short Display a "warning" dialog. */ - public static native int warningYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNo(QWidget parent, String text, String caption, KGuiItem buttonYes); - public static native int warningYesNo(QWidget parent, String text, String caption); - public static native int warningYesNo(QWidget parent, String text); + public static native int warningYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); + public static native int warningYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); + public static native int warningYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int warningYesNo(TQWidget parent, String text, String caption, KGuiItem buttonYes); + public static native int warningYesNo(TQWidget parent, String text, String caption); + public static native int warningYesNo(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int warningYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); public static native int warningYesNoWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); @@ -265,16 +265,16 @@ public class KMessageBox implements QtSupport { @short Display a "warning" dialog with a listbox to show information to the user */ - public static native int warningYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNoList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes); - public static native int warningYesNoList(QWidget parent, String text, String[] strlist, String caption); - public static native int warningYesNoList(QWidget parent, String text, String[] strlist); + public static native int warningYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); + public static native int warningYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); + public static native int warningYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int warningYesNoList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes); + public static native int warningYesNoList(TQWidget parent, String text, String[] strlist, String caption); + public static native int warningYesNoList(TQWidget parent, String text, String[] strlist); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int warningYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); public static native int warningYesNoListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); @@ -308,15 +308,15 @@ public class KMessageBox implements QtSupport { @short Display a "warning" dialog. */ - public static native int warningContinueCancel(QWidget parent, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); - public static native int warningContinueCancel(QWidget parent, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName); - public static native int warningContinueCancel(QWidget parent, String text, String caption, KGuiItem buttonContinue); - public static native int warningContinueCancel(QWidget parent, String text, String caption); - public static native int warningContinueCancel(QWidget parent, String text); + public static native int warningContinueCancel(TQWidget parent, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); + public static native int warningContinueCancel(TQWidget parent, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName); + public static native int warningContinueCancel(TQWidget parent, String text, String caption, KGuiItem buttonContinue); + public static native int warningContinueCancel(TQWidget parent, String text, String caption); + public static native int warningContinueCancel(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int warningContinueCancelWId(long parent_id, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); public static native int warningContinueCancelWId(long parent_id, String text, String caption, KGuiItem buttonContinue, String dontAskAgainName); @@ -352,15 +352,15 @@ public class KMessageBox implements QtSupport { @short Display a "warning" dialog with a listbox to show information to the user. */ - public static native int warningContinueCancelList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); - public static native int warningContinueCancelList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName); - public static native int warningContinueCancelList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonContinue); - public static native int warningContinueCancelList(QWidget parent, String text, String[] strlist, String caption); - public static native int warningContinueCancelList(QWidget parent, String text, String[] strlist); + public static native int warningContinueCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); + public static native int warningContinueCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName); + public static native int warningContinueCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonContinue); + public static native int warningContinueCancelList(TQWidget parent, String text, String[] strlist, String caption); + public static native int warningContinueCancelList(TQWidget parent, String text, String[] strlist); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int warningContinueCancelListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName, int options); public static native int warningContinueCancelListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonContinue, String dontAskAgainName); @@ -399,16 +399,16 @@ public class KMessageBox implements QtSupport { @short Display a Yes/No/Cancel "warning" dialog. */ - public static native int warningYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNoCancel(QWidget parent, String text, String caption, KGuiItem buttonYes); - public static native int warningYesNoCancel(QWidget parent, String text, String caption); - public static native int warningYesNoCancel(QWidget parent, String text); + public static native int warningYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); + public static native int warningYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); + public static native int warningYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int warningYesNoCancel(TQWidget parent, String text, String caption, KGuiItem buttonYes); + public static native int warningYesNoCancel(TQWidget parent, String text, String caption); + public static native int warningYesNoCancel(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int warningYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); public static native int warningYesNoCancelWId(long parent_id, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); @@ -452,16 +452,16 @@ public class KMessageBox implements QtSupport { @short Display a Yes/No/Cancel "warning" dialog with a listbox to show information to the user. */ - public static native int warningYesNoCancelList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); - public static native int warningYesNoCancelList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); - public static native int warningYesNoCancelList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int warningYesNoCancelList(QWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes); - public static native int warningYesNoCancelList(QWidget parent, String text, String[] strlist, String caption); - public static native int warningYesNoCancelList(QWidget parent, String text, String[] strlist); + public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); + public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); + public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist, String caption, KGuiItem buttonYes); + public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist, String caption); + public static native int warningYesNoCancelList(TQWidget parent, String text, String[] strlist); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int warningYesNoCancelListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName, int options); public static native int warningYesNoCancelListWId(long parent_id, String text, String[] strlist, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontAskAgainName); @@ -487,13 +487,13 @@ public class KMessageBox implements QtSupport { NOTE: The OK button will always have the i18n'ed text '&OK'. @short Display an "Error" dialog. */ - public static native void error(QWidget parent, String text, String caption, int options); - public static native void error(QWidget parent, String text, String caption); - public static native void error(QWidget parent, String text); + public static native void error(TQWidget parent, String text, String caption, int options); + public static native void error(TQWidget parent, String text, String caption); + public static native void error(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void errorWId(long parent_id, String text, String caption, int options); public static native void errorWId(long parent_id, String text, String caption); @@ -519,13 +519,13 @@ public class KMessageBox implements QtSupport { NOTE: The OK button will always have the i18n'ed text '&OK'. @short Display an "Error" dialog with a listbox. */ - public static native void errorList(QWidget parent, String text, String[] strlist, String caption, int options); - public static native void errorList(QWidget parent, String text, String[] strlist, String caption); - public static native void errorList(QWidget parent, String text, String[] strlist); + public static native void errorList(TQWidget parent, String text, String[] strlist, String caption, int options); + public static native void errorList(TQWidget parent, String text, String[] strlist, String caption); + public static native void errorList(TQWidget parent, String text, String[] strlist); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void errorListWId(long parent_id, String text, String[] strlist, String caption, int options); public static native void errorListWId(long parent_id, String text, String[] strlist, String caption); @@ -551,13 +551,13 @@ public class KMessageBox implements QtSupport { NOTE: The OK button will always have the i18n'ed text '&OK'. @short Displays an "Error" dialog with a "Details >>" button. */ - public static native void detailedError(QWidget parent, String text, String details, String caption, int options); - public static native void detailedError(QWidget parent, String text, String details, String caption); - public static native void detailedError(QWidget parent, String text, String details); + public static native void detailedError(TQWidget parent, String text, String details, String caption, int options); + public static native void detailedError(TQWidget parent, String text, String details, String caption); + public static native void detailedError(TQWidget parent, String text, String details); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void detailedErrorWId(long parent_id, String text, String details, String caption, int options); public static native void detailedErrorWId(long parent_id, String text, String details, String caption); @@ -571,12 +571,12 @@ public class KMessageBox implements QtSupport { shown. @short Like detailedError */ - public static native void queuedDetailedError(QWidget parent, String text, String details, String caption); - public static native void queuedDetailedError(QWidget parent, String text, String details); + public static native void queuedDetailedError(TQWidget parent, String text, String details, String caption); + public static native void queuedDetailedError(TQWidget parent, String text, String details); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void queuedDetailedErrorWId(long parent_id, String text, String details, String caption); public static native void queuedDetailedErrorWId(long parent_id, String text, String details); @@ -597,13 +597,13 @@ public class KMessageBox implements QtSupport { NOTE: The ok button will always have the i18n'ed text '&OK'. @short Display an "Sorry" dialog. */ - public static native void sorry(QWidget parent, String text, String caption, int options); - public static native void sorry(QWidget parent, String text, String caption); - public static native void sorry(QWidget parent, String text); + public static native void sorry(TQWidget parent, String text, String caption, int options); + public static native void sorry(TQWidget parent, String text, String caption); + public static native void sorry(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void sorryWId(long parent_id, String text, String caption, int options); public static native void sorryWId(long parent_id, String text, String caption); @@ -630,13 +630,13 @@ public class KMessageBox implements QtSupport { NOTE: The ok button will always have the i18n'ed text '&OK'. @short Displays a "Sorry" dialog with a "Details >>" button. */ - public static native void detailedSorry(QWidget parent, String text, String details, String caption, int options); - public static native void detailedSorry(QWidget parent, String text, String details, String caption); - public static native void detailedSorry(QWidget parent, String text, String details); + public static native void detailedSorry(TQWidget parent, String text, String details, String caption, int options); + public static native void detailedSorry(TQWidget parent, String text, String details, String caption); + public static native void detailedSorry(TQWidget parent, String text, String details); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void detailedSorryWId(long parent_id, String text, String details, String caption, int options); public static native void detailedSorryWId(long parent_id, String text, String details, String caption); @@ -662,14 +662,14 @@ public class KMessageBox implements QtSupport { NOTE: The OK button will always have the i18n'ed text '&OK'. @short Display an "Information" dialog. */ - public static native void information(QWidget parent, String text, String caption, String dontShowAgainName, int options); - public static native void information(QWidget parent, String text, String caption, String dontShowAgainName); - public static native void information(QWidget parent, String text, String caption); - public static native void information(QWidget parent, String text); + public static native void information(TQWidget parent, String text, String caption, String dontShowAgainName, int options); + public static native void information(TQWidget parent, String text, String caption, String dontShowAgainName); + public static native void information(TQWidget parent, String text, String caption); + public static native void information(TQWidget parent, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void informationWId(long parent_id, String text, String caption, String dontShowAgainName, int options); public static native void informationWId(long parent_id, String text, String caption, String dontShowAgainName); @@ -699,14 +699,14 @@ public class KMessageBox implements QtSupport { NOTE: The OK button will always have the i18n'ed text '&OK'. @short Display an "Information" dialog with a listbox. */ - public static native void informationList(QWidget parent, String text, String[] strlist, String caption, String dontShowAgainName, int options); - public static native void informationList(QWidget parent, String text, String[] strlist, String caption, String dontShowAgainName); - public static native void informationList(QWidget parent, String text, String[] strlist, String caption); - public static native void informationList(QWidget parent, String text, String[] strlist); + public static native void informationList(TQWidget parent, String text, String[] strlist, String caption, String dontShowAgainName, int options); + public static native void informationList(TQWidget parent, String text, String[] strlist, String caption, String dontShowAgainName); + public static native void informationList(TQWidget parent, String text, String[] strlist, String caption); + public static native void informationList(TQWidget parent, String text, String[] strlist); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void informationListWId(long parent_id, String text, String[] strlist, String caption, String dontShowAgainName, int options); public static native void informationListWId(long parent_id, String text, String[] strlist, String caption, String dontShowAgainName); @@ -741,9 +741,9 @@ public class KMessageBox implements QtSupport { NOTE: The ok button will always have the i18n'ed text '&OK'. @short Display an "About" dialog. */ - public static native void about(QWidget parent, String text, String caption, int options); - public static native void about(QWidget parent, String text, String caption); - public static native void about(QWidget parent, String text); + public static native void about(TQWidget parent, String text, String caption, int options); + public static native void about(TQWidget parent, String text, String caption); + public static native void about(TQWidget parent, String text); /** Alternate method to show a messagebox: @param parent If <code>parent</code> is 0, then the message box becomes an @@ -769,8 +769,8 @@ public class KMessageBox implements QtSupport { @short Alternate method to show a messagebox: */ - public static native int messageBox(QWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName, int options); - public static native int messageBox(QWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName); + public static native int messageBox(TQWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName, int options); + public static native int messageBox(TQWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName); /** Alternate method to show a messagebox: @param parent If <code>parent</code> is 0, then the message box becomes an @@ -790,15 +790,15 @@ public class KMessageBox implements QtSupport { @short Alternate method to show a messagebox: */ - public static native int messageBox(QWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, int options); - public static native int messageBox(QWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); - public static native int messageBox(QWidget parent, int type, String text, String caption, KGuiItem buttonYes); - public static native int messageBox(QWidget parent, int type, String text, String caption); - public static native int messageBox(QWidget parent, int type, String text); + public static native int messageBox(TQWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, int options); + public static native int messageBox(TQWidget parent, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo); + public static native int messageBox(TQWidget parent, int type, String text, String caption, KGuiItem buttonYes); + public static native int messageBox(TQWidget parent, int type, String text, String caption); + public static native int messageBox(TQWidget parent, int type, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native int messageBoxWId(long parent_id, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName, int options); public static native int messageBoxWId(long parent_id, int type, String text, String caption, KGuiItem buttonYes, KGuiItem buttonNo, String dontShowAskAgainName); @@ -816,11 +816,11 @@ public class KMessageBox implements QtSupport { shown. @short Like messageBox */ - public static native void queuedMessageBox(QWidget parent, int type, String text, String caption, int options); + public static native void queuedMessageBox(TQWidget parent, int type, String text, String caption, int options); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void queuedMessageBoxWId(long parent_id, int type, String text, String caption, int options); /** @@ -829,12 +829,12 @@ public class KMessageBox implements QtSupport { It behaves essentially like the above function. @short @overload */ - public static native void queuedMessageBox(QWidget parent, int type, String text, String caption); - public static native void queuedMessageBox(QWidget parent, int type, String text); + public static native void queuedMessageBox(TQWidget parent, int type, String text, String caption); + public static native void queuedMessageBox(TQWidget parent, int type, String text); /** This function accepts the window id of the parent window, instead - of QWidget. It should be used only when necessary. - @short This function accepts the window id of the parent window, instead of QWidget . + of TQWidget. It should be used only when necessary. + @short This function accepts the window id of the parent window, instead of TQWidget . */ public static native void queuedMessageBoxWId(long parent_id, int type, String text, String caption); public static native void queuedMessageBoxWId(long parent_id, int type, String text); @@ -909,7 +909,7 @@ public class KMessageBox implements QtSupport { /** Create content and layout of a standard dialog @param dialog The parent dialog base - @param icon A QPixmap containing the icon to be displayed in the + @param icon A TQPixmap containing the icon to be displayed in the dialog next to the text. @param text Message string. @param strlist List of strings to be written in the listbox. @@ -932,9 +932,9 @@ public class KMessageBox implements QtSupport { @short Create content and layout of a standard dialog */ - public static native int createKMessageBox(KDialogBase dialog, QPixmap icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options, String details, int notifyType); - public static native int createKMessageBox(KDialogBase dialog, QPixmap icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options, String details); - public static native int createKMessageBox(KDialogBase dialog, QPixmap icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options); + public static native int createKMessageBox(KDialogBase dialog, TQPixmap icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options, String details, int notifyType); + public static native int createKMessageBox(KDialogBase dialog, TQPixmap icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options, String details); + public static native int createKMessageBox(KDialogBase dialog, TQPixmap icon, String text, String[] strlist, String ask, boolean[] checkboxReturn, int options); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KMimeSourceFactory.java b/kdejava/koala/org/kde/koala/KMimeSourceFactory.java index 9e4e01e3..f9b5d9ae 100644 --- a/kdejava/koala/org/kde/koala/KMimeSourceFactory.java +++ b/kdejava/koala/org/kde/koala/KMimeSourceFactory.java @@ -3,20 +3,20 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QMimeSourceFactory; +import org.kde.qt.TQMimeSourceFactory; /** - An extension to QMimeSourceFactory that uses KIconLoader to + An extension to TQMimeSourceFactory that uses KIconLoader to find images. Normally you don't have to instantiate this class at all, KApplication does that for - you automagically and sets QMimeSourceFactory.setDefaultFactory(). + you automagically and sets TQMimeSourceFactory.setDefaultFactory(). @author Peter Putzer <putzer@kde.org> - @short An extension to QMimeSourceFactory that uses KIconLoader to find images. + @short An extension to TQMimeSourceFactory that uses KIconLoader to find images. */ -public class KMimeSourceFactory extends QMimeSourceFactory { +public class KMimeSourceFactory extends TQMimeSourceFactory { protected KMimeSourceFactory(Class dummy){super((Class) null);} /** Constructor. diff --git a/kdejava/koala/org/kde/koala/KMimeType.java b/kdejava/koala/org/kde/koala/KMimeType.java index 2180f548..bab07d89 100644 --- a/kdejava/koala/org/kde/koala/KMimeType.java +++ b/kdejava/koala/org/kde/koala/KMimeType.java @@ -3,10 +3,10 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; -import org.kde.qt.QPixmap; +import org.kde.qt.TQDataStream; +import org.kde.qt.TQPixmap; import java.util.ArrayList; -import org.kde.qt.QVariant; +import org.kde.qt.TQVariant; /** @@ -62,11 +62,11 @@ public class KMimeType extends KServiceType { The stream must already be positionned at the correct offset @short */ - public KMimeType(QDataStream _str, int offset) { + public KMimeType(TQDataStream _str, int offset) { super((Class) null); newKMimeType(_str,offset); } - private native void newKMimeType(QDataStream _str, int offset); + private native void newKMimeType(TQDataStream _str, int offset); /** Return the filename of the icon associated with the mimetype. The arguments are unused, but provided so that KMimeType-derived classes @@ -103,10 +103,10 @@ public class KMimeType extends KServiceType { @short Use this function only if you don't have a special URL for which you search a pixmap. */ - public native QPixmap pixmap(int group, int force_size, int state, StringBuffer path); - public native QPixmap pixmap(int group, int force_size, int state); - public native QPixmap pixmap(int group, int force_size); - public native QPixmap pixmap(int group); + public native TQPixmap pixmap(int group, int force_size, int state, StringBuffer path); + public native TQPixmap pixmap(int group, int force_size, int state); + public native TQPixmap pixmap(int group, int force_size); + public native TQPixmap pixmap(int group); /** Find the pixmap for a given file of this mimetype. Convenience method that uses icon(), but also locates and @@ -123,10 +123,10 @@ public class KMimeType extends KServiceType { @short Find the pixmap for a given file of this mimetype. */ - public native QPixmap pixmap(KURL _url, int _group, int _force_size, int _state, StringBuffer _path); - public native QPixmap pixmap(KURL _url, int _group, int _force_size, int _state); - public native QPixmap pixmap(KURL _url, int _group, int _force_size); - public native QPixmap pixmap(KURL _url, int _group); + public native TQPixmap pixmap(KURL _url, int _group, int _force_size, int _state, StringBuffer _path); + public native TQPixmap pixmap(KURL _url, int _group, int _force_size, int _state); + public native TQPixmap pixmap(KURL _url, int _group, int _force_size); + public native TQPixmap pixmap(KURL _url, int _group); /** Returns the descriptive comment associated with the MIME type. @return the descriptive comment associated with the MIME type @@ -165,13 +165,13 @@ public class KMimeType extends KServiceType { @param qs the stream to load from @short Load the mimetype from a stream. */ - public native void load(QDataStream qs); + public native void load(TQDataStream qs); /** Save the mimetype to a stream. @param qs the stream to save to @short Save the mimetype to a stream. */ - public native void save(QDataStream qs); + public native void save(TQDataStream qs); /** Returns the property with the given <code>_name.</code> @param _name the name of the property @@ -180,7 +180,7 @@ public class KMimeType extends KServiceType { @short Returns the property with the given <code>_name.</code> @see #propertyNames */ - public native QVariant property(String _name); + public native TQVariant property(String _name); /** Retrieves a list of all properties associated with this KMimeType. @@ -230,12 +230,12 @@ public class KMimeType extends KServiceType { @short Convenience method to find the pixmap for a URL. */ - public static native QPixmap pixmapForURL(KURL _url, long _mode, int _group, int _force_size, int _state, StringBuffer _path); - public static native QPixmap pixmapForURL(KURL _url, long _mode, int _group, int _force_size, int _state); - public static native QPixmap pixmapForURL(KURL _url, long _mode, int _group, int _force_size); - public static native QPixmap pixmapForURL(KURL _url, long _mode, int _group); - public static native QPixmap pixmapForURL(KURL _url, long _mode); - public static native QPixmap pixmapForURL(KURL _url); + public static native TQPixmap pixmapForURL(KURL _url, long _mode, int _group, int _force_size, int _state, StringBuffer _path); + public static native TQPixmap pixmapForURL(KURL _url, long _mode, int _group, int _force_size, int _state); + public static native TQPixmap pixmapForURL(KURL _url, long _mode, int _group, int _force_size); + public static native TQPixmap pixmapForURL(KURL _url, long _mode, int _group); + public static native TQPixmap pixmapForURL(KURL _url, long _mode); + public static native TQPixmap pixmapForURL(KURL _url); /** The same functionality as pixmapForURL(), but this method returns the name of the icon to load. You'll have to use KIconLoader to load the pixmap for it. @@ -276,7 +276,7 @@ public class KMimeType extends KServiceType { @short Retrieve a pointer to the mime type <code>_name</code> or a pointer to the default mime type "application/octet-stream". @see KServiceType#serviceType */ - // KMimeType::Ptr mimeType(const QString& arg1); >>>> NOT CONVERTED + // KMimeType::Ptr mimeType(const TQString& arg1); >>>> NOT CONVERTED /** Finds a KMimeType with the given <code>_url.</code> This function looks at mode_t first. @@ -337,9 +337,9 @@ public class KMimeType extends KServiceType { @short Finds a KMimeType with the given <code>_url.</code> */ - // KMimeType::Ptr findByPath(const QString& arg1,mode_t arg2,bool arg3); >>>> NOT CONVERTED - // KMimeType::Ptr findByPath(const QString& arg1,mode_t arg2); >>>> NOT CONVERTED - // KMimeType::Ptr findByPath(const QString& arg1); >>>> NOT CONVERTED + // KMimeType::Ptr findByPath(const TQString& arg1,mode_t arg2,bool arg3); >>>> NOT CONVERTED + // KMimeType::Ptr findByPath(const TQString& arg1,mode_t arg2); >>>> NOT CONVERTED + // KMimeType::Ptr findByPath(const TQString& arg1); >>>> NOT CONVERTED /** Tries to find out the MIME type of a data chunk by looking for certain magic numbers and characteristic strings in it. @@ -351,8 +351,8 @@ public class KMimeType extends KServiceType { @short Tries to find out the MIME type of a data chunk by looking for certain magic numbers and characteristic strings in it. */ - // KMimeType::Ptr findByContent(const QByteArray& arg1,int* arg2); >>>> NOT CONVERTED - // KMimeType::Ptr findByContent(const QByteArray& arg1); >>>> NOT CONVERTED + // KMimeType::Ptr findByContent(const TQByteArray& arg1,int* arg2); >>>> NOT CONVERTED + // KMimeType::Ptr findByContent(const TQByteArray& arg1); >>>> NOT CONVERTED /** Tries to find out the MIME type of a file by looking for certain magic numbers and characteristic strings in it. @@ -367,14 +367,14 @@ public class KMimeType extends KServiceType { @short Tries to find out the MIME type of a file by looking for certain magic numbers and characteristic strings in it. */ - // KMimeType::Ptr findByFileContent(const QString& arg1,int* arg2); >>>> NOT CONVERTED - // KMimeType::Ptr findByFileContent(const QString& arg1); >>>> NOT CONVERTED + // KMimeType::Ptr findByFileContent(const TQString& arg1,int* arg2); >>>> NOT CONVERTED + // KMimeType::Ptr findByFileContent(const TQString& arg1); >>>> NOT CONVERTED /** Returns whether a file has an internal format that is human readable, or that would be human readable after decompression. @short Returns whether a file has an internal format that is human readable, or that would be human readable after decompression. */ - // KMimeType::Format findFormatByFileContent(const QString& arg1); >>>> NOT CONVERTED + // KMimeType::Format findFormatByFileContent(const TQString& arg1); >>>> NOT CONVERTED /** Get all the mimetypes. Useful for showing the list of @@ -410,8 +410,8 @@ public class KMimeType extends KServiceType { matching pattern if any. @short */ - // KMimeType::Ptr diagnoseFileName(const QString& arg1,QString& arg2); >>>> NOT CONVERTED - protected native void loadInternal(QDataStream arg1); + // KMimeType::Ptr diagnoseFileName(const TQString& arg1,TQString& arg2); >>>> NOT CONVERTED + protected native void loadInternal(TQDataStream arg1); protected native void init(KDesktopFile arg1); protected native int patternsAccuracy(); /** diff --git a/kdejava/koala/org/kde/koala/KMimeTypeResolverHelper.java b/kdejava/koala/org/kde/koala/KMimeTypeResolverHelper.java index 48bad012..f72d3bb3 100644 --- a/kdejava/koala/org/kde/koala/KMimeTypeResolverHelper.java +++ b/kdejava/koala/org/kde/koala/KMimeTypeResolverHelper.java @@ -2,32 +2,32 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QScrollView; -import org.kde.qt.QEvent; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQScrollView; +import org.kde.qt.TQEvent; +import org.kde.qt.TQObject; /** - This class is used by KMimeTypeResolver, because it can't be a QObject + This class is used by KMimeTypeResolver, because it can't be a TQObject itself. So an object of this class is used to handle signals, slots etc. and forwards them to the KMimeTypeResolver instance. @short */ -public class KMimeTypeResolverHelper extends QObject { +public class KMimeTypeResolverHelper extends TQObject { protected KMimeTypeResolverHelper(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KMimeTypeResolverHelper(KMimeTypeResolverBase resolver, QScrollView view) { + public KMimeTypeResolverHelper(KMimeTypeResolverBase resolver, TQScrollView view) { super((Class) null); newKMimeTypeResolverHelper(resolver,view); } - private native void newKMimeTypeResolverHelper(KMimeTypeResolverBase resolver, QScrollView view); + private native void newKMimeTypeResolverHelper(KMimeTypeResolverBase resolver, TQScrollView view); public native void start(int delay, boolean singleShot); - public native boolean eventFilter(QObject o, QEvent e); + public native boolean eventFilter(TQObject o, TQEvent e); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KMimeTypeValidator.java b/kdejava/koala/org/kde/koala/KMimeTypeValidator.java index 9154d217..992dac38 100644 --- a/kdejava/koala/org/kde/koala/KMimeTypeValidator.java +++ b/kdejava/koala/org/kde/koala/KMimeTypeValidator.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QValidator; +import org.kde.qt.TQObject; +import org.kde.qt.TQValidator; /** @@ -20,23 +20,23 @@ import org.kde.qt.QValidator; The fixup will simply remove all non-token characters. @author Marc Mutz <mutz@kde.org> - @short A QValidator for mime types. + @short A TQValidator for mime types. */ -public class KMimeTypeValidator extends QValidator { +public class KMimeTypeValidator extends TQValidator { protected KMimeTypeValidator(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KMimeTypeValidator(QObject parent, String name) { + public KMimeTypeValidator(TQObject parent, String name) { super((Class) null); newKMimeTypeValidator(parent,name); } - private native void newKMimeTypeValidator(QObject parent, String name); - public KMimeTypeValidator(QObject parent) { + private native void newKMimeTypeValidator(TQObject parent, String name); + public KMimeTypeValidator(TQObject parent) { super((Class) null); newKMimeTypeValidator(parent); } - private native void newKMimeTypeValidator(QObject parent); + private native void newKMimeTypeValidator(TQObject parent); /** Checks for well-formed mimetype. Returns diff --git a/kdejava/koala/org/kde/koala/KMultiTabBar.java b/kdejava/koala/org/kde/koala/KMultiTabBar.java index 1823708d..ee942d73 100644 --- a/kdejava/koala/org/kde/koala/KMultiTabBar.java +++ b/kdejava/koala/org/kde/koala/KMultiTabBar.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -21,7 +21,7 @@ import org.kde.qt.QWidget; @short A Widget for horizontal and vertical tabs. */ -public class KMultiTabBar extends QWidget { +public class KMultiTabBar extends TQWidget { protected KMultiTabBar(Class dummy){super((Class) null);} public static final int Horizontal = 0; public static final int Vertical = 1; @@ -35,27 +35,27 @@ public class KMultiTabBar extends QWidget { The list of available styles for KMultiTabBar - VSNET - Visual Studio .Net like (only show the text of active tabs - KDEV3 - Kdevelop 3 like (always show the text) - - KONQSBC - konqy's classic sidebar style (unthemed) (currently disabled) + - KONTQSBC - konqy's classic sidebar style (unthemed) (currently disabled) @short The list of available styles for KMultiTabBar - VSNET - Visual Studio . */ public static final int VSNET = 0; public static final int KDEV3 = 1; - public static final int KONQSBC = 2; + public static final int KONTQSBC = 2; public static final int KDEV3ICON = 3; public static final int STYLELAST = 0xffff; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KMultiTabBar(int bm, QWidget parent, String name) { + public KMultiTabBar(int bm, TQWidget parent, String name) { super((Class) null); newKMultiTabBar(bm,parent,name); } - private native void newKMultiTabBar(int bm, QWidget parent, String name); - public KMultiTabBar(int bm, QWidget parent) { + private native void newKMultiTabBar(int bm, TQWidget parent, String name); + public KMultiTabBar(int bm, TQWidget parent) { super((Class) null); newKMultiTabBar(bm,parent); } - private native void newKMultiTabBar(int bm, QWidget parent); + private native void newKMultiTabBar(int bm, TQWidget parent); public KMultiTabBar(int bm) { super((Class) null); newKMultiTabBar(bm); @@ -71,10 +71,10 @@ public class KMultiTabBar extends QWidget { @param not_used_yet will be used for a popup text in the future @short append a new button to the button area. */ - public native int appendButton(QPixmap pic, int id, QPopupMenu popup, String not_used_yet); - public native int appendButton(QPixmap pic, int id, QPopupMenu popup); - public native int appendButton(QPixmap pic, int id); - public native int appendButton(QPixmap pic); + public native int appendButton(TQPixmap pic, int id, TQPopupMenu popup, String not_used_yet); + public native int appendButton(TQPixmap pic, int id, TQPopupMenu popup); + public native int appendButton(TQPixmap pic, int id); + public native int appendButton(TQPixmap pic); /** remove a button with the given ID @short remove a button with the given ID @@ -87,9 +87,9 @@ public class KMultiTabBar extends QWidget { @param text if a mode with text is used it will be the tab text, otherwise a mouse over hint @short append a new tab to the tab area. */ - public native int appendTab(QPixmap pic, int id, String text); - public native int appendTab(QPixmap pic, int id); - public native int appendTab(QPixmap pic); + public native int appendTab(TQPixmap pic, int id, String text); + public native int appendTab(TQPixmap pic, int id); + public native int appendTab(TQPixmap pic); /** remove a tab with a given ID @short remove a tab with a given ID @@ -146,19 +146,19 @@ public class KMultiTabBar extends QWidget { be carefull, don't delete tabs yourself and don't delete the list itself @short be carefull, don't delete tabs yourself and don't delete the list itself */ - // QPtrList<KMultiTabBarTab>* tabs(); >>>> NOT CONVERTED + // TQPtrList<KMultiTabBarTab>* tabs(); >>>> NOT CONVERTED /** be carefull, don't delete buttons yourself and don't delete the list itself @short be carefull, don't delete buttons yourself and don't delete the list itself */ - // QPtrList<KMultiTabBarButton>* buttons(); >>>> NOT CONVERTED + // TQPtrList<KMultiTabBarButton>* buttons(); >>>> NOT CONVERTED /** might vanish, not sure yet @short might vanish, not sure yet */ public native void showActiveTabTexts(boolean show); public native void showActiveTabTexts(); - protected native void fontChange(QFont arg1); + protected native void fontChange(TQFont arg1); protected native void updateSeparator(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KMultiTabBarButton.java b/kdejava/koala/org/kde/koala/KMultiTabBarButton.java index 58121632..64c5293d 100644 --- a/kdejava/koala/org/kde/koala/KMultiTabBarButton.java +++ b/kdejava/koala/org/kde/koala/KMultiTabBarButton.java @@ -2,15 +2,15 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QHideEvent; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QSize; -import org.kde.qt.QShowEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QPushButton; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSize; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQPushButton; /** @@ -19,20 +19,20 @@ import org.kde.qt.QPushButton; @short This class should never be created except with the appendButton call of KMultiTabBar */ -public class KMultiTabBarButton extends QPushButton { +public class KMultiTabBarButton extends TQPushButton { protected KMultiTabBarButton(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KMultiTabBarButton(QPixmap pic, String arg2, QPopupMenu popup, int id, QWidget parent, int pos, int style) { + public KMultiTabBarButton(TQPixmap pic, String arg2, TQPopupMenu popup, int id, TQWidget parent, int pos, int style) { super((Class) null); newKMultiTabBarButton(pic,arg2,popup,id,parent,pos,style); } - private native void newKMultiTabBarButton(QPixmap pic, String arg2, QPopupMenu popup, int id, QWidget parent, int pos, int style); - public KMultiTabBarButton(String arg1, QPopupMenu popup, int id, QWidget parent, int pos, int style) { + private native void newKMultiTabBarButton(TQPixmap pic, String arg2, TQPopupMenu popup, int id, TQWidget parent, int pos, int style); + public KMultiTabBarButton(String arg1, TQPopupMenu popup, int id, TQWidget parent, int pos, int style) { super((Class) null); newKMultiTabBarButton(arg1,popup,id,parent,pos,style); } - private native void newKMultiTabBarButton(String arg1, QPopupMenu popup, int id, QWidget parent, int pos, int style); + private native void newKMultiTabBarButton(String arg1, TQPopupMenu popup, int id, TQWidget parent, int pos, int style); public native int id(); /** this is used internaly, but can be used by the user, if (s)he wants to @@ -51,9 +51,9 @@ public class KMultiTabBarButton extends QPushButton { @short modify the text of the button */ public native void setText(String arg1); - public native QSize sizeHint(); - protected native void hideEvent(QHideEvent arg1); - public native void showEvent(QShowEvent arg1); + public native TQSize sizeHint(); + protected native void hideEvent(TQHideEvent arg1); + public native void showEvent(TQShowEvent arg1); protected native void slotClicked(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KMultiTabBarButtonSignals.java b/kdejava/koala/org/kde/koala/KMultiTabBarButtonSignals.java index 31e280c0..e40a08a5 100644 --- a/kdejava/koala/org/kde/koala/KMultiTabBarButtonSignals.java +++ b/kdejava/koala/org/kde/koala/KMultiTabBarButtonSignals.java @@ -1,14 +1,14 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QHideEvent; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QSize; -import org.kde.qt.QShowEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSize; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQWidget; public interface KMultiTabBarButtonSignals { /** diff --git a/kdejava/koala/org/kde/koala/KMultiTabBarTab.java b/kdejava/koala/org/kde/koala/KMultiTabBarTab.java index d80304cc..063f5111 100644 --- a/kdejava/koala/org/kde/koala/KMultiTabBarTab.java +++ b/kdejava/koala/org/kde/koala/KMultiTabBarTab.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QPainter; -import org.kde.qt.QWidget; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQPainter; +import org.kde.qt.TQWidget; /** @@ -16,13 +16,13 @@ import org.kde.qt.QWidget; */ public class KMultiTabBarTab extends KMultiTabBarButton { protected KMultiTabBarTab(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KMultiTabBarTab(QPixmap pic, String arg2, int id, QWidget parent, int pos, int style) { + public KMultiTabBarTab(TQPixmap pic, String arg2, int id, TQWidget parent, int pos, int style) { super((Class) null); newKMultiTabBarTab(pic,arg2,id,parent,pos,style); } - private native void newKMultiTabBarTab(QPixmap pic, String arg2, int id, QWidget parent, int pos, int style); + private native void newKMultiTabBarTab(TQPixmap pic, String arg2, int id, TQWidget parent, int pos, int style); /** set the active state of the tab @param state true==active false==not active @@ -37,14 +37,14 @@ public class KMultiTabBarTab extends KMultiTabBarButton { public native void showActiveTabText(boolean show); public native void resize(); public native void setIcon(String arg1); - public native void setIcon(QPixmap arg1); + public native void setIcon(TQPixmap arg1); protected native void setSize(int arg1); protected native int neededSize(); protected native void updateState(); - protected native void drawButton(QPainter arg1); - protected native void drawButtonLabel(QPainter arg1); - protected native void drawButtonStyled(QPainter arg1); - protected native void drawButtonClassic(QPainter arg1); + protected native void drawButton(TQPainter arg1); + protected native void drawButtonLabel(TQPainter arg1); + protected native void drawButtonStyled(TQPainter arg1); + protected native void drawButtonClassic(TQPainter arg1); protected native void slotClicked(); protected native void setTabsPosition(int arg1); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KMultipleDrag.java b/kdejava/koala/org/kde/koala/KMultipleDrag.java index 4243c59e..9982e614 100644 --- a/kdejava/koala/org/kde/koala/KMultipleDrag.java +++ b/kdejava/koala/org/kde/koala/KMultipleDrag.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QDragObject; -import org.kde.qt.QDragObject; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDragObject; +import org.kde.qt.TQDragObject; /** @@ -15,12 +15,12 @@ import org.kde.qt.QDragObject; of the same data, under different formats. Instead of creating a specific class for each case (as would otherwise be necessary), you can simply create independent drag objects (e.g. - a QImageDrag object and a KURLDrag object), and bundle them together + a TQImageDrag object and a KURLDrag object), and bundle them together using KMultipleDrag. Sample code for this: <pre> KMultipleDrag drag = new KMultipleDrag( parentWidget ); - drag.addDragObject( new QImageDrag( someQImage, 0 ) ); + drag.addDragObject( new TQImageDrag( someTQImage, 0 ) ); drag.addDragObject( new KURLDrag( someKURL, 0 ) ); drag.drag(); </pre> @@ -31,9 +31,9 @@ import org.kde.qt.QDragObject; @short This class makes it easy for applications to provide a drag object (for drag-n-drop or for clipboard) that has several representations of the same data, under different formats. */ -public class KMultipleDrag extends QDragObject { +public class KMultipleDrag extends TQDragObject { protected KMultipleDrag(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create a new KMultipleDrag object. @@ -42,16 +42,16 @@ public class KMultipleDrag extends QDragObject { @param name the name of the object, can be 0 @short Create a new KMultipleDrag object. */ - public KMultipleDrag(QWidget dragSource, String name) { + public KMultipleDrag(TQWidget dragSource, String name) { super((Class) null); newKMultipleDrag(dragSource,name); } - private native void newKMultipleDrag(QWidget dragSource, String name); - public KMultipleDrag(QWidget dragSource) { + private native void newKMultipleDrag(TQWidget dragSource, String name); + public KMultipleDrag(TQWidget dragSource) { super((Class) null); newKMultipleDrag(dragSource); } - private native void newKMultipleDrag(QWidget dragSource); + private native void newKMultipleDrag(TQWidget dragSource); public KMultipleDrag() { super((Class) null); newKMultipleDrag(); @@ -64,7 +64,7 @@ public class KMultipleDrag extends QDragObject { @param dragObject the drag object to add. Should have no parent object. @short Call this to add each underlying drag object to the multiple drag object. */ - public native void addDragObject(QDragObject dragObject); + public native void addDragObject(TQDragObject dragObject); /** Returns the data of a drag object with that supports the given mime type. diff --git a/kdejava/koala/org/kde/koala/KNotifyClient.java b/kdejava/koala/org/kde/koala/KNotifyClient.java index 26752d22..97711ccc 100644 --- a/kdejava/koala/org/kde/koala/KNotifyClient.java +++ b/kdejava/koala/org/kde/koala/KNotifyClient.java @@ -148,13 +148,13 @@ public class KNotifyClient { public static native int userEvent(int winId, String text); public static native int userEvent(int winId); /** - This is a simple substitution for QApplication.beep(). + This is a simple substitution for TQApplication.beep(). It simply calls <pre> KNotifyClient.event( KNotifyClient.notification, reason ); </pre> @param reason the reason, can be null. - @short This is a simple substitution for QApplication.beep(). + @short This is a simple substitution for TQApplication.beep(). */ public static native void beep(String reason); public static native void beep(); diff --git a/kdejava/koala/org/kde/koala/KNumInput.java b/kdejava/koala/org/kde/koala/KNumInput.java index 7b41b27a..b85c9832 100644 --- a/kdejava/koala/org/kde/koala/KNumInput.java +++ b/kdejava/koala/org/kde/koala/KNumInput.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QSizePolicy; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQSize; +import org.kde.qt.TQSizePolicy; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -16,14 +16,14 @@ import org.kde.qt.QWidget; @short You need to inherit from this class if you want to implement K NumInput for a different variable type */ -public class KNumInput extends QWidget { +public class KNumInput extends TQWidget { protected KNumInput(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Default constructor @param parent If parent is 0, the new widget becomes a top-level window. If parent is another widget, this widget becomes a child window inside parent. The new widget is deleted when its parent is deleted. - @param name The name is sent to the QObject constructor. + @param name The name is sent to the TQObject constructor. @short Default constructor */ /** @@ -78,15 +78,15 @@ public class KNumInput extends QWidget { public native void setSteps(int minor, int major); /** Specifies that this widget may stretch horizontally, but is - fixed vertically (like QSpinBox itself). - @short Specifies that this widget may stretch horizontally, but is fixed vertically (like QSpinBox itself). + fixed vertically (like TQSpinBox itself). + @short Specifies that this widget may stretch horizontally, but is fixed vertically (like TQSpinBox itself). */ - public native QSizePolicy sizePolicy(); + public native TQSizePolicy sizePolicy(); /** Returns a size which fits the contents of the control. @return the preferred size necessary to show the control @short Returns a size which fits the contents of the control. */ - public native QSize sizeHint(); + public native TQSize sizeHint(); } diff --git a/kdejava/koala/org/kde/koala/KOCRDialog.java b/kdejava/koala/org/kde/koala/KOCRDialog.java index 2f645fea..fd1f986d 100644 --- a/kdejava/koala/org/kde/koala/KOCRDialog.java +++ b/kdejava/koala/org/kde/koala/KOCRDialog.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -15,23 +15,23 @@ import org.kde.qt.QWidget; */ public class KOCRDialog extends KDialogBase { protected KOCRDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates the user's preferred OCR dialog and returns it, or null if no OCR-support is available. Pass a suitable <code>parent</code> widget, if you like. If you don't you have to 'delete' the returned pointer yourself. - @param parent the QWidget's parent, or 0 - @param name the name of the QObject, can be 0 + @param parent the TQWidget's parent, or 0 + @param name the name of the TQObject, can be 0 @param modal if true the dialog is model @return the KOCRDialog, or 0 if the function failed @short Creates the user's preferred OCR dialog and returns it, or 0L if no OCR-support is available. */ - public static native KOCRDialog getOCRDialog(QWidget parent, String name, boolean modal); - public static native KOCRDialog getOCRDialog(QWidget parent, String name); - public static native KOCRDialog getOCRDialog(QWidget parent); + public static native KOCRDialog getOCRDialog(TQWidget parent, String name, boolean modal); + public static native KOCRDialog getOCRDialog(TQWidget parent, String name); + public static native KOCRDialog getOCRDialog(TQWidget parent); public static native KOCRDialog getOCRDialog(); /** Constructs the OCR dialog. If you implement an own dialog, you can @@ -39,26 +39,26 @@ public class KOCRDialog extends KDialogBase { @param dialogFace the KDialogBase.DialogType @param buttonMask a ORed mask of all buttons (see KDialogBase.ButtonCode) - @param parent the QWidget's parent, or 0 - @param name the name of the QObject, can be 0 + @param parent the TQWidget's parent, or 0 + @param name the name of the TQObject, can be 0 @param modal if true the dialog is model @short Constructs the OCR dialog. */ - public KOCRDialog(int dialogFace, int buttonMask, QWidget parent, String name, boolean modal) { + public KOCRDialog(int dialogFace, int buttonMask, TQWidget parent, String name, boolean modal) { super((Class) null); newKOCRDialog(dialogFace,buttonMask,parent,name,modal); } - private native void newKOCRDialog(int dialogFace, int buttonMask, QWidget parent, String name, boolean modal); - public KOCRDialog(int dialogFace, int buttonMask, QWidget parent, String name) { + private native void newKOCRDialog(int dialogFace, int buttonMask, TQWidget parent, String name, boolean modal); + public KOCRDialog(int dialogFace, int buttonMask, TQWidget parent, String name) { super((Class) null); newKOCRDialog(dialogFace,buttonMask,parent,name); } - private native void newKOCRDialog(int dialogFace, int buttonMask, QWidget parent, String name); - public KOCRDialog(int dialogFace, int buttonMask, QWidget parent) { + private native void newKOCRDialog(int dialogFace, int buttonMask, TQWidget parent, String name); + public KOCRDialog(int dialogFace, int buttonMask, TQWidget parent) { super((Class) null); newKOCRDialog(dialogFace,buttonMask,parent); } - private native void newKOCRDialog(int dialogFace, int buttonMask, QWidget parent); + private native void newKOCRDialog(int dialogFace, int buttonMask, TQWidget parent); public KOCRDialog(int dialogFace, int buttonMask) { super((Class) null); newKOCRDialog(dialogFace,buttonMask); diff --git a/kdejava/koala/org/kde/koala/KOCRDialogSignals.java b/kdejava/koala/org/kde/koala/KOCRDialogSignals.java index 5ceb0d11..a3fcf459 100644 --- a/kdejava/koala/org/kde/koala/KOCRDialogSignals.java +++ b/kdejava/koala/org/kde/koala/KOCRDialogSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KOCRDialogSignals { /** diff --git a/kdejava/koala/org/kde/koala/KOpenWithDlg.java b/kdejava/koala/org/kde/koala/KOpenWithDlg.java index 114d105f..b777bb7f 100644 --- a/kdejava/koala/org/kde/koala/KOpenWithDlg.java +++ b/kdejava/koala/org/kde/koala/KOpenWithDlg.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; -import org.kde.qt.QDialog; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDialog; /** @@ -17,9 +17,9 @@ import org.kde.qt.QDialog; @short "Open with" dialog box. */ -public class KOpenWithDlg extends QDialog { +public class KOpenWithDlg extends TQDialog { protected KOpenWithDlg(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create a dialog that asks for a application to open a given @@ -29,11 +29,11 @@ public class KOpenWithDlg extends QDialog { @param parent parent widget @short Create a dialog that asks for a application to open a given URL(s) with. */ - public KOpenWithDlg(ArrayList urls, QWidget parent) { + public KOpenWithDlg(ArrayList urls, TQWidget parent) { super((Class) null); newKOpenWithDlg(urls,parent); } - private native void newKOpenWithDlg(ArrayList urls, QWidget parent); + private native void newKOpenWithDlg(ArrayList urls, TQWidget parent); public KOpenWithDlg(ArrayList urls) { super((Class) null); newKOpenWithDlg(urls); @@ -48,11 +48,11 @@ public class KOpenWithDlg extends QDialog { @param parent parent widget @short Create a dialog that asks for a application to open a given URL(s) with. */ - public KOpenWithDlg(ArrayList urls, String text, String value, QWidget parent) { + public KOpenWithDlg(ArrayList urls, String text, String value, TQWidget parent) { super((Class) null); newKOpenWithDlg(urls,text,value,parent); } - private native void newKOpenWithDlg(ArrayList urls, String text, String value, QWidget parent); + private native void newKOpenWithDlg(ArrayList urls, String text, String value, TQWidget parent); public KOpenWithDlg(ArrayList urls, String text, String value) { super((Class) null); newKOpenWithDlg(urls,text,value); @@ -66,11 +66,11 @@ public class KOpenWithDlg extends QDialog { @param parent parent widget @short Create a dialog to select a service for a given service type. */ - public KOpenWithDlg(String serviceType, String value, QWidget parent) { + public KOpenWithDlg(String serviceType, String value, TQWidget parent) { super((Class) null); newKOpenWithDlg(serviceType,value,parent); } - private native void newKOpenWithDlg(String serviceType, String value, QWidget parent); + private native void newKOpenWithDlg(String serviceType, String value, TQWidget parent); public KOpenWithDlg(String serviceType, String value) { super((Class) null); newKOpenWithDlg(serviceType,value); @@ -82,11 +82,11 @@ public class KOpenWithDlg extends QDialog { @param parent parent widget @short Create a dialog to select an application Note that this dialog doesn't apply to URLs. */ - public KOpenWithDlg(QWidget parent) { + public KOpenWithDlg(TQWidget parent) { super((Class) null); newKOpenWithDlg(parent); } - private native void newKOpenWithDlg(QWidget parent); + private native void newKOpenWithDlg(TQWidget parent); public KOpenWithDlg() { super((Class) null); newKOpenWithDlg(); @@ -149,8 +149,8 @@ public class KOpenWithDlg extends QDialog { */ protected native void init(String text, String value); /** - Reimplemented from QDialog.accept() to save history of the combobox - @short Reimplemented from QDialog.accept() to save history of the combobox + Reimplemented from TQDialog.accept() to save history of the combobox + @short Reimplemented from TQDialog.accept() to save history of the combobox */ protected native void accept(); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KPalette.java b/kdejava/koala/org/kde/koala/KPalette.java index 66e43e54..1d763e1a 100644 --- a/kdejava/koala/org/kde/koala/KPalette.java +++ b/kdejava/koala/org/kde/koala/KPalette.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; +import org.kde.qt.TQColor; import org.kde.qt.QtSupport; import java.util.ArrayList; @@ -13,7 +13,7 @@ import java.util.ArrayList; A palette is a set of colors. This class can read and write palettes from and to a file. This class uses the "GIMP" palette file format. - This class is totally unrelated to QPalette. + This class is totally unrelated to TQPalette. @author Waldo Bastian (bastian@kde.org) @short Class for handling Palettes. @@ -116,7 +116,7 @@ public class KPalette implements QtSupport { @short Find color by index. */ - public native QColor color(int index); + public native TQColor color(int index); /** Find index by <code>color.</code> @param color the color to find @@ -125,7 +125,7 @@ public class KPalette implements QtSupport { @short Find index by <code>color.</code> */ - public native int findColor(QColor color); + public native int findColor(TQColor color); /** Find color name by <code>index.</code> @param index the index of the color @@ -145,7 +145,7 @@ public class KPalette implements QtSupport { @short Find color name by <code>color.</code> */ - public native String colorName(QColor color); + public native String colorName(TQColor color); /** Add a color. @param newColor The color to add. @@ -155,8 +155,8 @@ public class KPalette implements QtSupport { @short Add a color. */ - public native int addColor(QColor newColor, String newColorName); - public native int addColor(QColor newColor); + public native int addColor(TQColor newColor, String newColorName); + public native int addColor(TQColor newColor); /** Change a color. @param index Index of the color to change @@ -168,8 +168,8 @@ public class KPalette implements QtSupport { @short Change a color. */ - public native int changeColor(int index, QColor newColor, String newColorName); - public native int changeColor(int index, QColor newColor); + public native int changeColor(int index, TQColor newColor, String newColorName); + public native int changeColor(int index, TQColor newColor); /** Change a color. @param oldColor The original color @@ -181,8 +181,8 @@ public class KPalette implements QtSupport { @short Change a color. */ - public native int changeColor(QColor oldColor, QColor newColor, String newColorName); - public native int changeColor(QColor oldColor, QColor newColor); + public native int changeColor(TQColor oldColor, TQColor newColor, String newColorName); + public native int changeColor(TQColor oldColor, TQColor newColor); /** Query which KDE palettes are installed. @return A list with a palette names. diff --git a/kdejava/koala/org/kde/koala/KPaletteTable.java b/kdejava/koala/org/kde/koala/KPaletteTable.java index 9d5bd8a2..d86a7b3d 100644 --- a/kdejava/koala/org/kde/koala/KPaletteTable.java +++ b/kdejava/koala/org/kde/koala/KPaletteTable.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -17,27 +17,27 @@ import org.kde.qt.QWidget; @short A color palette in table form. */ -public class KPaletteTable extends QWidget { +public class KPaletteTable extends TQWidget { protected KPaletteTable(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KPaletteTable(QWidget parent, int minWidth, int cols) { + public KPaletteTable(TQWidget parent, int minWidth, int cols) { super((Class) null); newKPaletteTable(parent,minWidth,cols); } - private native void newKPaletteTable(QWidget parent, int minWidth, int cols); - public KPaletteTable(QWidget parent, int minWidth) { + private native void newKPaletteTable(TQWidget parent, int minWidth, int cols); + public KPaletteTable(TQWidget parent, int minWidth) { super((Class) null); newKPaletteTable(parent,minWidth); } - private native void newKPaletteTable(QWidget parent, int minWidth); - public KPaletteTable(QWidget parent) { + private native void newKPaletteTable(TQWidget parent, int minWidth); + public KPaletteTable(TQWidget parent) { super((Class) null); newKPaletteTable(parent); } - private native void newKPaletteTable(QWidget parent); - public native void addToCustomColors(QColor arg1); - public native void addToRecentColors(QColor arg1); + private native void newKPaletteTable(TQWidget parent); + public native void addToCustomColors(TQColor arg1); + public native void addToRecentColors(TQColor arg1); public native String paletteName(); public native void setPalette(String paletteName); protected native void readNamedColor(); diff --git a/kdejava/koala/org/kde/koala/KPaletteTableSignals.java b/kdejava/koala/org/kde/koala/KPaletteTableSignals.java index 4f630a47..25e98bbc 100644 --- a/kdejava/koala/org/kde/koala/KPaletteTableSignals.java +++ b/kdejava/koala/org/kde/koala/KPaletteTableSignals.java @@ -1,12 +1,12 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KPaletteTableSignals { - void colorSelected(QColor arg1, String arg2); - void colorDoubleClicked(QColor arg1, String arg2); + void colorSelected(TQColor arg1, String arg2); + void colorDoubleClicked(TQColor arg1, String arg2); } diff --git a/kdejava/koala/org/kde/koala/KPanelAppMenu.java b/kdejava/koala/org/kde/koala/KPanelAppMenu.java index 6ffde430..4ccbe763 100644 --- a/kdejava/koala/org/kde/koala/KPanelAppMenu.java +++ b/kdejava/koala/org/kde/koala/KPanelAppMenu.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPixmap; +import org.kde.qt.TQObject; +import org.kde.qt.TQPixmap; import java.util.ArrayList; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -19,24 +19,24 @@ import org.kde.qt.QObject; @short DCop client menu class for the Kicker panel that will insert a submenu into the %KDE menu. */ -public class KPanelAppMenu extends QObject implements DCOPObjectInterface { +public class KPanelAppMenu extends TQObject implements DCOPObjectInterface { protected KPanelAppMenu(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a new menu with the given title. @short Constructs a new menu with the given title. */ - public KPanelAppMenu(String title, QObject parent, String name) { + public KPanelAppMenu(String title, TQObject parent, String name) { super((Class) null); newKPanelAppMenu(title,parent,name); } - private native void newKPanelAppMenu(String title, QObject parent, String name); - public KPanelAppMenu(String title, QObject parent) { + private native void newKPanelAppMenu(String title, TQObject parent, String name); + public KPanelAppMenu(String title, TQObject parent) { super((Class) null); newKPanelAppMenu(title,parent); } - private native void newKPanelAppMenu(String title, QObject parent); + private native void newKPanelAppMenu(String title, TQObject parent); public KPanelAppMenu(String title) { super((Class) null); newKPanelAppMenu(title); @@ -46,20 +46,20 @@ public class KPanelAppMenu extends QObject implements DCOPObjectInterface { Same as above, but with an icon for the submenu item. @short Same as above, but with an icon for the submenu item. */ - public KPanelAppMenu(QPixmap icon, String title, QObject parent, String name) { + public KPanelAppMenu(TQPixmap icon, String title, TQObject parent, String name) { super((Class) null); newKPanelAppMenu(icon,title,parent,name); } - private native void newKPanelAppMenu(QPixmap icon, String title, QObject parent, String name); + private native void newKPanelAppMenu(TQPixmap icon, String title, TQObject parent, String name); /** Constructs a new (sub)menu with a given id. @short Constructs a new (sub)menu with a given id. */ - public KPanelAppMenu(QObject parent, String name) { + public KPanelAppMenu(TQObject parent, String name) { super((Class) null); newKPanelAppMenu(parent,name); } - private native void newKPanelAppMenu(QObject parent, String name); + private native void newKPanelAppMenu(TQObject parent, String name); /** Inserts an item into the menu. @short Inserts an item into the menu. @@ -70,14 +70,14 @@ public class KPanelAppMenu extends QObject implements DCOPObjectInterface { Inserts an item with a icon. The icon name must be a full path. @short Inserts an item with a icon. */ - public native int insertItem(QPixmap icon, String text, int id); - public native int insertItem(QPixmap icon, String text); + public native int insertItem(TQPixmap icon, String text, int id); + public native int insertItem(TQPixmap icon, String text); /** Inserts a sub menu with a icon. The icon name must be a full path. @short Inserts a sub menu with a icon. */ - public native KPanelAppMenu insertMenu(QPixmap icon, String text, int id); - public native KPanelAppMenu insertMenu(QPixmap icon, String text); + public native KPanelAppMenu insertMenu(TQPixmap icon, String text, int id); + public native KPanelAppMenu insertMenu(TQPixmap icon, String text); /** Clears the menu. @short Clears the menu. @@ -87,7 +87,7 @@ public class KPanelAppMenu extends QObject implements DCOPObjectInterface { @short */ public native boolean process(String fun, byte[] data, StringBuffer replyType, byte[] reply); - protected native void init(QPixmap icon, String title); + protected native void init(TQPixmap icon, String title); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ @@ -279,14 +279,14 @@ public class KPanelAppMenu extends QObject implements DCOPObjectInterface { @short Tries to find an object using a partial object id. */ - // QPtrList<DCOPObject> match(const QCString& arg1); >>>> NOT CONVERTED + // TQPtrList<DCOPObject> match(const TQCString& arg1); >>>> NOT CONVERTED /** - Creates an object id for the QObject <code>obj.</code> This is done - using the QObject.name() function. + Creates an object id for the TQObject <code>obj.</code> This is done + using the TQObject.name() function. @param obj the object whose name will be used @return the created object id - @short Creates an object id for the QObject <code>obj.</code> + @short Creates an object id for the TQObject <code>obj.</code> */ - public static native String objectName(QObject arg1); + public static native String objectName(TQObject arg1); } diff --git a/kdejava/koala/org/kde/koala/KPanelAppMenuSignals.java b/kdejava/koala/org/kde/koala/KPanelAppMenuSignals.java index 6f6cff69..df76bd50 100644 --- a/kdejava/koala/org/kde/koala/KPanelAppMenuSignals.java +++ b/kdejava/koala/org/kde/koala/KPanelAppMenuSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPixmap; +import org.kde.qt.TQObject; +import org.kde.qt.TQPixmap; import java.util.ArrayList; public interface KPanelAppMenuSignals { diff --git a/kdejava/koala/org/kde/koala/KPanelApplet.java b/kdejava/koala/org/kde/koala/KPanelApplet.java index 80e4a619..f008a60b 100644 --- a/kdejava/koala/org/kde/koala/KPanelApplet.java +++ b/kdejava/koala/org/kde/koala/KPanelApplet.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QFrame; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQFrame; /** @@ -52,7 +52,7 @@ import org.kde.qt.QFrame; <pre> extern "C" { - KPanelApplet init(QWidget parent, String configFile) + KPanelApplet init(TQWidget parent, String configFile) { KGlobal.locale().insertCatalogue("exampleapplet"); return new ExampleApplet(configFile, KPanelApplet.Normal, @@ -69,7 +69,7 @@ import org.kde.qt.QFrame; @short %KDE Panel Applet class. */ -public class KPanelApplet extends QFrame { +public class KPanelApplet extends TQFrame { protected KPanelApplet(Class dummy){super((Class) null);} /** This enum describes the type of the applet. @@ -102,7 +102,7 @@ public class KPanelApplet extends QFrame { public static final int Left = 2; public static final int Right = 3; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KPanelApplet just like any other widget. @@ -114,21 +114,21 @@ public class KPanelApplet extends QFrame { @param f Window control flags @short Constructs a KPanelApplet just like any other widget. */ - public KPanelApplet(String configFile, int t, int actions, QWidget parent, String name, int f) { + public KPanelApplet(String configFile, int t, int actions, TQWidget parent, String name, int f) { super((Class) null); newKPanelApplet(configFile,t,actions,parent,name,f); } - private native void newKPanelApplet(String configFile, int t, int actions, QWidget parent, String name, int f); - public KPanelApplet(String configFile, int t, int actions, QWidget parent, String name) { + private native void newKPanelApplet(String configFile, int t, int actions, TQWidget parent, String name, int f); + public KPanelApplet(String configFile, int t, int actions, TQWidget parent, String name) { super((Class) null); newKPanelApplet(configFile,t,actions,parent,name); } - private native void newKPanelApplet(String configFile, int t, int actions, QWidget parent, String name); - public KPanelApplet(String configFile, int t, int actions, QWidget parent) { + private native void newKPanelApplet(String configFile, int t, int actions, TQWidget parent, String name); + public KPanelApplet(String configFile, int t, int actions, TQWidget parent) { super((Class) null); newKPanelApplet(configFile,t,actions,parent); } - private native void newKPanelApplet(String configFile, int t, int actions, QWidget parent); + private native void newKPanelApplet(String configFile, int t, int actions, TQWidget parent); public KPanelApplet(String configFile, int t, int actions) { super((Class) null); newKPanelApplet(configFile,t,actions); @@ -212,11 +212,11 @@ public class KPanelApplet extends QFrame { public native void action(int a); /** @return the applet's custom menu, usually the same as the context menu, or 0 if none - see setCustomMenu(QPopupMenu*) + see setCustomMenu(TQPopupMenu*) @short */ - public native QPopupMenu customMenu(); + public native TQPopupMenu customMenu(); /** @short */ @@ -299,7 +299,7 @@ public class KPanelApplet extends QFrame { with the new menu (or 0) to avoid crashes @short Use this method to set the custom menu for this applet so that it can be shown in the applet handle menu and other appropriate places that the applet many not itself be aware of. */ - protected native void setCustomMenu(QPopupMenu arg1); + protected native void setCustomMenu(TQPopupMenu arg1); /** Register widgets that can receive keyboard focus with this this method This call results in an eventFilter being places on the widget. @@ -307,8 +307,8 @@ public class KPanelApplet extends QFrame { @param watch whether to start watching the widget, or to stop doing so @short Register widgets that can receive keyboard focus with this this method This call results in an eventFilter being places on the widget. */ - protected native void watchForFocus(QWidget widget, boolean watch); - protected native void watchForFocus(QWidget widget); + protected native void watchForFocus(TQWidget widget, boolean watch); + protected native void watchForFocus(TQWidget widget); /** Call this whenever focus is needed or not needed. You do not have to call this method for widgets that have been registered with watchForFocus @@ -322,7 +322,7 @@ public class KPanelApplet extends QFrame { @short A convenience method that translates the position of the applet into which direction to show a popup. */ protected native int popupDirection(); - public native boolean eventFilter(QObject arg1, QEvent arg2); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KPanelAppletSignals.java b/kdejava/koala/org/kde/koala/KPanelAppletSignals.java index 8b0d8351..a4a5926a 100644 --- a/kdejava/koala/org/kde/koala/KPanelAppletSignals.java +++ b/kdejava/koala/org/kde/koala/KPanelAppletSignals.java @@ -1,12 +1,12 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; public interface KPanelAppletSignals { /** diff --git a/kdejava/koala/org/kde/koala/KPanelExtension.java b/kdejava/koala/org/kde/koala/KPanelExtension.java index 29ec3740..45dec6a8 100644 --- a/kdejava/koala/org/kde/koala/KPanelExtension.java +++ b/kdejava/koala/org/kde/koala/KPanelExtension.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; -import org.kde.qt.QFrame; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; +import org.kde.qt.TQFrame; /** @@ -50,7 +50,7 @@ import org.kde.qt.QFrame; <pre> extern "C" { - KPanelExtension init(QWidget parent, String configFile) + KPanelExtension init(TQWidget parent, String configFile) { KGlobal.locale().insertCatalogue("exampleextension"); return new ExampleExtension(configFile, KPanelExtension.Normal, @@ -67,7 +67,7 @@ import org.kde.qt.QFrame; @short %KDE Panel Extension class. */ -public class KPanelExtension extends QFrame { +public class KPanelExtension extends TQFrame { protected KPanelExtension(Class dummy){super((Class) null);} public static final int Normal = 0; public static final int Stretch = 1; @@ -93,7 +93,7 @@ public class KPanelExtension extends QFrame { public static final int SizeLarge = 3; public static final int SizeCustom = 4; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KPanelExtension just like any other widget. @@ -104,16 +104,16 @@ public class KPanelExtension extends QFrame { @param name A Qt object name for your extension. @short Constructs a KPanelExtension just like any other widget. */ - public KPanelExtension(String configFile, int t, int actions, QWidget parent, String name) { + public KPanelExtension(String configFile, int t, int actions, TQWidget parent, String name) { super((Class) null); newKPanelExtension(configFile,t,actions,parent,name); } - private native void newKPanelExtension(String configFile, int t, int actions, QWidget parent, String name); - public KPanelExtension(String configFile, int t, int actions, QWidget parent) { + private native void newKPanelExtension(String configFile, int t, int actions, TQWidget parent, String name); + public KPanelExtension(String configFile, int t, int actions, TQWidget parent) { super((Class) null); newKPanelExtension(configFile,t,actions,parent); } - private native void newKPanelExtension(String configFile, int t, int actions, QWidget parent); + private native void newKPanelExtension(String configFile, int t, int actions, TQWidget parent); public KPanelExtension(String configFile, int t, int actions) { super((Class) null); newKPanelExtension(configFile,t,actions); @@ -137,7 +137,7 @@ public class KPanelExtension extends QFrame { maxsize given by the handler. @short Returns the preferred size for a given Position. */ - public native QSize sizeHint(int arg1, QSize maxsize); + public native TQSize sizeHint(int arg1, TQSize maxsize); /** Always use this KConfig object to save/load your extensions configuration. For unique extensions this config object will write to a config file called @@ -207,9 +207,9 @@ public class KPanelExtension extends QFrame { @return the extension's custom menu, usually the same as the context menu, or 0 if none @short - @see #setCustomMenu(QPopupMenu*) + @see #setCustomMenu(TQPopupMenu*) */ - public native QPopupMenu customMenu(); + public native TQPopupMenu customMenu(); /** @return whether or not to set a desktop geometry claiming strut for this panel defaults to true @@ -298,7 +298,7 @@ public class KPanelExtension extends QFrame { with the new menu (or 0) to avoid crashes @short Use this method to set the custom menu for this extensions so that it can be shown at the appropriate places/times that the extension many not itself be aware of. */ - protected native void setCustomMenu(QPopupMenu arg1); + protected native void setCustomMenu(TQPopupMenu arg1); /** Use this method to set the return value for reserveStrut @short Use this method to set the return value for reserveStrut diff --git a/kdejava/koala/org/kde/koala/KPanelExtensionSignals.java b/kdejava/koala/org/kde/koala/KPanelExtensionSignals.java index 07f096d3..6aaf395a 100644 --- a/kdejava/koala/org/kde/koala/KPanelExtensionSignals.java +++ b/kdejava/koala/org/kde/koala/KPanelExtensionSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; public interface KPanelExtensionSignals { /** diff --git a/kdejava/koala/org/kde/koala/KPanelMenu.java b/kdejava/koala/org/kde/koala/KPanelMenu.java index 4eeda34a..8167596d 100644 --- a/kdejava/koala/org/kde/koala/KPanelMenu.java +++ b/kdejava/koala/org/kde/koala/KPanelMenu.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -26,7 +26,7 @@ import org.kde.qt.QWidget; */ public class KPanelMenu extends KPopupMenu { protected KPanelMenu(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a KPanelMenu object. This is the normal constructor to use when diff --git a/kdejava/koala/org/kde/koala/KPassivePopup.java b/kdejava/koala/org/kde/koala/KPassivePopup.java index c4c1c571..2cccf9cd 100644 --- a/kdejava/koala/org/kde/koala/KPassivePopup.java +++ b/kdejava/koala/org/kde/koala/KPassivePopup.java @@ -2,17 +2,17 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; -import org.kde.qt.QHideEvent; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QPoint; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QVBox; -import org.kde.qt.QFrame; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQPoint; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQVBox; +import org.kde.qt.TQFrame; /** @@ -31,7 +31,7 @@ import org.kde.qt.QFrame; Skip Taskbar Windows: The popup is placed adjact to the window itself if it is visible, and at the edge of the desktop otherwise. </li> - You also have the option of calling show with a QPoint as a parameter that + You also have the option of calling show with a TQPoint as a parameter that removes the automatic placing of KPassivePopup and shows it in the point you want. The most basic use of KPassivePopup displays a popup containing a piece of text: <pre> @@ -39,19 +39,19 @@ import org.kde.qt.QFrame; </pre> We can create popups with titles and icons too, as this example shows: <pre> - QPixmap px; + TQPixmap px; px.load( "hi32-app-logtracker.png" ); KPassivePopup.message( "Some title", "This is the main text", px, this ); </pre> - For more control over the popup, you can use the setView(QWidget ) method + For more control over the popup, you can use the setView(TQWidget ) method to create a custom popup. <pre> KPassivePopup pop = new KPassivePopup( parent ); - QVBox vb = new QVBox( pop ); - new QLabel( vb, "<b>Isn't this great?</b>" ); - QHBox box = new QHBox( vb ); - new QPushButton( box, "Yes" ); - new QPushButton( box, "No" ); + TQVBox vb = new TQVBox( pop ); + new TQLabel( vb, "<b>Isn't this great?</b>" ); + TQHBox box = new TQHBox( vb ); + new TQPushButton( box, "Yes" ); + new TQPushButton( box, "No" ); pop.setView( vb ); pop.show(); </pre> @@ -63,7 +63,7 @@ import org.kde.qt.QFrame; @short A dialog-like popup that displays messages without interupting the user. */ -public class KPassivePopup extends QFrame { +public class KPassivePopup extends TQFrame { protected KPassivePopup(Class dummy){super((Class) null);} /** Styles that a KPassivePopup can have. @@ -73,27 +73,27 @@ public class KPassivePopup extends QFrame { public static final int Balloon = 1; public static final int CustomStyle = 128; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a popup for the specified widget. @short Creates a popup for the specified widget. */ - public KPassivePopup(QWidget parent, String name, int f) { + public KPassivePopup(TQWidget parent, String name, int f) { super((Class) null); newKPassivePopup(parent,name,f); } - private native void newKPassivePopup(QWidget parent, String name, int f); - public KPassivePopup(QWidget parent, String name) { + private native void newKPassivePopup(TQWidget parent, String name, int f); + public KPassivePopup(TQWidget parent, String name) { super((Class) null); newKPassivePopup(parent,name); } - private native void newKPassivePopup(QWidget parent, String name); - public KPassivePopup(QWidget parent) { + private native void newKPassivePopup(TQWidget parent, String name); + public KPassivePopup(TQWidget parent) { super((Class) null); newKPassivePopup(parent); } - private native void newKPassivePopup(QWidget parent); + private native void newKPassivePopup(TQWidget parent); public KPassivePopup() { super((Class) null); newKPassivePopup(); @@ -122,21 +122,21 @@ public class KPassivePopup extends QFrame { Creates a popup for the specified widget. @short Creates a popup for the specified widget. */ - public KPassivePopup(int popupStyle, QWidget parent, String name, int f) { + public KPassivePopup(int popupStyle, TQWidget parent, String name, int f) { super((Class) null); newKPassivePopup(popupStyle,parent,name,f); } - private native void newKPassivePopup(int popupStyle, QWidget parent, String name, int f); - public KPassivePopup(int popupStyle, QWidget parent, String name) { + private native void newKPassivePopup(int popupStyle, TQWidget parent, String name, int f); + public KPassivePopup(int popupStyle, TQWidget parent, String name) { super((Class) null); newKPassivePopup(popupStyle,parent,name); } - private native void newKPassivePopup(int popupStyle, QWidget parent, String name); - public KPassivePopup(int popupStyle, QWidget parent) { + private native void newKPassivePopup(int popupStyle, TQWidget parent, String name); + public KPassivePopup(int popupStyle, TQWidget parent) { super((Class) null); newKPassivePopup(popupStyle,parent); } - private native void newKPassivePopup(int popupStyle, QWidget parent); + private native void newKPassivePopup(int popupStyle, TQWidget parent); public KPassivePopup(int popupStyle) { super((Class) null); newKPassivePopup(popupStyle); @@ -165,35 +165,35 @@ public class KPassivePopup extends QFrame { Sets the main view to be the specified widget (which must be a child of the popup). @short Sets the main view to be the specified widget (which must be a child of the popup). */ - public native void setView(QWidget child); + public native void setView(TQWidget child); /** - Creates a standard view then calls setView(QWidget) . - @short Creates a standard view then calls setView(QWidget ) . + Creates a standard view then calls setView(TQWidget) . + @short Creates a standard view then calls setView(TQWidget ) . */ public native void setView(String caption, String text); public native void setView(String caption); /** - Creates a standard view then calls setView(QWidget) . - @short Creates a standard view then calls setView(QWidget ) . + Creates a standard view then calls setView(TQWidget) . + @short Creates a standard view then calls setView(TQWidget ) . */ - public native void setView(String caption, String text, QPixmap icon); + public native void setView(String caption, String text, TQPixmap icon); /** Returns a widget that is used as standard view if one of the setView() methods taking the String arguments is used. You can use the returned widget to customize the passivepopup while keeping the look similar to the "standard" passivepopups. - After customizing the widget, pass it to setView( QWidget ) + After customizing the widget, pass it to setView( TQWidget ) @param caption The window caption (title) on the popup @param text The text for the popup @param icon The icon to use for the popup - @param parent The parent widget used for the returned QVBox. If left null, + @param parent The parent widget used for the returned TQVBox. If left null, then "this", i.e. the passive popup object will be used. - @return a QVBox containing the given arguments, looking like the + @return a TQVBox containing the given arguments, looking like the standard passivepopups. @short Returns a widget that is used as standard view if one of the setView() methods taking the String arguments is used. @see #setView( - @see org.kde.qt.QWidget + @see org.kde.qt.TQWidget @see #setView( @see #const @see #const @@ -201,15 +201,15 @@ public class KPassivePopup extends QFrame { @see #const @see #const @see #const - @see org.kde.qt.QPixmap& + @see org.kde.qt.TQPixmap& */ - public native QVBox standardView(String caption, String text, QPixmap icon, QWidget parent); - public native QVBox standardView(String caption, String text, QPixmap icon); + public native TQVBox standardView(String caption, String text, TQPixmap icon, TQWidget parent); + public native TQVBox standardView(String caption, String text, TQPixmap icon); /** Returns the main view. @short Returns the main view. */ - public native QWidget view(); + public native TQWidget view(); /** Returns the delay before the popup is removed automatically. @short Returns the delay before the popup is removed automatically. @@ -235,7 +235,7 @@ public class KPassivePopup extends QFrame { itself somehow around the point. @short Sets the anchor of this balloon. */ - public native void setAnchor(QPoint anchor); + public native void setAnchor(TQPoint anchor); /** Sets the delay for the popup is removed automatically. Setting the delay to 0 disables the timeout, if you're doing this, you may want to connect the @@ -254,7 +254,7 @@ public class KPassivePopup extends QFrame { Shows the popup in the given point @short Shows the popup in the given point */ - public native void show(QPoint p); + public native void show(TQPoint p); /** Convenience method that displays popup with the specified message beside the icon of the specified widget. @@ -262,8 +262,8 @@ public class KPassivePopup extends QFrame { @short Convenience method that displays popup with the specified message beside the icon of the specified widget. @see #setAutoDelete */ - public static native KPassivePopup message(String text, QWidget parent, String name); - public static native KPassivePopup message(String text, QWidget parent); + public static native KPassivePopup message(String text, TQWidget parent, String name); + public static native KPassivePopup message(String text, TQWidget parent); /** Convenience method that displays popup with the specified caption and message beside the icon of the specified widget. @@ -271,8 +271,8 @@ public class KPassivePopup extends QFrame { @short Convenience method that displays popup with the specified caption and message beside the icon of the specified widget. @see #setAutoDelete */ - public static native KPassivePopup message(String caption, String text, QWidget parent, String name); - public static native KPassivePopup message(String caption, String text, QWidget parent); + public static native KPassivePopup message(String caption, String text, TQWidget parent, String name); + public static native KPassivePopup message(String caption, String text, TQWidget parent); /** Convenience method that displays popup with the specified icon, caption and message beside the icon of the specified widget. @@ -280,9 +280,9 @@ public class KPassivePopup extends QFrame { @short Convenience method that displays popup with the specified icon, caption and message beside the icon of the specified widget. @see #setAutoDelete */ - public static native KPassivePopup message(String caption, String text, QPixmap icon, QWidget parent, String name, int timeout); - public static native KPassivePopup message(String caption, String text, QPixmap icon, QWidget parent, String name); - public static native KPassivePopup message(String caption, String text, QPixmap icon, QWidget parent); + public static native KPassivePopup message(String caption, String text, TQPixmap icon, TQWidget parent, String name, int timeout); + public static native KPassivePopup message(String caption, String text, TQPixmap icon, TQWidget parent, String name); + public static native KPassivePopup message(String caption, String text, TQPixmap icon, TQWidget parent); /** Convenience method that displays popup with the specified icon, caption and message beside the icon of the specified window. @@ -290,9 +290,9 @@ public class KPassivePopup extends QFrame { @short Convenience method that displays popup with the specified icon, caption and message beside the icon of the specified window. @see #setAutoDelete */ - public static native KPassivePopup message(String caption, String text, QPixmap icon, long parent, String name, int timeout); - public static native KPassivePopup message(String caption, String text, QPixmap icon, long parent, String name); - public static native KPassivePopup message(String caption, String text, QPixmap icon, long parent); + public static native KPassivePopup message(String caption, String text, TQPixmap icon, long parent, String name, int timeout); + public static native KPassivePopup message(String caption, String text, TQPixmap icon, long parent, String name); + public static native KPassivePopup message(String caption, String text, TQPixmap icon, long parent); /** Convenience method that displays popup with the specified popup-style and message beside the icon of the specified widget. @@ -300,8 +300,8 @@ public class KPassivePopup extends QFrame { @short Convenience method that displays popup with the specified popup-style and message beside the icon of the specified widget. @see #setAutoDelete */ - public static native KPassivePopup message(int popupStyle, String text, QWidget parent, String name); - public static native KPassivePopup message(int popupStyle, String text, QWidget parent); + public static native KPassivePopup message(int popupStyle, String text, TQWidget parent, String name); + public static native KPassivePopup message(int popupStyle, String text, TQWidget parent); /** Convenience method that displays popup with the specified popup-style, caption and message beside the icon of the specified widget. @@ -309,8 +309,8 @@ public class KPassivePopup extends QFrame { @short Convenience method that displays popup with the specified popup-style, caption and message beside the icon of the specified widget. @see #setAutoDelete */ - public static native KPassivePopup message(int popupStyle, String caption, String text, QWidget parent, String name); - public static native KPassivePopup message(int popupStyle, String caption, String text, QWidget parent); + public static native KPassivePopup message(int popupStyle, String caption, String text, TQWidget parent, String name); + public static native KPassivePopup message(int popupStyle, String caption, String text, TQWidget parent); /** Convenience method that displays popup with the specified popup-style, icon, caption and message beside the icon of the specified widget. @@ -318,9 +318,9 @@ public class KPassivePopup extends QFrame { @short Convenience method that displays popup with the specified popup-style, icon, caption and message beside the icon of the specified widget. @see #setAutoDelete */ - public static native KPassivePopup message(int popupStyle, String caption, String text, QPixmap icon, QWidget parent, String name, int timeout); - public static native KPassivePopup message(int popupStyle, String caption, String text, QPixmap icon, QWidget parent, String name); - public static native KPassivePopup message(int popupStyle, String caption, String text, QPixmap icon, QWidget parent); + public static native KPassivePopup message(int popupStyle, String caption, String text, TQPixmap icon, TQWidget parent, String name, int timeout); + public static native KPassivePopup message(int popupStyle, String caption, String text, TQPixmap icon, TQWidget parent, String name); + public static native KPassivePopup message(int popupStyle, String caption, String text, TQPixmap icon, TQWidget parent); /** Convenience method that displays popup with the specified popup-style, icon, caption and message beside the icon of the specified window. @@ -328,9 +328,9 @@ public class KPassivePopup extends QFrame { @short Convenience method that displays popup with the specified popup-style, icon, caption and message beside the icon of the specified window. @see #setAutoDelete */ - public static native KPassivePopup message(int popupStyle, String caption, String text, QPixmap icon, long parent, String name, int timeout); - public static native KPassivePopup message(int popupStyle, String caption, String text, QPixmap icon, long parent, String name); - public static native KPassivePopup message(int popupStyle, String caption, String text, QPixmap icon, long parent); + public static native KPassivePopup message(int popupStyle, String caption, String text, TQPixmap icon, long parent, String name, int timeout); + public static native KPassivePopup message(int popupStyle, String caption, String text, TQPixmap icon, long parent, String name); + public static native KPassivePopup message(int popupStyle, String caption, String text, TQPixmap icon, long parent); /** This method positions the popup. @short This method positions the popup. @@ -341,28 +341,28 @@ public class KPassivePopup extends QFrame { enabled. @short Reimplemented to destroy the object when autoDelete() is enabled. */ - protected native void hideEvent(QHideEvent arg1); + protected native void hideEvent(TQHideEvent arg1); /** Moves the popup to be adjacent to the icon of the specified rectangle. @short Moves the popup to be adjacent to the icon of the specified rectangle. */ - protected native void moveNear(QRect target); + protected native void moveNear(TQRect target); /** Reimplemented to detect mouse clicks. @short Reimplemented to detect mouse clicks. */ - protected native void mouseReleaseEvent(QMouseEvent e); + protected native void mouseReleaseEvent(TQMouseEvent e); /** If no relative window (eg taskbar button, system tray window) is available, use this rectangle (pass it to moveNear()). Basically KWinModule.workArea() with width and height set to 0 so that moveNear uses the upper-left position. - @return The QRect to be passed to moveNear() if no other is + @return The TQRect to be passed to moveNear() if no other is available. @short If no relative window (eg taskbar button, system tray window) is available, use this rectangle (pass it to moveNear()). */ - protected native QRect defaultArea(); + protected native TQRect defaultArea(); /** Updates the transparency mask. Unused if PopupStyle == Boxed @short Updates the transparency mask. @@ -373,7 +373,7 @@ public class KPassivePopup extends QFrame { Unused if PopupStyle == Boxed @short Overwrite to paint the border when PopupStyle == Balloon. */ - protected native void paintEvent(QPaintEvent pe); + protected native void paintEvent(TQPaintEvent pe); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KPassivePopupSignals.java b/kdejava/koala/org/kde/koala/KPassivePopupSignals.java index d317a81b..eabcd36b 100644 --- a/kdejava/koala/org/kde/koala/KPassivePopupSignals.java +++ b/kdejava/koala/org/kde/koala/KPassivePopupSignals.java @@ -1,16 +1,16 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QRect; -import org.kde.qt.QHideEvent; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QPoint; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QVBox; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQPoint; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQVBox; public interface KPassivePopupSignals { /** @@ -22,5 +22,5 @@ public interface KPassivePopupSignals { Emitted when the popup is clicked. @short Emitted when the popup is clicked. */ - void clicked(QPoint pos); + void clicked(TQPoint pos); } diff --git a/kdejava/koala/org/kde/koala/KPasswordDialog.java b/kdejava/koala/org/kde/koala/KPasswordDialog.java index d1468aae..2e0bb97f 100644 --- a/kdejava/koala/org/kde/koala/KPasswordDialog.java +++ b/kdejava/koala/org/kde/koala/KPasswordDialog.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -52,7 +52,7 @@ public class KPasswordDialog extends KDialogBase { public static final int Password = 0; public static final int NewPassword = 1; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a password dialog. @@ -66,16 +66,16 @@ public class KPasswordDialog extends KDialogBase { @param name Passed to lower level constructor @short Constructs a password dialog. */ - public KPasswordDialog(int type, boolean enableKeep, int extraBttn, QWidget parent, String name) { + public KPasswordDialog(int type, boolean enableKeep, int extraBttn, TQWidget parent, String name) { super((Class) null); newKPasswordDialog(type,enableKeep,extraBttn,parent,name); } - private native void newKPasswordDialog(int type, boolean enableKeep, int extraBttn, QWidget parent, String name); - public KPasswordDialog(int type, boolean enableKeep, int extraBttn, QWidget parent) { + private native void newKPasswordDialog(int type, boolean enableKeep, int extraBttn, TQWidget parent, String name); + public KPasswordDialog(int type, boolean enableKeep, int extraBttn, TQWidget parent) { super((Class) null); newKPasswordDialog(type,enableKeep,extraBttn,parent); } - private native void newKPasswordDialog(int type, boolean enableKeep, int extraBttn, QWidget parent); + private native void newKPasswordDialog(int type, boolean enableKeep, int extraBttn, TQWidget parent); public KPasswordDialog(int type, boolean enableKeep, int extraBttn) { super((Class) null); newKPasswordDialog(type,enableKeep,extraBttn); @@ -96,16 +96,16 @@ public class KPasswordDialog extends KDialogBase { @param name Passed to lower level constructor @short Construct a password dialog. */ - public KPasswordDialog(int type, boolean enableKeep, int extraBttn, String iconName, QWidget parent, String name) { + public KPasswordDialog(int type, boolean enableKeep, int extraBttn, String iconName, TQWidget parent, String name) { super((Class) null); newKPasswordDialog(type,enableKeep,extraBttn,iconName,parent,name); } - private native void newKPasswordDialog(int type, boolean enableKeep, int extraBttn, String iconName, QWidget parent, String name); - public KPasswordDialog(int type, boolean enableKeep, int extraBttn, String iconName, QWidget parent) { + private native void newKPasswordDialog(int type, boolean enableKeep, int extraBttn, String iconName, TQWidget parent, String name); + public KPasswordDialog(int type, boolean enableKeep, int extraBttn, String iconName, TQWidget parent) { super((Class) null); newKPasswordDialog(type,enableKeep,extraBttn,iconName,parent); } - private native void newKPasswordDialog(int type, boolean enableKeep, int extraBttn, String iconName, QWidget parent); + private native void newKPasswordDialog(int type, boolean enableKeep, int extraBttn, String iconName, TQWidget parent); public KPasswordDialog(int type, boolean enableKeep, int extraBttn, String iconName) { super((Class) null); newKPasswordDialog(type,enableKeep,extraBttn,iconName); diff --git a/kdejava/koala/org/kde/koala/KPasswordEdit.java b/kdejava/koala/org/kde/koala/KPasswordEdit.java index f829dd7d..3dcaa371 100644 --- a/kdejava/koala/org/kde/koala/KPasswordEdit.java +++ b/kdejava/koala/org/kde/koala/KPasswordEdit.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QLineEdit; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQLineEdit; /** @@ -18,28 +18,28 @@ import org.kde.qt.QLineEdit; @short A safe password input widget. */ -public class KPasswordEdit extends QLineEdit { +public class KPasswordEdit extends TQLineEdit { protected KPasswordEdit(Class dummy){super((Class) null);} public static final int OneStar = 0; public static final int ThreeStars = 1; public static final int NoEcho = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a password input widget using the user's global "echo mode" setting. @short Constructs a password input widget using the user's global "echo mode" setting. */ - public KPasswordEdit(QWidget parent, String name) { + public KPasswordEdit(TQWidget parent, String name) { super((Class) null); newKPasswordEdit(parent,name); } - private native void newKPasswordEdit(QWidget parent, String name); - public KPasswordEdit(QWidget parent) { + private native void newKPasswordEdit(TQWidget parent, String name); + public KPasswordEdit(TQWidget parent) { super((Class) null); newKPasswordEdit(parent); } - private native void newKPasswordEdit(QWidget parent); + private native void newKPasswordEdit(TQWidget parent); public KPasswordEdit() { super((Class) null); newKPasswordEdit(); @@ -47,14 +47,14 @@ public class KPasswordEdit extends QLineEdit { private native void newKPasswordEdit(); /** Constructs a password input widget using echoMode as "echo mode". - Note that echoMode is a QLineEdit.EchoMode. + Note that echoMode is a TQLineEdit.EchoMode. @short Constructs a password input widget using echoMode as "echo mode". */ - public KPasswordEdit(int echoMode, QWidget parent, String name) { + public KPasswordEdit(int echoMode, TQWidget parent, String name) { super((Class) null); newKPasswordEdit(echoMode,parent,name); } - private native void newKPasswordEdit(int echoMode, QWidget parent, String name); + private native void newKPasswordEdit(int echoMode, TQWidget parent, String name); /** Returns the password. The memory is freed in the destructor so you should make a copy. @@ -84,9 +84,9 @@ public class KPasswordEdit extends QLineEdit { @short Reimplementation */ public native void insert(String arg1); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void focusInEvent(QFocusEvent e); - public native boolean event(QEvent e); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void focusInEvent(TQFocusEvent e); + public native boolean event(TQEvent e); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KPasteTextAction.java b/kdejava/koala/org/kde/koala/KPasteTextAction.java index 9de17c12..20ebb27d 100644 --- a/kdejava/koala/org/kde/koala/KPasteTextAction.java +++ b/kdejava/koala/org/kde/koala/KPasteTextAction.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQWidget; /** @@ -20,7 +20,7 @@ import org.kde.qt.QWidget; */ public class KPasteTextAction extends KAction { protected KPasteTextAction(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create a KPasteTextAction, with a text, an icon, an accelerator, @@ -36,21 +36,21 @@ public class KPasteTextAction extends KAction { @param name An internal name for this action. @short Create a KPasteTextAction, with a text, an icon, an accelerator, a slot connected to the action, parent and name. */ - public KPasteTextAction(String text, String icon, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KPasteTextAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKPasteTextAction(text,icon,cut,receiver,slot,parent,name); } - private native void newKPasteTextAction(String text, String icon, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KPasteTextAction(String text, String icon, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKPasteTextAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KPasteTextAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKPasteTextAction(text,icon,cut,receiver,slot,parent); } - private native void newKPasteTextAction(String text, String icon, KShortcut cut, QObject receiver, String slot, QObject parent); - public KPasteTextAction(String text, String icon, KShortcut cut, QObject receiver, String slot) { + private native void newKPasteTextAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent); + public KPasteTextAction(String text, String icon, KShortcut cut, TQObject receiver, String slot) { super((Class) null); newKPasteTextAction(text,icon,cut,receiver,slot); } - private native void newKPasteTextAction(String text, String icon, KShortcut cut, QObject receiver, String slot); + private native void newKPasteTextAction(String text, String icon, KShortcut cut, TQObject receiver, String slot); /** Controls the behavior of the clipboard history menu popup. @param mode If false and the clipboard contains a non-text object @@ -62,8 +62,8 @@ public class KPasteTextAction extends KAction { @short Controls the behavior of the clipboard history menu popup. */ public native void setMixedMode(boolean mode); - public native int plug(QWidget widget, int index); - public native int plug(QWidget widget); + public native int plug(TQWidget widget, int index); + public native int plug(TQWidget widget); protected native void menuAboutToShow(); protected native void menuItemActivated(int id); protected native void slotActivated(); diff --git a/kdejava/koala/org/kde/koala/KPixmap.java b/kdejava/koala/org/kde/koala/KPixmap.java index d693caf2..a421302d 100644 --- a/kdejava/koala/org/kde/koala/KPixmap.java +++ b/kdejava/koala/org/kde/koala/KPixmap.java @@ -3,9 +3,9 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QImage; -import org.kde.qt.QPixmap; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQImage; +import org.kde.qt.TQPixmap; /** @@ -28,7 +28,7 @@ import org.kde.qt.QPixmap; @short Off-screen paint device with extended features. */ -public class KPixmap extends QPixmap { +public class KPixmap extends TQPixmap { protected KPixmap(Class dummy){super((Class) null);} /** This enumeration provides a color pallete specification @@ -61,14 +61,14 @@ public class KPixmap extends QPixmap { } private native void newKPixmap(); /** - Copies the QPixmap <code>pix.</code> - @short Copies the QPixmap <code>pix.</code> + Copies the TQPixmap <code>pix.</code> + @short Copies the TQPixmap <code>pix.</code> */ - public KPixmap(QPixmap pix) { + public KPixmap(TQPixmap pix) { super((Class) null); newKPixmap(pix); } - private native void newKPixmap(QPixmap pix); + private native void newKPixmap(TQPixmap pix); /** Converts an image and sets this pixmap. The conversion_flags argument is a bitwise-OR from the @@ -155,15 +155,15 @@ public class KPixmap extends QPixmap { @short Converts an image and sets this pixmap. */ - public native boolean convertFromImage(QImage img, int conversion_flags); - public native boolean convertFromImage(QImage img); + public native boolean convertFromImage(TQImage img, int conversion_flags); + public native boolean convertFromImage(TQImage img); /** Loads a pixmap from the file <code>fileName.</code> If format is specified, the loader attempts to read the pixmap using the specified format. If format is not specified (default), the loader reads a few bytes from the header to guess the file format. - The QImageIO documentation lists the supported image + The TQImageIO documentation lists the supported image formats and explains how to add extra formats. @param fileName the name of the file to load the image from @param format the format for the image @@ -186,7 +186,7 @@ public class KPixmap extends QPixmap { @param image the image to test @short Returns true if the image posesses a color table that matches the Icon palette or false otherwise. */ - public native boolean checkColorTable(QImage image); + public native boolean checkColorTable(TQImage image); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KPixmapEffect.java b/kdejava/koala/org/kde/koala/KPixmapEffect.java index edc77bd7..c6abe32f 100644 --- a/kdejava/koala/org/kde/koala/KPixmapEffect.java +++ b/kdejava/koala/org/kde/koala/KPixmapEffect.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; +import org.kde.qt.TQColor; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; +import org.kde.qt.TQSize; /** @@ -60,8 +60,8 @@ public class KPixmapEffect implements QtSupport { @short Creates a gradient from color a to color b of the specified type. */ - public static native KPixmap gradient(KPixmap pixmap, QColor ca, QColor cb, int type, int ncols); - public static native KPixmap gradient(KPixmap pixmap, QColor ca, QColor cb, int type); + public static native KPixmap gradient(KPixmap pixmap, TQColor ca, TQColor cb, int type, int ncols); + public static native KPixmap gradient(KPixmap pixmap, TQColor ca, TQColor cb, int type); /** Creates an unbalanced gradient. An unbalanced gradient is a gradient where the transition from @@ -77,10 +77,10 @@ public class KPixmapEffect implements QtSupport { @short Creates an unbalanced gradient. */ - public static native KPixmap unbalancedGradient(KPixmap pixmap, QColor ca, QColor cb, int type, int xfactor, int yfactor, int ncols); - public static native KPixmap unbalancedGradient(KPixmap pixmap, QColor ca, QColor cb, int type, int xfactor, int yfactor); - public static native KPixmap unbalancedGradient(KPixmap pixmap, QColor ca, QColor cb, int type, int xfactor); - public static native KPixmap unbalancedGradient(KPixmap pixmap, QColor ca, QColor cb, int type); + public static native KPixmap unbalancedGradient(KPixmap pixmap, TQColor ca, TQColor cb, int type, int xfactor, int yfactor, int ncols); + public static native KPixmap unbalancedGradient(KPixmap pixmap, TQColor ca, TQColor cb, int type, int xfactor, int yfactor); + public static native KPixmap unbalancedGradient(KPixmap pixmap, TQColor ca, TQColor cb, int type, int xfactor); + public static native KPixmap unbalancedGradient(KPixmap pixmap, TQColor ca, TQColor cb, int type); /** Creates a pixmap of a given size with the given pixmap. if the @@ -92,7 +92,7 @@ public class KPixmapEffect implements QtSupport { @short Creates a pixmap of a given size with the given pixmap. */ - public static native KPixmap createTiled(KPixmap pixmap, QSize size); + public static native KPixmap createTiled(KPixmap pixmap, TQSize size); /** Either brightens or dims a pixmap by a specified ratio. @param pixmap The pixmap to process. @@ -136,9 +136,9 @@ public class KPixmapEffect implements QtSupport { @short Blends the provided pixmap into a background of the indicated color. */ - public static native KPixmap blend(KPixmap pixmap, float initial_intensity, QColor bgnd, int eff, boolean anti_dir, int ncols); - public static native KPixmap blend(KPixmap pixmap, float initial_intensity, QColor bgnd, int eff, boolean anti_dir); - public static native KPixmap blend(KPixmap pixmap, float initial_intensity, QColor bgnd, int eff); + public static native KPixmap blend(KPixmap pixmap, float initial_intensity, TQColor bgnd, int eff, boolean anti_dir, int ncols); + public static native KPixmap blend(KPixmap pixmap, float initial_intensity, TQColor bgnd, int eff, boolean anti_dir); + public static native KPixmap blend(KPixmap pixmap, float initial_intensity, TQColor bgnd, int eff); /** Builds a hash on any given pixmap. @param pixmap The pixmap to process. @@ -170,8 +170,8 @@ public class KPixmapEffect implements QtSupport { @short Creates a pattern from a pixmap. */ - public static native KPixmap pattern(KPixmap pixmap, QSize size, QColor ca, QColor cb, int ncols); - public static native KPixmap pattern(KPixmap pixmap, QSize size, QColor ca, QColor cb); + public static native KPixmap pattern(KPixmap pixmap, TQSize size, TQColor ca, TQColor cb, int ncols); + public static native KPixmap pattern(KPixmap pixmap, TQSize size, TQColor ca, TQColor cb); /** Fades a pixmap to a certain color. @param pixmap The pixmap to process. @@ -181,7 +181,7 @@ public class KPixmapEffect implements QtSupport { @short Fades a pixmap to a certain color. */ - public static native KPixmap fade(KPixmap pixmap, double val, QColor color); + public static native KPixmap fade(KPixmap pixmap, double val, TQColor color); /** Converts a pixmap to grayscale. @param pixmap The pixmap to process. @@ -222,15 +222,15 @@ public class KPixmapEffect implements QtSupport { @short Dithers a pixmap using Floyd-Steinberg dithering for low-color situations. */ - public static native KPixmap dither(KPixmap pixmap, QColor palette, int size); + public static native KPixmap dither(KPixmap pixmap, TQColor palette, int size); /** Calculate a 'selected' pixmap, for instance a selected icon on the desktop. @param pixmap the pixmap to select - @param col the selected color, usually from QColorGroup.highlight(). + @param col the selected color, usually from TQColorGroup.highlight(). @short Calculate a 'selected' pixmap, for instance a selected icon on the desktop. */ - public static native KPixmap selectedPixmap(KPixmap pixmap, QColor col); + public static native KPixmap selectedPixmap(KPixmap pixmap, TQColor col); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KPixmapIO.java b/kdejava/koala/org/kde/koala/KPixmapIO.java index f0e8922c..2329f718 100644 --- a/kdejava/koala/org/kde/koala/KPixmapIO.java +++ b/kdejava/koala/org/kde/koala/KPixmapIO.java @@ -2,15 +2,15 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; +import org.kde.qt.TQRect; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QImage; -import org.kde.qt.QPoint; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQImage; +import org.kde.qt.TQPoint; /** - KPixmapIO implements a fast path for QPixmap to/from QImage conversions. + KPixmapIO implements a fast path for TQPixmap to/from TQImage conversions. It uses the MIT-SHM shared memory extension for this. If this extension is not available, it will fall back to standard Qt methods. <li><b>Typical usage:</b></li> @@ -58,7 +58,7 @@ import org.kde.qt.QPoint; @version $Id$ - @short Fast QImage to/from QPixmap conversion. + @short Fast TQImage to/from TQPixmap conversion. */ public class KPixmapIO implements QtSupport { @@ -84,7 +84,7 @@ public class KPixmapIO implements QtSupport { @short Convert an image to a pixmap. */ - public native QPixmap convertToPixmap(QImage image); + public native TQPixmap convertToPixmap(TQImage image); /** Convert a pixmap to an image. @param pixmap The pixmap to convert. @@ -92,7 +92,7 @@ public class KPixmapIO implements QtSupport { @short Convert a pixmap to an image. */ - public native QImage convertToImage(QPixmap pixmap); + public native TQImage convertToImage(TQPixmap pixmap); /** Bitblt an image onto a pixmap. @param dst The destination pixmap. @@ -101,13 +101,13 @@ public class KPixmapIO implements QtSupport { @param src The image to load. @short Bitblt an image onto a pixmap. */ - public native void putImage(QPixmap dst, int dx, int dy, QImage src); + public native void putImage(TQPixmap dst, int dx, int dy, TQImage src); /** This function is identical to the one above. It only differs in the arguments it accepts. @short This function is identical to the one above. */ - public native void putImage(QPixmap dst, QPoint offset, QImage src); + public native void putImage(TQPixmap dst, TQPoint offset, TQImage src); /** Transfer (a part of) a pixmap to an image. @param src The source pixmap. @@ -119,13 +119,13 @@ public class KPixmapIO implements QtSupport { @short Transfer (a part of) a pixmap to an image. */ - public native QImage getImage(QPixmap src, int sx, int sy, int sw, int sh); + public native TQImage getImage(TQPixmap src, int sx, int sy, int sw, int sh); /** This function is identical to the one above. It only differs in the arguments it accepts. @short This function is identical to the one above. */ - public native QImage getImage(QPixmap src, QRect rect); + public native TQImage getImage(TQPixmap src, TQRect rect); /** Set the shared memory allocation policy. See the introduction for KPixmapIO for a discussion. diff --git a/kdejava/koala/org/kde/koala/KPixmapProvider.java b/kdejava/koala/org/kde/koala/KPixmapProvider.java index 66765669..41e6f426 100644 --- a/kdejava/koala/org/kde/koala/KPixmapProvider.java +++ b/kdejava/koala/org/kde/koala/KPixmapProvider.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; +import org.kde.qt.TQPixmap; /** @@ -30,6 +30,6 @@ public class KPixmapProvider implements QtSupport { @short You may subclass this and return a pixmap of size <code>size</code> for <code>text.</code> */ - public native QPixmap pixmapFor(String text, int size); - public native QPixmap pixmapFor(String text); + public native TQPixmap pixmapFor(String text, int size); + public native TQPixmap pixmapFor(String text); } diff --git a/kdejava/koala/org/kde/koala/KPixmapSplitter.java b/kdejava/koala/org/kde/koala/KPixmapSplitter.java index a0315de1..da5eccaf 100644 --- a/kdejava/koala/org/kde/koala/KPixmapSplitter.java +++ b/kdejava/koala/org/kde/koala/KPixmapSplitter.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; +import org.kde.qt.TQRect; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QSize; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSize; /** @@ -16,12 +16,12 @@ import org.kde.qt.QSize; <pre> KPixmapSplitter splitter; splitter.setPixmap( somePixmap ); - splitter.setItemSize( QSize( 20, 10 )); - QPixmap item( 20, 10 ); + splitter.setItemSize( TQSize( 20, 10 )); + TQPixmap item( 20, 10 ); item.fill( Qt.white ); - QRect rect = splitter.coordinates( 4 ); + TQRect rect = splitter.coordinates( 4 ); if ( !rect.isEmpty() ) - bitBlt( &item, QPoint(0,0), &somePixmap, rect, CopyROP ); + bitBlt( &item, TQPoint(0,0), &somePixmap, rect, CopyROP ); </pre> @author Carsten Pfeiffer <pfeiffer@kde.org> @@ -45,27 +45,27 @@ public class KPixmapSplitter implements QtSupport { Sets the pixmap to be split. @short Sets the pixmap to be split. */ - public native void setPixmap(QPixmap pixmap); + public native void setPixmap(TQPixmap pixmap); /** @return the pixmap that has been set via setPixmap(). @short */ - public native QPixmap pixmap(); + public native TQPixmap pixmap(); /** Sets the size of the items you want to get out of the given pixmap. - The QRect of #coordinates(int) will have the width and height of exactly + The TQRect of #coordinates(int) will have the width and height of exactly this <code>size.</code> @short Sets the size of the items you want to get out of the given pixmap. */ - public native void setItemSize(QSize size); + public native void setItemSize(TQSize size); /** @return the set size of the items (coordinates) you want to get out of the given pixmap. @short */ - public native QSize itemSize(); + public native TQSize itemSize(); /** If there is space between rows in the given pixmap, you have to specify how many pixels there are. @@ -84,13 +84,13 @@ public class KPixmapSplitter implements QtSupport { @short */ - public native QRect coordinates(int pos); + public native TQRect coordinates(int pos); /** Overloaded for convenience. Returns the item at the position of the given character (when using a latin1 font-pixmap) @short Overloaded for convenience. */ - public native QRect coordinates(char ch); + public native TQRect coordinates(char ch); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KPluginSelector.java b/kdejava/koala/org/kde/koala/KPluginSelector.java index f725ee1f..92e03db0 100644 --- a/kdejava/koala/org/kde/koala/KPluginSelector.java +++ b/kdejava/koala/org/kde/koala/KPluginSelector.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -29,24 +29,24 @@ import org.kde.qt.QWidget; @short A widget to select what plugins to load and configure the plugins. */ -public class KPluginSelector extends QWidget { +public class KPluginSelector extends TQWidget { protected KPluginSelector(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create a new KPluginSelector. @short Create a new KPluginSelector. */ - public KPluginSelector(QWidget parent, String name) { + public KPluginSelector(TQWidget parent, String name) { super((Class) null); newKPluginSelector(parent,name); } - private native void newKPluginSelector(QWidget parent, String name); - public KPluginSelector(QWidget parent) { + private native void newKPluginSelector(TQWidget parent, String name); + public KPluginSelector(TQWidget parent) { super((Class) null); newKPluginSelector(parent); } - private native void newKPluginSelector(QWidget parent); + private native void newKPluginSelector(TQWidget parent); /** Add a list of KParts plugins If you want to support non-KParts plugins use the following @@ -110,10 +110,10 @@ public class KPluginSelector extends QWidget { "kviewcanvas" ). @short Add a list of non-KParts plugins */ - // void addPlugins(const QValueList<KPluginInfo*>& arg1,const QString& arg2,const QString& arg3,KConfig* arg4); >>>> NOT CONVERTED - // void addPlugins(const QValueList<KPluginInfo*>& arg1,const QString& arg2,const QString& arg3); >>>> NOT CONVERTED - // void addPlugins(const QValueList<KPluginInfo*>& arg1,const QString& arg2); >>>> NOT CONVERTED - // void addPlugins(const QValueList<KPluginInfo*>& arg1); >>>> NOT CONVERTED + // void addPlugins(const TQValueList<KPluginInfo*>& arg1,const TQString& arg2,const TQString& arg3,KConfig* arg4); >>>> NOT CONVERTED + // void addPlugins(const TQValueList<KPluginInfo*>& arg1,const TQString& arg2,const TQString& arg3); >>>> NOT CONVERTED + // void addPlugins(const TQValueList<KPluginInfo*>& arg1,const TQString& arg2); >>>> NOT CONVERTED + // void addPlugins(const TQValueList<KPluginInfo*>& arg1); >>>> NOT CONVERTED /** Set whether the area for showing the KCMs of the plugins should be hidden if the plugin doesn't have a KCM or whether the layout should diff --git a/kdejava/koala/org/kde/koala/KPluginSelectorSignals.java b/kdejava/koala/org/kde/koala/KPluginSelectorSignals.java index 63602b9e..918ab9f0 100644 --- a/kdejava/koala/org/kde/koala/KPluginSelectorSignals.java +++ b/kdejava/koala/org/kde/koala/KPluginSelectorSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KPluginSelectorSignals { /** diff --git a/kdejava/koala/org/kde/koala/KPopupFrame.java b/kdejava/koala/org/kde/koala/KPopupFrame.java index 8efe2ef1..981649b6 100644 --- a/kdejava/koala/org/kde/koala/KPopupFrame.java +++ b/kdejava/koala/org/kde/koala/KPopupFrame.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QFrame; +import org.kde.qt.TQPoint; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQFrame; /** @@ -20,24 +20,24 @@ import org.kde.qt.QFrame; @short Frame with popup menu behavior. */ -public class KPopupFrame extends QFrame { +public class KPopupFrame extends TQFrame { protected KPopupFrame(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** The contructor. Creates a dialog without buttons. @short The contructor. */ - public KPopupFrame(QWidget parent, String name) { + public KPopupFrame(TQWidget parent, String name) { super((Class) null); newKPopupFrame(parent,name); } - private native void newKPopupFrame(QWidget parent, String name); - public KPopupFrame(QWidget parent) { + private native void newKPopupFrame(TQWidget parent, String name); + public KPopupFrame(TQWidget parent) { super((Class) null); newKPopupFrame(parent); } - private native void newKPopupFrame(QWidget parent); + private native void newKPopupFrame(TQWidget parent); public KPopupFrame() { super((Class) null); newKPopupFrame(); @@ -51,23 +51,23 @@ public class KPopupFrame extends QFrame { widget. @short Set the main widget. */ - public native void setMainWidget(QWidget m); + public native void setMainWidget(TQWidget m); /** The resize event. Simply resizes the main widget to the whole widgets client size. @short The resize event. */ - public native void resizeEvent(QResizeEvent arg1); + public native void resizeEvent(TQResizeEvent arg1); /** Open the popup window at position pos. @short Open the popup window at position pos. */ - public native void popup(QPoint pos); + public native void popup(TQPoint pos); /** Execute the popup window. @short Execute the popup window. */ - public native int exec(QPoint p); + public native int exec(TQPoint p); /** Execute the popup window. @short Execute the popup window. @@ -80,7 +80,7 @@ public class KPopupFrame extends QFrame { */ public native void close(int r); /** - Hides the widget. Reimplemented from QWidget + Hides the widget. Reimplemented from TQWidget @short Hides the widget. */ public native void hide(); @@ -88,7 +88,7 @@ public class KPopupFrame extends QFrame { Catch key press events. @short Catch key press events. */ - protected native void keyPressEvent(QKeyEvent e); + protected native void keyPressEvent(TQKeyEvent e); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KPopupMenu.java b/kdejava/koala/org/kde/koala/KPopupMenu.java index c3fff51a..75043bdf 100644 --- a/kdejava/koala/org/kde/koala/KPopupMenu.java +++ b/kdejava/koala/org/kde/koala/KPopupMenu.java @@ -2,24 +2,24 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QHideEvent; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QCloseEvent; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QPoint; -import org.kde.qt.QContextMenuEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QPopupMenu; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQPoint; +import org.kde.qt.TQContextMenuEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQPopupMenu; /** KPopupMenu is a class for menus with standard title items and keyboard accessibility for popups with many options and/or varying options. It acts - identically to QPopupMenu, with the addition of insertTitle(), + identically to TQPopupMenu, with the addition of insertTitle(), changeTitle(), setKeyboardShortcutsEnabled() and setKeyboardShortcutsExecute() methods. The titles support a text string, an icon, plus user defined gradients, @@ -32,24 +32,24 @@ import org.kde.qt.QPopupMenu; @short A menu with title items. */ -public class KPopupMenu extends QPopupMenu { +public class KPopupMenu extends TQPopupMenu { protected KPopupMenu(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KPopupMenu. @short Constructs a KPopupMenu. */ - public KPopupMenu(QWidget parent, String name) { + public KPopupMenu(TQWidget parent, String name) { super((Class) null); newKPopupMenu(parent,name); } - private native void newKPopupMenu(QWidget parent, String name); - public KPopupMenu(QWidget parent) { + private native void newKPopupMenu(TQWidget parent, String name); + public KPopupMenu(TQWidget parent) { super((Class) null); newKPopupMenu(parent); } - private native void newKPopupMenu(QWidget parent); + private native void newKPopupMenu(TQWidget parent); public KPopupMenu() { super((Class) null); newKPopupMenu(); @@ -66,9 +66,9 @@ public class KPopupMenu extends QPopupMenu { Inserts a title item with the given icon and title. @short Inserts a title item with the given icon and title. */ - public native int insertTitle(QPixmap icon, String text, int id, int index); - public native int insertTitle(QPixmap icon, String text, int id); - public native int insertTitle(QPixmap icon, String text); + public native int insertTitle(TQPixmap icon, String text, int id, int index); + public native int insertTitle(TQPixmap icon, String text, int id); + public native int insertTitle(TQPixmap icon, String text); /** Changes the title of the item at the specified id. If a icon was previously set it is cleared. @@ -79,7 +79,7 @@ public class KPopupMenu extends QPopupMenu { Changes the title and icon of the title item at the specified id. @short Changes the title and icon of the title item at the specified id. */ - public native void changeTitle(int id, QPixmap icon, String text); + public native void changeTitle(int id, TQPixmap icon, String text); /** Returns the title of the title item at the specified id. The default id of -1 is for backwards compatibility only, you should always specify @@ -92,7 +92,7 @@ public class KPopupMenu extends QPopupMenu { Returns the icon of the title item at the specified id. @short Returns the icon of the title item at the specified id. */ - public native QPixmap titlePixmap(int id); + public native TQPixmap titlePixmap(int id); /** Enables keyboard navigation by searching for the entered key sequence. Also underlines the currently selected item, providing feedback on the search. @@ -115,7 +115,7 @@ public class KPopupMenu extends QPopupMenu { Returns the context menu associated with this menu @short Returns the context menu associated with this menu */ - public native QPopupMenu contextMenu(); + public native TQPopupMenu contextMenu(); /** Hides the context menu if shown @short Hides the context menu if shown @@ -142,18 +142,18 @@ public class KPopupMenu extends QPopupMenu { @short returns the ID of the menuitem associated with the current context menu */ public static native int contextMenuFocusItem(); - protected native void closeEvent(QCloseEvent arg1); - protected native void keyPressEvent(QKeyEvent e); - protected native void mouseReleaseEvent(QMouseEvent e); - protected native void mousePressEvent(QMouseEvent e); + protected native void closeEvent(TQCloseEvent arg1); + protected native void keyPressEvent(TQKeyEvent e); + protected native void mouseReleaseEvent(TQMouseEvent e); + protected native void mousePressEvent(TQMouseEvent e); protected native boolean focusNextPrevChild(boolean next); - protected native void contextMenuEvent(QContextMenuEvent e); - protected native void hideEvent(QHideEvent arg1); + protected native void contextMenuEvent(TQContextMenuEvent e); + protected native void hideEvent(TQHideEvent arg1); protected native String underlineText(String text, int length); protected native void resetKeyboardVars(boolean noMatches); protected native void resetKeyboardVars(); protected native void itemHighlighted(int whichItem); - protected native void showCtxMenu(QPoint pos); + protected native void showCtxMenu(TQPoint pos); protected native void ctxMenuHiding(); protected native void ctxMenuHideShowingMenu(); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KPopupMenuSignals.java b/kdejava/koala/org/kde/koala/KPopupMenuSignals.java index 231e3131..1a7a9d59 100644 --- a/kdejava/koala/org/kde/koala/KPopupMenuSignals.java +++ b/kdejava/koala/org/kde/koala/KPopupMenuSignals.java @@ -1,17 +1,17 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QHideEvent; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QCloseEvent; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QPoint; -import org.kde.qt.QContextMenuEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQPoint; +import org.kde.qt.TQContextMenuEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; public interface KPopupMenuSignals { /** @@ -21,5 +21,5 @@ public interface KPopupMenuSignals { @param ctxMenu The context menu itself @short connect to this signal to be notified when a context menu is about to be shown */ - void aboutToShowContextMenu(KPopupMenu menu, int menuItem, QPopupMenu ctxMenu); + void aboutToShowContextMenu(KPopupMenu menu, int menuItem, TQPopupMenu ctxMenu); } diff --git a/kdejava/koala/org/kde/koala/KPopupTitle.java b/kdejava/koala/org/kde/koala/KPopupTitle.java index e947f30c..f6bd880d 100644 --- a/kdejava/koala/org/kde/koala/KPopupTitle.java +++ b/kdejava/koala/org/kde/koala/KPopupTitle.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -21,25 +21,25 @@ import org.kde.qt.QWidget; @short KPopupMenu title widget. */ -public class KPopupTitle extends QWidget { +public class KPopupTitle extends TQWidget { protected KPopupTitle(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a title widget with the user specified gradient, pixmap, and colors. @short Constructs a title widget with the user specified gradient, pixmap, and colors. */ - public KPopupTitle(QWidget parent, String name) { + public KPopupTitle(TQWidget parent, String name) { super((Class) null); newKPopupTitle(parent,name); } - private native void newKPopupTitle(QWidget parent, String name); - public KPopupTitle(QWidget parent) { + private native void newKPopupTitle(TQWidget parent, String name); + public KPopupTitle(TQWidget parent) { super((Class) null); newKPopupTitle(parent); } - private native void newKPopupTitle(QWidget parent); + private native void newKPopupTitle(TQWidget parent); public KPopupTitle() { super((Class) null); newKPopupTitle(); @@ -50,7 +50,7 @@ public class KPopupTitle extends QWidget { You will want to call this before inserting into a menu. @short Sets the title string and optional icon for the title widget. */ - public native void setTitle(String text, QPixmap icon); + public native void setTitle(String text, TQPixmap icon); public native void setTitle(String text); /** Returns the current title. @@ -61,12 +61,12 @@ public class KPopupTitle extends QWidget { Returns the current icon. @short Returns the current icon. */ - public native QPixmap icon(); - public native QSize sizeHint(); + public native TQPixmap icon(); + public native TQSize sizeHint(); public native void setText(String text); - public native void setIcon(QPixmap pix); + public native void setIcon(TQPixmap pix); protected native void calcSize(); - protected native void paintEvent(QPaintEvent ev); + protected native void paintEvent(TQPaintEvent ev); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KPreviewWidgetBase.java b/kdejava/koala/org/kde/koala/KPreviewWidgetBase.java index 17d4a5d6..5beb1365 100644 --- a/kdejava/koala/org/kde/koala/KPreviewWidgetBase.java +++ b/kdejava/koala/org/kde/koala/KPreviewWidgetBase.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -22,9 +22,9 @@ import org.kde.qt.QWidget; @short Abstract baseclass for all preview widgets. */ -public class KPreviewWidgetBase extends QWidget { +public class KPreviewWidgetBase extends TQWidget { protected KPreviewWidgetBase(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. Construct the user interface of your preview widget here diff --git a/kdejava/koala/org/kde/koala/KPrintAction.java b/kdejava/koala/org/kde/koala/KPrintAction.java index 2087518c..42c5c686 100644 --- a/kdejava/koala/org/kde/koala/KPrintAction.java +++ b/kdejava/koala/org/kde/koala/KPrintAction.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; /** See {@link KPrintActionSignals} for signals emitted by KPrintAction @@ -17,23 +17,23 @@ public class KPrintAction extends KActionMenu { public static final int Regular = 1; public static final int Specials = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KPrintAction(String text, int type, QWidget parentWidget, QObject parent, String name) { + public KPrintAction(String text, int type, TQWidget parentWidget, TQObject parent, String name) { super((Class) null); newKPrintAction(text,type,parentWidget,parent,name); } - private native void newKPrintAction(String text, int type, QWidget parentWidget, QObject parent, String name); - public KPrintAction(String text, int type, QWidget parentWidget, QObject parent) { + private native void newKPrintAction(String text, int type, TQWidget parentWidget, TQObject parent, String name); + public KPrintAction(String text, int type, TQWidget parentWidget, TQObject parent) { super((Class) null); newKPrintAction(text,type,parentWidget,parent); } - private native void newKPrintAction(String text, int type, QWidget parentWidget, QObject parent); - public KPrintAction(String text, int type, QWidget parentWidget) { + private native void newKPrintAction(String text, int type, TQWidget parentWidget, TQObject parent); + public KPrintAction(String text, int type, TQWidget parentWidget) { super((Class) null); newKPrintAction(text,type,parentWidget); } - private native void newKPrintAction(String text, int type, QWidget parentWidget); + private native void newKPrintAction(String text, int type, TQWidget parentWidget); public KPrintAction(String text, int type) { super((Class) null); newKPrintAction(text,type); @@ -44,46 +44,46 @@ public class KPrintAction extends KActionMenu { newKPrintAction(text); } private native void newKPrintAction(String text); - public KPrintAction(String text, QIconSet icon, int type, QWidget parentWidget, QObject parent, String name) { + public KPrintAction(String text, TQIconSet icon, int type, TQWidget parentWidget, TQObject parent, String name) { super((Class) null); newKPrintAction(text,icon,type,parentWidget,parent,name); } - private native void newKPrintAction(String text, QIconSet icon, int type, QWidget parentWidget, QObject parent, String name); - public KPrintAction(String text, QIconSet icon, int type, QWidget parentWidget, QObject parent) { + private native void newKPrintAction(String text, TQIconSet icon, int type, TQWidget parentWidget, TQObject parent, String name); + public KPrintAction(String text, TQIconSet icon, int type, TQWidget parentWidget, TQObject parent) { super((Class) null); newKPrintAction(text,icon,type,parentWidget,parent); } - private native void newKPrintAction(String text, QIconSet icon, int type, QWidget parentWidget, QObject parent); - public KPrintAction(String text, QIconSet icon, int type, QWidget parentWidget) { + private native void newKPrintAction(String text, TQIconSet icon, int type, TQWidget parentWidget, TQObject parent); + public KPrintAction(String text, TQIconSet icon, int type, TQWidget parentWidget) { super((Class) null); newKPrintAction(text,icon,type,parentWidget); } - private native void newKPrintAction(String text, QIconSet icon, int type, QWidget parentWidget); - public KPrintAction(String text, QIconSet icon, int type) { + private native void newKPrintAction(String text, TQIconSet icon, int type, TQWidget parentWidget); + public KPrintAction(String text, TQIconSet icon, int type) { super((Class) null); newKPrintAction(text,icon,type); } - private native void newKPrintAction(String text, QIconSet icon, int type); - public KPrintAction(String text, QIconSet icon) { + private native void newKPrintAction(String text, TQIconSet icon, int type); + public KPrintAction(String text, TQIconSet icon) { super((Class) null); newKPrintAction(text,icon); } - private native void newKPrintAction(String text, QIconSet icon); - public KPrintAction(String text, String icon, int type, QWidget parentWidget, QObject parent, String name) { + private native void newKPrintAction(String text, TQIconSet icon); + public KPrintAction(String text, String icon, int type, TQWidget parentWidget, TQObject parent, String name) { super((Class) null); newKPrintAction(text,icon,type,parentWidget,parent,name); } - private native void newKPrintAction(String text, String icon, int type, QWidget parentWidget, QObject parent, String name); - public KPrintAction(String text, String icon, int type, QWidget parentWidget, QObject parent) { + private native void newKPrintAction(String text, String icon, int type, TQWidget parentWidget, TQObject parent, String name); + public KPrintAction(String text, String icon, int type, TQWidget parentWidget, TQObject parent) { super((Class) null); newKPrintAction(text,icon,type,parentWidget,parent); } - private native void newKPrintAction(String text, String icon, int type, QWidget parentWidget, QObject parent); - public KPrintAction(String text, String icon, int type, QWidget parentWidget) { + private native void newKPrintAction(String text, String icon, int type, TQWidget parentWidget, TQObject parent); + public KPrintAction(String text, String icon, int type, TQWidget parentWidget) { super((Class) null); newKPrintAction(text,icon,type,parentWidget); } - private native void newKPrintAction(String text, String icon, int type, QWidget parentWidget); + private native void newKPrintAction(String text, String icon, int type, TQWidget parentWidget); public KPrintAction(String text, String icon, int type) { super((Class) null); newKPrintAction(text,icon,type); @@ -94,19 +94,19 @@ public class KPrintAction extends KActionMenu { newKPrintAction(text,icon); } private native void newKPrintAction(String text, String icon); - public static native KPrintAction exportAll(QWidget parentWidget, QObject parent, String name); - public static native KPrintAction exportAll(QWidget parentWidget, QObject parent); - public static native KPrintAction exportAll(QWidget parentWidget); + public static native KPrintAction exportAll(TQWidget parentWidget, TQObject parent, String name); + public static native KPrintAction exportAll(TQWidget parentWidget, TQObject parent); + public static native KPrintAction exportAll(TQWidget parentWidget); public static native KPrintAction exportAll(); - public static native KPrintAction exportRegular(QWidget parentWidget, QObject parent, String name); - public static native KPrintAction exportRegular(QWidget parentWidget, QObject parent); - public static native KPrintAction exportRegular(QWidget parentWidget); + public static native KPrintAction exportRegular(TQWidget parentWidget, TQObject parent, String name); + public static native KPrintAction exportRegular(TQWidget parentWidget, TQObject parent); + public static native KPrintAction exportRegular(TQWidget parentWidget); public static native KPrintAction exportRegular(); - public static native KPrintAction exportSpecial(QWidget parentWidget, QObject parent, String name); - public static native KPrintAction exportSpecial(QWidget parentWidget, QObject parent); - public static native KPrintAction exportSpecial(QWidget parentWidget); + public static native KPrintAction exportSpecial(TQWidget parentWidget, TQObject parent, String name); + public static native KPrintAction exportSpecial(TQWidget parentWidget, TQObject parent); + public static native KPrintAction exportSpecial(TQWidget parentWidget); public static native KPrintAction exportSpecial(); - protected native void initialize(int type, QWidget parentWidget); + protected native void initialize(int type, TQWidget parentWidget); protected native void slotAboutToShow(); protected native void slotActivated(int arg1); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KPrintActionSignals.java b/kdejava/koala/org/kde/koala/KPrintActionSignals.java index a95fb603..be6ae2d8 100644 --- a/kdejava/koala/org/kde/koala/KPrintActionSignals.java +++ b/kdejava/koala/org/kde/koala/KPrintActionSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; public interface KPrintActionSignals { // void print(KPrinter* arg1); >>>> NOT CONVERTED diff --git a/kdejava/koala/org/kde/koala/KProcIO.java b/kdejava/koala/org/kde/koala/KProcIO.java index 39aaeb2c..8b69d198 100644 --- a/kdejava/koala/org/kde/koala/KProcIO.java +++ b/kdejava/koala/org/kde/koala/KProcIO.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QTextCodec; +import org.kde.qt.TQTextCodec; /** @@ -36,17 +36,17 @@ import org.kde.qt.QTextCodec; */ public class KProcIO extends KProcess { protected KProcIO(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor @short Constructor */ - public KProcIO(QTextCodec codec) { + public KProcIO(TQTextCodec codec) { super((Class) null); newKProcIO(codec); } - private native void newKProcIO(QTextCodec codec); + private native void newKProcIO(TQTextCodec codec); public KProcIO() { super((Class) null); newKProcIO(); diff --git a/kdejava/koala/org/kde/koala/KProcIOSignals.java b/kdejava/koala/org/kde/koala/KProcIOSignals.java index 7ab9dfbe..19371e04 100644 --- a/kdejava/koala/org/kde/koala/KProcIOSignals.java +++ b/kdejava/koala/org/kde/koala/KProcIOSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QTextCodec; +import org.kde.qt.TQTextCodec; public interface KProcIOSignals { /** diff --git a/kdejava/koala/org/kde/koala/KProcess.java b/kdejava/koala/org/kde/koala/KProcess.java index 02fa932f..02e4a084 100644 --- a/kdejava/koala/org/kde/koala/KProcess.java +++ b/kdejava/koala/org/kde/koala/KProcess.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQObject; /** @@ -61,7 +61,7 @@ import org.kde.qt.QObject; KProcess proc = new KProcess; proc << "my_executable"; proc << "These" << "are" << "the" << "command" << "line" << "args"; - QApplication.connect(proc, SIGNAL("processExited(KProcess )"), + TQApplication.connect(proc, SIGNAL("processExited(KProcess )"), pointer_to_my_object, SLOT("my_objects_slot(KProcess )")); proc.start(); </pre> @@ -96,7 +96,7 @@ import org.kde.qt.QObject; @see KProcIO */ -public class KProcess extends QObject { +public class KProcess extends TQObject { protected KProcess(Class dummy){super((Class) null);} /** More or less intuitive constants for use with setPriority(). @@ -112,7 +112,7 @@ public class KProcess extends QObject { /** Modes in which the communication channel can be opened. - If communication for more than one channel is required, + If communication for more than one channel is retquired, the values have to be or'ed together, for example to get communication with stdout as well as with stdin, you would specify <code>Stdin</code> | <code>Stdout</code> @@ -138,22 +138,22 @@ public class KProcess extends QObject { public static final int Block = 2; public static final int OwnGroup = 3; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor @short Constructor */ - public KProcess(QObject parent, String name) { + public KProcess(TQObject parent, String name) { super((Class) null); newKProcess(parent,name); } - private native void newKProcess(QObject parent, String name); - public KProcess(QObject parent) { + private native void newKProcess(TQObject parent, String name); + public KProcess(TQObject parent) { super((Class) null); newKProcess(parent); } - private native void newKProcess(QObject parent); + private native void newKProcess(TQObject parent); /** Constructor @short Constructor @@ -410,7 +410,7 @@ public class KProcess extends QObject { @short Lets you see what your arguments are for debugging. */ - // const QValueList<QCString>& args(); >>>> NOT CONVERTED + // const TQValueList<TQCString>& args(); >>>> NOT CONVERTED /** Controls whether the started process should drop any setuid/setgid privileges or whether it should keep them. @@ -512,7 +512,7 @@ public class KProcess extends QObject { Called right after a (successful) fork() on the parent side. This function will usually do some communications cleanup, like closing in[0], out[1] and out[1]. - Furthermore, it must also create the QSocketNotifiers innot, + Furthermore, it must also create the TQSocketNotifiers innot, outnot and errnot and connect their Qt signals to the respective KProcess slots. For a more detailed explanation, it is best to have a look at the default @@ -614,7 +614,7 @@ public class KProcess extends QObject { /** Called when another bulk of data can be sent to the child's stdin. If there is no more data to be sent to stdin currently - available, this function must disable the QSocketNotifier innot. + available, this function must disable the TQSocketNotifier innot. @param dummy ignore this argument @short Called when another bulk of data can be sent to the child's stdin. */ diff --git a/kdejava/koala/org/kde/koala/KProcessController.java b/kdejava/koala/org/kde/koala/KProcessController.java index 37a1d515..251e2bd0 100644 --- a/kdejava/koala/org/kde/koala/KProcessController.java +++ b/kdejava/koala/org/kde/koala/KProcessController.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -16,9 +16,9 @@ import org.kde.qt.QObject; @short Used internally by KProcess. */ -public class KProcessController extends QObject { +public class KProcessController extends TQObject { protected KProcessController(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Wait for any process to exit and handle their exit without diff --git a/kdejava/koala/org/kde/koala/KProcessRunner.java b/kdejava/koala/org/kde/koala/KProcessRunner.java index 5c096542..fa898150 100644 --- a/kdejava/koala/org/kde/koala/KProcessRunner.java +++ b/kdejava/koala/org/kde/koala/KProcessRunner.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -14,9 +14,9 @@ import org.kde.qt.QObject; @short */ -public class KProcessRunner extends QObject { +public class KProcessRunner extends TQObject { protected KProcessRunner(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); public native int pid(); public static native int run(KProcess arg1, String binName); diff --git a/kdejava/koala/org/kde/koala/KProcessSignals.java b/kdejava/koala/org/kde/koala/KProcessSignals.java index b7405ea2..20c9834c 100644 --- a/kdejava/koala/org/kde/koala/KProcessSignals.java +++ b/kdejava/koala/org/kde/koala/KProcessSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; public interface KProcessSignals { /** diff --git a/kdejava/koala/org/kde/koala/KProgress.java b/kdejava/koala/org/kde/koala/KProgress.java index 514e0fe2..1bfc338f 100644 --- a/kdejava/koala/org/kde/koala/KProgress.java +++ b/kdejava/koala/org/kde/koala/KProgress.java @@ -2,14 +2,14 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QProgressBar; +import org.kde.qt.TQWidget; +import org.kde.qt.TQProgressBar; /** - KProgress is derived from QProgressBar, so + KProgress is derived from TQProgressBar, so you can use all the methods from that class. The only real difference is that a signal is emitted on changes to the value and you do not need to subclass KProgress just to change the format of the indicator text. @@ -21,29 +21,29 @@ import org.kde.qt.QProgressBar; @short A progress indicator widget. */ -public class KProgress extends QProgressBar { +public class KProgress extends TQProgressBar { protected KProgress(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a progress bar. @short Construct a progress bar. */ - public KProgress(QWidget parent, String name, int f) { + public KProgress(TQWidget parent, String name, int f) { super((Class) null); newKProgress(parent,name,f); } - private native void newKProgress(QWidget parent, String name, int f); - public KProgress(QWidget parent, String name) { + private native void newKProgress(TQWidget parent, String name, int f); + public KProgress(TQWidget parent, String name) { super((Class) null); newKProgress(parent,name); } - private native void newKProgress(QWidget parent, String name); - public KProgress(QWidget parent) { + private native void newKProgress(TQWidget parent, String name); + public KProgress(TQWidget parent) { super((Class) null); newKProgress(parent); } - private native void newKProgress(QWidget parent); + private native void newKProgress(TQWidget parent); public KProgress() { super((Class) null); newKProgress(); @@ -56,21 +56,21 @@ public class KProgress extends QProgressBar { the first file, call setProgress(0); call setProgress(50) after examining the last file. @short Construct a progress bar with a total number of steps. */ - public KProgress(int totalSteps, QWidget parent, String name, int f) { + public KProgress(int totalSteps, TQWidget parent, String name, int f) { super((Class) null); newKProgress(totalSteps,parent,name,f); } - private native void newKProgress(int totalSteps, QWidget parent, String name, int f); - public KProgress(int totalSteps, QWidget parent, String name) { + private native void newKProgress(int totalSteps, TQWidget parent, String name, int f); + public KProgress(int totalSteps, TQWidget parent, String name) { super((Class) null); newKProgress(totalSteps,parent,name); } - private native void newKProgress(int totalSteps, QWidget parent, String name); - public KProgress(int totalSteps, QWidget parent) { + private native void newKProgress(int totalSteps, TQWidget parent, String name); + public KProgress(int totalSteps, TQWidget parent) { super((Class) null); newKProgress(totalSteps,parent); } - private native void newKProgress(int totalSteps, QWidget parent); + private native void newKProgress(int totalSteps, TQWidget parent); public KProgress(int totalSteps) { super((Class) null); newKProgress(totalSteps); diff --git a/kdejava/koala/org/kde/koala/KProgressDialog.java b/kdejava/koala/org/kde/koala/KProgressDialog.java index 5970c131..6c83fb60 100644 --- a/kdejava/koala/org/kde/koala/KProgressDialog.java +++ b/kdejava/koala/org/kde/koala/KProgressDialog.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -24,7 +24,7 @@ import org.kde.qt.QWidget; */ public class KProgressDialog extends KDialogBase { protected KProgressDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KProgressDialog @@ -35,31 +35,31 @@ public class KProgressDialog extends KDialogBase { @param modal Set to true to make the dialog modal @short Constructs a KProgressDialog */ - public KProgressDialog(QWidget parent, String name, String caption, String text, boolean modal) { + public KProgressDialog(TQWidget parent, String name, String caption, String text, boolean modal) { super((Class) null); newKProgressDialog(parent,name,caption,text,modal); } - private native void newKProgressDialog(QWidget parent, String name, String caption, String text, boolean modal); - public KProgressDialog(QWidget parent, String name, String caption, String text) { + private native void newKProgressDialog(TQWidget parent, String name, String caption, String text, boolean modal); + public KProgressDialog(TQWidget parent, String name, String caption, String text) { super((Class) null); newKProgressDialog(parent,name,caption,text); } - private native void newKProgressDialog(QWidget parent, String name, String caption, String text); - public KProgressDialog(QWidget parent, String name, String caption) { + private native void newKProgressDialog(TQWidget parent, String name, String caption, String text); + public KProgressDialog(TQWidget parent, String name, String caption) { super((Class) null); newKProgressDialog(parent,name,caption); } - private native void newKProgressDialog(QWidget parent, String name, String caption); - public KProgressDialog(QWidget parent, String name) { + private native void newKProgressDialog(TQWidget parent, String name, String caption); + public KProgressDialog(TQWidget parent, String name) { super((Class) null); newKProgressDialog(parent,name); } - private native void newKProgressDialog(QWidget parent, String name); - public KProgressDialog(QWidget parent) { + private native void newKProgressDialog(TQWidget parent, String name); + public KProgressDialog(TQWidget parent) { super((Class) null); newKProgressDialog(parent); } - private native void newKProgressDialog(QWidget parent); + private native void newKProgressDialog(TQWidget parent); public KProgressDialog() { super((Class) null); newKProgressDialog(); diff --git a/kdejava/koala/org/kde/koala/KProgressSignals.java b/kdejava/koala/org/kde/koala/KProgressSignals.java index 794622ce..79fb23ac 100644 --- a/kdejava/koala/org/kde/koala/KProgressSignals.java +++ b/kdejava/koala/org/kde/koala/KProgressSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KProgressSignals { /** diff --git a/kdejava/koala/org/kde/koala/KProtocolInfo.java b/kdejava/koala/org/kde/koala/KProtocolInfo.java index 9dbf1ca5..a9c35303 100644 --- a/kdejava/koala/org/kde/koala/KProtocolInfo.java +++ b/kdejava/koala/org/kde/koala/KProtocolInfo.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; +import org.kde.qt.TQDataStream; import java.util.ArrayList; /** @@ -61,21 +61,21 @@ public class KProtocolInfo extends KSycocaEntry { /** @short */ - public KProtocolInfo(QDataStream _str, int offset) { + public KProtocolInfo(TQDataStream _str, int offset) { super((Class) null); newKProtocolInfo(_str,offset); } - private native void newKProtocolInfo(QDataStream _str, int offset); + private native void newKProtocolInfo(TQDataStream _str, int offset); /** Load the protocol info from a stream. @short */ - public native void load(QDataStream arg1); + public native void load(TQDataStream arg1); /** Save the protocol info to a stream. @short */ - public native void save(QDataStream arg1); + public native void save(TQDataStream arg1); /** Returns list of all known protocols. @return a list of all known protocols diff --git a/kdejava/koala/org/kde/koala/KProtocolManager.java b/kdejava/koala/org/kde/koala/KProtocolManager.java index f543c3e2..66c13294 100644 --- a/kdejava/koala/org/kde/koala/KProtocolManager.java +++ b/kdejava/koala/org/kde/koala/KProtocolManager.java @@ -314,7 +314,7 @@ public class KProtocolManager implements QtSupport { Returns the minimum file size for keeping aborted downloads. Any data downloaded that does not meet this minimum - requirement will simply be discarded. The default size + retquirement will simply be discarded. The default size is 5 KB. @return the minimum keep size for aborted downloads in bytes diff --git a/kdejava/koala/org/kde/koala/KPushButton.java b/kdejava/koala/org/kde/koala/KPushButton.java index c0298b37..de36ff9e 100644 --- a/kdejava/koala/org/kde/koala/KPushButton.java +++ b/kdejava/koala/org/kde/koala/KPushButton.java @@ -2,85 +2,85 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; -import org.kde.qt.QDragObject; -import org.kde.qt.QPushButton; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDragObject; +import org.kde.qt.TQPushButton; /** - This is nothing but a QPushButton with drag-support and KGuiItem support. You have to call + This is nothing but a TQPushButton with drag-support and KGuiItem support. You have to call setDragEnabled( true ) and override the method - dragObject() to specify the QDragObject to be used. + dragObject() to specify the TQDragObject to be used. @author Carsten Pfeiffer <pfeiffer@kde.org> - @short A QPushButton with drag-support and KGuiItem support. + @short A TQPushButton with drag-support and KGuiItem support. */ -public class KPushButton extends QPushButton { +public class KPushButton extends TQPushButton { protected KPushButton(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Default constructor. @short Default constructor. */ - public KPushButton(QWidget parent, String name) { + public KPushButton(TQWidget parent, String name) { super((Class) null); newKPushButton(parent,name); } - private native void newKPushButton(QWidget parent, String name); - public KPushButton(QWidget parent) { + private native void newKPushButton(TQWidget parent, String name); + public KPushButton(TQWidget parent) { super((Class) null); newKPushButton(parent); } - private native void newKPushButton(QWidget parent); + private native void newKPushButton(TQWidget parent); /** Constructor, that sets the button-text to <code>text</code> @short Constructor, that sets the button-text to <code>text</code> */ - public KPushButton(String text, QWidget parent, String name) { + public KPushButton(String text, TQWidget parent, String name) { super((Class) null); newKPushButton(text,parent,name); } - private native void newKPushButton(String text, QWidget parent, String name); - public KPushButton(String text, QWidget parent) { + private native void newKPushButton(String text, TQWidget parent, String name); + public KPushButton(String text, TQWidget parent) { super((Class) null); newKPushButton(text,parent); } - private native void newKPushButton(String text, QWidget parent); + private native void newKPushButton(String text, TQWidget parent); /** Constructor, that sets an icon and the button-text to <code>text</code> @short Constructor, that sets an icon and the button-text to <code>text</code> */ - public KPushButton(QIconSet icon, String text, QWidget parent, String name) { + public KPushButton(TQIconSet icon, String text, TQWidget parent, String name) { super((Class) null); newKPushButton(icon,text,parent,name); } - private native void newKPushButton(QIconSet icon, String text, QWidget parent, String name); - public KPushButton(QIconSet icon, String text, QWidget parent) { + private native void newKPushButton(TQIconSet icon, String text, TQWidget parent, String name); + public KPushButton(TQIconSet icon, String text, TQWidget parent) { super((Class) null); newKPushButton(icon,text,parent); } - private native void newKPushButton(QIconSet icon, String text, QWidget parent); + private native void newKPushButton(TQIconSet icon, String text, TQWidget parent); /** Constructor that takes a KGuiItem for the text, the icon, the tooltip and the what's this help @short Constructor that takes a KGuiItem for the text, the icon, the tooltip and the what's this help */ - public KPushButton(KGuiItem item, QWidget parent, String name) { + public KPushButton(KGuiItem item, TQWidget parent, String name) { super((Class) null); newKPushButton(item,parent,name); } - private native void newKPushButton(KGuiItem item, QWidget parent, String name); - public KPushButton(KGuiItem item, QWidget parent) { + private native void newKPushButton(KGuiItem item, TQWidget parent, String name); + public KPushButton(KGuiItem item, TQWidget parent) { super((Class) null); newKPushButton(item,parent); } - private native void newKPushButton(KGuiItem item, QWidget parent); + private native void newKPushButton(KGuiItem item, TQWidget parent); /** Enables/disables drag-support. Default is disabled. @short Enables/disables drag-support. @@ -114,29 +114,29 @@ public class KPushButton extends QPushButton { KGlobalSettings.showIconsOnPushButtons() setting. @short Sets the Icon Set for this button. */ - public native void setIconSet(QIconSet iconSet); + public native void setIconSet(TQIconSet iconSet); /** Sets the text of the button @short Sets the text of the button */ public native void setText(String text); /** - Reimplement this and return the QDragObject that should be used + Reimplement this and return the TQDragObject that should be used for the drag. Default implementation returns null, so that no drag is initiated. - @short Reimplement this and return the QDragObject that should be used for the drag. + @short Reimplement this and return the TQDragObject that should be used for the drag. */ - protected native QDragObject dragObject(); + protected native TQDragObject dragObject(); /** Reimplemented to add drag-support @short Reimplemented to add drag-support */ - protected native void mousePressEvent(QMouseEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); /** Reimplemented to add drag-support @short Reimplemented to add drag-support */ - protected native void mouseMoveEvent(QMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); /** Starts a drag (dragCopy() by default) using dragObject() @short Starts a drag (dragCopy() by default) using dragObject() diff --git a/kdejava/koala/org/kde/koala/KRadioAction.java b/kdejava/koala/org/kde/koala/KRadioAction.java index dd672284..8f59112e 100644 --- a/kdejava/koala/org/kde/koala/KRadioAction.java +++ b/kdejava/koala/org/kde/koala/KRadioAction.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QIconSet; +import org.kde.qt.TQObject; +import org.kde.qt.TQIconSet; /** @@ -16,7 +16,7 @@ import org.kde.qt.QIconSet; */ public class KRadioAction extends KToggleAction { protected KRadioAction(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a radio action with text and potential keyboard @@ -28,16 +28,16 @@ public class KRadioAction extends KToggleAction { @param name An internal name for this action. @short Constructs a radio action with text and potential keyboard accelerator but nothing else. */ - public KRadioAction(String text, KShortcut cut, QObject parent, String name) { + public KRadioAction(String text, KShortcut cut, TQObject parent, String name) { super((Class) null); newKRadioAction(text,cut,parent,name); } - private native void newKRadioAction(String text, KShortcut cut, QObject parent, String name); - public KRadioAction(String text, KShortcut cut, QObject parent) { + private native void newKRadioAction(String text, KShortcut cut, TQObject parent, String name); + public KRadioAction(String text, KShortcut cut, TQObject parent) { super((Class) null); newKRadioAction(text,cut,parent); } - private native void newKRadioAction(String text, KShortcut cut, QObject parent); + private native void newKRadioAction(String text, KShortcut cut, TQObject parent); public KRadioAction(String text, KShortcut cut) { super((Class) null); newKRadioAction(text,cut); @@ -57,16 +57,16 @@ public class KRadioAction extends KToggleAction { @param name An internal name for this action. @short */ - public KRadioAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KRadioAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKRadioAction(text,cut,receiver,slot,parent,name); } - private native void newKRadioAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KRadioAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKRadioAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KRadioAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKRadioAction(text,cut,receiver,slot,parent); } - private native void newKRadioAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKRadioAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The icons that go with this action. @@ -75,26 +75,26 @@ public class KRadioAction extends KToggleAction { @param name An internal name for this action. @short */ - public KRadioAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name) { + public KRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name) { super((Class) null); newKRadioAction(text,pix,cut,parent,name); } - private native void newKRadioAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name); - public KRadioAction(String text, QIconSet pix, KShortcut cut, QObject parent) { + private native void newKRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name); + public KRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject parent) { super((Class) null); newKRadioAction(text,pix,cut,parent); } - private native void newKRadioAction(String text, QIconSet pix, KShortcut cut, QObject parent); - public KRadioAction(String text, QIconSet pix, KShortcut cut) { + private native void newKRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject parent); + public KRadioAction(String text, TQIconSet pix, KShortcut cut) { super((Class) null); newKRadioAction(text,pix,cut); } - private native void newKRadioAction(String text, QIconSet pix, KShortcut cut); - public KRadioAction(String text, QIconSet pix) { + private native void newKRadioAction(String text, TQIconSet pix, KShortcut cut); + public KRadioAction(String text, TQIconSet pix) { super((Class) null); newKRadioAction(text,pix); } - private native void newKRadioAction(String text, QIconSet pix); + private native void newKRadioAction(String text, TQIconSet pix); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -103,16 +103,16 @@ public class KRadioAction extends KToggleAction { @param name An internal name for this action. @short */ - public KRadioAction(String text, String pix, KShortcut cut, QObject parent, String name) { + public KRadioAction(String text, String pix, KShortcut cut, TQObject parent, String name) { super((Class) null); newKRadioAction(text,pix,cut,parent,name); } - private native void newKRadioAction(String text, String pix, KShortcut cut, QObject parent, String name); - public KRadioAction(String text, String pix, KShortcut cut, QObject parent) { + private native void newKRadioAction(String text, String pix, KShortcut cut, TQObject parent, String name); + public KRadioAction(String text, String pix, KShortcut cut, TQObject parent) { super((Class) null); newKRadioAction(text,pix,cut,parent); } - private native void newKRadioAction(String text, String pix, KShortcut cut, QObject parent); + private native void newKRadioAction(String text, String pix, KShortcut cut, TQObject parent); public KRadioAction(String text, String pix, KShortcut cut) { super((Class) null); newKRadioAction(text,pix,cut); @@ -133,16 +133,16 @@ public class KRadioAction extends KToggleAction { @param name An internal name for this action. @short */ - public KRadioAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKRadioAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKRadioAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KRadioAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKRadioAction(text,pix,cut,receiver,slot,parent); } - private native void newKRadioAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKRadioAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -153,31 +153,31 @@ public class KRadioAction extends KToggleAction { @param name An internal name for this action. @short */ - public KRadioAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KRadioAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKRadioAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKRadioAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KRadioAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKRadioAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KRadioAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKRadioAction(text,pix,cut,receiver,slot,parent); } - private native void newKRadioAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKRadioAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param parent This action's parent. @param name An internal name for this action. @short */ - public KRadioAction(QObject parent, String name) { + public KRadioAction(TQObject parent, String name) { super((Class) null); newKRadioAction(parent,name); } - private native void newKRadioAction(QObject parent, String name); - public KRadioAction(QObject parent) { + private native void newKRadioAction(TQObject parent, String name); + public KRadioAction(TQObject parent) { super((Class) null); newKRadioAction(parent); } - private native void newKRadioAction(QObject parent); + private native void newKRadioAction(TQObject parent); public KRadioAction() { super((Class) null); newKRadioAction(); diff --git a/kdejava/koala/org/kde/koala/KRandomSequence.java b/kdejava/koala/org/kde/koala/KRandomSequence.java index 79b41f4c..a9087734 100644 --- a/kdejava/koala/org/kde/koala/KRandomSequence.java +++ b/kdejava/koala/org/kde/koala/KRandomSequence.java @@ -87,7 +87,7 @@ public class KRandomSequence implements QtSupport { @param list the list whose order will be modified @short Put a list in random order. */ - // void randomize(QGList* arg1); >>>> NOT CONVERTED + // void randomize(TQGList* arg1); >>>> NOT CONVERTED /** Modulate the random sequence. If S(i) is the sequence of numbers that will follow diff --git a/kdejava/koala/org/kde/koala/KRecentFilesAction.java b/kdejava/koala/org/kde/koala/KRecentFilesAction.java index f1afaf9c..4cb5e314 100644 --- a/kdejava/koala/org/kde/koala/KRecentFilesAction.java +++ b/kdejava/koala/org/kde/koala/KRecentFilesAction.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; /** @@ -22,7 +22,7 @@ import org.kde.qt.QWidget; */ public class KRecentFilesAction extends KListAction { protected KRecentFilesAction(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** @param text The text that will be displayed. @@ -32,21 +32,21 @@ public class KRecentFilesAction extends KListAction { @param maxItems The maximum number of files to display @short */ - public KRecentFilesAction(String text, KShortcut cut, QObject parent, String name, int maxItems) { + public KRecentFilesAction(String text, KShortcut cut, TQObject parent, String name, int maxItems) { super((Class) null); newKRecentFilesAction(text,cut,parent,name,maxItems); } - private native void newKRecentFilesAction(String text, KShortcut cut, QObject parent, String name, int maxItems); - public KRecentFilesAction(String text, KShortcut cut, QObject parent, String name) { + private native void newKRecentFilesAction(String text, KShortcut cut, TQObject parent, String name, int maxItems); + public KRecentFilesAction(String text, KShortcut cut, TQObject parent, String name) { super((Class) null); newKRecentFilesAction(text,cut,parent,name); } - private native void newKRecentFilesAction(String text, KShortcut cut, QObject parent, String name); - public KRecentFilesAction(String text, KShortcut cut, QObject parent) { + private native void newKRecentFilesAction(String text, KShortcut cut, TQObject parent, String name); + public KRecentFilesAction(String text, KShortcut cut, TQObject parent) { super((Class) null); newKRecentFilesAction(text,cut,parent); } - private native void newKRecentFilesAction(String text, KShortcut cut, QObject parent); + private native void newKRecentFilesAction(String text, KShortcut cut, TQObject parent); /** @param text The text that will be displayed. @param cut The corresponding keyboard accelerator (shortcut). @@ -58,21 +58,21 @@ public class KRecentFilesAction extends KListAction { @param maxItems The maximum number of files to display @short */ - public KRecentFilesAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name, int maxItems) { + public KRecentFilesAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems) { super((Class) null); newKRecentFilesAction(text,cut,receiver,slot,parent,name,maxItems); } - private native void newKRecentFilesAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name, int maxItems); - public KRecentFilesAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + private native void newKRecentFilesAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems); + public KRecentFilesAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKRecentFilesAction(text,cut,receiver,slot,parent,name); } - private native void newKRecentFilesAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KRecentFilesAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKRecentFilesAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KRecentFilesAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKRecentFilesAction(text,cut,receiver,slot,parent); } - private native void newKRecentFilesAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKRecentFilesAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The icons that go with this action. @@ -82,21 +82,21 @@ public class KRecentFilesAction extends KListAction { @param maxItems The maximum number of files to display @short */ - public KRecentFilesAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name, int maxItems) { + public KRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name, int maxItems) { super((Class) null); newKRecentFilesAction(text,pix,cut,parent,name,maxItems); } - private native void newKRecentFilesAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name, int maxItems); - public KRecentFilesAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name) { + private native void newKRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name, int maxItems); + public KRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name) { super((Class) null); newKRecentFilesAction(text,pix,cut,parent,name); } - private native void newKRecentFilesAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name); - public KRecentFilesAction(String text, QIconSet pix, KShortcut cut, QObject parent) { + private native void newKRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name); + public KRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject parent) { super((Class) null); newKRecentFilesAction(text,pix,cut,parent); } - private native void newKRecentFilesAction(String text, QIconSet pix, KShortcut cut, QObject parent); + private native void newKRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject parent); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -106,21 +106,21 @@ public class KRecentFilesAction extends KListAction { @param maxItems The maximum number of files to display @short */ - public KRecentFilesAction(String text, String pix, KShortcut cut, QObject parent, String name, int maxItems) { + public KRecentFilesAction(String text, String pix, KShortcut cut, TQObject parent, String name, int maxItems) { super((Class) null); newKRecentFilesAction(text,pix,cut,parent,name,maxItems); } - private native void newKRecentFilesAction(String text, String pix, KShortcut cut, QObject parent, String name, int maxItems); - public KRecentFilesAction(String text, String pix, KShortcut cut, QObject parent, String name) { + private native void newKRecentFilesAction(String text, String pix, KShortcut cut, TQObject parent, String name, int maxItems); + public KRecentFilesAction(String text, String pix, KShortcut cut, TQObject parent, String name) { super((Class) null); newKRecentFilesAction(text,pix,cut,parent,name); } - private native void newKRecentFilesAction(String text, String pix, KShortcut cut, QObject parent, String name); - public KRecentFilesAction(String text, String pix, KShortcut cut, QObject parent) { + private native void newKRecentFilesAction(String text, String pix, KShortcut cut, TQObject parent, String name); + public KRecentFilesAction(String text, String pix, KShortcut cut, TQObject parent) { super((Class) null); newKRecentFilesAction(text,pix,cut,parent); } - private native void newKRecentFilesAction(String text, String pix, KShortcut cut, QObject parent); + private native void newKRecentFilesAction(String text, String pix, KShortcut cut, TQObject parent); /** @param text The text that will be displayed. @param pix The icons that go with this action. @@ -133,21 +133,21 @@ public class KRecentFilesAction extends KListAction { @param maxItems The maximum number of files to display @short */ - public KRecentFilesAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name, int maxItems) { + public KRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems) { super((Class) null); newKRecentFilesAction(text,pix,cut,receiver,slot,parent,name,maxItems); } - private native void newKRecentFilesAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name, int maxItems); - public KRecentFilesAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + private native void newKRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems); + public KRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKRecentFilesAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKRecentFilesAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KRecentFilesAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKRecentFilesAction(text,pix,cut,receiver,slot,parent); } - private native void newKRecentFilesAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKRecentFilesAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -160,49 +160,49 @@ public class KRecentFilesAction extends KListAction { @param maxItems The maximum number of files to display @short */ - public KRecentFilesAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name, int maxItems) { + public KRecentFilesAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems) { super((Class) null); newKRecentFilesAction(text,pix,cut,receiver,slot,parent,name,maxItems); } - private native void newKRecentFilesAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name, int maxItems); - public KRecentFilesAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + private native void newKRecentFilesAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name, int maxItems); + public KRecentFilesAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKRecentFilesAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKRecentFilesAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KRecentFilesAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKRecentFilesAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KRecentFilesAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKRecentFilesAction(text,pix,cut,receiver,slot,parent); } - private native void newKRecentFilesAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKRecentFilesAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param parent This action's parent. @param name An internal name for this action. @param maxItems The maximum number of files to display @short */ - public KRecentFilesAction(QObject parent, String name, int maxItems) { + public KRecentFilesAction(TQObject parent, String name, int maxItems) { super((Class) null); newKRecentFilesAction(parent,name,maxItems); } - private native void newKRecentFilesAction(QObject parent, String name, int maxItems); - public KRecentFilesAction(QObject parent, String name) { + private native void newKRecentFilesAction(TQObject parent, String name, int maxItems); + public KRecentFilesAction(TQObject parent, String name) { super((Class) null); newKRecentFilesAction(parent,name); } - private native void newKRecentFilesAction(QObject parent, String name); - public KRecentFilesAction(QObject parent) { + private native void newKRecentFilesAction(TQObject parent, String name); + public KRecentFilesAction(TQObject parent) { super((Class) null); newKRecentFilesAction(parent); } - private native void newKRecentFilesAction(QObject parent); + private native void newKRecentFilesAction(TQObject parent); public KRecentFilesAction() { super((Class) null); newKRecentFilesAction(); } private native void newKRecentFilesAction(); - public native int plug(QWidget widget, int index); - public native int plug(QWidget widget); + public native int plug(TQWidget widget, int index); + public native int plug(TQWidget widget); /** Returns the maximum of items in the recent files list. @short Returns the maximum of items in the recent files list. diff --git a/kdejava/koala/org/kde/koala/KRecentFilesActionSignals.java b/kdejava/koala/org/kde/koala/KRecentFilesActionSignals.java index 33d81cf1..cac11f11 100644 --- a/kdejava/koala/org/kde/koala/KRecentFilesActionSignals.java +++ b/kdejava/koala/org/kde/koala/KRecentFilesActionSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; public interface KRecentFilesActionSignals { /** diff --git a/kdejava/koala/org/kde/koala/KRegExpEditorInterface.java b/kdejava/koala/org/kde/koala/KRegExpEditorInterface.java index e28a582e..981fd713 100644 --- a/kdejava/koala/org/kde/koala/KRegExpEditorInterface.java +++ b/kdejava/koala/org/kde/koala/KRegExpEditorInterface.java @@ -17,7 +17,7 @@ import org.kde.qt.QtSupport; The following is a template for what you need to do to create an instance of the regular expression dialog: <pre> - QDialog editorDialog = KParts.ComponentFactory.createInstanceFromQuery<QDialog>( "KRegExpEditor/KRegExpEditor" ); + TQDialog editorDialog = KParts.ComponentFactory.createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor" ); if ( editorDialog ) { // tdeutils was installed, so the dialog was found fetch the editor interface KRegExpEditorInterface editor = (KRegExpEditorInterface)( editorDialog.qt_cast( "KRegExpEditorInterface" ) ); @@ -38,8 +38,8 @@ import org.kde.qt.QtSupport; If you want to create an instance of the editor widget, i.e. not the dialog, then you must do it in the following way: <pre> - QWidget editorWidget = - KParts.ComponentFactory.createInstanceFromQuery<QWidget>( + TQWidget editorWidget = + KParts.ComponentFactory.createInstanceFromQuery<TQWidget>( "KRegExpEditor/KRegExpEditor", null, parent ); if ( editorWidget ) { // tdeutils was installed, so the widget was found fetch the editor interface @@ -65,14 +65,14 @@ public class KRegExpEditorInterface implements QtSupport { protected KRegExpEditorInterface(Class dummy){} /** - returns the regular expression of the editor in Qt3 QRegExp + returns the regular expression of the editor in Qt3 TQRegExp syntax. Note, there is also a 'regexp' Qt property available. - @short returns the regular expression of the editor in Qt3 QRegExp syntax. + @short returns the regular expression of the editor in Qt3 TQRegExp syntax. */ public native String regExp(); /** Set the regular expression for the editor. The syntax must be Qt3 - QRegExp syntax. + TQRegExp syntax. @short Set the regular expression for the editor. */ public native void setRegExp(String regexp); @@ -96,5 +96,5 @@ public class KRegExpEditorInterface implements QtSupport { Conclusion: You should not use this method in this version of KDE! @short This method allows for future changes that will not break binary compatibility. */ - // void doSomething(QString arg1,void* arg2); >>>> NOT CONVERTED + // void doSomething(TQString arg1,void* arg2); >>>> NOT CONVERTED } diff --git a/kdejava/koala/org/kde/koala/KReplace.java b/kdejava/koala/org/kde/koala/KReplace.java index 6bbf49f0..d1645566 100644 --- a/kdejava/koala/org/kde/koala/KReplace.java +++ b/kdejava/koala/org/kde/koala/KReplace.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QRegExp; -import org.kde.qt.QWidget; +import org.kde.qt.TQRegExp; +import org.kde.qt.TQWidget; /** @@ -67,18 +67,18 @@ import org.kde.qt.QWidget; */ public class KReplace extends KFind { protected KReplace(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Only use this constructor if you don't use KFindDialog, or if you use it as a modal dialog. @short Only use this constructor if you don't use KFindDialog, or if you use it as a modal dialog. */ - public KReplace(String pattern, String replacement, long options, QWidget parent) { + public KReplace(String pattern, String replacement, long options, TQWidget parent) { super((Class) null); newKReplace(pattern,replacement,options,parent); } - private native void newKReplace(String pattern, String replacement, long options, QWidget parent); + private native void newKReplace(String pattern, String replacement, long options, TQWidget parent); public KReplace(String pattern, String replacement, long options) { super((Class) null); newKReplace(pattern,replacement,options); @@ -91,11 +91,11 @@ public class KReplace extends KFind { will notice if the find dialog is closed. @short This is the recommended constructor if you also use KReplaceDialog (non-modal). */ - public KReplace(String pattern, String replacement, long options, QWidget parent, QWidget replaceDialog) { + public KReplace(String pattern, String replacement, long options, TQWidget parent, TQWidget replaceDialog) { super((Class) null); newKReplace(pattern,replacement,options,parent,replaceDialog); } - private native void newKReplace(String pattern, String replacement, long options, QWidget parent, QWidget replaceDialog); + private native void newKReplace(String pattern, String replacement, long options, TQWidget parent, TQWidget replaceDialog); /** Return the number of replacements made (i.e. the number of times the replace signal was emitted). @@ -175,7 +175,7 @@ public class KReplace extends KFind { @short Search the given string, replaces with the given replacement string, and returns whether a match was found. */ public static native int replace(StringBuffer text, String pattern, String replacement, int index, long options, int[] replacedLength); - public static native int replace(StringBuffer text, QRegExp pattern, String replacement, int index, long options, int[] replacedLength); + public static native int replace(StringBuffer text, TQRegExp pattern, String replacement, int index, long options, int[] replacedLength); protected native void slotSkip(); protected native void slotReplace(); protected native void slotReplaceAll(); diff --git a/kdejava/koala/org/kde/koala/KReplaceDialog.java b/kdejava/koala/org/kde/koala/KReplaceDialog.java index 96ae0c90..fd82bde3 100644 --- a/kdejava/koala/org/kde/koala/KReplaceDialog.java +++ b/kdejava/koala/org/kde/koala/KReplaceDialog.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QShowEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQWidget; /** @@ -31,7 +31,7 @@ public class KReplaceDialog extends KFindDialog { public static final int PromptOnReplace = 256; public static final int BackReference = 512; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a replace dialog.read-only or rather select-only combo box with a @@ -45,36 +45,36 @@ public class KReplaceDialog extends KFindDialog { @param hasSelection Whether a selection exists @short Construct a replace dialog. */ - public KReplaceDialog(QWidget parent, String name, long options, String[] findStrings, String[] replaceStrings, boolean hasSelection) { + public KReplaceDialog(TQWidget parent, String name, long options, String[] findStrings, String[] replaceStrings, boolean hasSelection) { super((Class) null); newKReplaceDialog(parent,name,options,findStrings,replaceStrings,hasSelection); } - private native void newKReplaceDialog(QWidget parent, String name, long options, String[] findStrings, String[] replaceStrings, boolean hasSelection); - public KReplaceDialog(QWidget parent, String name, long options, String[] findStrings, String[] replaceStrings) { + private native void newKReplaceDialog(TQWidget parent, String name, long options, String[] findStrings, String[] replaceStrings, boolean hasSelection); + public KReplaceDialog(TQWidget parent, String name, long options, String[] findStrings, String[] replaceStrings) { super((Class) null); newKReplaceDialog(parent,name,options,findStrings,replaceStrings); } - private native void newKReplaceDialog(QWidget parent, String name, long options, String[] findStrings, String[] replaceStrings); - public KReplaceDialog(QWidget parent, String name, long options, String[] findStrings) { + private native void newKReplaceDialog(TQWidget parent, String name, long options, String[] findStrings, String[] replaceStrings); + public KReplaceDialog(TQWidget parent, String name, long options, String[] findStrings) { super((Class) null); newKReplaceDialog(parent,name,options,findStrings); } - private native void newKReplaceDialog(QWidget parent, String name, long options, String[] findStrings); - public KReplaceDialog(QWidget parent, String name, long options) { + private native void newKReplaceDialog(TQWidget parent, String name, long options, String[] findStrings); + public KReplaceDialog(TQWidget parent, String name, long options) { super((Class) null); newKReplaceDialog(parent,name,options); } - private native void newKReplaceDialog(QWidget parent, String name, long options); - public KReplaceDialog(QWidget parent, String name) { + private native void newKReplaceDialog(TQWidget parent, String name, long options); + public KReplaceDialog(TQWidget parent, String name) { super((Class) null); newKReplaceDialog(parent,name); } - private native void newKReplaceDialog(QWidget parent, String name); - public KReplaceDialog(QWidget parent) { + private native void newKReplaceDialog(TQWidget parent, String name); + public KReplaceDialog(TQWidget parent) { super((Class) null); newKReplaceDialog(parent); } - private native void newKReplaceDialog(QWidget parent); + private native void newKReplaceDialog(TQWidget parent); public KReplaceDialog() { super((Class) null); newKReplaceDialog(); @@ -115,14 +115,14 @@ public class KReplaceDialog extends KFindDialog { public native String replacement(); /** Returns an empty widget which the user may fill with additional UI - elements as required. The widget occupies the width of the dialog, + elements as retquired. The widget occupies the width of the dialog, and is positioned immediately the regular expression support widgets for the replacement string. - @short Returns an empty widget which the user may fill with additional UI elements as required. + @short Returns an empty widget which the user may fill with additional UI elements as retquired. */ - public native QWidget replaceExtension(); + public native TQWidget replaceExtension(); protected native void slotOk(); - public native void showEvent(QShowEvent arg1); + public native void showEvent(TQShowEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KReplaceSignals.java b/kdejava/koala/org/kde/koala/KReplaceSignals.java index 012abc7f..c9f8faae 100644 --- a/kdejava/koala/org/kde/koala/KReplaceSignals.java +++ b/kdejava/koala/org/kde/koala/KReplaceSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QRegExp; -import org.kde.qt.QWidget; +import org.kde.qt.TQRegExp; +import org.kde.qt.TQWidget; public interface KReplaceSignals { /** diff --git a/kdejava/koala/org/kde/koala/KRestrictedLine.java b/kdejava/koala/org/kde/koala/KRestrictedLine.java index 9eda581b..a7150d6c 100644 --- a/kdejava/koala/org/kde/koala/KRestrictedLine.java +++ b/kdejava/koala/org/kde/koala/KRestrictedLine.java @@ -2,20 +2,20 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; /** - The KRestrictedLine widget is a variant of QLineEdit which + The KRestrictedLine widget is a variant of TQLineEdit which accepts only a restricted set of characters as input. All other characters will be discarded and the signal invalidChar() will be emitted for each of them. Valid characters can be passed as a String to the constructor or set afterwards via setValidChars(). - The default key bindings of QLineEdit are still in effect. + The default key bindings of TQLineEdit are still in effect. See {@link KRestrictedLineSignals} for signals emitted by KRestrictedLine @author Michael Wiedmann <mw@miwie.in-berlin.de> @@ -24,31 +24,31 @@ import org.kde.qt.QWidget; */ public class KRestrictedLine extends KLineEdit { protected KRestrictedLine(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor: This contructor takes three - optional - arguments. - The first two parameters are simply passed on to QLineEdit. + The first two parameters are simply passed on to TQLineEdit. @param parent pointer to the parent widget @param name pointer to the name of this widget @param valid pointer to set of valid characters @short Constructor: This contructor takes three - optional - arguments. */ - public KRestrictedLine(QWidget parent, String name, String valid) { + public KRestrictedLine(TQWidget parent, String name, String valid) { super((Class) null); newKRestrictedLine(parent,name,valid); } - private native void newKRestrictedLine(QWidget parent, String name, String valid); - public KRestrictedLine(QWidget parent, String name) { + private native void newKRestrictedLine(TQWidget parent, String name, String valid); + public KRestrictedLine(TQWidget parent, String name) { super((Class) null); newKRestrictedLine(parent,name); } - private native void newKRestrictedLine(QWidget parent, String name); - public KRestrictedLine(QWidget parent) { + private native void newKRestrictedLine(TQWidget parent, String name); + public KRestrictedLine(TQWidget parent) { super((Class) null); newKRestrictedLine(parent); } - private native void newKRestrictedLine(QWidget parent); + private native void newKRestrictedLine(TQWidget parent); public KRestrictedLine() { super((Class) null); newKRestrictedLine(); @@ -66,7 +66,7 @@ public class KRestrictedLine extends KLineEdit { @short */ public native String validChars(); - protected native void keyPressEvent(QKeyEvent e); + protected native void keyPressEvent(TQKeyEvent e); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KRestrictedLineSignals.java b/kdejava/koala/org/kde/koala/KRestrictedLineSignals.java index 0cac2d94..819af9cd 100644 --- a/kdejava/koala/org/kde/koala/KRestrictedLineSignals.java +++ b/kdejava/koala/org/kde/koala/KRestrictedLineSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; public interface KRestrictedLineSignals { /** diff --git a/kdejava/koala/org/kde/koala/KRootPermsIcon.java b/kdejava/koala/org/kde/koala/KRootPermsIcon.java index 3d85489a..1586ea10 100644 --- a/kdejava/koala/org/kde/koala/KRootPermsIcon.java +++ b/kdejava/koala/org/kde/koala/KRootPermsIcon.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -17,18 +17,18 @@ import org.kde.qt.QWidget; */ public class KRootPermsIcon extends KAuthIcon { protected KRootPermsIcon(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KRootPermsIcon(QWidget parent, String name) { + public KRootPermsIcon(TQWidget parent, String name) { super((Class) null); newKRootPermsIcon(parent,name); } - private native void newKRootPermsIcon(QWidget parent, String name); - public KRootPermsIcon(QWidget parent) { + private native void newKRootPermsIcon(TQWidget parent, String name); + public KRootPermsIcon(TQWidget parent) { super((Class) null); newKRootPermsIcon(parent); } - private native void newKRootPermsIcon(QWidget parent); + private native void newKRootPermsIcon(TQWidget parent); public KRootPermsIcon() { super((Class) null); newKRootPermsIcon(); diff --git a/kdejava/koala/org/kde/koala/KRootPixmap.java b/kdejava/koala/org/kde/koala/KRootPixmap.java index 5c862842..c8fec503 100644 --- a/kdejava/koala/org/kde/koala/KRootPixmap.java +++ b/kdejava/koala/org/kde/koala/KRootPixmap.java @@ -2,14 +2,14 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPixmap; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -21,7 +21,7 @@ import org.kde.qt.QObject; pointer to your widget. That's it! Moving, resizing and background changes are handled automatically. Instead of using the default behavior, you can ask KRootPixmap - to emit a backgroundUpdated(QPixmap) signal whenever + to emit a backgroundUpdated(TQPixmap) signal whenever the background needs updating by using setCustomPainting(boolean). Alternatively by reimplementing updateBackground(KSharedPixmap) you can take complete control of the behavior. @@ -33,9 +33,9 @@ import org.kde.qt.QObject; @short Creates pseudo-transparent widgets. */ -public class KRootPixmap extends QObject { +public class KRootPixmap extends TQObject { protected KRootPixmap(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KRootPixmap. The KRootPixmap will be created as a child @@ -46,31 +46,31 @@ public class KRootPixmap extends QObject { @param name The internal name of the pixmap @short Constructs a KRootPixmap. */ - public KRootPixmap(QWidget target, String name) { + public KRootPixmap(TQWidget target, String name) { super((Class) null); newKRootPixmap(target,name); } - private native void newKRootPixmap(QWidget target, String name); - public KRootPixmap(QWidget target) { + private native void newKRootPixmap(TQWidget target, String name); + public KRootPixmap(TQWidget target) { super((Class) null); newKRootPixmap(target); } - private native void newKRootPixmap(QWidget target); + private native void newKRootPixmap(TQWidget target); /** - Constructs a KRootPixmap where the parent QObject and target QWidget are + Constructs a KRootPixmap where the parent TQObject and target TQWidget are different. - @short Constructs a KRootPixmap where the parent QObject and target QWidget are different. + @short Constructs a KRootPixmap where the parent TQObject and target TQWidget are different. */ - public KRootPixmap(QWidget target, QObject parent, String name) { + public KRootPixmap(TQWidget target, TQObject parent, String name) { super((Class) null); newKRootPixmap(target,parent,name); } - private native void newKRootPixmap(QWidget target, QObject parent, String name); - public KRootPixmap(QWidget target, QObject parent) { + private native void newKRootPixmap(TQWidget target, TQObject parent, String name); + public KRootPixmap(TQWidget target, TQObject parent) { super((Class) null); newKRootPixmap(target,parent); } - private native void newKRootPixmap(QWidget target, QObject parent); + private native void newKRootPixmap(TQWidget target, TQObject parent); /** Checks if pseudo-transparency is available. @return <code>true</code> if transparency is available, <code>false</code> otherwise. @@ -99,7 +99,7 @@ public class KRootPixmap extends QObject { @short @since 3. */ - public native QColor color(); + public native TQColor color(); /** @since 3.2 @return the color opacity. @@ -126,7 +126,7 @@ public class KRootPixmap extends QObject { @param color The color to fade to. @short Sets the fade effect. */ - public native void setFadeEffect(double opacity, QColor color); + public native void setFadeEffect(double opacity, TQColor color); /** Repaints the widget background. Normally, you shouldn't need this as it is handled automatically. @@ -165,11 +165,11 @@ public class KRootPixmap extends QObject { track its movements. @short Reimplemented to filter the events from the target widget and track its movements. */ - public native boolean eventFilter(QObject arg1, QEvent arg2); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); /** Called when the pixmap has been updated. The default implementation applies the fade effect, then sets the target's background, or emits - backgroundUpdated(QPixmap) depending on the painting mode. + backgroundUpdated(TQPixmap) depending on the painting mode. @short Called when the pixmap has been updated. */ // void updateBackground(KSharedPixmap* arg1); >>>> NOT CONVERTED diff --git a/kdejava/koala/org/kde/koala/KRootPixmapSignals.java b/kdejava/koala/org/kde/koala/KRootPixmapSignals.java index b1331a82..72b9a75f 100644 --- a/kdejava/koala/org/kde/koala/KRootPixmapSignals.java +++ b/kdejava/koala/org/kde/koala/KRootPixmapSignals.java @@ -1,13 +1,13 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPixmap; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; public interface KRootPixmapSignals { /** @@ -16,5 +16,5 @@ public interface KRootPixmapSignals { @param pm A pixmap containing the new background. @short Emitted when the background needs updating and custom painting (see setCustomPainting(bool) ) is enabled. */ - void backgroundUpdated(QPixmap pm); + void backgroundUpdated(TQPixmap pm); } diff --git a/kdejava/koala/org/kde/koala/KRootProp.java b/kdejava/koala/org/kde/koala/KRootProp.java index 1d33472f..ca207740 100644 --- a/kdejava/koala/org/kde/koala/KRootProp.java +++ b/kdejava/koala/org/kde/koala/KRootProp.java @@ -2,8 +2,8 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QFont; +import org.kde.qt.TQColor; +import org.kde.qt.TQFont; import org.kde.qt.QtSupport; import java.util.ArrayList; @@ -85,19 +85,19 @@ public class KRootProp implements QtSupport { public native int readNumEntry(String rKey, int nDefault); public native int readNumEntry(String rKey); /** - Reads a QFont value. + Reads a TQFont value. Reads the value of an entry specified by <code>rKey</code> in the current property and interpret it as a font object. @param rKey The key to search for. @param pDefault A default value returned if the key was not found. @return The value for this key or a default font if no value was found. - @short Reads a QFont value. + @short Reads a TQFont value. */ - public native QFont readFontEntry(String rKey, QFont pDefault); - public native QFont readFontEntry(String rKey); + public native TQFont readFontEntry(String rKey, TQFont pDefault); + public native TQFont readFontEntry(String rKey); /** - Reads a QColor. + Reads a TQColor. Reads the value of an entry specified by <code>rKey</code> in the current property and interprets it as a color. @param rKey The key to search for. @@ -105,10 +105,10 @@ public class KRootProp implements QtSupport { @return The value for this key or a default color if no value was found. - @short Reads a QColor. + @short Reads a TQColor. */ - public native QColor readColorEntry(String rKey, QColor pDefault); - public native QColor readColorEntry(String rKey); + public native TQColor readColorEntry(String rKey, TQColor pDefault); + public native TQColor readColorEntry(String rKey); /** Writes a (key/value) pair. This is stored to the current property when destroying the @@ -142,7 +142,7 @@ public class KRootProp implements QtSupport { @short Writes the (key/value) pair. */ - public native String writeEntry(String rKey, QFont rFont); + public native String writeEntry(String rKey, TQFont rFont); /** Writes the (key/value) pair. Same as above, but writes a color. @@ -153,7 +153,7 @@ public class KRootProp implements QtSupport { @short Writes the (key/value) pair. */ - public native String writeEntry(String rKey, QColor rColor); + public native String writeEntry(String rKey, TQColor rColor); /** Removes an entry. @param rKey The key to remove. diff --git a/kdejava/koala/org/kde/koala/KRuler.java b/kdejava/koala/org/kde/koala/KRuler.java index fc360b4d..afc027c9 100644 --- a/kdejava/koala/org/kde/koala/KRuler.java +++ b/kdejava/koala/org/kde/koala/KRuler.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPainter; -import org.kde.qt.QWidget; -import org.kde.qt.QFrame; +import org.kde.qt.TQPainter; +import org.kde.qt.TQWidget; +import org.kde.qt.TQFrame; /** @@ -32,12 +32,12 @@ import org.kde.qt.QFrame; ruler. To receive mouse clicks or mouse moves, the class has to be overloaded. - For performance reasons, the public methods don't call QWidget.repaint(). + For performance reasons, the public methods don't call TQWidget.repaint(). (Slots do, see documentation below.) All the changed settings will be painted once after leaving to the main event loop. For performance painting the slot methods should be used, - they do a fast QWidget.repaint() call after changing the values. + they do a fast TQWidget.repaint() call after changing the values. For setting multiple values like minValue(), maxValue(), offset() etc. using the public methods is recommended so the widget will be painted only once when entering the main event loop. @@ -46,7 +46,7 @@ import org.kde.qt.QFrame; @short A ruler widget. */ -public class KRuler extends QFrame { +public class KRuler extends TQFrame { protected KRuler(Class dummy){super((Class) null);} /** The types of units used. @@ -59,22 +59,22 @@ public class KRuler extends QFrame { public static final int Centimetres = 4; public static final int Metres = 5; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a horizontal ruler. @short Constructs a horizontal ruler. */ - public KRuler(QWidget parent, String name) { + public KRuler(TQWidget parent, String name) { super((Class) null); newKRuler(parent,name); } - private native void newKRuler(QWidget parent, String name); - public KRuler(QWidget parent) { + private native void newKRuler(TQWidget parent, String name); + public KRuler(TQWidget parent) { super((Class) null); newKRuler(parent); } - private native void newKRuler(QWidget parent); + private native void newKRuler(TQWidget parent); public KRuler() { super((Class) null); newKRuler(); @@ -82,30 +82,30 @@ public class KRuler extends QFrame { private native void newKRuler(); /** Constructs a ruler with orientation <code>orient.</code> - <code>parent</code>, <code>name</code> and <code>f</code> are passed to QFrame. + <code>parent</code>, <code>name</code> and <code>f</code> are passed to TQFrame. The default look is a raised widget - but may be changed with the inherited QFrame methods. + but may be changed with the inherited TQFrame methods. @param orient Orientation of the ruler. - @param parent Will be handed over to QFrame. - @param name Will be handed over to QFrame. - @param f Will be handed over to QFrame. + @param parent Will be handed over to TQFrame. + @param name Will be handed over to TQFrame. + @param f Will be handed over to TQFrame. @short Constructs a ruler with orientation <code>orient.</code> */ - public KRuler(int orient, QWidget parent, String name, int f) { + public KRuler(int orient, TQWidget parent, String name, int f) { super((Class) null); newKRuler(orient,parent,name,f); } - private native void newKRuler(int orient, QWidget parent, String name, int f); - public KRuler(int orient, QWidget parent, String name) { + private native void newKRuler(int orient, TQWidget parent, String name, int f); + public KRuler(int orient, TQWidget parent, String name) { super((Class) null); newKRuler(orient,parent,name); } - private native void newKRuler(int orient, QWidget parent, String name); - public KRuler(int orient, QWidget parent) { + private native void newKRuler(int orient, TQWidget parent, String name); + public KRuler(int orient, TQWidget parent) { super((Class) null); newKRuler(orient,parent); } - private native void newKRuler(int orient, QWidget parent); + private native void newKRuler(int orient, TQWidget parent); public KRuler(int orient) { super((Class) null); newKRuler(orient); @@ -116,29 +116,29 @@ public class KRuler extends QFrame { The width sets the fixed width of the widget. This is useful if you want to draw the ruler bigger or smaller than the default size. Note: The size of the marks doesn't change. - <code>parent</code>, <code>name</code> and <code>f</code> are passed to QFrame. + <code>parent</code>, <code>name</code> and <code>f</code> are passed to TQFrame. @param orient Orientation of the ruler. @param widgetWidth Fixed width of the widget. - @param parent Will be handed over to QFrame. - @param name Will be handed over to QFrame. - @param f Will be handed over to QFrame. + @param parent Will be handed over to TQFrame. + @param name Will be handed over to TQFrame. + @param f Will be handed over to TQFrame. @short Constructs a ruler with orientation <code>orient</code> and initial width <code>widgetWidth.</code> */ - public KRuler(int orient, int widgetWidth, QWidget parent, String name, int f) { + public KRuler(int orient, int widgetWidth, TQWidget parent, String name, int f) { super((Class) null); newKRuler(orient,widgetWidth,parent,name,f); } - private native void newKRuler(int orient, int widgetWidth, QWidget parent, String name, int f); - public KRuler(int orient, int widgetWidth, QWidget parent, String name) { + private native void newKRuler(int orient, int widgetWidth, TQWidget parent, String name, int f); + public KRuler(int orient, int widgetWidth, TQWidget parent, String name) { super((Class) null); newKRuler(orient,widgetWidth,parent,name); } - private native void newKRuler(int orient, int widgetWidth, QWidget parent, String name); - public KRuler(int orient, int widgetWidth, QWidget parent) { + private native void newKRuler(int orient, int widgetWidth, TQWidget parent, String name); + public KRuler(int orient, int widgetWidth, TQWidget parent) { super((Class) null); newKRuler(orient,widgetWidth,parent); } - private native void newKRuler(int orient, int widgetWidth, QWidget parent); + private native void newKRuler(int orient, int widgetWidth, TQWidget parent); public KRuler(int orient, int widgetWidth) { super((Class) null); newKRuler(orient,widgetWidth); @@ -364,19 +364,19 @@ public class KRuler extends QFrame { /** Sets the pointer to a new position. The offset is NOT updated. - QWidget.repaint() is called afterwards. + TQWidget.repaint() is called afterwards. @short Sets the pointer to a new position. */ public native void slotNewValue(int arg1); /** Sets the ruler marks to a new position. The pointer is NOT updated. - QWidget.repaint() is called afterwards. + TQWidget.repaint() is called afterwards. @short Sets the ruler marks to a new position. */ public native void slotNewOffset(int arg1); public native void slotEndOffset(int arg1); - protected native void drawContents(QPainter arg1); + protected native void drawContents(TQPainter arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KRun.java b/kdejava/koala/org/kde/koala/KRun.java index 5f0d0497..210da4d3 100644 --- a/kdejava/koala/org/kde/koala/KRun.java +++ b/kdejava/koala/org/kde/koala/KRun.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -25,9 +25,9 @@ import org.kde.qt.QObject; @short Opens files with their associated applications in KDE. */ -public class KRun extends QObject { +public class KRun extends TQObject { protected KRun(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create a KRun object to run the preferred application for a file/URL. @@ -86,26 +86,26 @@ public class KRun extends QObject { It is always better to provide progress info in such cases. @short BIC: Combine with the above ctor for KDE 4. */ - public KRun(KURL url, QWidget window, long mode, boolean isLocalFile, boolean showProgressInfo) { + public KRun(KURL url, TQWidget window, long mode, boolean isLocalFile, boolean showProgressInfo) { super((Class) null); newKRun(url,window,mode,isLocalFile,showProgressInfo); } - private native void newKRun(KURL url, QWidget window, long mode, boolean isLocalFile, boolean showProgressInfo); - public KRun(KURL url, QWidget window, long mode, boolean isLocalFile) { + private native void newKRun(KURL url, TQWidget window, long mode, boolean isLocalFile, boolean showProgressInfo); + public KRun(KURL url, TQWidget window, long mode, boolean isLocalFile) { super((Class) null); newKRun(url,window,mode,isLocalFile); } - private native void newKRun(KURL url, QWidget window, long mode, boolean isLocalFile); - public KRun(KURL url, QWidget window, long mode) { + private native void newKRun(KURL url, TQWidget window, long mode, boolean isLocalFile); + public KRun(KURL url, TQWidget window, long mode) { super((Class) null); newKRun(url,window,mode); } - private native void newKRun(KURL url, QWidget window, long mode); - public KRun(KURL url, QWidget window) { + private native void newKRun(KURL url, TQWidget window, long mode); + public KRun(KURL url, TQWidget window) { super((Class) null); newKRun(url,window); } - private native void newKRun(KURL url, QWidget window); + private native void newKRun(KURL url, TQWidget window); /** Abort this KRun. This kills any jobs launched by it, and leads to deletion if auto-deletion is on. diff --git a/kdejava/koala/org/kde/koala/KRunSignals.java b/kdejava/koala/org/kde/koala/KRunSignals.java index 5ca5dfc4..98034d7b 100644 --- a/kdejava/koala/org/kde/koala/KRunSignals.java +++ b/kdejava/koala/org/kde/koala/KRunSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KRunSignals { /** diff --git a/kdejava/koala/org/kde/koala/KSMIMECrypto.java b/kdejava/koala/org/kde/koala/KSMIMECrypto.java index 059e5792..12cc6b74 100644 --- a/kdejava/koala/org/kde/koala/KSMIMECrypto.java +++ b/kdejava/koala/org/kde/koala/KSMIMECrypto.java @@ -41,7 +41,7 @@ public class KSMIMECrypto implements QtSupport { @short Sign a message */ - // KSMIMECrypto::rc signMessage(const QCString& arg1,QByteArray& arg2,const KSSLPKCS12& arg3,const QPtrList<KSSLCertificate>& arg4,bool arg5); >>>> NOT CONVERTED + // KSMIMECrypto::rc signMessage(const TQCString& arg1,TQByteArray& arg2,const KSSLPKCS12& arg3,const TQPtrList<KSSLCertificate>& arg4,bool arg5); >>>> NOT CONVERTED /** Check a detached message signature Will check if messages matches signature and extract certificates @@ -53,7 +53,7 @@ public class KSMIMECrypto implements QtSupport { @short Check a detached message signature Will check if messages matches signature and extract certificates Does not check certificates for validity! */ - // KSMIMECrypto::rc checkDetachedSignature(const QCString& arg1,const QByteArray& arg2,QPtrList<KSSLCertificate>& arg3); >>>> NOT CONVERTED + // KSMIMECrypto::rc checkDetachedSignature(const TQCString& arg1,const TQByteArray& arg2,TQPtrList<KSSLCertificate>& arg3); >>>> NOT CONVERTED /** Check an opaque signed message Will check if signature matches and extract message @@ -65,12 +65,12 @@ public class KSMIMECrypto implements QtSupport { @short Check an opaque signed message Will check if signature matches and extract message Does not check certificates for validity! */ - // KSMIMECrypto::rc checkOpaqueSignature(const QByteArray& arg1,QCString& arg2,QPtrList<KSSLCertificate>& arg3); >>>> NOT CONVERTED + // KSMIMECrypto::rc checkOpaqueSignature(const TQByteArray& arg1,TQCString& arg2,TQPtrList<KSSLCertificate>& arg3); >>>> NOT CONVERTED /** Encrypt a message encrypts a message for the given list of recipients and the selected algorithm. Note that any algorithm <128 bytes is - insecure and should never be used, even if SMIME-2 requires + insecure and should never be used, even if SMIME-2 retquires only RC2-40 @param clearText MIME representation of message to encrypt @param cipherText returned encrypted message @@ -80,7 +80,7 @@ public class KSMIMECrypto implements QtSupport { @short Encrypt a message encrypts a message for the given list of recipients and the selected algorithm. */ - // KSMIMECrypto::rc encryptMessage(const QCString& arg1,QByteArray& arg2,KSMIMECrypto::algo arg3,const QPtrList<KSSLCertificate>& arg4); >>>> NOT CONVERTED + // KSMIMECrypto::rc encryptMessage(const TQCString& arg1,TQByteArray& arg2,KSMIMECrypto::algo arg3,const TQPtrList<KSSLCertificate>& arg4); >>>> NOT CONVERTED /** Decrypt a message @param cipherText encrypted message block diff --git a/kdejava/koala/org/kde/koala/KSSLCertBox.java b/kdejava/koala/org/kde/koala/KSSLCertBox.java index 0918d760..31c7655f 100644 --- a/kdejava/koala/org/kde/koala/KSSLCertBox.java +++ b/kdejava/koala/org/kde/koala/KSSLCertBox.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QScrollView; +import org.kde.qt.TQWidget; +import org.kde.qt.TQScrollView; /** @@ -18,7 +18,7 @@ import org.kde.qt.QScrollView; @see KSSLInfoDlg */ -public class KSSLCertBox extends QScrollView { +public class KSSLCertBox extends TQScrollView { protected KSSLCertBox(Class dummy){super((Class) null);} /** Construct a certificate box @@ -27,21 +27,21 @@ public class KSSLCertBox extends QScrollView { @param f widget flags for the object @short Construct a certificate box */ - public KSSLCertBox(QWidget parent, String name, int f) { + public KSSLCertBox(TQWidget parent, String name, int f) { super((Class) null); newKSSLCertBox(parent,name,f); } - private native void newKSSLCertBox(QWidget parent, String name, int f); - public KSSLCertBox(QWidget parent, String name) { + private native void newKSSLCertBox(TQWidget parent, String name, int f); + public KSSLCertBox(TQWidget parent, String name) { super((Class) null); newKSSLCertBox(parent,name); } - private native void newKSSLCertBox(QWidget parent, String name); - public KSSLCertBox(QWidget parent) { + private native void newKSSLCertBox(TQWidget parent, String name); + public KSSLCertBox(TQWidget parent) { super((Class) null); newKSSLCertBox(parent); } - private native void newKSSLCertBox(QWidget parent); + private native void newKSSLCertBox(TQWidget parent); public KSSLCertBox() { super((Class) null); newKSSLCertBox(); @@ -53,7 +53,7 @@ public class KSSLCertBox extends QScrollView { @param mailCatcher the widget which catches the url open events @short Change the contents of the widget */ - public native void setValues(String certName, QWidget mailCatcher); + public native void setValues(String certName, TQWidget mailCatcher); public native void setValues(String certName); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KSSLCertChain.java b/kdejava/koala/org/kde/koala/KSSLCertChain.java index 9ca2d712..571f9ff3 100644 --- a/kdejava/koala/org/kde/koala/KSSLCertChain.java +++ b/kdejava/koala/org/kde/koala/KSSLCertChain.java @@ -50,7 +50,7 @@ public class KSSLCertChain implements QtSupport { @short Set the raw chain from OpenSSL */ // void setChain(void* arg1); >>>> NOT CONVERTED - // void setChain(QPtrList<KSSLCertificate>& arg1); >>>> NOT CONVERTED + // void setChain(TQPtrList<KSSLCertificate>& arg1); >>>> NOT CONVERTED /** Set the certificate chain as a list of base64 encoded X.509 certificates. @@ -65,7 +65,7 @@ public class KSSLCertChain implements QtSupport { @short Obtain a copy of the certificate chain. @see KSSLCertificate */ - // QPtrList<KSSLCertificate> getChain(); >>>> NOT CONVERTED + // TQPtrList<KSSLCertificate> getChain(); >>>> NOT CONVERTED /** Determine the number of entries (depth) of the chain. @return the number of entries in the certificate chain diff --git a/kdejava/koala/org/kde/koala/KSSLCertDlg.java b/kdejava/koala/org/kde/koala/KSSLCertDlg.java index 1e12d218..0ea5394b 100644 --- a/kdejava/koala/org/kde/koala/KSSLCertDlg.java +++ b/kdejava/koala/org/kde/koala/KSSLCertDlg.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -19,7 +19,7 @@ import org.kde.qt.QWidget; */ public class KSSLCertDlg extends KDialog { protected KSSLCertDlg(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a KSSL certificate dialog @@ -28,21 +28,21 @@ public class KSSLCertDlg extends KDialog { @param modal create a modal dialog if set to true @short Construct a KSSL certificate dialog */ - public KSSLCertDlg(QWidget parent, String name, boolean modal) { + public KSSLCertDlg(TQWidget parent, String name, boolean modal) { super((Class) null); newKSSLCertDlg(parent,name,modal); } - private native void newKSSLCertDlg(QWidget parent, String name, boolean modal); - public KSSLCertDlg(QWidget parent, String name) { + private native void newKSSLCertDlg(TQWidget parent, String name, boolean modal); + public KSSLCertDlg(TQWidget parent, String name) { super((Class) null); newKSSLCertDlg(parent,name); } - private native void newKSSLCertDlg(QWidget parent, String name); - public KSSLCertDlg(QWidget parent) { + private native void newKSSLCertDlg(TQWidget parent, String name); + public KSSLCertDlg(TQWidget parent) { super((Class) null); newKSSLCertDlg(parent); } - private native void newKSSLCertDlg(QWidget parent); + private native void newKSSLCertDlg(TQWidget parent); public KSSLCertDlg() { super((Class) null); newKSSLCertDlg(); diff --git a/kdejava/koala/org/kde/koala/KSSLCertificate.java b/kdejava/koala/org/kde/koala/KSSLCertificate.java index 61bd69f5..8354136a 100644 --- a/kdejava/koala/org/kde/koala/KSSLCertificate.java +++ b/kdejava/koala/org/kde/koala/KSSLCertificate.java @@ -95,14 +95,14 @@ public class KSSLCertificate implements QtSupport { @short Get the date that the certificate becomes valid on. */ - public native Calendar getQDTNotBefore(); + public native Calendar getTQDTNotBefore(); /** Get the date that the certificate is valid until. @return the date @short Get the date that the certificate is valid until. */ - public native Calendar getQDTNotAfter(); + public native Calendar getTQDTNotAfter(); /** Convert the certificate to DER (ASN.1) format. @return the binary data of the DER encoding diff --git a/kdejava/koala/org/kde/koala/KSSLInfoDlg.java b/kdejava/koala/org/kde/koala/KSSLInfoDlg.java index 41e74c38..3ffddea7 100644 --- a/kdejava/koala/org/kde/koala/KSSLInfoDlg.java +++ b/kdejava/koala/org/kde/koala/KSSLInfoDlg.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -21,7 +21,7 @@ import org.kde.qt.QWidget; */ public class KSSLInfoDlg extends KDialog { protected KSSLInfoDlg(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a KSSL Information Dialog @@ -31,21 +31,21 @@ public class KSSLInfoDlg extends KDialog { @param modal true if the dialog should be modal @short Construct a KSSL Information Dialog */ - public KSSLInfoDlg(boolean secureConnection, QWidget parent, String name, boolean modal) { + public KSSLInfoDlg(boolean secureConnection, TQWidget parent, String name, boolean modal) { super((Class) null); newKSSLInfoDlg(secureConnection,parent,name,modal); } - private native void newKSSLInfoDlg(boolean secureConnection, QWidget parent, String name, boolean modal); - public KSSLInfoDlg(boolean secureConnection, QWidget parent, String name) { + private native void newKSSLInfoDlg(boolean secureConnection, TQWidget parent, String name, boolean modal); + public KSSLInfoDlg(boolean secureConnection, TQWidget parent, String name) { super((Class) null); newKSSLInfoDlg(secureConnection,parent,name); } - private native void newKSSLInfoDlg(boolean secureConnection, QWidget parent, String name); - public KSSLInfoDlg(boolean secureConnection, QWidget parent) { + private native void newKSSLInfoDlg(boolean secureConnection, TQWidget parent, String name); + public KSSLInfoDlg(boolean secureConnection, TQWidget parent) { super((Class) null); newKSSLInfoDlg(secureConnection,parent); } - private native void newKSSLInfoDlg(boolean secureConnection, QWidget parent); + private native void newKSSLInfoDlg(boolean secureConnection, TQWidget parent); public KSSLInfoDlg(boolean secureConnection) { super((Class) null); newKSSLInfoDlg(secureConnection); @@ -97,8 +97,8 @@ public class KSSLInfoDlg extends KDialog { addresses @short Utility function to generate the widget which displays the detailed information about an X. */ - public static native KSSLCertBox certInfoWidget(QWidget parent, String certName, QWidget mailCatcher); - public static native KSSLCertBox certInfoWidget(QWidget parent, String certName); + public static native KSSLCertBox certInfoWidget(TQWidget parent, String certName, TQWidget mailCatcher); + public static native KSSLCertBox certInfoWidget(TQWidget parent, String certName); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KSSLKeyGen.java b/kdejava/koala/org/kde/koala/KSSLKeyGen.java index 98ee5cb0..e706ac92 100644 --- a/kdejava/koala/org/kde/koala/KSSLKeyGen.java +++ b/kdejava/koala/org/kde/koala/KSSLKeyGen.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -22,7 +22,7 @@ import org.kde.qt.QWidget; */ public class KSSLKeyGen extends KWizard { protected KSSLKeyGen(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a keygen dialog. @@ -31,21 +31,21 @@ public class KSSLKeyGen extends KWizard { @param modal true if the dialog should be modal @short Construct a keygen dialog. */ - public KSSLKeyGen(QWidget parent, String name, boolean modal) { + public KSSLKeyGen(TQWidget parent, String name, boolean modal) { super((Class) null); newKSSLKeyGen(parent,name,modal); } - private native void newKSSLKeyGen(QWidget parent, String name, boolean modal); - public KSSLKeyGen(QWidget parent, String name) { + private native void newKSSLKeyGen(TQWidget parent, String name, boolean modal); + public KSSLKeyGen(TQWidget parent, String name) { super((Class) null); newKSSLKeyGen(parent,name); } - private native void newKSSLKeyGen(QWidget parent, String name); - public KSSLKeyGen(QWidget parent) { + private native void newKSSLKeyGen(TQWidget parent, String name); + public KSSLKeyGen(TQWidget parent) { super((Class) null); newKSSLKeyGen(parent); } - private native void newKSSLKeyGen(QWidget parent); + private native void newKSSLKeyGen(TQWidget parent); public KSSLKeyGen() { super((Class) null); newKSSLKeyGen(); diff --git a/kdejava/koala/org/kde/koala/KSaveFile.java b/kdejava/koala/org/kde/koala/KSaveFile.java index 31a29dd7..945d64eb 100644 --- a/kdejava/koala/org/kde/koala/KSaveFile.java +++ b/kdejava/koala/org/kde/koala/KSaveFile.java @@ -3,9 +3,9 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; -import org.kde.qt.QFile; -import org.kde.qt.QTextStream; +import org.kde.qt.TQDataStream; +import org.kde.qt.TQFile; +import org.kde.qt.TQTextStream; /** @@ -76,29 +76,29 @@ public class KSaveFile implements QtSupport { */ // FILE* fstream(); >>>> NOT CONVERTED /** - A QFile open for writing to the file. - @return A QFile open for writing to the file, or 0 if + A TQFile open for writing to the file. + @return A TQFile open for writing to the file, or 0 if opening the temporary file failed. - @short A QFile open for writing to the file. + @short A TQFile open for writing to the file. */ - public native QFile file(); + public native TQFile file(); /** - A QTextStream open for writing to the file. - @return A QTextStream that is open for writing to the file, or 0 + A TQTextStream open for writing to the file. + @return A TQTextStream that is open for writing to the file, or 0 if opening the temporary file failed - @short A QTextStream open for writing to the file. + @short A TQTextStream open for writing to the file. */ - public native QTextStream textStream(); + public native TQTextStream textStream(); /** - A QDataStream open for writing to the file. - @return A QDataStream that is open for writing to the file, or 0 + A TQDataStream open for writing to the file. + @return A TQDataStream that is open for writing to the file, or 0 if opening the file failed - @short A QDataStream open for writing to the file. + @short A TQDataStream open for writing to the file. */ - public native QDataStream dataStream(); + public native TQDataStream dataStream(); /** Aborts the write operation and removes any intermediate files This implies a close. diff --git a/kdejava/koala/org/kde/koala/KScanDialog.java b/kdejava/koala/org/kde/koala/KScanDialog.java index f93dd7d6..20672ee4 100644 --- a/kdejava/koala/org/kde/koala/KScanDialog.java +++ b/kdejava/koala/org/kde/koala/KScanDialog.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QImage; -import org.kde.qt.QWidget; +import org.kde.qt.TQImage; +import org.kde.qt.TQWidget; /** @@ -21,8 +21,8 @@ import org.kde.qt.QWidget; m_scanDialog = KScanDialog.getScanDialog( this, "scandialog" ); if ( !m_scanDialog ) // no scanning support installed? return; - connect( m_scanDialog, SIGNAL("finalImage( QImage, int )"), - SLOT("slotScanned( QImage, int )")); + connect( m_scanDialog, SIGNAL("finalImage( TQImage, int )"), + SLOT("slotScanned( TQImage, int )")); } if ( m_scanDialog.setup() ) // only if scanner configured/available m_scanDialog.show(); @@ -39,7 +39,7 @@ import org.kde.qt.QWidget; */ public class KScanDialog extends KDialogBase { protected KScanDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Reimplement this if you need to set up some things, before showing the @@ -56,16 +56,16 @@ public class KScanDialog extends KDialogBase { or null if no scan-support is available. Pass a suitable <code>parent</code> widget, if you like. If you don't you have to 'delete' the returned pointer yourself. - @param parent the QWidget's parent, or 0 - @param name the name of the QObject, can be 0 + @param parent the TQWidget's parent, or 0 + @param name the name of the TQObject, can be 0 @param modal if true the dialog is model @return the KScanDialog, or 0 if the function failed @short Creates the user's preferred scanning dialog and returns it, or 0L if no scan-support is available. */ - public static native KScanDialog getScanDialog(QWidget parent, String name, boolean modal); - public static native KScanDialog getScanDialog(QWidget parent, String name); - public static native KScanDialog getScanDialog(QWidget parent); + public static native KScanDialog getScanDialog(TQWidget parent, String name, boolean modal); + public static native KScanDialog getScanDialog(TQWidget parent, String name); + public static native KScanDialog getScanDialog(TQWidget parent); public static native KScanDialog getScanDialog(); /** Constructs the scan dialog. If you implement an own dialog, you can @@ -73,27 +73,27 @@ public class KScanDialog extends KDialogBase { @param dialogFace the KDialogBase.DialogType @param buttonMask a ORed mask of all buttons (see KDialogBase.ButtonCode) - @param parent the QWidget's parent, or 0 - @param name the name of the QObject, can be 0 + @param parent the TQWidget's parent, or 0 + @param name the name of the TQObject, can be 0 @param modal if true the dialog is model @short Constructs the scan dialog. @see KDialogBase */ - public KScanDialog(int dialogFace, int buttonMask, QWidget parent, String name, boolean modal) { + public KScanDialog(int dialogFace, int buttonMask, TQWidget parent, String name, boolean modal) { super((Class) null); newKScanDialog(dialogFace,buttonMask,parent,name,modal); } - private native void newKScanDialog(int dialogFace, int buttonMask, QWidget parent, String name, boolean modal); - public KScanDialog(int dialogFace, int buttonMask, QWidget parent, String name) { + private native void newKScanDialog(int dialogFace, int buttonMask, TQWidget parent, String name, boolean modal); + public KScanDialog(int dialogFace, int buttonMask, TQWidget parent, String name) { super((Class) null); newKScanDialog(dialogFace,buttonMask,parent,name); } - private native void newKScanDialog(int dialogFace, int buttonMask, QWidget parent, String name); - public KScanDialog(int dialogFace, int buttonMask, QWidget parent) { + private native void newKScanDialog(int dialogFace, int buttonMask, TQWidget parent, String name); + public KScanDialog(int dialogFace, int buttonMask, TQWidget parent) { super((Class) null); newKScanDialog(dialogFace,buttonMask,parent); } - private native void newKScanDialog(int dialogFace, int buttonMask, QWidget parent); + private native void newKScanDialog(int dialogFace, int buttonMask, TQWidget parent); public KScanDialog(int dialogFace, int buttonMask) { super((Class) null); newKScanDialog(dialogFace,buttonMask); diff --git a/kdejava/koala/org/kde/koala/KScanDialogSignals.java b/kdejava/koala/org/kde/koala/KScanDialogSignals.java index d272143d..6933256c 100644 --- a/kdejava/koala/org/kde/koala/KScanDialogSignals.java +++ b/kdejava/koala/org/kde/koala/KScanDialogSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QImage; -import org.kde.qt.QWidget; +import org.kde.qt.TQImage; +import org.kde.qt.TQWidget; public interface KScanDialogSignals { /** @@ -13,7 +13,7 @@ public interface KScanDialogSignals { @param id the image's id @short Informs you that an image has been previewed. */ - void preview(QImage img, int id); + void preview(TQImage img, int id); /** Informs you that an image has scanned. <code>id</code> is the same as in the <code>preview</code>() signal, if this image had been previewed before. @@ -23,7 +23,7 @@ public interface KScanDialogSignals { @param id the image's id @short Informs you that an image has scanned. */ - void finalImage(QImage img, int id); + void finalImage(TQImage img, int id); /** Informs you that the image with the id <code>id</code> has been run through text-recognition. The text is in the String parameter. In the future, diff --git a/kdejava/koala/org/kde/koala/KSelectAction.java b/kdejava/koala/org/kde/koala/KSelectAction.java index 0ef08643..cf779ef8 100644 --- a/kdejava/koala/org/kde/koala/KSelectAction.java +++ b/kdejava/koala/org/kde/koala/KSelectAction.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; import java.util.ArrayList; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; /** @@ -24,7 +24,7 @@ import org.kde.qt.QWidget; */ public class KSelectAction extends KAction { protected KSelectAction(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a select action with text and potential keyboard @@ -36,16 +36,16 @@ public class KSelectAction extends KAction { @param name An internal name for this action. @short Constructs a select action with text and potential keyboard accelerator but nothing else. */ - public KSelectAction(String text, KShortcut cut, QObject parent, String name) { + public KSelectAction(String text, KShortcut cut, TQObject parent, String name) { super((Class) null); newKSelectAction(text,cut,parent,name); } - private native void newKSelectAction(String text, KShortcut cut, QObject parent, String name); - public KSelectAction(String text, KShortcut cut, QObject parent) { + private native void newKSelectAction(String text, KShortcut cut, TQObject parent, String name); + public KSelectAction(String text, KShortcut cut, TQObject parent) { super((Class) null); newKSelectAction(text,cut,parent); } - private native void newKSelectAction(String text, KShortcut cut, QObject parent); + private native void newKSelectAction(String text, KShortcut cut, TQObject parent); public KSelectAction(String text, KShortcut cut) { super((Class) null); newKSelectAction(text,cut); @@ -65,16 +65,16 @@ public class KSelectAction extends KAction { @param name An internal name for this action. @short */ - public KSelectAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KSelectAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKSelectAction(text,cut,receiver,slot,parent,name); } - private native void newKSelectAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KSelectAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKSelectAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KSelectAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKSelectAction(text,cut,receiver,slot,parent); } - private native void newKSelectAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKSelectAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The icons that go with this action. @@ -83,26 +83,26 @@ public class KSelectAction extends KAction { @param name An internal name for this action. @short */ - public KSelectAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name) { + public KSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name) { super((Class) null); newKSelectAction(text,pix,cut,parent,name); } - private native void newKSelectAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name); - public KSelectAction(String text, QIconSet pix, KShortcut cut, QObject parent) { + private native void newKSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name); + public KSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject parent) { super((Class) null); newKSelectAction(text,pix,cut,parent); } - private native void newKSelectAction(String text, QIconSet pix, KShortcut cut, QObject parent); - public KSelectAction(String text, QIconSet pix, KShortcut cut) { + private native void newKSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject parent); + public KSelectAction(String text, TQIconSet pix, KShortcut cut) { super((Class) null); newKSelectAction(text,pix,cut); } - private native void newKSelectAction(String text, QIconSet pix, KShortcut cut); - public KSelectAction(String text, QIconSet pix) { + private native void newKSelectAction(String text, TQIconSet pix, KShortcut cut); + public KSelectAction(String text, TQIconSet pix) { super((Class) null); newKSelectAction(text,pix); } - private native void newKSelectAction(String text, QIconSet pix); + private native void newKSelectAction(String text, TQIconSet pix); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -111,16 +111,16 @@ public class KSelectAction extends KAction { @param name An internal name for this action. @short */ - public KSelectAction(String text, String pix, KShortcut cut, QObject parent, String name) { + public KSelectAction(String text, String pix, KShortcut cut, TQObject parent, String name) { super((Class) null); newKSelectAction(text,pix,cut,parent,name); } - private native void newKSelectAction(String text, String pix, KShortcut cut, QObject parent, String name); - public KSelectAction(String text, String pix, KShortcut cut, QObject parent) { + private native void newKSelectAction(String text, String pix, KShortcut cut, TQObject parent, String name); + public KSelectAction(String text, String pix, KShortcut cut, TQObject parent) { super((Class) null); newKSelectAction(text,pix,cut,parent); } - private native void newKSelectAction(String text, String pix, KShortcut cut, QObject parent); + private native void newKSelectAction(String text, String pix, KShortcut cut, TQObject parent); public KSelectAction(String text, String pix, KShortcut cut) { super((Class) null); newKSelectAction(text,pix,cut); @@ -141,16 +141,16 @@ public class KSelectAction extends KAction { @param name An internal name for this action. @short */ - public KSelectAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKSelectAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKSelectAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KSelectAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKSelectAction(text,pix,cut,receiver,slot,parent); } - private native void newKSelectAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKSelectAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -161,31 +161,31 @@ public class KSelectAction extends KAction { @param name An internal name for this action. @short */ - public KSelectAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KSelectAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKSelectAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKSelectAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KSelectAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKSelectAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KSelectAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKSelectAction(text,pix,cut,receiver,slot,parent); } - private native void newKSelectAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKSelectAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param parent This action's parent. @param name An internal name for this action. @short */ - public KSelectAction(QObject parent, String name) { + public KSelectAction(TQObject parent, String name) { super((Class) null); newKSelectAction(parent,name); } - private native void newKSelectAction(QObject parent, String name); - public KSelectAction(QObject parent) { + private native void newKSelectAction(TQObject parent, String name); + public KSelectAction(TQObject parent) { super((Class) null); newKSelectAction(parent); } - private native void newKSelectAction(QObject parent); + private native void newKSelectAction(TQObject parent); public KSelectAction() { super((Class) null); newKSelectAction(); @@ -201,8 +201,8 @@ public class KSelectAction extends KAction { @param index The index of the item. @short "Plug" or insert this action into a given widget. */ - public native int plug(QWidget widget, int index); - public native int plug(QWidget widget); + public native int plug(TQWidget widget, int index); + public native int plug(TQWidget widget); /** When this action is plugged into a toolbar, it creates a combobox. @return true if the combo editable. @@ -250,7 +250,7 @@ public class KSelectAction extends KAction { Returns a pointer to the popup menu used by this action. @short Returns a pointer to the popup menu used by this action. */ - public native QPopupMenu popupMenu(); + public native TQPopupMenu popupMenu(); public native boolean removeAmpersandsInCombo(); /** Sets whether any occurrence of the ampersand character ( & ) in items diff --git a/kdejava/koala/org/kde/koala/KSelectActionSignals.java b/kdejava/koala/org/kde/koala/KSelectActionSignals.java index f2e07a28..aeaa843d 100644 --- a/kdejava/koala/org/kde/koala/KSelectActionSignals.java +++ b/kdejava/koala/org/kde/koala/KSelectActionSignals.java @@ -1,13 +1,13 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; import java.util.ArrayList; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; public interface KSelectActionSignals { /** diff --git a/kdejava/koala/org/kde/koala/KSelector.java b/kdejava/koala/org/kde/koala/KSelector.java index 9a7e30d6..536b8a8c 100644 --- a/kdejava/koala/org/kde/koala/KSelector.java +++ b/kdejava/koala/org/kde/koala/KSelector.java @@ -2,18 +2,18 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QPoint; -import org.kde.qt.QPainter; -import org.kde.qt.QRangeControl; -import org.kde.qt.QRangeControlInterface; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWheelEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQPoint; +import org.kde.qt.TQPainter; +import org.kde.qt.TQRangeControl; +import org.kde.qt.TQRangeControlInterface; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; +import org.kde.qt.TQWidget; /** @@ -27,24 +27,24 @@ import org.kde.qt.QWidget; @short KSelector is the base class for other widgets which provides the ability to choose from a one-dimensional range of values. */ -public class KSelector extends QWidget implements QRangeControlInterface { +public class KSelector extends TQWidget implements TQRangeControlInterface { protected KSelector(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a horizontal one-dimensional selection widget. @short Constructs a horizontal one-dimensional selection widget. */ - public KSelector(QWidget parent, String name) { + public KSelector(TQWidget parent, String name) { super((Class) null); newKSelector(parent,name); } - private native void newKSelector(QWidget parent, String name); - public KSelector(QWidget parent) { + private native void newKSelector(TQWidget parent, String name); + public KSelector(TQWidget parent) { super((Class) null); newKSelector(parent); } - private native void newKSelector(QWidget parent); + private native void newKSelector(TQWidget parent); public KSelector() { super((Class) null); newKSelector(); @@ -55,16 +55,16 @@ public class KSelector extends QWidget implements QRangeControlInterface { a given orientation. @short Constructs a one-dimensional selection widget with a given orientation. */ - public KSelector(int o, QWidget parent, String name) { + public KSelector(int o, TQWidget parent, String name) { super((Class) null); newKSelector(o,parent,name); } - private native void newKSelector(int o, QWidget parent, String name); - public KSelector(int o, QWidget parent) { + private native void newKSelector(int o, TQWidget parent, String name); + public KSelector(int o, TQWidget parent) { super((Class) null); newKSelector(o,parent); } - private native void newKSelector(int o, QWidget parent); + private native void newKSelector(int o, TQWidget parent); public KSelector(int o) { super((Class) null); newKSelector(o); @@ -81,7 +81,7 @@ public class KSelector extends QWidget implements QRangeControlInterface { @short */ - public native QRect contentsRect(); + public native TQRect contentsRect(); /** Sets the indent option of the widget to i. This determines whether a shaded frame is drawn. @@ -133,7 +133,7 @@ public class KSelector extends QWidget implements QRangeControlInterface { Draw only within contentsRect(). @short Override this function to draw the contents of the control. */ - protected native void drawContents(QPainter arg1); + protected native void drawContents(TQPainter arg1); /** Override this function to draw the cursor which indicates the current value. This function is @@ -142,12 +142,12 @@ public class KSelector extends QWidget implements QRangeControlInterface { to draw the new one. @short Override this function to draw the cursor which indicates the current value. */ - protected native void drawArrow(QPainter painter, boolean show, QPoint pos); + protected native void drawArrow(TQPainter painter, boolean show, TQPoint pos); protected native void valueChange(); - protected native void paintEvent(QPaintEvent arg1); - protected native void mousePressEvent(QMouseEvent e); - protected native void mouseMoveEvent(QMouseEvent e); - protected native void wheelEvent(QWheelEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void mousePressEvent(TQMouseEvent e); + protected native void mouseMoveEvent(TQMouseEvent e); + protected native void wheelEvent(TQWheelEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KSelectorSignals.java b/kdejava/koala/org/kde/koala/KSelectorSignals.java index dfd34662..9b7576fc 100644 --- a/kdejava/koala/org/kde/koala/KSelectorSignals.java +++ b/kdejava/koala/org/kde/koala/KSelectorSignals.java @@ -1,17 +1,17 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QPoint; -import org.kde.qt.QPainter; -import org.kde.qt.QRangeControl; -import org.kde.qt.QRangeControlInterface; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWheelEvent; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQPoint; +import org.kde.qt.TQPainter; +import org.kde.qt.TQRangeControl; +import org.kde.qt.TQRangeControlInterface; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; public interface KSelectorSignals { /** diff --git a/kdejava/koala/org/kde/koala/KSeparator.java b/kdejava/koala/org/kde/koala/KSeparator.java index 3e9f1540..6c9f08c2 100644 --- a/kdejava/koala/org/kde/koala/KSeparator.java +++ b/kdejava/koala/org/kde/koala/KSeparator.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QPainter; -import org.kde.qt.QWidget; -import org.kde.qt.QFrame; +import org.kde.qt.TQSize; +import org.kde.qt.TQPainter; +import org.kde.qt.TQWidget; +import org.kde.qt.TQFrame; /** @@ -19,32 +19,32 @@ import org.kde.qt.QFrame; @short Standard horizontal or vertical separator. */ -public class KSeparator extends QFrame { +public class KSeparator extends TQFrame { protected KSeparator(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. @param parent parent object. @param name name of the new object. - @param f extra QWidget flags. + @param f extra TQWidget flags. @short Constructor. */ - public KSeparator(QWidget parent, String name, int f) { + public KSeparator(TQWidget parent, String name, int f) { super((Class) null); newKSeparator(parent,name,f); } - private native void newKSeparator(QWidget parent, String name, int f); - public KSeparator(QWidget parent, String name) { + private native void newKSeparator(TQWidget parent, String name, int f); + public KSeparator(TQWidget parent, String name) { super((Class) null); newKSeparator(parent,name); } - private native void newKSeparator(QWidget parent, String name); - public KSeparator(QWidget parent) { + private native void newKSeparator(TQWidget parent, String name); + public KSeparator(TQWidget parent) { super((Class) null); newKSeparator(parent); } - private native void newKSeparator(QWidget parent); + private native void newKSeparator(TQWidget parent); public KSeparator() { super((Class) null); newKSeparator(); @@ -56,24 +56,24 @@ public class KSeparator extends QFrame { Possible values are HLine or Horizontal and VLine or Vertical. @param parent parent object. @param name name of the new object. - @param f extra QWidget flags. + @param f extra TQWidget flags. @short Constructor. */ - public KSeparator(int orientation, QWidget parent, String name, int f) { + public KSeparator(int orientation, TQWidget parent, String name, int f) { super((Class) null); newKSeparator(orientation,parent,name,f); } - private native void newKSeparator(int orientation, QWidget parent, String name, int f); - public KSeparator(int orientation, QWidget parent, String name) { + private native void newKSeparator(int orientation, TQWidget parent, String name, int f); + public KSeparator(int orientation, TQWidget parent, String name) { super((Class) null); newKSeparator(orientation,parent,name); } - private native void newKSeparator(int orientation, QWidget parent, String name); - public KSeparator(int orientation, QWidget parent) { + private native void newKSeparator(int orientation, TQWidget parent, String name); + public KSeparator(int orientation, TQWidget parent) { super((Class) null); newKSeparator(orientation,parent); } - private native void newKSeparator(int orientation, QWidget parent); + private native void newKSeparator(int orientation, TQWidget parent); public KSeparator(int orientation) { super((Class) null); newKSeparator(orientation); @@ -96,12 +96,12 @@ public class KSeparator extends QFrame { The recommended height (width) for a horizontal (vertical) separator. @short The recommended height (width) for a horizontal (vertical) separator. */ - public native QSize sizeHint(); + public native TQSize sizeHint(); /** @param p pointer to painter @short */ - protected native void drawFrame(QPainter p); + protected native void drawFrame(TQPainter p); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KService.java b/kdejava/koala/org/kde/koala/KService.java index 002b78c2..4575e383 100644 --- a/kdejava/koala/org/kde/koala/KService.java +++ b/kdejava/koala/org/kde/koala/KService.java @@ -3,11 +3,11 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; -import org.kde.qt.QPixmap; +import org.kde.qt.TQDataStream; +import org.kde.qt.TQPixmap; import java.util.ArrayList; -import org.kde.qt.QVariant; -import org.kde.qt.QWidget; +import org.kde.qt.TQVariant; +import org.kde.qt.TQWidget; /** @@ -92,11 +92,11 @@ public class KService extends KSycocaEntry { The stream must already be positionned at the correct offset. @short */ - public KService(QDataStream _str, int offset) { + public KService(TQDataStream _str, int offset) { super((Class) null); newKService(_str,offset); } - private native void newKService(QDataStream _str, int offset); + private native void newKService(TQDataStream _str, int offset); /** Returns the type of the service. @return the type of the service ("Application" or "Service") @@ -154,10 +154,10 @@ public class KService extends KSycocaEntry { @short Returns the pixmap that represents the icon. @see #icon */ - public native QPixmap pixmap(int _group, int _force_size, int _state, StringBuffer _path); - public native QPixmap pixmap(int _group, int _force_size, int _state); - public native QPixmap pixmap(int _group, int _force_size); - public native QPixmap pixmap(int _group); + public native TQPixmap pixmap(int _group, int _force_size, int _state, StringBuffer _path); + public native TQPixmap pixmap(int _group, int _force_size, int _state); + public native TQPixmap pixmap(int _group, int _force_size); + public native TQPixmap pixmap(int _group); /** Checks whethe the service should be run in a terminal. @return true if the service is to be run in a terminal. @@ -167,12 +167,12 @@ public class KService extends KSycocaEntry { public native boolean terminal(); /** Returns any options associated with the terminal the service - runs in, if it requires a terminal. + runs in, if it retquires a terminal. The service must be a tty-oriented program. @return the terminal options, or null if not set - @short Returns any options associated with the terminal the service runs in, if it requires a terminal. + @short Returns any options associated with the terminal the service runs in, if it retquires a terminal. */ public native String terminalOptions(); /** @@ -375,7 +375,7 @@ public class KService extends KSycocaEntry { @short Returns the requested property. @see KServiceType */ - public native QVariant property(String _name); + public native TQVariant property(String _name); /** Returns the requested property. @param _name the name of the property @@ -385,7 +385,7 @@ public class KService extends KSycocaEntry { @short Returns the requested property. @see KServiceType */ - public native QVariant property(String _name, int t); + public native TQVariant property(String _name, int t); /** Returns the list of all properties that this service can have. That means, that some of these properties may be empty. @@ -413,12 +413,12 @@ public class KService extends KSycocaEntry { Load the service from a stream. @short */ - public native void load(QDataStream arg1); + public native void load(TQDataStream arg1); /** Save the service to a stream. @short */ - public native void save(QDataStream arg1); + public native void save(TQDataStream arg1); /** Set the menu id @short @@ -444,7 +444,7 @@ public class KService extends KSycocaEntry { @short Find a service by name, i. */ - // KService::Ptr serviceByName(const QString& arg1); >>>> NOT CONVERTED + // KService::Ptr serviceByName(const TQString& arg1); >>>> NOT CONVERTED /** Find a service based on its path as returned by desktopEntryPath(). It's usually better to use serviceByStorageId() instead. @@ -455,7 +455,7 @@ public class KService extends KSycocaEntry { @short Find a service based on its path as returned by desktopEntryPath(). */ - // KService::Ptr serviceByDesktopPath(const QString& arg1); >>>> NOT CONVERTED + // KService::Ptr serviceByDesktopPath(const TQString& arg1); >>>> NOT CONVERTED /** Find a service by the name of its desktop file, not depending on its actual location (as long as it's under the applnk or service @@ -470,7 +470,7 @@ public class KService extends KSycocaEntry { @short Find a service by the name of its desktop file, not depending on its actual location (as long as it's under the applnk or service directories). */ - // KService::Ptr serviceByDesktopName(const QString& arg1); >>>> NOT CONVERTED + // KService::Ptr serviceByDesktopName(const TQString& arg1); >>>> NOT CONVERTED /** Find a service by its menu-id @param _menuId the menu id of the service @@ -480,7 +480,7 @@ public class KService extends KSycocaEntry { @short Find a service by its menu-id */ - // KService::Ptr serviceByMenuId(const QString& arg1); >>>> NOT CONVERTED + // KService::Ptr serviceByMenuId(const TQString& arg1); >>>> NOT CONVERTED /** Find a service by its storage-id or desktop-file path. This function will try very hard to find a matching service. @@ -491,7 +491,7 @@ public class KService extends KSycocaEntry { @short Find a service by its storage-id or desktop-file path. */ - // KService::Ptr serviceByStorageId(const QString& arg1); >>>> NOT CONVERTED + // KService::Ptr serviceByStorageId(const TQString& arg1); >>>> NOT CONVERTED /** Returns the whole list of services. Useful for being able to @@ -504,11 +504,11 @@ public class KService extends KSycocaEntry { */ // KService::List allServices(); >>>> NOT CONVERTED /** - Returns all services that require initialisation. + Returns all services that retquire initialisation. Only needed by "kcminit" @return the list of all services that need to be initialized - @short Returns all services that require initialisation. + @short Returns all services that retquire initialisation. */ // KService::List allInitServices(); >>>> NOT CONVERTED /** @@ -535,7 +535,7 @@ public class KService extends KSycocaEntry { @param parent Parent widget for the progress dialog @short Rebuild KSycoca and show a progress dialog while doing so. */ - public static native void rebuildKSycoca(QWidget parent); + public static native void rebuildKSycoca(TQWidget parent); protected native void init(KDesktopFile config); protected native ArrayList accessServiceTypes(); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KServiceGroup.java b/kdejava/koala/org/kde/koala/KServiceGroup.java index ca384e15..87e08a23 100644 --- a/kdejava/koala/org/kde/koala/KServiceGroup.java +++ b/kdejava/koala/org/kde/koala/KServiceGroup.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; +import org.kde.qt.TQDataStream; import java.util.ArrayList; /** @@ -63,11 +63,11 @@ public class KServiceGroup extends KSycocaEntry { The stream must already be positionned at the correct offset @short */ - public KServiceGroup(QDataStream _str, int offset, boolean deep) { + public KServiceGroup(TQDataStream _str, int offset, boolean deep) { super((Class) null); newKServiceGroup(_str,offset,deep); } - private native void newKServiceGroup(QDataStream _str, int offset, boolean deep); + private native void newKServiceGroup(TQDataStream _str, int offset, boolean deep); /** Checks whether the entry is valid, returns always true. @return true @@ -186,12 +186,12 @@ public class KServiceGroup extends KSycocaEntry { Load the service from a stream. @short */ - public native void load(QDataStream arg1); + public native void load(TQDataStream arg1); /** Save the service to a stream. @short */ - public native void save(QDataStream arg1); + public native void save(TQDataStream arg1); /** List of all Services and ServiceGroups within this ServiceGroup. @@ -246,7 +246,7 @@ public class KServiceGroup extends KSycocaEntry { @short Returns the group for the given baseGroupName. */ - // KServiceGroup::Ptr baseGroup(const QString& arg1); >>>> NOT CONVERTED + // KServiceGroup::Ptr baseGroup(const TQString& arg1); >>>> NOT CONVERTED /** Returns the root service group. @return the root service group @@ -261,7 +261,7 @@ public class KServiceGroup extends KSycocaEntry { @short Returns the group with the given relative path. */ - // KServiceGroup::Ptr group(const QString& arg1); >>>> NOT CONVERTED + // KServiceGroup::Ptr group(const TQString& arg1); >>>> NOT CONVERTED /** Returns the group of services that have X-KDE-ParentApp equal to <code>parent</code> (siblings). @@ -270,7 +270,7 @@ public class KServiceGroup extends KSycocaEntry { @short Returns the group of services that have X-KDE-ParentApp equal to <code>parent</code> (siblings). */ - // KServiceGroup::Ptr childGroup(const QString& arg1); >>>> NOT CONVERTED + // KServiceGroup::Ptr childGroup(const TQString& arg1); >>>> NOT CONVERTED /** Add a service to this group @short diff --git a/kdejava/koala/org/kde/koala/KServiceSeparator.java b/kdejava/koala/org/kde/koala/KServiceSeparator.java index afa24fb3..72f5b57f 100644 --- a/kdejava/koala/org/kde/koala/KServiceSeparator.java +++ b/kdejava/koala/org/kde/koala/KServiceSeparator.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; +import org.kde.qt.TQDataStream; /** */ @@ -20,8 +20,8 @@ public class KServiceSeparator extends KSycocaEntry { private native void newKServiceSeparator(); public native boolean isValid(); public native String name(); - public native void load(QDataStream arg1); - public native void save(QDataStream arg1); + public native void load(TQDataStream arg1); + public native void save(TQDataStream arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KServiceType.java b/kdejava/koala/org/kde/koala/KServiceType.java index f22c982a..3594633f 100644 --- a/kdejava/koala/org/kde/koala/KServiceType.java +++ b/kdejava/koala/org/kde/koala/KServiceType.java @@ -3,9 +3,9 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; +import org.kde.qt.TQDataStream; import java.util.ArrayList; -import org.kde.qt.QVariant; +import org.kde.qt.TQVariant; /** @@ -59,11 +59,11 @@ public class KServiceType extends KSycocaEntry { The stream must already be positionned at the correct offset @short */ - public KServiceType(QDataStream _str, int offset) { + public KServiceType(TQDataStream _str, int offset) { super((Class) null); newKServiceType(_str,offset); } - private native void newKServiceType(QDataStream _str, int offset); + private native void newKServiceType(TQDataStream _str, int offset); /** Returns the icon associated with this service type. Some derived classes offer special functions which take for @@ -131,7 +131,7 @@ public class KServiceType extends KSycocaEntry { @short Returns the requested property. */ - public native QVariant property(String _name); + public native TQVariant property(String _name); /** Returns the list of all properties of this service type. @return the list of properties @@ -155,17 +155,17 @@ public class KServiceType extends KSycocaEntry { */ public native int propertyDef(String _name); public native ArrayList propertyDefNames(); - // const QMap<QString, QVariant::Type>& propertyDefs(); >>>> NOT CONVERTED + // const TQMap<TQString, TQVariant::Type>& propertyDefs(); >>>> NOT CONVERTED /** Save ourselves to the data stream. @short */ - public native void save(QDataStream arg1); + public native void save(TQDataStream arg1); /** Load ourselves from the data stream. @short */ - public native void load(QDataStream arg1); + public native void load(TQDataStream arg1); /** Pointer to parent serice type @short @@ -190,7 +190,7 @@ public class KServiceType extends KSycocaEntry { @short Returns a pointer to the servicetype '_name' or 0L if the service type is unknown. */ - // KServiceType::Ptr serviceType(const QString& arg1); >>>> NOT CONVERTED + // KServiceType::Ptr serviceType(const TQString& arg1); >>>> NOT CONVERTED /** Returns all services supporting the given servicetype name. This doesn't take care of the user profile. @@ -201,7 +201,7 @@ public class KServiceType extends KSycocaEntry { @short Returns all services supporting the given servicetype name. */ - // KService::List offers(const QString& arg1); >>>> NOT CONVERTED + // KService::List offers(const TQString& arg1); >>>> NOT CONVERTED /** Returns a list of all the supported servicetypes. Useful for showing the list of available servicetypes in a listbox, diff --git a/kdejava/koala/org/kde/koala/KServiceTypeProfile.java b/kdejava/koala/org/kde/koala/KServiceTypeProfile.java index 15f9fd2a..eb6b4da4 100644 --- a/kdejava/koala/org/kde/koala/KServiceTypeProfile.java +++ b/kdejava/koala/org/kde/koala/KServiceTypeProfile.java @@ -42,7 +42,7 @@ public class KServiceTypeProfile implements QtSupport { @short Returns the preferred service for <code>_serviceType</code> and <code>_genericServiceType</code> ("Application", type of component, or null). */ - // KService::Ptr preferredService(const QString& arg1,const QString& arg2); >>>> NOT CONVERTED + // KService::Ptr preferredService(const TQString& arg1,const TQString& arg2); >>>> NOT CONVERTED /** Returns the profile for the requested service type. @param servicetype the service type (e.g. a MIME type) @@ -74,15 +74,15 @@ public class KServiceTypeProfile implements QtSupport { @short Returns the offers associated with a given servicetype, sorted by preference. */ - // KServiceTypeProfile::OfferList offers(const QString& arg1,const QString& arg2); >>>> NOT CONVERTED - // KServiceTypeProfile::OfferList offers(const QString& arg1); >>>> NOT CONVERTED + // KServiceTypeProfile::OfferList offers(const TQString& arg1,const TQString& arg2); >>>> NOT CONVERTED + // KServiceTypeProfile::OfferList offers(const TQString& arg1); >>>> NOT CONVERTED /** Returns a list of all KServiceTypeProfiles. @return a list of all KServiceTypeProfiles @short Returns a list of all KServiceTypeProfiles. */ - // const QPtrList<KServiceTypeProfile>& serviceTypeProfiles(); >>>> NOT CONVERTED + // const TQPtrList<KServiceTypeProfile>& serviceTypeProfiles(); >>>> NOT CONVERTED /** Clear all cached information @short Clear all cached information diff --git a/kdejava/koala/org/kde/koala/KSessionManaged.java b/kdejava/koala/org/kde/koala/KSessionManaged.java index df69e3bb..623706a8 100644 --- a/kdejava/koala/org/kde/koala/KSessionManaged.java +++ b/kdejava/koala/org/kde/koala/KSessionManaged.java @@ -3,14 +3,14 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QSessionManager; +import org.kde.qt.TQSessionManager; /** Provides highlevel access to session management on a per-object base. KSessionManaged makes it possible to provide implementations for - QApplication.commitData() and QApplication.saveState(), without + TQApplication.commitData() and TQApplication.saveState(), without subclassing KApplication. KMainWindow internally makes use of this. You don't need to do anything with this class when using KMainWindow. Instead, use KMainWindow.saveProperties(), @@ -31,23 +31,23 @@ public class KSessionManaged implements QtSupport { } private native void newKSessionManaged(); /** - See QApplication.saveState() for documentation. + See TQApplication.saveState() for documentation. This function is just a convenience version to avoid subclassing KApplication. Return true to indicate a successful state save or false to indicate a problem and to halt the shutdown process (will implicitly call sm.cancel() ). - @short See QApplication.saveState() for documentation. + @short See TQApplication.saveState() for documentation. */ - public native boolean saveState(QSessionManager sm); + public native boolean saveState(TQSessionManager sm); /** - See QApplication.commitData() for documentation. + See TQApplication.commitData() for documentation. This function is just a convenience version to avoid subclassing KApplication. Return true to indicate a successful commit of data or false to indicate a problem and to halt the shutdown process (will implicitly call sm.cancel() ). - @short See QApplication.commitData() for documentation. + @short See TQApplication.commitData() for documentation. */ - public native boolean commitData(QSessionManager sm); + public native boolean commitData(TQSessionManager sm); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KSharedConfig.java b/kdejava/koala/org/kde/koala/KSharedConfig.java index 39479b59..1633fe0c 100644 --- a/kdejava/koala/org/kde/koala/KSharedConfig.java +++ b/kdejava/koala/org/kde/koala/KSharedConfig.java @@ -21,7 +21,7 @@ public class KSharedConfig extends KConfig { @param bUseKDEGlobals Toggle reading the global KDE configuration file. @short Returns a ref-counted pointer to a shared read-write config object. */ - // KSharedConfig::Ptr openConfig(const QString& arg1,bool arg2,bool arg3); >>>> NOT CONVERTED - // KSharedConfig::Ptr openConfig(const QString& arg1,bool arg2); >>>> NOT CONVERTED - // KSharedConfig::Ptr openConfig(const QString& arg1); >>>> NOT CONVERTED + // KSharedConfig::Ptr openConfig(const TQString& arg1,bool arg2,bool arg3); >>>> NOT CONVERTED + // KSharedConfig::Ptr openConfig(const TQString& arg1,bool arg2); >>>> NOT CONVERTED + // KSharedConfig::Ptr openConfig(const TQString& arg1); >>>> NOT CONVERTED } diff --git a/kdejava/koala/org/kde/koala/KShell.java b/kdejava/koala/org/kde/koala/KShell.java index 2dd759a5..0af36230 100644 --- a/kdejava/koala/org/kde/koala/KShell.java +++ b/kdejava/koala/org/kde/koala/KShell.java @@ -73,8 +73,8 @@ public class KShell { @short Quotes and joins <code>argv</code> together according to POSIX shell rules. */ - // QString joinArgs(const char** arg1,int arg2); >>>> NOT CONVERTED - // QString joinArgs(const char** arg1); >>>> NOT CONVERTED + // TQString joinArgs(const char** arg1,int arg2); >>>> NOT CONVERTED + // TQString joinArgs(const char** arg1); >>>> NOT CONVERTED /** Performs tilde expansion on <code>path.</code> Interprets "~/path" and "~user/path". diff --git a/kdejava/koala/org/kde/koala/KShellCompletion.java b/kdejava/koala/org/kde/koala/KShellCompletion.java index 90192912..b1802b81 100644 --- a/kdejava/koala/org/kde/koala/KShellCompletion.java +++ b/kdejava/koala/org/kde/koala/KShellCompletion.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; /** @@ -19,7 +19,7 @@ import org.kde.qt.QtSupport; */ public class KShellCompletion extends KURLCompletion { protected KShellCompletion(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KShellCompletion object. diff --git a/kdejava/koala/org/kde/koala/KShellProcess.java b/kdejava/koala/org/kde/koala/KShellProcess.java index 02408e86..228770c8 100644 --- a/kdejava/koala/org/kde/koala/KShellProcess.java +++ b/kdejava/koala/org/kde/koala/KShellProcess.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; /** @@ -15,7 +15,7 @@ import org.kde.qt.QtSupport; */ public class KShellProcess extends KProcess { protected KShellProcess(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor diff --git a/kdejava/koala/org/kde/koala/KShortcut.java b/kdejava/koala/org/kde/koala/KShortcut.java index 641973e6..269cbd66 100644 --- a/kdejava/koala/org/kde/koala/KShortcut.java +++ b/kdejava/koala/org/kde/koala/KShortcut.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QKeySequence; +import org.kde.qt.TQKeySequence; import org.kde.qt.QtSupport; /** @@ -36,7 +36,7 @@ public class KShortcut implements QtSupport { a KShortcut. @short The maximum number of key sequences that can be contained in a KShortcut. */ - public static final int MAX_SEQUENCES = 2; + public static final int MAX_SETQUENCES = 2; /** Creates a new null shortcut. @@ -66,10 +66,10 @@ public class KShortcut implements QtSupport { @param keySeq the qt key sequence to add @short Creates a new shortcut that contains only the given qt key sequence. */ - public KShortcut(QKeySequence keySeq) { + public KShortcut(TQKeySequence keySeq) { newKShortcut(keySeq); } - private native void newKShortcut(QKeySequence keySeq); + private native void newKShortcut(TQKeySequence keySeq); /** Creates a new shortcut that contains only the given key in its only sequence. @@ -131,7 +131,7 @@ public class KShortcut implements QtSupport { @param keySeq the qt key sequence to add @short Initializes the shortcut with the given qt key sequence. */ - public native boolean init(QKeySequence keySeq); + public native boolean init(TQKeySequence keySeq); /** Initializes the shortcut with the given key as its only sequence. @param key the key to add @@ -163,7 +163,7 @@ public class KShortcut implements QtSupport { Returns the number of sequences that are in this shortcut. @return the number of sequences - MAX_SEQUENCES + MAX_SETQUENCES @short Returns the number of sequences that are in this shortcut. */ @@ -173,7 +173,7 @@ public class KShortcut implements QtSupport { @param i the number of the key sequence to retrieve @return the <code>i</code>'th sequence or KKeySequence.null() if there are less than <code>i</code> key sequences - MAX_SEQUENCES + MAX_SETQUENCES @short Returns the <code>i</code>'th key sequence of this shortcut. */ @@ -252,8 +252,8 @@ public class KShortcut implements QtSupport { /** Sets the <code>i</code> 'th key sequence of the shortcut. You can not introduce gaps in the list of sequences, so you must use an <code>i</code> <= count(). - Also note that the maximum number of key sequences is MAX_SEQUENCES. - @param i the position of the new key sequence(0 <= i <= count(), 0 <= i < MAX_SEQUENCES) + Also note that the maximum number of key sequences is MAX_SETQUENCES. + @param i the position of the new key sequence(0 <= i <= count(), 0 <= i < MAX_SETQUENCES) @param keySeq the key sequence to set @return true if successful, false otherwise @@ -262,7 +262,7 @@ public class KShortcut implements QtSupport { public native boolean setSeq(int i, KKeySequence keySeq); /** Appends the given key sequence. This sets it as either the keysequence or - the alternate keysequence. If the shortcut already has MAX_SEQUENCES + the alternate keysequence. If the shortcut already has MAX_SETQUENCES sequences then this call does nothing, and returns false. @param keySeq the key sequence to add @return true if successful, false otherwise @@ -284,7 +284,7 @@ public class KShortcut implements QtSupport { @short Appends the given key @see #setSeq - @see MAX_SEQUENCES + @see MAX_SETQUENCES */ public native boolean append(KKey spec); /** @@ -293,7 +293,7 @@ public class KShortcut implements QtSupport { @return true if successful, false otherwise @short Appends the sequences from the given shortcut. - @see MAX_SEQUENCES + @see MAX_SETQUENCES */ public native boolean append(KShortcut cut); /** diff --git a/kdejava/koala/org/kde/koala/KShortcutList.java b/kdejava/koala/org/kde/koala/KShortcutList.java index b33ae520..34406013 100644 --- a/kdejava/koala/org/kde/koala/KShortcutList.java +++ b/kdejava/koala/org/kde/koala/KShortcutList.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QVariant; +import org.kde.qt.TQVariant; /** @@ -124,10 +124,10 @@ public class KShortcutList implements QtSupport { public native KInstanceInterface instance(); /** \internal @short \internal */ - public native QVariant getOther(int arg1, int index); + public native TQVariant getOther(int arg1, int index); /** \internal @short \internal */ - public native boolean setOther(int arg1, int index, QVariant arg3); + public native boolean setOther(int arg1, int index, TQVariant arg3); /** Save the shortcut list. @return true if successful, false otherwise diff --git a/kdejava/koala/org/kde/koala/KShred.java b/kdejava/koala/org/kde/koala/KShred.java index eb944bec..3755b1ee 100644 --- a/kdejava/koala/org/kde/koala/KShred.java +++ b/kdejava/koala/org/kde/koala/KShred.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -18,9 +18,9 @@ import org.kde.qt.QObject; @short */ -public class KShred extends QObject { +public class KShred extends TQObject { protected KShred(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Initialize the class using the name of the file to 'shred'. diff --git a/kdejava/koala/org/kde/koala/KShredSignals.java b/kdejava/koala/org/kde/koala/KShredSignals.java index 12c75966..f8589438 100644 --- a/kdejava/koala/org/kde/koala/KShredSignals.java +++ b/kdejava/koala/org/kde/koala/KShredSignals.java @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; public interface KShredSignals { diff --git a/kdejava/koala/org/kde/koala/KSimpleConfig.java b/kdejava/koala/org/kde/koala/KSimpleConfig.java index d547df61..ef0b0070 100644 --- a/kdejava/koala/org/kde/koala/KSimpleConfig.java +++ b/kdejava/koala/org/kde/koala/KSimpleConfig.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; /** @@ -22,7 +22,7 @@ import org.kde.qt.QtSupport; */ public class KSimpleConfig extends KConfig { protected KSimpleConfig(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a KSimpleConfig object and make it either read-write diff --git a/kdejava/koala/org/kde/koala/KSpell.java b/kdejava/koala/org/kde/koala/KSpell.java index 2e7edb47..ab138124 100644 --- a/kdejava/koala/org/kde/koala/KSpell.java +++ b/kdejava/koala/org/kde/koala/KSpell.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; import java.util.ArrayList; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -24,7 +24,7 @@ import org.kde.qt.QObject; @see KSyntaxHighlighter */ -public class KSpell extends QObject { +public class KSpell extends TQObject { protected KSpell(Class dummy){super((Class) null);} /** Possible states of the spell checker. @@ -92,7 +92,7 @@ public class KSpell extends QObject { public static final int TeX = 2; public static final int Nroff = 3; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Starts the spellchecker. @@ -109,26 +109,26 @@ public class KSpell extends QObject { @param modal Indicates modal or non-modal dialog. @short Starts the spellchecker. */ - public KSpell(QWidget parent, String caption, QObject receiver, String slot, KSpellConfig kcs, boolean progressbar, boolean modal) { + public KSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs, boolean progressbar, boolean modal) { super((Class) null); newKSpell(parent,caption,receiver,slot,kcs,progressbar,modal); } - private native void newKSpell(QWidget parent, String caption, QObject receiver, String slot, KSpellConfig kcs, boolean progressbar, boolean modal); - public KSpell(QWidget parent, String caption, QObject receiver, String slot, KSpellConfig kcs, boolean progressbar) { + private native void newKSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs, boolean progressbar, boolean modal); + public KSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs, boolean progressbar) { super((Class) null); newKSpell(parent,caption,receiver,slot,kcs,progressbar); } - private native void newKSpell(QWidget parent, String caption, QObject receiver, String slot, KSpellConfig kcs, boolean progressbar); - public KSpell(QWidget parent, String caption, QObject receiver, String slot, KSpellConfig kcs) { + private native void newKSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs, boolean progressbar); + public KSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs) { super((Class) null); newKSpell(parent,caption,receiver,slot,kcs); } - private native void newKSpell(QWidget parent, String caption, QObject receiver, String slot, KSpellConfig kcs); - public KSpell(QWidget parent, String caption, QObject receiver, String slot) { + private native void newKSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs); + public KSpell(TQWidget parent, String caption, TQObject receiver, String slot) { super((Class) null); newKSpell(parent,caption,receiver,slot); } - private native void newKSpell(QWidget parent, String caption, QObject receiver, String slot); + private native void newKSpell(TQWidget parent, String caption, TQObject receiver, String slot); /** Starts the spellchecker. KSpell emits ready() when it has verified that @@ -145,11 +145,11 @@ public class KSpell extends QObject { @param type Type of the document to check @short Starts the spellchecker. */ - public KSpell(QWidget parent, String caption, QObject receiver, String slot, KSpellConfig kcs, boolean progressbar, boolean modal, int type) { + public KSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs, boolean progressbar, boolean modal, int type) { super((Class) null); newKSpell(parent,caption,receiver,slot,kcs,progressbar,modal,type); } - private native void newKSpell(QWidget parent, String caption, QObject receiver, String slot, KSpellConfig kcs, boolean progressbar, boolean modal, int type); + private native void newKSpell(TQWidget parent, String caption, TQObject receiver, String slot, KSpellConfig kcs, boolean progressbar, boolean modal, int type); /** Returns the status of KSpell. @short Returns the status of KSpell. @@ -364,7 +364,7 @@ public class KSpell extends QObject { protected native boolean cleanFputsWord(String s); protected native void startIspell(); protected native boolean writePersonalDictionary(); - protected native void initialize(QWidget _parent, String _caption, QObject arg3, String slot, KSpellConfig _ksc, boolean _progressbar, boolean _modal, int type); + protected native void initialize(TQWidget _parent, String _caption, TQObject arg3, String slot, KSpellConfig _ksc, boolean _progressbar, boolean _modal, int type); protected native void KSpell2(KProcIO arg1); protected native void checkWord2(KProcIO arg1); protected native void checkWord3(); diff --git a/kdejava/koala/org/kde/koala/KSpellConfig.java b/kdejava/koala/org/kde/koala/KSpellConfig.java index 7470d470..c5cf1e85 100644 --- a/kdejava/koala/org/kde/koala/KSpellConfig.java +++ b/kdejava/koala/org/kde/koala/KSpellConfig.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QComboBox; +import org.kde.qt.TQComboBox; import java.util.ArrayList; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -31,13 +31,13 @@ import org.kde.qt.QWidget; @see KSpell */ -public class KSpellConfig extends QWidget { +public class KSpellConfig extends TQWidget { protected KSpellConfig(Class dummy){super((Class) null);} public static final int rdictlist = 3; public static final int rencoding = 4; public static final int rhelp = 6; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KSpellConfig with default or custom settings. @@ -49,26 +49,26 @@ public class KSpellConfig extends QWidget { activateHelp for more information. @short Constructs a KSpellConfig with default or custom settings. */ - public KSpellConfig(QWidget parent, String name, KSpellConfig spellConfig, boolean addHelpButton) { + public KSpellConfig(TQWidget parent, String name, KSpellConfig spellConfig, boolean addHelpButton) { super((Class) null); newKSpellConfig(parent,name,spellConfig,addHelpButton); } - private native void newKSpellConfig(QWidget parent, String name, KSpellConfig spellConfig, boolean addHelpButton); - public KSpellConfig(QWidget parent, String name, KSpellConfig spellConfig) { + private native void newKSpellConfig(TQWidget parent, String name, KSpellConfig spellConfig, boolean addHelpButton); + public KSpellConfig(TQWidget parent, String name, KSpellConfig spellConfig) { super((Class) null); newKSpellConfig(parent,name,spellConfig); } - private native void newKSpellConfig(QWidget parent, String name, KSpellConfig spellConfig); - public KSpellConfig(QWidget parent, String name) { + private native void newKSpellConfig(TQWidget parent, String name, KSpellConfig spellConfig); + public KSpellConfig(TQWidget parent, String name) { super((Class) null); newKSpellConfig(parent,name); } - private native void newKSpellConfig(QWidget parent, String name); - public KSpellConfig(QWidget parent) { + private native void newKSpellConfig(TQWidget parent, String name); + public KSpellConfig(TQWidget parent) { super((Class) null); newKSpellConfig(parent); } - private native void newKSpellConfig(QWidget parent); + private native void newKSpellConfig(TQWidget parent); public KSpellConfig() { super((Class) null); newKSpellConfig(); @@ -90,8 +90,8 @@ public class KSpellConfig extends QWidget { @param dictionaries Will be filled with the internal dictionary names. @short Get the translated dictionary names and, optionally, the corresponding internal dictionary names. */ - public native void fillDicts(QComboBox box, String[] dictionaries); - public native void fillDicts(QComboBox box); + public native void fillDicts(TQComboBox box, String[] dictionaries); + public native void fillDicts(TQComboBox box); /** The <code>_ignorelist</code> contains words you'd like KSpell to ignore when it is spellchecking. When you get a KSpellConfig @@ -99,7 +99,7 @@ public class KSpellConfig extends QWidget { the <code>_ignorelist</code> contains whatever was put in by you plus any words the user has chosen to ignore via the dialog box. It may be useful to save this list with the document being - edited to facilitate quicker future spellchecking. + edited to facilitate tquicker future spellchecking. @short */ public native void setIgnoreList(String[] _ignorelist); diff --git a/kdejava/koala/org/kde/koala/KSpellConfigSignals.java b/kdejava/koala/org/kde/koala/KSpellConfigSignals.java index c87213fb..61272936 100644 --- a/kdejava/koala/org/kde/koala/KSpellConfigSignals.java +++ b/kdejava/koala/org/kde/koala/KSpellConfigSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QComboBox; +import org.kde.qt.TQComboBox; import java.util.ArrayList; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KSpellConfigSignals { void configChanged(); diff --git a/kdejava/koala/org/kde/koala/KSpellDlg.java b/kdejava/koala/org/kde/koala/KSpellDlg.java index 15de6b7e..97b94add 100644 --- a/kdejava/koala/org/kde/koala/KSpellDlg.java +++ b/kdejava/koala/org/kde/koala/KSpellDlg.java @@ -2,34 +2,34 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QListViewItem; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQListViewItem; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QCloseEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQWidget; /** See {@link KSpellDlgSignals} for signals emitted by KSpellDlg */ public class KSpellDlg extends KDialogBase { protected KSpellDlg(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KSpellDlg(QWidget parent, String name, boolean _progressbar, boolean _modal) { + public KSpellDlg(TQWidget parent, String name, boolean _progressbar, boolean _modal) { super((Class) null); newKSpellDlg(parent,name,_progressbar,_modal); } - private native void newKSpellDlg(QWidget parent, String name, boolean _progressbar, boolean _modal); - public KSpellDlg(QWidget parent, String name, boolean _progressbar) { + private native void newKSpellDlg(TQWidget parent, String name, boolean _progressbar, boolean _modal); + public KSpellDlg(TQWidget parent, String name, boolean _progressbar) { super((Class) null); newKSpellDlg(parent,name,_progressbar); } - private native void newKSpellDlg(QWidget parent, String name, boolean _progressbar); - public KSpellDlg(QWidget parent, String name) { + private native void newKSpellDlg(TQWidget parent, String name, boolean _progressbar); + public KSpellDlg(TQWidget parent, String name) { super((Class) null); newKSpellDlg(parent,name); } - private native void newKSpellDlg(QWidget parent, String name); + private native void newKSpellDlg(TQWidget parent, String name); public native String replacement(); /** Change the misspelled word and suggested replacements @@ -45,7 +45,7 @@ public class KSpellDlg extends KDialogBase { @short Adjust the progress bar to <code>p</code> percent. */ public native void slotProgress(int p); - protected native void closeEvent(QCloseEvent e); + protected native void closeEvent(TQCloseEvent e); protected native void done(int i); protected native void ignore(); protected native void add(); @@ -57,7 +57,7 @@ public class KSpellDlg extends KDialogBase { protected native void stop(); protected native void slotConfigChanged(); protected native void textChanged(String arg1); - protected native void slotSelectionChanged(QListViewItem item); + protected native void slotSelectionChanged(TQListViewItem item); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KSpellDlgSignals.java b/kdejava/koala/org/kde/koala/KSpellDlgSignals.java index 1e4d703a..45511367 100644 --- a/kdejava/koala/org/kde/koala/KSpellDlgSignals.java +++ b/kdejava/koala/org/kde/koala/KSpellDlgSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QListViewItem; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQListViewItem; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QCloseEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQWidget; public interface KSpellDlgSignals { /** diff --git a/kdejava/koala/org/kde/koala/KSpellSignals.java b/kdejava/koala/org/kde/koala/KSpellSignals.java index f3df1e64..1690de85 100644 --- a/kdejava/koala/org/kde/koala/KSpellSignals.java +++ b/kdejava/koala/org/kde/koala/KSpellSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; import java.util.ArrayList; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KSpellSignals { /** diff --git a/kdejava/koala/org/kde/koala/KSpellingHighlighter.java b/kdejava/koala/org/kde/koala/KSpellingHighlighter.java index 570ef334..c752d5d9 100644 --- a/kdejava/koala/org/kde/koala/KSpellingHighlighter.java +++ b/kdejava/koala/org/kde/koala/KSpellingHighlighter.java @@ -2,8 +2,8 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QTextEdit; +import org.kde.qt.TQColor; +import org.kde.qt.TQTextEdit; import org.kde.qt.QtSupport; import java.util.ArrayList; diff --git a/kdejava/koala/org/kde/koala/KSqueezedTextLabel.java b/kdejava/koala/org/kde/koala/KSqueezedTextLabel.java index 4d46992b..ca2052a8 100644 --- a/kdejava/koala/org/kde/koala/KSqueezedTextLabel.java +++ b/kdejava/koala/org/kde/koala/KSqueezedTextLabel.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QLabel; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQLabel; /** @@ -20,39 +20,39 @@ import org.kde.qt.QLabel; \image html ksqueezedtextlabel.png "KSqueezedTextLabel Widget" @author Ronny Standtke <Ronny.Standtke@gmx.de> - @short A replacement for QLabel that squeezes its text. + @short A replacement for TQLabel that squeezes its text. */ -public class KSqueezedTextLabel extends QLabel { +public class KSqueezedTextLabel extends TQLabel { protected KSqueezedTextLabel(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Default constructor. @short Default constructor. */ - public KSqueezedTextLabel(QWidget parent, String name) { + public KSqueezedTextLabel(TQWidget parent, String name) { super((Class) null); newKSqueezedTextLabel(parent,name); } - private native void newKSqueezedTextLabel(QWidget parent, String name); - public KSqueezedTextLabel(QWidget parent) { + private native void newKSqueezedTextLabel(TQWidget parent, String name); + public KSqueezedTextLabel(TQWidget parent) { super((Class) null); newKSqueezedTextLabel(parent); } - private native void newKSqueezedTextLabel(QWidget parent); - public KSqueezedTextLabel(String text, QWidget parent, String name) { + private native void newKSqueezedTextLabel(TQWidget parent); + public KSqueezedTextLabel(String text, TQWidget parent, String name) { super((Class) null); newKSqueezedTextLabel(text,parent,name); } - private native void newKSqueezedTextLabel(String text, QWidget parent, String name); - public KSqueezedTextLabel(String text, QWidget parent) { + private native void newKSqueezedTextLabel(String text, TQWidget parent, String name); + public KSqueezedTextLabel(String text, TQWidget parent) { super((Class) null); newKSqueezedTextLabel(text,parent); } - private native void newKSqueezedTextLabel(String text, QWidget parent); - public native QSize minimumSizeHint(); - public native QSize sizeHint(); + private native void newKSqueezedTextLabel(String text, TQWidget parent); + public native TQSize minimumSizeHint(); + public native TQSize sizeHint(); /** Overridden for internal reasons; the API remains unaffected. @short Overridden for internal reasons; the API remains unaffected. @@ -63,7 +63,7 @@ public class KSqueezedTextLabel extends QLabel { used when widget is resized @short used when widget is resized */ - protected native void resizeEvent(QResizeEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); /** does the dirty work @short does the dirty work diff --git a/kdejava/koala/org/kde/koala/KStandardDirs.java b/kdejava/koala/org/kde/koala/KStandardDirs.java index a8f5640e..1e64aeed 100644 --- a/kdejava/koala/org/kde/koala/KStandardDirs.java +++ b/kdejava/koala/org/kde/koala/KStandardDirs.java @@ -350,7 +350,7 @@ public class KStandardDirs implements QtSupport { and return all filenames in these directories. @param type The type of resource to locate directories for. @param filter Only accept filenames that fit to filter. The filter - may consist of an optional directory and a QRegExp + may consist of an optional directory and a TQRegExp wildcard expression. E.g. "images\.jpg". Use null if you do not want a filter. @param recursive Specifies if the function should decend @@ -373,7 +373,7 @@ public class KStandardDirs implements QtSupport { these directories. @param type The type of resource to locate directories for. @param filter Only accept filenames that fit to filter. The filter - may consist of an optional directory and a QRegExp + may consist of an optional directory and a TQRegExp wildcard expression. E.g. "images\.jpg". Use null if you do not want a filter. @param recursive Specifies if the function should decend @@ -646,7 +646,7 @@ public class KStandardDirs implements QtSupport { public static native String kfsstnd_defaultbindir(); /** Checks for existence and accessability of a file or directory. - Faster than creating a QFileInfo first. + Faster than creating a TQFileInfo first. @param fullPath the path to check. IMPORTANT: must end with a slash if expected to be a directory (and no slash for a file, obviously). @return true if the directory exists diff --git a/kdejava/koala/org/kde/koala/KStatusBar.java b/kdejava/koala/org/kde/koala/KStatusBar.java index a25ac0fb..f1f414d4 100644 --- a/kdejava/koala/org/kde/koala/KStatusBar.java +++ b/kdejava/koala/org/kde/koala/KStatusBar.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QStatusBar; +import org.kde.qt.TQWidget; +import org.kde.qt.TQStatusBar; /** @@ -15,11 +15,11 @@ import org.kde.qt.QStatusBar; KMainWindow (or to you, if you don't use KMainWindow ). A special type of item is a message which is a temporary text-message displayed on top of other items in full-width. Messages are visible for - specified time, or until you call the slot QStatusBar.clear(). See - QStatusBar.message for details. + specified time, or until you call the slot TQStatusBar.clear(). See + TQStatusBar.message for details. It is useful to connect the KActionCollection signals to the - QStatusBar.message slots. - KStatusBar inherits QStatusBar, you can freely use all QStatusBar + TQStatusBar.message slots. + KStatusBar inherits TQStatusBar, you can freely use all TQStatusBar methods. Empty text items are not visible. They will become visible when you change (add) text. @@ -30,24 +30,24 @@ import org.kde.qt.QStatusBar; @see KActionCollection */ -public class KStatusBar extends QStatusBar { +public class KStatusBar extends TQStatusBar { protected KStatusBar(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a status bar. <code>parent</code> is usually KMainWindow. @short Constructs a status bar. */ - public KStatusBar(QWidget parent, String name) { + public KStatusBar(TQWidget parent, String name) { super((Class) null); newKStatusBar(parent,name); } - private native void newKStatusBar(QWidget parent, String name); - public KStatusBar(QWidget parent) { + private native void newKStatusBar(TQWidget parent, String name); + public KStatusBar(TQWidget parent) { super((Class) null); newKStatusBar(parent); } - private native void newKStatusBar(QWidget parent); + private native void newKStatusBar(TQWidget parent); public KStatusBar() { super((Class) null); newKStatusBar(); @@ -56,15 +56,15 @@ public class KStatusBar extends QStatusBar { /** Inserts a text label into the status bar. Parameters <code>stretch</code> and <code>permanent</code> are passed to - QStatusBar.addWidget . + TQStatusBar.addWidget . If <code>permanent</code> is true, then item will be placed on the far right of - the statusbar and will never be hidden by QStatusBar.message. + the statusbar and will never be hidden by TQStatusBar.message. @param text The label's text string. @param id id of item - @param stretch stretch passed to QStatusBar.addWidget - @param permanent is item permanent or not (passed to QStatusBar.addWidget ) + @param stretch stretch passed to TQStatusBar.addWidget + @param permanent is item permanent or not (passed to TQStatusBar.addWidget ) @short Inserts a text label into the status bar. - @see org.kde.qt.QStatusbar#addWidget + @see org.kde.qt.TQStatusbar#addWidget */ public native void insertItem(String text, int id, int stretch, boolean permanent); public native void insertItem(String text, int id, int stretch); @@ -75,7 +75,7 @@ public class KStatusBar extends QStatusBar { You can change fixed width by calling setItemFixed. @param text The label's text string @param id id of item - @param permanent permanent flag passed to QStatusBar.addWidget + @param permanent permanent flag passed to TQStatusBar.addWidget @short Inserts a fixed width text label into status bar. */ public native void insertFixedItem(String text, int id, boolean permanent); @@ -104,7 +104,7 @@ public class KStatusBar extends QStatusBar { public native void changeItem(String text, int id); /** Sets the alignment of item <code>id.</code> By default all fields are aligned - <code>AlignHCenter</code> | <code>AlignVCenter.</code> See QLabel.setAlignment for details. + <code>AlignHCenter</code> | <code>AlignVCenter.</code> See TQLabel.setAlignment for details. @short Sets the alignment of item <code>id.</code> */ public native void setItemAlignment(int id, int align); diff --git a/kdejava/koala/org/kde/koala/KStatusBarLabel.java b/kdejava/koala/org/kde/koala/KStatusBarLabel.java index 3e8e63a9..760c8016 100644 --- a/kdejava/koala/org/kde/koala/KStatusBarLabel.java +++ b/kdejava/koala/org/kde/koala/KStatusBarLabel.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QLabel; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQLabel; /** @@ -14,9 +14,9 @@ import org.kde.qt.QLabel; @short Internal label class for use in KStatusBar */ -public class KStatusBarLabel extends QLabel { +public class KStatusBarLabel extends TQLabel { protected KStatusBarLabel(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); public KStatusBarLabel(String text, int _id, KStatusBar parent, String name) { super((Class) null); @@ -33,8 +33,8 @@ public class KStatusBarLabel extends QLabel { newKStatusBarLabel(text,_id); } private native void newKStatusBarLabel(String text, int _id); - protected native void mousePressEvent(QMouseEvent _event); - protected native void mouseReleaseEvent(QMouseEvent _event); + protected native void mousePressEvent(TQMouseEvent _event); + protected native void mouseReleaseEvent(TQMouseEvent _event); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KStatusBarLabelSignals.java b/kdejava/koala/org/kde/koala/KStatusBarLabelSignals.java index b86b58ad..b810cce5 100644 --- a/kdejava/koala/org/kde/koala/KStatusBarLabelSignals.java +++ b/kdejava/koala/org/kde/koala/KStatusBarLabelSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QMouseEvent; +import org.kde.qt.TQMouseEvent; public interface KStatusBarLabelSignals { void itemPressed(int id); diff --git a/kdejava/koala/org/kde/koala/KStatusBarSignals.java b/kdejava/koala/org/kde/koala/KStatusBarSignals.java index 701e7604..9848e9d9 100644 --- a/kdejava/koala/org/kde/koala/KStatusBarSignals.java +++ b/kdejava/koala/org/kde/koala/KStatusBarSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KStatusBarSignals { /** diff --git a/kdejava/koala/org/kde/koala/KStdAction.java b/kdejava/koala/org/kde/koala/KStdAction.java index f5eccead..055a9cf5 100644 --- a/kdejava/koala/org/kde/koala/KStdAction.java +++ b/kdejava/koala/org/kde/koala/KStdAction.java @@ -3,9 +3,9 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; import java.util.ArrayList; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -20,7 +20,7 @@ import org.kde.qt.QWidget; In general, using standard actions should be a drop in replacement for regular actions. For example, if you previously had: <pre> - KAction newAct = new KAction(i18n("&New"), QIconSet(BarIcon("filenew")), + KAction newAct = new KAction(i18n("&New"), TQIconSet(BarIcon("filenew")), KStdAccel.shortcut(KStdAccel.New), this, SLOT("fileNew()"), actionCollection()); </pre> @@ -149,8 +149,8 @@ public class KStdAction { KStdAction.StdAction enum. @short Creates an action corresponding to the KStdAction.StdAction enum. */ - public static native KAction create(int id, String name, QObject recvr, String slot, KActionCollection parent); - public static native KAction create(int id, QObject recvr, String slot, KActionCollection parent); + public static native KAction create(int id, String name, TQObject recvr, String slot, KActionCollection parent); + public static native KAction create(int id, TQObject recvr, String slot, KActionCollection parent); /** This will return the internal name of a given standard action. @short This will return the internal name of a given standard action. @@ -167,14 +167,14 @@ public class KStdAction { Create a new document or window. @short Create a new document or window. */ - public static native KAction openNew(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction openNew(QObject recvr, String slot, KActionCollection parent); + public static native KAction openNew(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction openNew(TQObject recvr, String slot, KActionCollection parent); /** Open an existing file. @short Open an existing file. */ - public static native KAction open(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction open(QObject recvr, String slot, KActionCollection parent); + public static native KAction open(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction open(TQObject recvr, String slot, KActionCollection parent); /** Open a recently used document. The signature of the slot being called is of the form slotURLSelected( KURL ). @@ -185,360 +185,360 @@ public class KStdAction { @param name name of widget @short Open a recently used document. */ - public static native KRecentFilesAction openRecent(QObject recvr, String slot, KActionCollection parent, String name); - public static native KRecentFilesAction openRecent(QObject recvr, String slot, KActionCollection parent); + public static native KRecentFilesAction openRecent(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KRecentFilesAction openRecent(TQObject recvr, String slot, KActionCollection parent); /** Save the current document. @short Save the current document. */ - public static native KAction save(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction save(QObject recvr, String slot, KActionCollection parent); + public static native KAction save(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction save(TQObject recvr, String slot, KActionCollection parent); /** Save the current document under a different name. @short Save the current document under a different name. */ - public static native KAction saveAs(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction saveAs(QObject recvr, String slot, KActionCollection parent); + public static native KAction saveAs(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction saveAs(TQObject recvr, String slot, KActionCollection parent); /** Revert the current document to the last saved version (essentially will undo all changes). @short Revert the current document to the last saved version (essentially will undo all changes). */ - public static native KAction revert(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction revert(QObject recvr, String slot, KActionCollection parent); + public static native KAction revert(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction revert(TQObject recvr, String slot, KActionCollection parent); /** Close the current document. @short Close the current document. */ - public static native KAction close(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction close(QObject recvr, String slot, KActionCollection parent); + public static native KAction close(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction close(TQObject recvr, String slot, KActionCollection parent); /** Print the current document. @short Print the current document. */ - public static native KAction print(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction print(QObject recvr, String slot, KActionCollection parent); + public static native KAction print(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction print(TQObject recvr, String slot, KActionCollection parent); /** Show a print preview of the current document. @short Show a print preview of the current document. */ - public static native KAction printPreview(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction printPreview(QObject recvr, String slot, KActionCollection parent); + public static native KAction printPreview(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction printPreview(TQObject recvr, String slot, KActionCollection parent); /** Mail this document. @short Mail this document. */ - public static native KAction mail(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction mail(QObject recvr, String slot, KActionCollection parent); + public static native KAction mail(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction mail(TQObject recvr, String slot, KActionCollection parent); /** Quit the program. @short Quit the program. */ - public static native KAction quit(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction quit(QObject recvr, String slot, KActionCollection parent); + public static native KAction quit(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction quit(TQObject recvr, String slot, KActionCollection parent); /** Undo the last operation. @short Undo the last operation. */ - public static native KAction undo(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction undo(QObject recvr, String slot, KActionCollection parent); + public static native KAction undo(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction undo(TQObject recvr, String slot, KActionCollection parent); /** Redo the last operation. @short Redo the last operation. */ - public static native KAction redo(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction redo(QObject recvr, String slot, KActionCollection parent); + public static native KAction redo(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction redo(TQObject recvr, String slot, KActionCollection parent); /** Cut selected area and store it in the clipboard. @short Cut selected area and store it in the clipboard. */ - public static native KAction cut(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction cut(QObject recvr, String slot, KActionCollection parent); + public static native KAction cut(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction cut(TQObject recvr, String slot, KActionCollection parent); /** Copy the selected area into the clipboard. @short Copy the selected area into the clipboard. */ - public static native KAction copy(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction copy(QObject recvr, String slot, KActionCollection parent); + public static native KAction copy(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction copy(TQObject recvr, String slot, KActionCollection parent); /** Paste the contents of clipboard at the current mouse or cursor position. @short Paste the contents of clipboard at the current mouse or cursor position. */ - public static native KAction paste(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction paste(QObject recvr, String slot, KActionCollection parent); + public static native KAction paste(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction paste(TQObject recvr, String slot, KActionCollection parent); /** Paste the contents of clipboard at the current mouse or cursor position. Provide a button on the toolbar with the clipboard history menu if Klipper is running. @short Paste the contents of clipboard at the current mouse or cursor position. */ - public static native KAction pasteText(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction pasteText(QObject recvr, String slot, KActionCollection parent); + public static native KAction pasteText(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction pasteText(TQObject recvr, String slot, KActionCollection parent); /** Clear the content of the focus widget @short Clear the content of the focus widget */ - public static native KAction clear(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction clear(QObject recvr, String slot, KActionCollection parent); + public static native KAction clear(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction clear(TQObject recvr, String slot, KActionCollection parent); /** Select all elements in the current document. @short Select all elements in the current document. */ - public static native KAction selectAll(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction selectAll(QObject recvr, String slot, KActionCollection parent); + public static native KAction selectAll(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction selectAll(TQObject recvr, String slot, KActionCollection parent); /** Deselect any selected elements in the current document. @short Deselect any selected elements in the current document. */ - public static native KAction deselect(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction deselect(QObject recvr, String slot, KActionCollection parent); + public static native KAction deselect(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction deselect(TQObject recvr, String slot, KActionCollection parent); /** Initiate a 'find' request in the current document. @short Initiate a 'find' request in the current document. */ - public static native KAction find(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction find(QObject recvr, String slot, KActionCollection parent); + public static native KAction find(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction find(TQObject recvr, String slot, KActionCollection parent); /** Find the next instance of a stored 'find'. @short Find the next instance of a stored 'find'. */ - public static native KAction findNext(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction findNext(QObject recvr, String slot, KActionCollection parent); + public static native KAction findNext(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction findNext(TQObject recvr, String slot, KActionCollection parent); /** Find a previous instance of a stored 'find'. @short Find a previous instance of a stored 'find'. */ - public static native KAction findPrev(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction findPrev(QObject recvr, String slot, KActionCollection parent); + public static native KAction findPrev(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction findPrev(TQObject recvr, String slot, KActionCollection parent); /** Find and replace matches. @short Find and replace matches. */ - public static native KAction replace(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction replace(QObject recvr, String slot, KActionCollection parent); + public static native KAction replace(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction replace(TQObject recvr, String slot, KActionCollection parent); /** View the document at its actual size. @short View the document at its actual size. */ - public static native KAction actualSize(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction actualSize(QObject recvr, String slot, KActionCollection parent); + public static native KAction actualSize(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction actualSize(TQObject recvr, String slot, KActionCollection parent); /** Fit the document view to the size of the current window. @short Fit the document view to the size of the current window. */ - public static native KAction fitToPage(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction fitToPage(QObject recvr, String slot, KActionCollection parent); + public static native KAction fitToPage(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction fitToPage(TQObject recvr, String slot, KActionCollection parent); /** Fit the document view to the width of the current window. @short Fit the document view to the width of the current window. */ - public static native KAction fitToWidth(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction fitToWidth(QObject recvr, String slot, KActionCollection parent); + public static native KAction fitToWidth(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction fitToWidth(TQObject recvr, String slot, KActionCollection parent); /** Fit the document view to the height of the current window. @short Fit the document view to the height of the current window. */ - public static native KAction fitToHeight(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction fitToHeight(QObject recvr, String slot, KActionCollection parent); + public static native KAction fitToHeight(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction fitToHeight(TQObject recvr, String slot, KActionCollection parent); /** Zoom in. @short Zoom in. */ - public static native KAction zoomIn(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction zoomIn(QObject recvr, String slot, KActionCollection parent); + public static native KAction zoomIn(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction zoomIn(TQObject recvr, String slot, KActionCollection parent); /** Zoom out. @short Zoom out. */ - public static native KAction zoomOut(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction zoomOut(QObject recvr, String slot, KActionCollection parent); + public static native KAction zoomOut(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction zoomOut(TQObject recvr, String slot, KActionCollection parent); /** Popup a zoom dialog. @short Popup a zoom dialog. */ - public static native KAction zoom(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction zoom(QObject recvr, String slot, KActionCollection parent); + public static native KAction zoom(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction zoom(TQObject recvr, String slot, KActionCollection parent); /** Redisplay or redraw the document. @short Redisplay or redraw the document. */ - public static native KAction redisplay(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction redisplay(QObject recvr, String slot, KActionCollection parent); + public static native KAction redisplay(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction redisplay(TQObject recvr, String slot, KActionCollection parent); /** Move up (web style menu). @short Move up (web style menu). */ - public static native KAction up(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction up(QObject recvr, String slot, KActionCollection parent); + public static native KAction up(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction up(TQObject recvr, String slot, KActionCollection parent); /** Move back (web style menu). @short Move back (web style menu). */ - public static native KAction back(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction back(QObject recvr, String slot, KActionCollection parent); + public static native KAction back(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction back(TQObject recvr, String slot, KActionCollection parent); /** Move forward (web style menu). @short Move forward (web style menu). */ - public static native KAction forward(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction forward(QObject recvr, String slot, KActionCollection parent); + public static native KAction forward(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction forward(TQObject recvr, String slot, KActionCollection parent); /** Go to the "Home" position or document. @short Go to the "Home" position or document. */ - public static native KAction home(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction home(QObject recvr, String slot, KActionCollection parent); + public static native KAction home(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction home(TQObject recvr, String slot, KActionCollection parent); /** Scroll up one page. @short Scroll up one page. */ - public static native KAction prior(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction prior(QObject recvr, String slot, KActionCollection parent); + public static native KAction prior(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction prior(TQObject recvr, String slot, KActionCollection parent); /** Scroll down one page. @short Scroll down one page. */ - public static native KAction next(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction next(QObject recvr, String slot, KActionCollection parent); + public static native KAction next(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction next(TQObject recvr, String slot, KActionCollection parent); /** Go to somewhere in general. @short Go to somewhere in general. */ - public static native KAction goTo(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction goTo(QObject recvr, String slot, KActionCollection parent); + public static native KAction goTo(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction goTo(TQObject recvr, String slot, KActionCollection parent); /** Go to a specific page (dialog). @short Go to a specific page (dialog). */ - public static native KAction gotoPage(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction gotoPage(QObject recvr, String slot, KActionCollection parent); + public static native KAction gotoPage(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction gotoPage(TQObject recvr, String slot, KActionCollection parent); /** Go to a specific line (dialog). @short Go to a specific line (dialog). */ - public static native KAction gotoLine(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction gotoLine(QObject recvr, String slot, KActionCollection parent); + public static native KAction gotoLine(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction gotoLine(TQObject recvr, String slot, KActionCollection parent); /** Jump to the first page. @short Jump to the first page. */ - public static native KAction firstPage(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction firstPage(QObject recvr, String slot, KActionCollection parent); + public static native KAction firstPage(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction firstPage(TQObject recvr, String slot, KActionCollection parent); /** Jump to the last page. @short Jump to the last page. */ - public static native KAction lastPage(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction lastPage(QObject recvr, String slot, KActionCollection parent); + public static native KAction lastPage(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction lastPage(TQObject recvr, String slot, KActionCollection parent); /** Add the current page to the bookmarks tree. @short Add the current page to the bookmarks tree. */ - public static native KAction addBookmark(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction addBookmark(QObject recvr, String slot, KActionCollection parent); + public static native KAction addBookmark(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction addBookmark(TQObject recvr, String slot, KActionCollection parent); /** Edit the application bookmarks. @short Edit the application bookmarks. */ - public static native KAction editBookmarks(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction editBookmarks(QObject recvr, String slot, KActionCollection parent); + public static native KAction editBookmarks(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction editBookmarks(TQObject recvr, String slot, KActionCollection parent); /** Pop up the spell checker. @short Pop up the spell checker. */ - public static native KAction spelling(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction spelling(QObject recvr, String slot, KActionCollection parent); + public static native KAction spelling(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction spelling(TQObject recvr, String slot, KActionCollection parent); /** Show/Hide the menubar. @short Show/Hide the menubar. */ - public static native KToggleAction showMenubar(QObject recvr, String slot, KActionCollection parent, String name); - public static native KToggleAction showMenubar(QObject recvr, String slot, KActionCollection parent); + public static native KToggleAction showMenubar(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KToggleAction showMenubar(TQObject recvr, String slot, KActionCollection parent); /** Show/Hide the statusbar. @short Show/Hide the statusbar. */ - public static native KToggleAction showStatusbar(QObject recvr, String slot, KActionCollection parent, String name); - public static native KToggleAction showStatusbar(QObject recvr, String slot, KActionCollection parent); + public static native KToggleAction showStatusbar(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KToggleAction showStatusbar(TQObject recvr, String slot, KActionCollection parent); /** Switch to/from full screen mode @short Switch to/from full screen mode */ - public static native KToggleFullScreenAction fullScreen(QObject recvr, String slot, KActionCollection parent, QWidget window, String name); - public static native KToggleFullScreenAction fullScreen(QObject recvr, String slot, KActionCollection parent, QWidget window); + public static native KToggleFullScreenAction fullScreen(TQObject recvr, String slot, KActionCollection parent, TQWidget window, String name); + public static native KToggleFullScreenAction fullScreen(TQObject recvr, String slot, KActionCollection parent, TQWidget window); /** Display the save options dialog. @short Display the save options dialog. */ - public static native KAction saveOptions(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction saveOptions(QObject recvr, String slot, KActionCollection parent); + public static native KAction saveOptions(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction saveOptions(TQObject recvr, String slot, KActionCollection parent); /** Display the configure key bindings dialog. Note that you might be able to use the pre-built KXMLGUIFactory's fuction: KStdAction.keyBindings(guiFactory(), SLOT("configureShortcuts()"), actionCollection()); @short Display the configure key bindings dialog. */ - public static native KAction keyBindings(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction keyBindings(QObject recvr, String slot, KActionCollection parent); + public static native KAction keyBindings(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction keyBindings(TQObject recvr, String slot, KActionCollection parent); /** Display the preferences/options dialog. @short Display the preferences/options dialog. */ - public static native KAction preferences(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction preferences(QObject recvr, String slot, KActionCollection parent); + public static native KAction preferences(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction preferences(TQObject recvr, String slot, KActionCollection parent); /** The Customize Toolbar dialog. @short The Customize Toolbar dialog. */ - public static native KAction configureToolbars(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction configureToolbars(QObject recvr, String slot, KActionCollection parent); + public static native KAction configureToolbars(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction configureToolbars(TQObject recvr, String slot, KActionCollection parent); /** The Configure Notifications dialog. @short The Configure Notifications dialog. */ - public static native KAction configureNotifications(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction configureNotifications(QObject recvr, String slot, KActionCollection parent); + public static native KAction configureNotifications(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction configureNotifications(TQObject recvr, String slot, KActionCollection parent); /** Display the help. @short Display the help. */ - public static native KAction help(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction help(QObject recvr, String slot, KActionCollection parent); + public static native KAction help(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction help(TQObject recvr, String slot, KActionCollection parent); /** Display the help contents. @short Display the help contents. */ - public static native KAction helpContents(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction helpContents(QObject recvr, String slot, KActionCollection parent); + public static native KAction helpContents(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction helpContents(TQObject recvr, String slot, KActionCollection parent); /** Trigger the What's This cursor. @short Trigger the What's This cursor. */ - public static native KAction whatsThis(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction whatsThis(QObject recvr, String slot, KActionCollection parent); + public static native KAction whatsThis(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction whatsThis(TQObject recvr, String slot, KActionCollection parent); /** Display "Tip of the Day" @short Display "Tip of the Day" */ - public static native KAction tipOfDay(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction tipOfDay(QObject recvr, String slot, KActionCollection parent); + public static native KAction tipOfDay(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction tipOfDay(TQObject recvr, String slot, KActionCollection parent); /** Open up the Report Bug dialog. @short Open up the Report Bug dialog. */ - public static native KAction reportBug(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction reportBug(QObject recvr, String slot, KActionCollection parent); + public static native KAction reportBug(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction reportBug(TQObject recvr, String slot, KActionCollection parent); /** Display the application's About box. @short Display the application's About box. */ - public static native KAction aboutApp(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction aboutApp(QObject recvr, String slot, KActionCollection parent); + public static native KAction aboutApp(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction aboutApp(TQObject recvr, String slot, KActionCollection parent); /** Display the About KDE dialog. @short Display the About KDE dialog. */ - public static native KAction aboutKDE(QObject recvr, String slot, KActionCollection parent, String name); - public static native KAction aboutKDE(QObject recvr, String slot, KActionCollection parent); + public static native KAction aboutKDE(TQObject recvr, String slot, KActionCollection parent, String name); + public static native KAction aboutKDE(TQObject recvr, String slot, KActionCollection parent); } diff --git a/kdejava/koala/org/kde/koala/KStdGuiItem.java b/kdejava/koala/org/kde/koala/KStdGuiItem.java index 90284461..e185aebc 100644 --- a/kdejava/koala/org/kde/koala/KStdGuiItem.java +++ b/kdejava/koala/org/kde/koala/KStdGuiItem.java @@ -147,7 +147,7 @@ public class KStdGuiItem implements QtSupport { buttons, please use the back() and forward() items instead. @short Return both a back and a forward item. */ - // QPair<KGuiItem, KGuiItem> backAndForward(); >>>> NOT CONVERTED + // TQPair<KGuiItem, KGuiItem> backAndForward(); >>>> NOT CONVERTED public static native KGuiItem quit(); /** Returns a "find" item. diff --git a/kdejava/koala/org/kde/koala/KStringHandler.java b/kdejava/koala/org/kde/koala/KStringHandler.java index 8b01ca9f..6897854a 100644 --- a/kdejava/koala/org/kde/koala/KStringHandler.java +++ b/kdejava/koala/org/kde/koala/KStringHandler.java @@ -3,9 +3,9 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QRegExp; +import org.kde.qt.TQRegExp; import java.util.ArrayList; -import org.kde.qt.QFontMetrics; +import org.kde.qt.TQFontMetrics; /** @@ -209,8 +209,8 @@ public class KStringHandler implements QtSupport { @short Substitute characters at the beginning of a string by ". */ - public static native String lEmSqueeze(String name, QFontMetrics fontMetrics, int maxlen); - public static native String lEmSqueeze(String name, QFontMetrics fontMetrics); + public static native String lEmSqueeze(String name, TQFontMetrics fontMetrics, int maxlen); + public static native String lEmSqueeze(String name, TQFontMetrics fontMetrics); /** Substitute characters at the beginning of a string by "...". Similar to method above, except that maxlen is the width in pixels to truncate to @param name is the string to modify @@ -221,7 +221,7 @@ public class KStringHandler implements QtSupport { @short Substitute characters at the beginning of a string by ". */ - public static native String lPixelSqueeze(String name, QFontMetrics fontMetrics, int maxPixels); + public static native String lPixelSqueeze(String name, TQFontMetrics fontMetrics, int maxPixels); /** Substitute characters at the middle of a string by "...". @param str is the string to modify @param maxlen is the maximum length the modified string will have @@ -243,8 +243,8 @@ public class KStringHandler implements QtSupport { @short Substitute characters in the middle of a string by ". */ - public static native String cEmSqueeze(String name, QFontMetrics fontMetrics, int maxlen); - public static native String cEmSqueeze(String name, QFontMetrics fontMetrics); + public static native String cEmSqueeze(String name, TQFontMetrics fontMetrics, int maxlen); + public static native String cEmSqueeze(String name, TQFontMetrics fontMetrics); /** Substitute characters in the middle of a string by "...". Similar to method above, except that maxlen is the width in pixels to truncate to @param name is the string to modify @@ -255,7 +255,7 @@ public class KStringHandler implements QtSupport { @short Substitute characters in the middle of a string by ". */ - public static native String cPixelSqueeze(String name, QFontMetrics fontMetrics, int maxPixels); + public static native String cPixelSqueeze(String name, TQFontMetrics fontMetrics, int maxPixels); /** Substitute characters at the end of a string by "...". @param str is the string to modify @param maxlen is the maximum length the modified string will have @@ -277,8 +277,8 @@ public class KStringHandler implements QtSupport { @short Substitute characters at the end of a string by ". */ - public static native String rEmSqueeze(String name, QFontMetrics fontMetrics, int maxlen); - public static native String rEmSqueeze(String name, QFontMetrics fontMetrics); + public static native String rEmSqueeze(String name, TQFontMetrics fontMetrics, int maxlen); + public static native String rEmSqueeze(String name, TQFontMetrics fontMetrics); /** Substitute characters at the end of a string by "...". Similar to method above, except that maxlen is the width in pixels to truncate to @param name is the string to modify @@ -289,7 +289,7 @@ public class KStringHandler implements QtSupport { @short Substitute characters at the end of a string by ". */ - public static native String rPixelSqueeze(String name, QFontMetrics fontMetrics, int maxPixels); + public static native String rPixelSqueeze(String name, TQFontMetrics fontMetrics, int maxPixels); /** Match a filename. @param filename is the real decoded filename (or dirname @@ -346,7 +346,7 @@ public class KStringHandler implements QtSupport { will be extracted. The final token will be the remainder of the string. Example: <pre> - perlSplit(QRegExp("[! ]", "Split me up ! I'm bored ! OK ?", 3) + perlSplit(TQRegExp("[! ]", "Split me up ! I'm bored ! OK ?", 3) ArrayList contains: "Split", "me", "up ! I'm bored, OK ?" </pre> @param sep is the regular expression to use to delimit s. @@ -356,8 +356,8 @@ public class KStringHandler implements QtSupport { @short Split a String into an ArrayList in a similar fashion to the static ArrayList function in Qt, except you can specify a maximum number of tokens. */ - public static native ArrayList perlSplit(QRegExp sep, String s, int max); - public static native ArrayList perlSplit(QRegExp sep, String s); + public static native ArrayList perlSplit(TQRegExp sep, String s, int max); + public static native ArrayList perlSplit(TQRegExp sep, String s); /** This method auto-detects URLs in strings, and adds HTML markup to them so that richtext or HTML-enabled widgets (such as KActiveLabel) diff --git a/kdejava/koala/org/kde/koala/KStringListValidator.java b/kdejava/koala/org/kde/koala/KStringListValidator.java index 80b7bc3a..4490e950 100644 --- a/kdejava/koala/org/kde/koala/KStringListValidator.java +++ b/kdejava/koala/org/kde/koala/KStringListValidator.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; import java.util.ArrayList; -import org.kde.qt.QValidator; +import org.kde.qt.TQValidator; /** @@ -31,12 +31,12 @@ import org.kde.qt.QValidator; NOTE: fixup isn't yet implemented. @author Marc Mutz <mutz@kde.org> - @short A QValidator to (dis)allow certain strings. + @short A TQValidator to (dis)allow certain strings. */ -public class KStringListValidator extends QValidator { +public class KStringListValidator extends TQValidator { protected KStringListValidator(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a new validator. @param list The list of strings to (dis)allow. @@ -47,16 +47,16 @@ public class KStringListValidator extends QValidator { @param name Passed to lower level constructor @short Construct a new validator. */ - public KStringListValidator(String[] list, boolean rejecting, boolean fixupEnabled, QObject parent, String name) { + public KStringListValidator(String[] list, boolean rejecting, boolean fixupEnabled, TQObject parent, String name) { super((Class) null); newKStringListValidator(list,rejecting,fixupEnabled,parent,name); } - private native void newKStringListValidator(String[] list, boolean rejecting, boolean fixupEnabled, QObject parent, String name); - public KStringListValidator(String[] list, boolean rejecting, boolean fixupEnabled, QObject parent) { + private native void newKStringListValidator(String[] list, boolean rejecting, boolean fixupEnabled, TQObject parent, String name); + public KStringListValidator(String[] list, boolean rejecting, boolean fixupEnabled, TQObject parent) { super((Class) null); newKStringListValidator(list,rejecting,fixupEnabled,parent); } - private native void newKStringListValidator(String[] list, boolean rejecting, boolean fixupEnabled, QObject parent); + private native void newKStringListValidator(String[] list, boolean rejecting, boolean fixupEnabled, TQObject parent); public KStringListValidator(String[] list, boolean rejecting, boolean fixupEnabled) { super((Class) null); newKStringListValidator(list,rejecting,fixupEnabled); diff --git a/kdejava/koala/org/kde/koala/KSycoca.java b/kdejava/koala/org/kde/koala/KSycoca.java index 8de15677..722178cd 100644 --- a/kdejava/koala/org/kde/koala/KSycoca.java +++ b/kdejava/koala/org/kde/koala/KSycoca.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QDataStream; +import org.kde.qt.TQObject; +import org.kde.qt.TQDataStream; import java.util.ArrayList; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -16,9 +16,9 @@ import org.kde.qt.QObject; @short */ -public class KSycoca extends QObject implements DCOPObjectInterface { +public class KSycoca extends TQObject implements DCOPObjectInterface { protected KSycoca(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Read-only database @@ -33,11 +33,11 @@ public class KSycoca extends QObject implements DCOPObjectInterface { This is how factories get a stream to an entry @short */ - public native QDataStream findEntry(int offset, int type); + public native TQDataStream findEntry(int offset, int type); /** @short */ - public native QDataStream findFactory(int id); + public native TQDataStream findFactory(int id); /** @short */ @@ -83,7 +83,7 @@ public class KSycoca extends QObject implements DCOPObjectInterface { internal function for receiving kded/kbuildsycoca's signal, when the sycoca file changes @short internal function for receiving kded/kbuildsycoca's signal, when the sycoca file changes */ - // void notifyDatabaseChanged(const QStringList& arg1); >>>> NOT CONVERTED + // void notifyDatabaseChanged(const TQStringList& arg1); >>>> NOT CONVERTED /** Get or create the only instance of KSycoca (read-only) @short Get or create the only instance of KSycoca (read-only) @@ -351,14 +351,14 @@ public class KSycoca extends QObject implements DCOPObjectInterface { @short Tries to find an object using a partial object id. */ - // QPtrList<DCOPObject> match(const QCString& arg1); >>>> NOT CONVERTED + // TQPtrList<DCOPObject> match(const TQCString& arg1); >>>> NOT CONVERTED /** - Creates an object id for the QObject <code>obj.</code> This is done - using the QObject.name() function. + Creates an object id for the TQObject <code>obj.</code> This is done + using the TQObject.name() function. @param obj the object whose name will be used @return the created object id - @short Creates an object id for the QObject <code>obj.</code> + @short Creates an object id for the TQObject <code>obj.</code> */ - public static native String objectName(QObject arg1); + public static native String objectName(TQObject arg1); } diff --git a/kdejava/koala/org/kde/koala/KSycocaEntry.java b/kdejava/koala/org/kde/koala/KSycocaEntry.java index 736bf8d8..a7695d3d 100644 --- a/kdejava/koala/org/kde/koala/KSycocaEntry.java +++ b/kdejava/koala/org/kde/koala/KSycocaEntry.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; +import org.kde.qt.TQDataStream; /** @@ -63,16 +63,16 @@ public class KSycocaEntry extends KShared { first if you override this function. @short */ - public native void save(QDataStream s); + public native void save(TQDataStream s); /** Load ourselves from the database. Don't call the parent class! @short */ - public native void load(QDataStream arg1); + public native void load(TQDataStream arg1); /** Safe demarshalling functions. @short Safe demarshalling functions. */ - public static native void read(QDataStream s, StringBuffer str); - public static native void read(QDataStream s, String[] list); + public static native void read(TQDataStream s, StringBuffer str); + public static native void read(TQDataStream s, String[] list); } diff --git a/kdejava/koala/org/kde/koala/KSycocaSignals.java b/kdejava/koala/org/kde/koala/KSycocaSignals.java index 54d36a8e..aa1d3d4f 100644 --- a/kdejava/koala/org/kde/koala/KSycocaSignals.java +++ b/kdejava/koala/org/kde/koala/KSycocaSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QDataStream; +import org.kde.qt.TQObject; +import org.kde.qt.TQDataStream; import java.util.ArrayList; public interface KSycocaSignals { diff --git a/kdejava/koala/org/kde/koala/KSyntaxHighlighter.java b/kdejava/koala/org/kde/koala/KSyntaxHighlighter.java index 033e866a..682cb4f8 100644 --- a/kdejava/koala/org/kde/koala/KSyntaxHighlighter.java +++ b/kdejava/koala/org/kde/koala/KSyntaxHighlighter.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QTextEdit; +import org.kde.qt.TQColor; +import org.kde.qt.TQTextEdit; import org.kde.qt.QtSupport; -import org.kde.qt.QSyntaxHighlighter; +import org.kde.qt.TQSyntaxHighlighter; /** @@ -13,46 +13,46 @@ import org.kde.qt.QSyntaxHighlighter; @short \brief Syntax sensitive text highlighter */ -public class KSyntaxHighlighter extends QSyntaxHighlighter { +public class KSyntaxHighlighter extends TQSyntaxHighlighter { protected KSyntaxHighlighter(Class dummy){super((Class) null);} public static final int PlainTextMode = 0; public static final int RichTextMode = 1; - public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2, QColor QuoteColor3, int mode) { + public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3, int mode) { super((Class) null); newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1,QuoteColor2,QuoteColor3,mode); } - private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2, QColor QuoteColor3, int mode); - public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2, QColor QuoteColor3) { + private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3, int mode); + public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3) { super((Class) null); newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1,QuoteColor2,QuoteColor3); } - private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2, QColor QuoteColor3); - public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2) { + private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3); + public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2) { super((Class) null); newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1,QuoteColor2); } - private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2); - public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1) { + private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2); + public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1) { super((Class) null); newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1); } - private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1); - public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0) { + private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1); + public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0) { super((Class) null); newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0); } - private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0); - public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting) { + private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0); + public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting) { super((Class) null); newKSyntaxHighlighter(textEdit,colorQuoting); } - private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting); - public KSyntaxHighlighter(QTextEdit textEdit) { + private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting); + public KSyntaxHighlighter(TQTextEdit textEdit) { super((Class) null); newKSyntaxHighlighter(textEdit); } - private native void newKSyntaxHighlighter(QTextEdit textEdit); + private native void newKSyntaxHighlighter(TQTextEdit textEdit); public native int highlightParagraph(String text, int endStateOfLastPara); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KSystemTray.java b/kdejava/koala/org/kde/koala/KSystemTray.java index 23801b45..1b46e082 100644 --- a/kdejava/koala/org/kde/koala/KSystemTray.java +++ b/kdejava/koala/org/kde/koala/KSystemTray.java @@ -2,14 +2,14 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QShowEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QLabel; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQLabel; /** @@ -44,9 +44,9 @@ import org.kde.qt.QLabel; @short \brief %KDE System Tray Window class */ -public class KSystemTray extends QLabel { +public class KSystemTray extends TQLabel { protected KSystemTray(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a KSystemTray widget just like any other widget. @@ -60,16 +60,16 @@ public class KSystemTray extends QLabel { button. @short Construct a KSystemTray widget just like any other widget. */ - public KSystemTray(QWidget parent, String name) { + public KSystemTray(TQWidget parent, String name) { super((Class) null); newKSystemTray(parent,name); } - private native void newKSystemTray(QWidget parent, String name); - public KSystemTray(QWidget parent) { + private native void newKSystemTray(TQWidget parent, String name); + public KSystemTray(TQWidget parent) { super((Class) null); newKSystemTray(parent); } - private native void newKSystemTray(QWidget parent); + private native void newKSystemTray(TQWidget parent); public KSystemTray() { super((Class) null); newKSystemTray(); @@ -91,7 +91,7 @@ public class KSystemTray extends QLabel { Changes the tray's icon. @short Changes the tray's icon. */ - public native void setPixmap(QPixmap icon); + public native void setPixmap(TQPixmap icon); /** Changes the tray's text description (which can be seen e.g. in the systray configuration dialog). The default value is KAboutData.programName(). @@ -123,22 +123,22 @@ public class KSystemTray extends QLabel { It's commonly used in the form : systray.setPixmap( systray.loadIcon( "mysystray" ) ); @short Loads an icon <code>icon</code> using the icon loader class of the given instance <code>instance.</code> */ - public static native QPixmap loadIcon(String icon, KInstanceInterface instance); - public static native QPixmap loadIcon(String icon); + public static native TQPixmap loadIcon(String icon, KInstanceInterface instance); + public static native TQPixmap loadIcon(String icon); /** Reimplemented to provide the standard show/raise behavior for the parentWidget() and the context menu. Feel free to reimplement this if you need something special. @short Reimplemented to provide the standard show/raise behavior for the parentWidget() and the context menu. */ - protected native void mousePressEvent(QMouseEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); /** Reimplemented to provide the standard show/raise behavior for the parentWidget() and the context menu. Feel free to reimplement this if you need something special. @short Reimplemented to provide the standard show/raise behavior for the parentWidget() and the context menu. */ - protected native void mouseReleaseEvent(QMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); /** Makes it easy to adjust some menu items right before the context menu becomes visible. @@ -149,12 +149,12 @@ public class KSystemTray extends QLabel { Reimplemented for internal reasons. @short Reimplemented for internal reasons. */ - public native void showEvent(QShowEvent arg1); + public native void showEvent(TQShowEvent arg1); /** Reimplemented for internal reasons. @short Reimplemented for internal reasons. */ - protected native void enterEvent(QEvent arg1); + protected native void enterEvent(TQEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KSystemTraySignals.java b/kdejava/koala/org/kde/koala/KSystemTraySignals.java index cd8a856e..ebaedf90 100644 --- a/kdejava/koala/org/kde/koala/KSystemTraySignals.java +++ b/kdejava/koala/org/kde/koala/KSystemTraySignals.java @@ -1,13 +1,13 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QShowEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; public interface KSystemTraySignals { /** diff --git a/kdejava/koala/org/kde/koala/KTabBar.java b/kdejava/koala/org/kde/koala/KTabBar.java index 6d6b7040..8ddaab6c 100644 --- a/kdejava/koala/org/kde/koala/KTabBar.java +++ b/kdejava/koala/org/kde/koala/KTabBar.java @@ -2,19 +2,19 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QPainter; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWheelEvent; -import org.kde.qt.QTab; -import org.kde.qt.QTabBar; +import org.kde.qt.TQPoint; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQPainter; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; +import org.kde.qt.TQTab; +import org.kde.qt.TQTabBar; /** @@ -22,31 +22,31 @@ import org.kde.qt.QTabBar; @short */ -public class KTabBar extends QTabBar { +public class KTabBar extends TQTabBar { protected KTabBar(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KTabBar(QWidget parent, String name) { + public KTabBar(TQWidget parent, String name) { super((Class) null); newKTabBar(parent,name); } - private native void newKTabBar(QWidget parent, String name); - public KTabBar(QWidget parent) { + private native void newKTabBar(TQWidget parent, String name); + public KTabBar(TQWidget parent) { super((Class) null); newKTabBar(parent); } - private native void newKTabBar(QWidget parent); + private native void newKTabBar(TQWidget parent); public KTabBar() { super((Class) null); newKTabBar(); } private native void newKTabBar(); public native void setTabEnabled(int arg1, boolean arg2); - public native QColor tabColor(int arg1); - public native void setTabColor(int arg1, QColor arg2); - public native int insertTab(QTab arg1, int index); - public native int insertTab(QTab arg1); - public native void removeTab(QTab arg1); + public native TQColor tabColor(int arg1); + public native void setTabColor(int arg1, TQColor arg2); + public native int insertTab(TQTab arg1, int index); + public native int insertTab(TQTab arg1); + public native void removeTab(TQTab arg1); public native void setTabReorderingEnabled(boolean enable); public native boolean isTabReorderingEnabled(); public native void setHoverCloseButton(boolean arg1); @@ -55,14 +55,14 @@ public class KTabBar extends QTabBar { public native boolean hoverCloseButtonDelayed(); public native void setTabCloseActivatePrevious(boolean arg1); public native boolean tabCloseActivatePrevious(); - protected native void mouseDoubleClickEvent(QMouseEvent e); - protected native void mousePressEvent(QMouseEvent e); - protected native void mouseMoveEvent(QMouseEvent e); - protected native void mouseReleaseEvent(QMouseEvent e); - protected native void wheelEvent(QWheelEvent e); - protected native void dragMoveEvent(QDragMoveEvent e); - protected native void dropEvent(QDropEvent e); - protected native void paintLabel(QPainter arg1, QRect arg2, QTab arg3, boolean arg4); + protected native void mouseDoubleClickEvent(TQMouseEvent e); + protected native void mousePressEvent(TQMouseEvent e); + protected native void mouseMoveEvent(TQMouseEvent e); + protected native void mouseReleaseEvent(TQMouseEvent e); + protected native void wheelEvent(TQWheelEvent e); + protected native void dragMoveEvent(TQDragMoveEvent e); + protected native void dropEvent(TQDropEvent e); + protected native void paintLabel(TQPainter arg1, TQRect arg2, TQTab arg3, boolean arg4); protected native void closeButtonClicked(); protected native void onLayoutChange(); protected native void enableCloseButton(); diff --git a/kdejava/koala/org/kde/koala/KTabBarSignals.java b/kdejava/koala/org/kde/koala/KTabBarSignals.java index 29ae5022..c28024af 100644 --- a/kdejava/koala/org/kde/koala/KTabBarSignals.java +++ b/kdejava/koala/org/kde/koala/KTabBarSignals.java @@ -1,26 +1,26 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QPainter; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWheelEvent; -import org.kde.qt.QTab; +import org.kde.qt.TQPoint; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQPainter; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; +import org.kde.qt.TQTab; public interface KTabBarSignals { - void contextMenu(int arg1, QPoint arg2); + void contextMenu(int arg1, TQPoint arg2); void mouseDoubleClick(int arg1); void mouseMiddleClick(int arg1); void initiateDrag(int arg1); - void testCanDecode(QDragMoveEvent e, boolean accept); - void receivedDropEvent(int arg1, QDropEvent arg2); + void testCanDecode(TQDragMoveEvent e, boolean accept); + void receivedDropEvent(int arg1, TQDropEvent arg2); void moveTab(int arg1, int arg2); void closeRequest(int arg1); void wheelDelta(int arg1); diff --git a/kdejava/koala/org/kde/koala/KTabCtl.java b/kdejava/koala/org/kde/koala/KTabCtl.java index a9b58d11..3158bbde 100644 --- a/kdejava/koala/org/kde/koala/KTabCtl.java +++ b/kdejava/koala/org/kde/koala/KTabCtl.java @@ -2,23 +2,23 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQWidget; /** Tabbed dialog with extended features. - KTabCtl is very similar to QTabDialog, with the following differences: + KTabCtl is very similar to TQTabDialog, with the following differences: <li> - To avoid confusion, the API is almost identical with QTabDialog. + To avoid confusion, the API is almost identical with TQTabDialog. </li> <li> @@ -41,38 +41,38 @@ import org.kde.qt.QWidget; @short Tabbed dialog with extended features. */ -public class KTabCtl extends QWidget { +public class KTabCtl extends TQWidget { protected KTabCtl(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KTabCtl(QWidget parent, String name) { + public KTabCtl(TQWidget parent, String name) { super((Class) null); newKTabCtl(parent,name); } - private native void newKTabCtl(QWidget parent, String name); - public KTabCtl(QWidget parent) { + private native void newKTabCtl(TQWidget parent, String name); + public KTabCtl(TQWidget parent) { super((Class) null); newKTabCtl(parent); } - private native void newKTabCtl(QWidget parent); + private native void newKTabCtl(TQWidget parent); public KTabCtl() { super((Class) null); newKTabCtl(); } private native void newKTabCtl(); public native void show(); - public native void setFont(QFont font); - public native void setTabFont(QFont font); - public native void addTab(QWidget arg1, String arg2); + public native void setFont(TQFont font); + public native void setTabFont(TQFont font); + public native void addTab(TQWidget arg1, String arg2); public native boolean isTabEnabled(String arg1); public native void setTabEnabled(String arg1, boolean arg2); public native void setBorder(boolean arg1); public native void setShape(int shape); - public native QSize sizeHint(); - protected native void paintEvent(QPaintEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); + public native TQSize sizeHint(); + protected native void paintEvent(TQPaintEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); protected native void setSizes(); - protected native QRect getChildRect(); + protected native TQRect getChildRect(); protected native void showTab(int i); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KTabCtlSignals.java b/kdejava/koala/org/kde/koala/KTabCtlSignals.java index 56161096..96c03726 100644 --- a/kdejava/koala/org/kde/koala/KTabCtlSignals.java +++ b/kdejava/koala/org/kde/koala/KTabCtlSignals.java @@ -1,14 +1,14 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QRect; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QSize; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQSize; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; public interface KTabCtlSignals { void tabSelected(int arg1); diff --git a/kdejava/koala/org/kde/koala/KTabWidget.java b/kdejava/koala/org/kde/koala/KTabWidget.java index 6b46fa91..7a23c6c4 100644 --- a/kdejava/koala/org/kde/koala/KTabWidget.java +++ b/kdejava/koala/org/kde/koala/KTabWidget.java @@ -2,19 +2,19 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QWheelEvent; -import org.kde.qt.QTab; -import org.kde.qt.QTabWidget; +import org.kde.qt.TQPoint; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQWheelEvent; +import org.kde.qt.TQTab; +import org.kde.qt.TQTabWidget; /** @@ -23,65 +23,65 @@ import org.kde.qt.QTabWidget; @short \brief A widget containing multiple tabs */ -public class KTabWidget extends QTabWidget { +public class KTabWidget extends TQTabWidget { protected KTabWidget(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KTabWidget(QWidget parent, String name, int f) { + public KTabWidget(TQWidget parent, String name, int f) { super((Class) null); newKTabWidget(parent,name,f); } - private native void newKTabWidget(QWidget parent, String name, int f); - public KTabWidget(QWidget parent, String name) { + private native void newKTabWidget(TQWidget parent, String name, int f); + public KTabWidget(TQWidget parent, String name) { super((Class) null); newKTabWidget(parent,name); } - private native void newKTabWidget(QWidget parent, String name); - public KTabWidget(QWidget parent) { + private native void newKTabWidget(TQWidget parent, String name); + public KTabWidget(TQWidget parent) { super((Class) null); newKTabWidget(parent); } - private native void newKTabWidget(QWidget parent); + private native void newKTabWidget(TQWidget parent); public KTabWidget() { super((Class) null); newKTabWidget(); } private native void newKTabWidget(); - public native void setTabColor(QWidget arg1, QColor color); - public native QColor tabColor(QWidget arg1); + public native void setTabColor(TQWidget arg1, TQColor color); + public native TQColor tabColor(TQWidget arg1); public native boolean hoverCloseButtonDelayed(); public native boolean tabCloseActivatePrevious(); public native boolean automaticResizeTabs(); public native void setTabBarHidden(boolean hide); public native boolean isTabBarHidden(); - public native void insertTab(QWidget arg1, String arg2, int index); - public native void insertTab(QWidget arg1, String arg2); - public native void insertTab(QWidget child, QIconSet iconset, String label, int index); - public native void insertTab(QWidget child, QIconSet iconset, String label); - public native void insertTab(QWidget arg1, QTab arg2, int index); - public native void insertTab(QWidget arg1, QTab arg2); - public native void changeTab(QWidget arg1, String arg2); - public native void changeTab(QWidget child, QIconSet iconset, String label); + public native void insertTab(TQWidget arg1, String arg2, int index); + public native void insertTab(TQWidget arg1, String arg2); + public native void insertTab(TQWidget child, TQIconSet iconset, String label, int index); + public native void insertTab(TQWidget child, TQIconSet iconset, String label); + public native void insertTab(TQWidget arg1, TQTab arg2, int index); + public native void insertTab(TQWidget arg1, TQTab arg2); + public native void changeTab(TQWidget arg1, String arg2); + public native void changeTab(TQWidget child, TQIconSet iconset, String label); public native String label(int arg1); - public native String tabLabel(QWidget arg1); - public native void setTabLabel(QWidget arg1, String arg2); + public native String tabLabel(TQWidget arg1); + public native void setTabLabel(TQWidget arg1, String arg2); public native void moveTab(int arg1, int arg2); - public native void removePage(QWidget w); + public native void removePage(TQWidget w); public native void setTabReorderingEnabled(boolean enable); public native void setHoverCloseButton(boolean enable); public native void setHoverCloseButtonDelayed(boolean delayed); public native void setTabCloseActivatePrevious(boolean previous); public native void setAutomaticResizeTabs(boolean enable); - protected native void mouseDoubleClickEvent(QMouseEvent e); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void dragMoveEvent(QDragMoveEvent arg1); - protected native void dropEvent(QDropEvent arg1); + protected native void mouseDoubleClickEvent(TQMouseEvent e); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void dragMoveEvent(TQDragMoveEvent arg1); + protected native void dropEvent(TQDropEvent arg1); protected native int tabBarWidthForMaxChars(int maxLength); - protected native void wheelEvent(QWheelEvent e); - protected native void resizeEvent(QResizeEvent arg1); - protected native void receivedDropEvent(int arg1, QDropEvent arg2); + protected native void wheelEvent(TQWheelEvent e); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void receivedDropEvent(int arg1, TQDropEvent arg2); protected native void initiateDrag(int arg1); - protected native void contextMenu(int arg1, QPoint arg2); + protected native void contextMenu(int arg1, TQPoint arg2); protected native void mouseDoubleClick(int arg1); protected native void mouseMiddleClick(int arg1); protected native void closeRequest(int arg1); diff --git a/kdejava/koala/org/kde/koala/KTabWidgetSignals.java b/kdejava/koala/org/kde/koala/KTabWidgetSignals.java index 135c617d..c5f8e741 100644 --- a/kdejava/koala/org/kde/koala/KTabWidgetSignals.java +++ b/kdejava/koala/org/kde/koala/KTabWidgetSignals.java @@ -1,30 +1,30 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QDragMoveEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QWheelEvent; -import org.kde.qt.QTab; +import org.kde.qt.TQPoint; +import org.kde.qt.TQDragMoveEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQWheelEvent; +import org.kde.qt.TQTab; public interface KTabWidgetSignals { - void testCanDecode(QDragMoveEvent e, boolean accept); - void receivedDropEvent(QDropEvent arg1); - void receivedDropEvent(QWidget arg1, QDropEvent arg2); - void initiateDrag(QWidget arg1); - void contextMenu(QPoint arg1); - void contextMenu(QWidget arg1, QPoint arg2); + void testCanDecode(TQDragMoveEvent e, boolean accept); + void receivedDropEvent(TQDropEvent arg1); + void receivedDropEvent(TQWidget arg1, TQDropEvent arg2); + void initiateDrag(TQWidget arg1); + void contextMenu(TQPoint arg1); + void contextMenu(TQWidget arg1, TQPoint arg2); void movedTab(int arg1, int arg2); void mouseDoubleClick(); - void mouseDoubleClick(QWidget arg1); + void mouseDoubleClick(TQWidget arg1); void mouseMiddleClick(); - void mouseMiddleClick(QWidget arg1); - void closeRequest(QWidget arg1); + void mouseMiddleClick(TQWidget arg1); + void closeRequest(TQWidget arg1); } diff --git a/kdejava/koala/org/kde/koala/KTar.java b/kdejava/koala/org/kde/koala/KTar.java index 47487491..8e42f824 100644 --- a/kdejava/koala/org/kde/koala/KTar.java +++ b/kdejava/koala/org/kde/koala/KTar.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QIODevice; -import org.kde.qt.QIODeviceInterface; +import org.kde.qt.TQIODevice; +import org.kde.qt.TQIODeviceInterface; /** @@ -40,24 +40,24 @@ public class KTar extends KArchive { private native void newKTar(String filename); /** Creates an instance that operates on the given device. - The device can be compressed (KFilterDev) or not (QFile, etc.). - @warning Do not assume that giving a QFile here will decompress the file, + The device can be compressed (KFilterDev) or not (TQFile, etc.). + @warning Do not assume that giving a TQFile here will decompress the file, in case it's compressed! @param dev the device to read from. If the source is compressed, the - QIODevice must take care of decompression + TQIODevice must take care of decompression @short Creates an instance that operates on the given device. */ - public KTar(QIODeviceInterface dev) { + public KTar(TQIODeviceInterface dev) { super((Class) null); newKTar(dev); } - private native void newKTar(QIODeviceInterface dev); + private native void newKTar(TQIODeviceInterface dev); /** The name of the tar file, as passed to the constructor - Null if you used the QIODevice constructor. + Null if you used the TQIODevice constructor. @return the name of the file, or null if unknown - @short The name of the tar file, as passed to the constructor Null if you used the QIODevice constructor. + @short The name of the tar file, as passed to the constructor Null if you used the TQIODevice constructor. */ public native String fileName(); /** diff --git a/kdejava/koala/org/kde/koala/KTempDir.java b/kdejava/koala/org/kde/koala/KTempDir.java index 542817bd..6c5c1c5d 100644 --- a/kdejava/koala/org/kde/koala/KTempDir.java +++ b/kdejava/koala/org/kde/koala/KTempDir.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QDir; +import org.kde.qt.TQDir; import org.kde.qt.QtSupport; /** @@ -81,13 +81,13 @@ public class KTempDir implements QtSupport { */ public native String name(); /** - Returns the QDir of the temporary directory. - @return QDir directory information of the directory or 0 if their is no managed directory + Returns the TQDir of the temporary directory. + @return TQDir directory information of the directory or 0 if their is no managed directory The caller has to free the pointer open for writing to the - @short Returns the QDir of the temporary directory. + @short Returns the TQDir of the temporary directory. */ - public native QDir qDir(); + public native TQDir qDir(); /** Deletes the directory recursively @short Deletes the directory recursively diff --git a/kdejava/koala/org/kde/koala/KTempFile.java b/kdejava/koala/org/kde/koala/KTempFile.java index bf7e9e35..74b7fa5a 100644 --- a/kdejava/koala/org/kde/koala/KTempFile.java +++ b/kdejava/koala/org/kde/koala/KTempFile.java @@ -3,9 +3,9 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QFile; -import org.kde.qt.QDataStream; -import org.kde.qt.QTextStream; +import org.kde.qt.TQFile; +import org.kde.qt.TQDataStream; +import org.kde.qt.TQTextStream; /** @@ -114,29 +114,29 @@ public class KTempFile implements QtSupport { */ // FILE* fstream(); >>>> NOT CONVERTED /** - Returns the QTextStream for writing. - @return QTextStream open for writing to the file, or 0 + Returns the TQTextStream for writing. + @return TQTextStream open for writing to the file, or 0 if opening the file failed - @short Returns the QTextStream for writing. + @short Returns the TQTextStream for writing. */ - public native QTextStream textStream(); + public native TQTextStream textStream(); /** - Returns a QDataStream for writing. - @return QDataStream open for writing to the file, or 0 + Returns a TQDataStream for writing. + @return TQDataStream open for writing to the file, or 0 if opening the file failed - @short Returns a QDataStream for writing. + @short Returns a TQDataStream for writing. */ - public native QDataStream dataStream(); + public native TQDataStream dataStream(); /** - Returns a QFile. - @return A QFile open for writing to the file, or 0 if + Returns a TQFile. + @return A TQFile open for writing to the file, or 0 if opening the file failed. - @short Returns a QFile. + @short Returns a TQFile. */ - public native QFile file(); + public native TQFile file(); /** Unlinks the file from the directory. The file is deleted once the last reader/writer closes it. diff --git a/kdejava/koala/org/kde/koala/KTextBrowser.java b/kdejava/koala/org/kde/koala/KTextBrowser.java index 4a2fa413..605cdaf9 100644 --- a/kdejava/koala/org/kde/koala/KTextBrowser.java +++ b/kdejava/koala/org/kde/koala/KTextBrowser.java @@ -2,19 +2,19 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPoint; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWheelEvent; -import org.kde.qt.QTextBrowser; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPoint; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; +import org.kde.qt.TQTextBrowser; /** - An extended QTextBrowser. + An extended TQTextBrowser. By default it will invoke the system mailer or the system browser when a link is activated, or it can emit the signal urlClick() or mailClick() @@ -23,12 +23,12 @@ import org.kde.qt.QTextBrowser; See {@link KTextBrowserSignals} for signals emitted by KTextBrowser @author Espen Sand (espensa@online.no) - @short Extended QTextBrowser. + @short Extended TQTextBrowser. */ -public class KTextBrowser extends QTextBrowser { +public class KTextBrowser extends TQTextBrowser { protected KTextBrowser(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. @@ -37,21 +37,21 @@ public class KTextBrowser extends QTextBrowser { @param notifyClick <code>true</code> causes signals to be emitted. @short Constructor. */ - public KTextBrowser(QWidget parent, String name, boolean notifyClick) { + public KTextBrowser(TQWidget parent, String name, boolean notifyClick) { super((Class) null); newKTextBrowser(parent,name,notifyClick); } - private native void newKTextBrowser(QWidget parent, String name, boolean notifyClick); - public KTextBrowser(QWidget parent, String name) { + private native void newKTextBrowser(TQWidget parent, String name, boolean notifyClick); + public KTextBrowser(TQWidget parent, String name) { super((Class) null); newKTextBrowser(parent,name); } - private native void newKTextBrowser(QWidget parent, String name); - public KTextBrowser(QWidget parent) { + private native void newKTextBrowser(TQWidget parent, String name); + public KTextBrowser(TQWidget parent) { super((Class) null); newKTextBrowser(parent); } - private native void newKTextBrowser(QWidget parent); + private native void newKTextBrowser(TQWidget parent); public KTextBrowser() { super((Class) null); newKTextBrowser(); @@ -80,23 +80,23 @@ public class KTextBrowser extends QTextBrowser { Makes sure Key_Escape is ignored @short Makes sure Key_Escape is ignored */ - protected native void keyPressEvent(QKeyEvent e); + protected native void keyPressEvent(TQKeyEvent e); /** Make sure we use our own hand cursor @short Make sure we use our own hand cursor */ - protected native void viewportMouseMoveEvent(QMouseEvent e); + protected native void viewportMouseMoveEvent(TQMouseEvent e); /** Reimplemented to support Qt2 behavior (Ctrl-Wheel = fast scroll) @short Reimplemented to support Qt2 behavior (Ctrl-Wheel = fast scroll) */ - protected native void contentsWheelEvent(QWheelEvent e); + protected native void contentsWheelEvent(TQWheelEvent e); /** Re-implemented for internal reasons. API not affected. - See QLineEdit.createPopupMenu(). + See TQLineEdit.createPopupMenu(). @short Re-implemented for internal reasons. */ - protected native QPopupMenu createPopupMenu(QPoint pos); + protected native TQPopupMenu createPopupMenu(TQPoint pos); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KTextBrowserSignals.java b/kdejava/koala/org/kde/koala/KTextBrowserSignals.java index b8080063..3bf40d8a 100644 --- a/kdejava/koala/org/kde/koala/KTextBrowserSignals.java +++ b/kdejava/koala/org/kde/koala/KTextBrowserSignals.java @@ -1,14 +1,14 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPoint; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWheelEvent; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPoint; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; public interface KTextBrowserSignals { /** diff --git a/kdejava/koala/org/kde/koala/KTextEdit.java b/kdejava/koala/org/kde/koala/KTextEdit.java index c15958ed..41cee113 100644 --- a/kdejava/koala/org/kde/koala/KTextEdit.java +++ b/kdejava/koala/org/kde/koala/KTextEdit.java @@ -2,49 +2,49 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPoint; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QPalette; -import org.kde.qt.QWheelEvent; -import org.kde.qt.QTextEdit; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPoint; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQPalette; +import org.kde.qt.TQWheelEvent; +import org.kde.qt.TQTextEdit; /** - This is just a little subclass of QTextEdit, implementing + This is just a little subclass of TQTextEdit, implementing some standard KDE features, like Cursor auto-hiding, configurable wheelscrolling (fast-scroll or zoom) and deleting of entire words with Ctrl-Backspace or Ctrl-Delete. - Basic rule: whenever you want to use QTextEdit, use KTextEdit! + Basic rule: whenever you want to use TQTextEdit, use KTextEdit! @author Carsten Pfeiffer <pfeiffer@kde.org> - @short A KDE'ified QTextEdit. - @see org.kde.qt.QTextEdit + @short A KDE'ified TQTextEdit. + @see org.kde.qt.TQTextEdit */ -public class KTextEdit extends QTextEdit { +public class KTextEdit extends TQTextEdit { protected KTextEdit(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** - Constructs a KTextEdit object. See QTextEdit.QTextEdit + Constructs a KTextEdit object. See TQTextEdit.TQTextEdit for details. @short Constructs a KTextEdit object. */ - public KTextEdit(String text, String context, QWidget parent, String name) { + public KTextEdit(String text, String context, TQWidget parent, String name) { super((Class) null); newKTextEdit(text,context,parent,name); } - private native void newKTextEdit(String text, String context, QWidget parent, String name); - public KTextEdit(String text, String context, QWidget parent) { + private native void newKTextEdit(String text, String context, TQWidget parent, String name); + public KTextEdit(String text, String context, TQWidget parent) { super((Class) null); newKTextEdit(text,context,parent); } - private native void newKTextEdit(String text, String context, QWidget parent); + private native void newKTextEdit(String text, String context, TQWidget parent); public KTextEdit(String text, String context) { super((Class) null); newKTextEdit(text,context); @@ -56,20 +56,20 @@ public class KTextEdit extends QTextEdit { } private native void newKTextEdit(String text); /** - Constructs a KTextEdit object. See QTextEdit.QTextEdit + Constructs a KTextEdit object. See TQTextEdit.TQTextEdit for details. @short Constructs a KTextEdit object. */ - public KTextEdit(QWidget parent, String name) { + public KTextEdit(TQWidget parent, String name) { super((Class) null); newKTextEdit(parent,name); } - private native void newKTextEdit(QWidget parent, String name); - public KTextEdit(QWidget parent) { + private native void newKTextEdit(TQWidget parent, String name); + public KTextEdit(TQWidget parent) { super((Class) null); newKTextEdit(parent); } - private native void newKTextEdit(QWidget parent); + private native void newKTextEdit(TQWidget parent); public KTextEdit() { super((Class) null); newKTextEdit(); @@ -84,7 +84,7 @@ public class KTextEdit extends QTextEdit { Reimplemented for tracking custom palettes. @short Reimplemented for tracking custom palettes. */ - public native void setPalette(QPalette palette); + public native void setPalette(TQPalette palette); /** Turns spell checking for this text edit on or off. @short Turns spell checking for this text edit on or off. @@ -108,19 +108,19 @@ public class KTextEdit extends QTextEdit { Reimplemented to catch "delete word" key events. @short Reimplemented to catch "delete word" key events. */ - protected native void keyPressEvent(QKeyEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); /** Reimplemented to instantiate a KDictSpellingHighlighter, if spellchecking is enabled. @short Reimplemented to instantiate a KDictSpellingHighlighter, if spellchecking is enabled. */ - protected native void focusInEvent(QFocusEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); /** Reimplemented to allow fast-wheelscrolling with Ctrl-Wheel or zoom. @short Reimplemented to allow fast-wheelscrolling with Ctrl-Wheel or zoom. */ - protected native void contentsWheelEvent(QWheelEvent arg1); + protected native void contentsWheelEvent(TQWheelEvent arg1); /** Deletes a word backwards from the current cursor position, if available. @@ -134,11 +134,11 @@ public class KTextEdit extends QTextEdit { */ protected native void deleteWordForward(); /** - Reimplemented from QTextEdit to add spelling related items + Reimplemented from TQTextEdit to add spelling related items when appropriate. - @short Reimplemented from QTextEdit to add spelling related items when appropriate. + @short Reimplemented from TQTextEdit to add spelling related items when appropriate. */ - protected native QPopupMenu createPopupMenu(QPoint pos); + protected native TQPopupMenu createPopupMenu(TQPoint pos); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KTimeWidget.java b/kdejava/koala/org/kde/koala/KTimeWidget.java index 914566a9..e69d1e7c 100644 --- a/kdejava/koala/org/kde/koala/KTimeWidget.java +++ b/kdejava/koala/org/kde/koala/KTimeWidget.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.Date; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -18,24 +18,24 @@ import org.kde.qt.QWidget; @short A time selection widget. */ -public class KTimeWidget extends QWidget { +public class KTimeWidget extends TQWidget { protected KTimeWidget(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a time selection widget. @short Constructs a time selection widget. */ - public KTimeWidget(QWidget parent, String name) { + public KTimeWidget(TQWidget parent, String name) { super((Class) null); newKTimeWidget(parent,name); } - private native void newKTimeWidget(QWidget parent, String name); - public KTimeWidget(QWidget parent) { + private native void newKTimeWidget(TQWidget parent, String name); + public KTimeWidget(TQWidget parent) { super((Class) null); newKTimeWidget(parent); } - private native void newKTimeWidget(QWidget parent); + private native void newKTimeWidget(TQWidget parent); public KTimeWidget() { super((Class) null); newKTimeWidget(); @@ -46,16 +46,16 @@ public class KTimeWidget extends QWidget { <code>time.</code> @short Constructs a time selection widget with the initial time set to <code>time.</code> */ - public KTimeWidget(Date time, QWidget parent, String name) { + public KTimeWidget(Date time, TQWidget parent, String name) { super((Class) null); newKTimeWidget(time,parent,name); } - private native void newKTimeWidget(Date time, QWidget parent, String name); - public KTimeWidget(Date time, QWidget parent) { + private native void newKTimeWidget(Date time, TQWidget parent, String name); + public KTimeWidget(Date time, TQWidget parent) { super((Class) null); newKTimeWidget(time,parent); } - private native void newKTimeWidget(Date time, QWidget parent); + private native void newKTimeWidget(Date time, TQWidget parent); public KTimeWidget(Date time) { super((Class) null); newKTimeWidget(time); diff --git a/kdejava/koala/org/kde/koala/KTimeWidgetSignals.java b/kdejava/koala/org/kde/koala/KTimeWidgetSignals.java index 0ad704c9..4f36020a 100644 --- a/kdejava/koala/org/kde/koala/KTimeWidgetSignals.java +++ b/kdejava/koala/org/kde/koala/KTimeWidgetSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.Date; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KTimeWidgetSignals { /** diff --git a/kdejava/koala/org/kde/koala/KTipDialog.java b/kdejava/koala/org/kde/koala/KTipDialog.java index f2df501f..5f3fc706 100644 --- a/kdejava/koala/org/kde/koala/KTipDialog.java +++ b/kdejava/koala/org/kde/koala/KTipDialog.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; /** @@ -19,7 +19,7 @@ import org.kde.qt.QWidget; */ public class KTipDialog extends KDialog { protected KTipDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a tip dialog. @@ -28,16 +28,16 @@ public class KTipDialog extends KDialog { @param name The object name. @short Construct a tip dialog. */ - public KTipDialog(KTipDatabase db, QWidget parent, String name) { + public KTipDialog(KTipDatabase db, TQWidget parent, String name) { super((Class) null); newKTipDialog(db,parent,name); } - private native void newKTipDialog(KTipDatabase db, QWidget parent, String name); - public KTipDialog(KTipDatabase db, QWidget parent) { + private native void newKTipDialog(KTipDatabase db, TQWidget parent, String name); + public KTipDialog(KTipDatabase db, TQWidget parent) { super((Class) null); newKTipDialog(db,parent); } - private native void newKTipDialog(KTipDatabase db, QWidget parent); + private native void newKTipDialog(KTipDatabase db, TQWidget parent); public KTipDialog(KTipDatabase db) { super((Class) null); newKTipDialog(db); @@ -57,9 +57,9 @@ public class KTipDialog extends KDialog { disabled it. @short Shows a tip. */ - public static native void showTip(QWidget parent, String tipFile, boolean force); - public static native void showTip(QWidget parent, String tipFile); - public static native void showTip(QWidget parent); + public static native void showTip(TQWidget parent, String tipFile, boolean force); + public static native void showTip(TQWidget parent, String tipFile); + public static native void showTip(TQWidget parent); /** Shows a tip This method behaves essentially as the one above, but expects a list of tips @@ -70,8 +70,8 @@ public class KTipDialog extends KDialog { disabled it. @short Shows a tip */ - public static native void showMultiTip(QWidget parent, String[] tipFiles, boolean force); - public static native void showMultiTip(QWidget parent, String[] tipFiles); + public static native void showMultiTip(TQWidget parent, String[] tipFiles, boolean force); + public static native void showMultiTip(TQWidget parent, String[] tipFiles); /** Shows a tip. This methods calls showTip() with the applications main window as parent. @@ -87,7 +87,7 @@ public class KTipDialog extends KDialog { @short Toggles the start behavior. */ public static native void setShowOnStart(boolean show); - public native boolean eventFilter(QObject arg1, QEvent arg2); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KToggleAction.java b/kdejava/koala/org/kde/koala/KToggleAction.java index d4b0a3e5..d09d7bdc 100644 --- a/kdejava/koala/org/kde/koala/KToggleAction.java +++ b/kdejava/koala/org/kde/koala/KToggleAction.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; /** @@ -18,7 +18,7 @@ import org.kde.qt.QWidget; */ public class KToggleAction extends KAction { protected KToggleAction(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a toggle action with text and potential keyboard @@ -30,16 +30,16 @@ public class KToggleAction extends KAction { @param name An internal name for this action. @short Constructs a toggle action with text and potential keyboard accelerator but nothing else. */ - public KToggleAction(String text, KShortcut cut, QObject parent, String name) { + public KToggleAction(String text, KShortcut cut, TQObject parent, String name) { super((Class) null); newKToggleAction(text,cut,parent,name); } - private native void newKToggleAction(String text, KShortcut cut, QObject parent, String name); - public KToggleAction(String text, KShortcut cut, QObject parent) { + private native void newKToggleAction(String text, KShortcut cut, TQObject parent, String name); + public KToggleAction(String text, KShortcut cut, TQObject parent) { super((Class) null); newKToggleAction(text,cut,parent); } - private native void newKToggleAction(String text, KShortcut cut, QObject parent); + private native void newKToggleAction(String text, KShortcut cut, TQObject parent); public KToggleAction(String text, KShortcut cut) { super((Class) null); newKToggleAction(text,cut); @@ -59,16 +59,16 @@ public class KToggleAction extends KAction { @param name An internal name for this action. @short */ - public KToggleAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KToggleAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKToggleAction(text,cut,receiver,slot,parent,name); } - private native void newKToggleAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KToggleAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKToggleAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KToggleAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKToggleAction(text,cut,receiver,slot,parent); } - private native void newKToggleAction(String text, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKToggleAction(String text, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The icons that go with this action. @@ -77,26 +77,26 @@ public class KToggleAction extends KAction { @param name An internal name for this action. @short */ - public KToggleAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name) { + public KToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name) { super((Class) null); newKToggleAction(text,pix,cut,parent,name); } - private native void newKToggleAction(String text, QIconSet pix, KShortcut cut, QObject parent, String name); - public KToggleAction(String text, QIconSet pix, KShortcut cut, QObject parent) { + private native void newKToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject parent, String name); + public KToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject parent) { super((Class) null); newKToggleAction(text,pix,cut,parent); } - private native void newKToggleAction(String text, QIconSet pix, KShortcut cut, QObject parent); - public KToggleAction(String text, QIconSet pix, KShortcut cut) { + private native void newKToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject parent); + public KToggleAction(String text, TQIconSet pix, KShortcut cut) { super((Class) null); newKToggleAction(text,pix,cut); } - private native void newKToggleAction(String text, QIconSet pix, KShortcut cut); - public KToggleAction(String text, QIconSet pix) { + private native void newKToggleAction(String text, TQIconSet pix, KShortcut cut); + public KToggleAction(String text, TQIconSet pix) { super((Class) null); newKToggleAction(text,pix); } - private native void newKToggleAction(String text, QIconSet pix); + private native void newKToggleAction(String text, TQIconSet pix); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -105,16 +105,16 @@ public class KToggleAction extends KAction { @param name An internal name for this action. @short */ - public KToggleAction(String text, String pix, KShortcut cut, QObject parent, String name) { + public KToggleAction(String text, String pix, KShortcut cut, TQObject parent, String name) { super((Class) null); newKToggleAction(text,pix,cut,parent,name); } - private native void newKToggleAction(String text, String pix, KShortcut cut, QObject parent, String name); - public KToggleAction(String text, String pix, KShortcut cut, QObject parent) { + private native void newKToggleAction(String text, String pix, KShortcut cut, TQObject parent, String name); + public KToggleAction(String text, String pix, KShortcut cut, TQObject parent) { super((Class) null); newKToggleAction(text,pix,cut,parent); } - private native void newKToggleAction(String text, String pix, KShortcut cut, QObject parent); + private native void newKToggleAction(String text, String pix, KShortcut cut, TQObject parent); public KToggleAction(String text, String pix, KShortcut cut) { super((Class) null); newKToggleAction(text,pix,cut); @@ -135,16 +135,16 @@ public class KToggleAction extends KAction { @param name An internal name for this action. @short */ - public KToggleAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKToggleAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKToggleAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KToggleAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKToggleAction(text,pix,cut,receiver,slot,parent); } - private native void newKToggleAction(String text, QIconSet pix, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKToggleAction(String text, TQIconSet pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param text The text that will be displayed. @param pix The dynamically loaded icon that goes with this action. @@ -155,31 +155,31 @@ public class KToggleAction extends KAction { @param name An internal name for this action. @short */ - public KToggleAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KToggleAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKToggleAction(text,pix,cut,receiver,slot,parent,name); } - private native void newKToggleAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KToggleAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKToggleAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KToggleAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKToggleAction(text,pix,cut,receiver,slot,parent); } - private native void newKToggleAction(String text, String pix, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKToggleAction(String text, String pix, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** @param parent This action's parent. @param name An internal name for this action. @short */ - public KToggleAction(QObject parent, String name) { + public KToggleAction(TQObject parent, String name) { super((Class) null); newKToggleAction(parent,name); } - private native void newKToggleAction(QObject parent, String name); - public KToggleAction(QObject parent) { + private native void newKToggleAction(TQObject parent, String name); + public KToggleAction(TQObject parent) { super((Class) null); newKToggleAction(parent); } - private native void newKToggleAction(QObject parent); + private native void newKToggleAction(TQObject parent); public KToggleAction() { super((Class) null); newKToggleAction(); @@ -195,8 +195,8 @@ public class KToggleAction extends KAction { @param index The index of the item. @short "Plug" or insert this action into a given widget. */ - public native int plug(QWidget widget, int index); - public native int plug(QWidget widget); + public native int plug(TQWidget widget, int index); + public native int plug(TQWidget widget); /** Returns the actual state of the action. @short Returns the actual state of the action. diff --git a/kdejava/koala/org/kde/koala/KToggleActionSignals.java b/kdejava/koala/org/kde/koala/KToggleActionSignals.java index 0fa9bd34..1b9b2ca9 100644 --- a/kdejava/koala/org/kde/koala/KToggleActionSignals.java +++ b/kdejava/koala/org/kde/koala/KToggleActionSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; public interface KToggleActionSignals { void toggled(boolean arg1); diff --git a/kdejava/koala/org/kde/koala/KToggleFullScreenAction.java b/kdejava/koala/org/kde/koala/KToggleFullScreenAction.java index 23a2d736..968d6468 100644 --- a/kdejava/koala/org/kde/koala/KToggleFullScreenAction.java +++ b/kdejava/koala/org/kde/koala/KToggleFullScreenAction.java @@ -2,21 +2,21 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; /** An action for switching between to/from full screen mode. Note that - QWidget.isFullScreen() may reflect the new or the old state + TQWidget.isFullScreen() may reflect the new or the old state depending on how the action was triggered (by the application or from the window manager). Also don't try to track the window state yourself. Rely on this action's state (isChecked()) instead. Important: If you need to set/change the fullscreen state manually, - use the relevant QWidget function (showFullScreen etc.), do not + use the relevant TQWidget function (showFullScreen etc.), do not call directly the slot connected to the toggled() signal. The slot still needs to explicitly set the window state though. @short An action for switching between to/from full screen mode. @@ -24,7 +24,7 @@ import org.kde.qt.QWidget; */ public class KToggleFullScreenAction extends KToggleAction { protected KToggleFullScreenAction(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create a KToggleFullScreenAction @@ -36,21 +36,21 @@ public class KToggleFullScreenAction extends KToggleAction { @param name An internal name for this action. @short Create a KToggleFullScreenAction */ - public KToggleFullScreenAction(KShortcut cut, QObject receiver, String slot, QObject parent, QWidget window, String name) { + public KToggleFullScreenAction(KShortcut cut, TQObject receiver, String slot, TQObject parent, TQWidget window, String name) { super((Class) null); newKToggleFullScreenAction(cut,receiver,slot,parent,window,name); } - private native void newKToggleFullScreenAction(KShortcut cut, QObject receiver, String slot, QObject parent, QWidget window, String name); + private native void newKToggleFullScreenAction(KShortcut cut, TQObject receiver, String slot, TQObject parent, TQWidget window, String name); /** Sets the window that will be related to this action. @short Sets the window that will be related to this action. */ - public native void setWindow(QWidget window); + public native void setWindow(TQWidget window); public native void setChecked(boolean arg1); /** @short */ - public native boolean eventFilter(QObject o, QEvent e); + public native boolean eventFilter(TQObject o, TQEvent e); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KToggleToolBarAction.java b/kdejava/koala/org/kde/koala/KToggleToolBarAction.java index 7d4904c3..188eabaa 100644 --- a/kdejava/koala/org/kde/koala/KToggleToolBarAction.java +++ b/kdejava/koala/org/kde/koala/KToggleToolBarAction.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -22,7 +22,7 @@ import org.kde.qt.QWidget; */ public class KToggleToolBarAction extends KToggleAction { protected KToggleToolBarAction(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create a KToggleToolbarAction that manages the toolbar @@ -41,8 +41,8 @@ public class KToggleToolBarAction extends KToggleAction { newKToggleToolBarAction(toolBar,text,parent,name); } private native void newKToggleToolBarAction(KToolBar toolBar, String text, KActionCollection parent, String name); - public native int plug(QWidget widget, int index); - public native int plug(QWidget widget); + public native int plug(TQWidget widget, int index); + public native int plug(TQWidget widget); public native KToolBar toolBar(); public native void setChecked(boolean arg1); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KToolBar.java b/kdejava/koala/org/kde/koala/KToolBar.java index 03527f2a..f6a5c86d 100644 --- a/kdejava/koala/org/kde/koala/KToolBar.java +++ b/kdejava/koala/org/kde/koala/KToolBar.java @@ -2,23 +2,23 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMainWindow; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMainWindow; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QSize; -import org.kde.qt.QSizePolicy; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QShowEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QDomElement; -import org.kde.qt.QChildEvent; -import org.kde.qt.QToolBar; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSize; +import org.kde.qt.TQSizePolicy; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQDomElement; +import org.kde.qt.TQChildEvent; +import org.kde.qt.TQToolBar; /** @@ -41,7 +41,7 @@ import org.kde.qt.QToolBar; @short Floatable toolbar with auto resize. */ -public class KToolBar extends QToolBar { +public class KToolBar extends TQToolBar { protected KToolBar(Class dummy){super((Class) null);} public static final int IconOnly = 0; public static final int IconTextRight = 1; @@ -60,12 +60,12 @@ public class KToolBar extends QToolBar { public static final int Left = 5; public static final int Flat = 6; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Normal constructor. This constructor is used by the XML-GUI. If you use it, you need - to call QMainWindow.addToolBar to specify the position of the toolbar. + to call TQMainWindow.addToolBar to specify the position of the toolbar. So it's simpler to use the other constructor. The toolbar will read in various global config settings for things like icon size and text position, etc. However, some of @@ -78,26 +78,26 @@ public class KToolBar extends QToolBar { @param readConfig whether to apply the configuration (global and application-specific) @short Normal constructor. */ - public KToolBar(QWidget parent, String name, boolean honorStyle, boolean readConfig) { + public KToolBar(TQWidget parent, String name, boolean honorStyle, boolean readConfig) { super((Class) null); newKToolBar(parent,name,honorStyle,readConfig); } - private native void newKToolBar(QWidget parent, String name, boolean honorStyle, boolean readConfig); - public KToolBar(QWidget parent, String name, boolean honorStyle) { + private native void newKToolBar(TQWidget parent, String name, boolean honorStyle, boolean readConfig); + public KToolBar(TQWidget parent, String name, boolean honorStyle) { super((Class) null); newKToolBar(parent,name,honorStyle); } - private native void newKToolBar(QWidget parent, String name, boolean honorStyle); - public KToolBar(QWidget parent, String name) { + private native void newKToolBar(TQWidget parent, String name, boolean honorStyle); + public KToolBar(TQWidget parent, String name) { super((Class) null); newKToolBar(parent,name); } - private native void newKToolBar(QWidget parent, String name); - public KToolBar(QWidget parent) { + private native void newKToolBar(TQWidget parent, String name); + public KToolBar(TQWidget parent) { super((Class) null); newKToolBar(parent); } - private native void newKToolBar(QWidget parent); + private native void newKToolBar(TQWidget parent); /** Constructor for non-XML-GUI applications. The toolbar will read in various global config settings for @@ -105,38 +105,38 @@ public class KToolBar extends QToolBar { the settings will be honored only if <code>honorStyle</code> is set to true. All other toolbars will be IconOnly and use Medium icons. @param parentWindow The window that should be the parent of this toolbar - @param dock The position of the toolbar. Usually QMainWindow.Top. + @param dock The position of the toolbar. Usually TQMainWindow.Top. @param newLine If true, start a new line in the dock for this toolbar. @param name The standard internal name @param honorStyle If true, then global settings for IconSize and IconText will be honored @param readConfig whether to apply the configuration (global and application-specific) @short Constructor for non-XML-GUI applications. */ - public KToolBar(QMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle, boolean readConfig) { + public KToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle, boolean readConfig) { super((Class) null); newKToolBar(parentWindow,dock,newLine,name,honorStyle,readConfig); } - private native void newKToolBar(QMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle, boolean readConfig); - public KToolBar(QMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle) { + private native void newKToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle, boolean readConfig); + public KToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle) { super((Class) null); newKToolBar(parentWindow,dock,newLine,name,honorStyle); } - private native void newKToolBar(QMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle); - public KToolBar(QMainWindow parentWindow, int dock, boolean newLine, String name) { + private native void newKToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name, boolean honorStyle); + public KToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name) { super((Class) null); newKToolBar(parentWindow,dock,newLine,name); } - private native void newKToolBar(QMainWindow parentWindow, int dock, boolean newLine, String name); - public KToolBar(QMainWindow parentWindow, int dock, boolean newLine) { + private native void newKToolBar(TQMainWindow parentWindow, int dock, boolean newLine, String name); + public KToolBar(TQMainWindow parentWindow, int dock, boolean newLine) { super((Class) null); newKToolBar(parentWindow,dock,newLine); } - private native void newKToolBar(QMainWindow parentWindow, int dock, boolean newLine); - public KToolBar(QMainWindow parentWindow, int dock) { + private native void newKToolBar(TQMainWindow parentWindow, int dock, boolean newLine); + public KToolBar(TQMainWindow parentWindow, int dock) { super((Class) null); newKToolBar(parentWindow,dock); } - private native void newKToolBar(QMainWindow parentWindow, int dock); + private native void newKToolBar(TQMainWindow parentWindow, int dock); /** Constructor for non-XML-GUI applications. The toolbar will read in various global config settings for @@ -151,31 +151,31 @@ public class KToolBar extends QToolBar { @param readConfig whether to apply the configuration (global and application-specific) @short Constructor for non-XML-GUI applications. */ - public KToolBar(QMainWindow parentWindow, QWidget dock, boolean newLine, String name, boolean honorStyle, boolean readConfig) { + public KToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle, boolean readConfig) { super((Class) null); newKToolBar(parentWindow,dock,newLine,name,honorStyle,readConfig); } - private native void newKToolBar(QMainWindow parentWindow, QWidget dock, boolean newLine, String name, boolean honorStyle, boolean readConfig); - public KToolBar(QMainWindow parentWindow, QWidget dock, boolean newLine, String name, boolean honorStyle) { + private native void newKToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle, boolean readConfig); + public KToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle) { super((Class) null); newKToolBar(parentWindow,dock,newLine,name,honorStyle); } - private native void newKToolBar(QMainWindow parentWindow, QWidget dock, boolean newLine, String name, boolean honorStyle); - public KToolBar(QMainWindow parentWindow, QWidget dock, boolean newLine, String name) { + private native void newKToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name, boolean honorStyle); + public KToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name) { super((Class) null); newKToolBar(parentWindow,dock,newLine,name); } - private native void newKToolBar(QMainWindow parentWindow, QWidget dock, boolean newLine, String name); - public KToolBar(QMainWindow parentWindow, QWidget dock, boolean newLine) { + private native void newKToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine, String name); + public KToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine) { super((Class) null); newKToolBar(parentWindow,dock,newLine); } - private native void newKToolBar(QMainWindow parentWindow, QWidget dock, boolean newLine); - public KToolBar(QMainWindow parentWindow, QWidget dock) { + private native void newKToolBar(TQMainWindow parentWindow, TQWidget dock, boolean newLine); + public KToolBar(TQMainWindow parentWindow, TQWidget dock) { super((Class) null); newKToolBar(parentWindow,dock); } - private native void newKToolBar(QMainWindow parentWindow, QWidget dock); + private native void newKToolBar(TQMainWindow parentWindow, TQWidget dock); /** Insert a button (a KToolBarButton) with a pixmap. The pixmap is loaded by the button itself based on the global icon @@ -218,11 +218,11 @@ public class KToolBar extends QToolBar { @short This is the same as above, but with specified signals and slots to which this button will be connected. */ - public native int insertButton(String icon, int id, String signal, QObject receiver, String slot, boolean enabled, String text, int index, KInstanceInterface _instance); - public native int insertButton(String icon, int id, String signal, QObject receiver, String slot, boolean enabled, String text, int index); - public native int insertButton(String icon, int id, String signal, QObject receiver, String slot, boolean enabled, String text); - public native int insertButton(String icon, int id, String signal, QObject receiver, String slot, boolean enabled); - public native int insertButton(String icon, int id, String signal, QObject receiver, String slot); + public native int insertButton(String icon, int id, String signal, TQObject receiver, String slot, boolean enabled, String text, int index, KInstanceInterface _instance); + public native int insertButton(String icon, int id, String signal, TQObject receiver, String slot, boolean enabled, String text, int index); + public native int insertButton(String icon, int id, String signal, TQObject receiver, String slot, boolean enabled, String text); + public native int insertButton(String icon, int id, String signal, TQObject receiver, String slot, boolean enabled); + public native int insertButton(String icon, int id, String signal, TQObject receiver, String slot); /** Inserts a button (a KToolBarButton) with the specified pixmap. This pixmap will be used as the "active" one and the @@ -245,10 +245,10 @@ public class KToolBar extends QToolBar { @short Inserts a button (a KToolBarButton) with the specified pixmap. */ - public native int insertButton(QPixmap pixmap, int id, boolean enabled, String text, int index); - public native int insertButton(QPixmap pixmap, int id, boolean enabled, String text); - public native int insertButton(QPixmap pixmap, int id, boolean enabled); - public native int insertButton(QPixmap pixmap, int id); + public native int insertButton(TQPixmap pixmap, int id, boolean enabled, String text, int index); + public native int insertButton(TQPixmap pixmap, int id, boolean enabled, String text); + public native int insertButton(TQPixmap pixmap, int id, boolean enabled); + public native int insertButton(TQPixmap pixmap, int id); /** This is the same as above, but with specified signals and slots to which this button will be connected. @@ -265,10 +265,10 @@ public class KToolBar extends QToolBar { @short This is the same as above, but with specified signals and slots to which this button will be connected. */ - public native int insertButton(QPixmap pixmap, int id, String signal, QObject receiver, String slot, boolean enabled, String text, int index); - public native int insertButton(QPixmap pixmap, int id, String signal, QObject receiver, String slot, boolean enabled, String text); - public native int insertButton(QPixmap pixmap, int id, String signal, QObject receiver, String slot, boolean enabled); - public native int insertButton(QPixmap pixmap, int id, String signal, QObject receiver, String slot); + public native int insertButton(TQPixmap pixmap, int id, String signal, TQObject receiver, String slot, boolean enabled, String text, int index); + public native int insertButton(TQPixmap pixmap, int id, String signal, TQObject receiver, String slot, boolean enabled, String text); + public native int insertButton(TQPixmap pixmap, int id, String signal, TQObject receiver, String slot, boolean enabled); + public native int insertButton(TQPixmap pixmap, int id, String signal, TQObject receiver, String slot); /** Inserts a button with popupmenu. Button will have small @@ -277,12 +277,12 @@ public class KToolBar extends QToolBar { KButton.clicked() or KButton.doubleClicked() are <code>not</code> emmited by this button (see setDelayedPopup() for that). - You can add custom popups which inherit QPopupMenu to get popups + You can add custom popups which inherit TQPopupMenu to get popups with tables, drawings etc. Just don't fiddle with events there. @short Inserts a button with popupmenu. */ - public native int insertButton(String icon, int id, QPopupMenu popup, boolean enabled, String _text, int index); - public native int insertButton(String icon, int id, QPopupMenu popup, boolean enabled, String _text); + public native int insertButton(String icon, int id, TQPopupMenu popup, boolean enabled, String _text, int index); + public native int insertButton(String icon, int id, TQPopupMenu popup, boolean enabled, String _text); /** Inserts a button with popupmenu. Button will have small @@ -291,15 +291,15 @@ public class KToolBar extends QToolBar { KButton.clicked() or KButton.doubleClicked() are <code>not</code> emmited by this button (see setDelayedPopup() for that). - You can add custom popups which inherit QPopupMenu to get popups + You can add custom popups which inherit TQPopupMenu to get popups with tables, drawings etc. Just don't fiddle with events there. @short Inserts a button with popupmenu. */ - public native int insertButton(QPixmap pixmap, int id, QPopupMenu popup, boolean enabled, String _text, int index); - public native int insertButton(QPixmap pixmap, int id, QPopupMenu popup, boolean enabled, String _text); + public native int insertButton(TQPixmap pixmap, int id, TQPopupMenu popup, boolean enabled, String _text, int index); + public native int insertButton(TQPixmap pixmap, int id, TQPopupMenu popup, boolean enabled, String _text); /** Inserts a KLineEdit. You have to specify signals and slots to - which KLineEdit will be connected. KLineEdit has all slots QLineEdit + which KLineEdit will be connected. KLineEdit has all slots TQLineEdit has, plus signals KLineEdit.completion and KLineEdit.textRotation KLineEdit can be set to autoresize itself to full free width in toolbar, that is to last right aligned item. For that, @@ -311,11 +311,11 @@ public class KToolBar extends QToolBar { @see #setItemAutoSized @see KLineEdit */ - public native int insertLined(String text, int id, String signal, QObject receiver, String slot, boolean enabled, String toolTipText, int size, int index); - public native int insertLined(String text, int id, String signal, QObject receiver, String slot, boolean enabled, String toolTipText, int size); - public native int insertLined(String text, int id, String signal, QObject receiver, String slot, boolean enabled, String toolTipText); - public native int insertLined(String text, int id, String signal, QObject receiver, String slot, boolean enabled); - public native int insertLined(String text, int id, String signal, QObject receiver, String slot); + public native int insertLined(String text, int id, String signal, TQObject receiver, String slot, boolean enabled, String toolTipText, int size, int index); + public native int insertLined(String text, int id, String signal, TQObject receiver, String slot, boolean enabled, String toolTipText, int size); + public native int insertLined(String text, int id, String signal, TQObject receiver, String slot, boolean enabled, String toolTipText); + public native int insertLined(String text, int id, String signal, TQObject receiver, String slot, boolean enabled); + public native int insertLined(String text, int id, String signal, TQObject receiver, String slot); /** Inserts a KComboBox with list. Can be writable, but cannot contain @@ -330,12 +330,12 @@ public class KToolBar extends QToolBar { @see #setItemAutoSized @see KComboBox */ - public native int insertCombo(String[] list, int id, boolean writable, String signal, QObject receiver, String slot, boolean enabled, String tooltiptext, int size, int index, int policy); - public native int insertCombo(String[] list, int id, boolean writable, String signal, QObject receiver, String slot, boolean enabled, String tooltiptext, int size, int index); - public native int insertCombo(String[] list, int id, boolean writable, String signal, QObject receiver, String slot, boolean enabled, String tooltiptext, int size); - public native int insertCombo(String[] list, int id, boolean writable, String signal, QObject receiver, String slot, boolean enabled, String tooltiptext); - public native int insertCombo(String[] list, int id, boolean writable, String signal, QObject receiver, String slot, boolean enabled); - public native int insertCombo(String[] list, int id, boolean writable, String signal, QObject receiver, String slot); + public native int insertCombo(String[] list, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext, int size, int index, int policy); + public native int insertCombo(String[] list, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext, int size, int index); + public native int insertCombo(String[] list, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext, int size); + public native int insertCombo(String[] list, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext); + public native int insertCombo(String[] list, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled); + public native int insertCombo(String[] list, int id, boolean writable, String signal, TQObject receiver, String slot); /** Insert a KComboBox with text. The rest is the same as above. @@ -345,12 +345,12 @@ public class KToolBar extends QToolBar { @see #setItemAutoSized @see KComboBox */ - public native int insertCombo(String text, int id, boolean writable, String signal, QObject receiver, String slot, boolean enabled, String tooltiptext, int size, int index, int policy); - public native int insertCombo(String text, int id, boolean writable, String signal, QObject receiver, String slot, boolean enabled, String tooltiptext, int size, int index); - public native int insertCombo(String text, int id, boolean writable, String signal, QObject receiver, String slot, boolean enabled, String tooltiptext, int size); - public native int insertCombo(String text, int id, boolean writable, String signal, QObject receiver, String slot, boolean enabled, String tooltiptext); - public native int insertCombo(String text, int id, boolean writable, String signal, QObject receiver, String slot, boolean enabled); - public native int insertCombo(String text, int id, boolean writable, String signal, QObject receiver, String slot); + public native int insertCombo(String text, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext, int size, int index, int policy); + public native int insertCombo(String text, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext, int size, int index); + public native int insertCombo(String text, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext, int size); + public native int insertCombo(String text, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled, String tooltiptext); + public native int insertCombo(String text, int id, boolean writable, String signal, TQObject receiver, String slot, boolean enabled); + public native int insertCombo(String text, int id, boolean writable, String signal, TQObject receiver, String slot); /** Inserts a separator into the toolbar with the given <code>id.</code> @return the separator's index @@ -372,7 +372,7 @@ public class KToolBar extends QToolBar { /** Inserts a user-defined widget. The widget <code>must</code> have this toolbar as its parent. - Widget must have a QWidget for base class. Widget can be + Widget must have a TQWidget for base class. Widget can be autosized to full width. If you forget about it, you can get a pointer to this widget with getWidget(). @return Item index. @@ -380,8 +380,8 @@ public class KToolBar extends QToolBar { @short Inserts a user-defined widget. @see #setItemAutoSized */ - public native int insertWidget(int id, int width, QWidget _widget, int index); - public native int insertWidget(int id, int width, QWidget _widget); + public native int insertWidget(int id, int width, TQWidget _widget, int index); + public native int insertWidget(int id, int width, TQWidget _widget); /** Inserts an animated widget. A KAnimWidget will be created internally using the icon name you provide. @@ -397,8 +397,8 @@ public class KToolBar extends QToolBar { @short Inserts an animated widget. @see #animatedWidget */ - public native int insertAnimatedWidget(int id, QObject receiver, String slot, String icons, int index); - public native int insertAnimatedWidget(int id, QObject receiver, String slot, String icons); + public native int insertAnimatedWidget(int id, TQObject receiver, String slot, String icons, int index); + public native int insertAnimatedWidget(int id, TQObject receiver, String slot, String icons); /** This will return a pointer to the animated widget with the given <code>id</code>, if it exists. @@ -415,7 +415,7 @@ public class KToolBar extends QToolBar { know the <code>id</code> of particular item. Nothing happens if you forget <code>id.</code> @short Adds connections to items. */ - public native void addConnection(int id, String signal, QObject receiver, String slot); + public native void addConnection(int id, String signal, TQObject receiver, String slot); /** Enables/disables item. @short Enables/disables item. @@ -432,13 +432,13 @@ public class KToolBar extends QToolBar { Can be used while button is visible. @short Sets button pixmap. */ - public native void setButtonPixmap(int id, QPixmap _pixmap); + public native void setButtonPixmap(int id, TQPixmap _pixmap); /** - Sets a button icon from a QIconSet. + Sets a button icon from a TQIconSet. Can be used while button is visible. - @short Sets a button icon from a QIconSet. + @short Sets a button icon from a TQIconSet. */ - public native void setButtonIconSet(int id, QIconSet iconset); + public native void setButtonIconSet(int id, TQIconSet iconset); /** Sets a delayed popup for a button. Delayed popup is what you see in @@ -457,13 +457,13 @@ public class KToolBar extends QToolBar { bar.setDelayedPopup (id, historyPopup); </pre> Don't add delayed popups to buttons which have normal popups. - You may add popups which are derived from QPopupMenu. You may + You may add popups which are derived from TQPopupMenu. You may add popups that are already in the menu bar or are submenus of other popups. @short Sets a delayed popup for a button. */ - public native void setDelayedPopup(int id, QPopupMenu _popup, boolean toggle); - public native void setDelayedPopup(int id, QPopupMenu _popup); + public native void setDelayedPopup(int id, TQPopupMenu _popup, boolean toggle); + public native void setDelayedPopup(int id, TQPopupMenu _popup); /** Turns a button into an autorepeat button. Toggle buttons, buttons with menus, or @@ -473,7 +473,7 @@ public class KToolBar extends QToolBar { When the user presses this button, you will receive the signal clicked(), and if the button is still pressed after some time, you will receive more clicked() signals separated by regular - intervals. Since this uses QButton.setAutoRepeat() , + intervals. Since this uses TQButton.setAutoRepeat() , I can't quantify 'some'. @short Turns a button into an autorepeat button. */ @@ -588,7 +588,7 @@ public class KToolBar extends QToolBar { </pre> That way you can get access to other public methods that KLineEdit provides. KLineEdit is the same thing - as QLineEdit plus completion signals. + as TQLineEdit plus completion signals. @return a pointer to KToolBarLined with <code>id.</code> @short Returns a pointer to KToolBarLined with <code>id.</code> @@ -619,14 +619,14 @@ public class KToolBar extends QToolBar { Wrong ids are not tested. You can do with this whatever you want, except change its height (hardcoded). If you change its width - you will probably have to call QToolBar.updateRects(true) + you will probably have to call TQToolBar.updateRects(true) @return a pointer to the widget corresponding to <code>id.</code> @short Returns a pointer to the widget corresponding to <code>id.</code> - @see org.kde.qt.QWidget + @see org.kde.qt.TQWidget @see #updateRects */ - public native QWidget getWidget(int id); + public native TQWidget getWidget(int id); /** Set item autosized. This works only if the toolbar is set to full width. @@ -859,12 +859,12 @@ public class KToolBar extends QToolBar { @short Returns the toolbar's text. */ public native String text(); - public native void setStretchableWidget(QWidget w); - public native QSizePolicy sizePolicy(); + public native void setStretchableWidget(TQWidget w); + public native TQSizePolicy sizePolicy(); public native boolean highlight(); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); - public native QSize minimumSize(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native TQSize minimumSize(); public native void hide(); public native void show(); public native void updateRects(boolean arg1); @@ -873,8 +873,8 @@ public class KToolBar extends QToolBar { Load state from an XML element, called by KXMLGUIBuilder @short Load state from an XML element, called by KXMLGUIBuilder */ - public native void loadState(QDomElement e); - public native void saveState(QDomElement e); + public native void loadState(TQDomElement e); + public native void saveState(TQDomElement e); /** @short */ @@ -902,11 +902,11 @@ public class KToolBar extends QToolBar { @short Returns the global setting for "Icon Text" */ public static native int iconTextSetting(); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void childEvent(QChildEvent e); - public native void showEvent(QShowEvent e); - protected native void resizeEvent(QResizeEvent e); - public native boolean event(QEvent e); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void childEvent(TQChildEvent e); + public native void showEvent(TQShowEvent e); + protected native void resizeEvent(TQResizeEvent e); + public native boolean event(TQEvent e); protected native void applyAppearanceSettings(KConfig config, String _configGroup, boolean forceGlobal); protected native void applyAppearanceSettings(KConfig config, String _configGroup); protected native String settingsGroup(); diff --git a/kdejava/koala/org/kde/koala/KToolBarButton.java b/kdejava/koala/org/kde/koala/KToolBarButton.java index 34117b3b..47d8a9c3 100644 --- a/kdejava/koala/org/kde/koala/KToolBarButton.java +++ b/kdejava/koala/org/kde/koala/KToolBarButton.java @@ -2,19 +2,19 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QSize; -import org.kde.qt.QPainter; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; -import org.kde.qt.QPalette; -import org.kde.qt.QToolButton; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSize; +import org.kde.qt.TQPainter; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; +import org.kde.qt.TQPalette; +import org.kde.qt.TQToolButton; /** @@ -24,9 +24,9 @@ import org.kde.qt.QToolButton; @short A toolbar button. */ -public class KToolBarButton extends QToolButton { +public class KToolBarButton extends TQToolButton { protected KToolBarButton(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a button with an icon loaded by the button itself. @@ -40,26 +40,26 @@ public class KToolBarButton extends QToolButton { @param _instance the instance to use for this button @short Construct a button with an icon loaded by the button itself. */ - public KToolBarButton(String icon, int id, QWidget parent, String name, String txt, KInstanceInterface _instance) { + public KToolBarButton(String icon, int id, TQWidget parent, String name, String txt, KInstanceInterface _instance) { super((Class) null); newKToolBarButton(icon,id,parent,name,txt,_instance); } - private native void newKToolBarButton(String icon, int id, QWidget parent, String name, String txt, KInstanceInterface _instance); - public KToolBarButton(String icon, int id, QWidget parent, String name, String txt) { + private native void newKToolBarButton(String icon, int id, TQWidget parent, String name, String txt, KInstanceInterface _instance); + public KToolBarButton(String icon, int id, TQWidget parent, String name, String txt) { super((Class) null); newKToolBarButton(icon,id,parent,name,txt); } - private native void newKToolBarButton(String icon, int id, QWidget parent, String name, String txt); - public KToolBarButton(String icon, int id, QWidget parent, String name) { + private native void newKToolBarButton(String icon, int id, TQWidget parent, String name, String txt); + public KToolBarButton(String icon, int id, TQWidget parent, String name) { super((Class) null); newKToolBarButton(icon,id,parent,name); } - private native void newKToolBarButton(String icon, int id, QWidget parent, String name); - public KToolBarButton(String icon, int id, QWidget parent) { + private native void newKToolBarButton(String icon, int id, TQWidget parent, String name); + public KToolBarButton(String icon, int id, TQWidget parent) { super((Class) null); newKToolBarButton(icon,id,parent); } - private native void newKToolBarButton(String icon, int id, QWidget parent); + private native void newKToolBarButton(String icon, int id, TQWidget parent); /** Construct a button with an existing pixmap. It is not recommended that you use this as the internal icon loading code @@ -71,37 +71,37 @@ public class KToolBarButton extends QToolButton { @param txt This button's text (in a tooltip or otherwise) @short Construct a button with an existing pixmap. */ - public KToolBarButton(QPixmap pixmap, int id, QWidget parent, String name, String txt) { + public KToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name, String txt) { super((Class) null); newKToolBarButton(pixmap,id,parent,name,txt); } - private native void newKToolBarButton(QPixmap pixmap, int id, QWidget parent, String name, String txt); - public KToolBarButton(QPixmap pixmap, int id, QWidget parent, String name) { + private native void newKToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name, String txt); + public KToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name) { super((Class) null); newKToolBarButton(pixmap,id,parent,name); } - private native void newKToolBarButton(QPixmap pixmap, int id, QWidget parent, String name); - public KToolBarButton(QPixmap pixmap, int id, QWidget parent) { + private native void newKToolBarButton(TQPixmap pixmap, int id, TQWidget parent, String name); + public KToolBarButton(TQPixmap pixmap, int id, TQWidget parent) { super((Class) null); newKToolBarButton(pixmap,id,parent); } - private native void newKToolBarButton(QPixmap pixmap, int id, QWidget parent); + private native void newKToolBarButton(TQPixmap pixmap, int id, TQWidget parent); /** Construct a separator button @param parent This button's parent @param name This button's internal name @short Construct a separator button */ - public KToolBarButton(QWidget parent, String name) { + public KToolBarButton(TQWidget parent, String name) { super((Class) null); newKToolBarButton(parent,name); } - private native void newKToolBarButton(QWidget parent, String name); - public KToolBarButton(QWidget parent) { + private native void newKToolBarButton(TQWidget parent, String name); + public KToolBarButton(TQWidget parent) { super((Class) null); newKToolBarButton(parent); } - private native void newKToolBarButton(QWidget parent); + private native void newKToolBarButton(TQWidget parent); public KToolBarButton() { super((Class) null); newKToolBarButton(); @@ -121,15 +121,15 @@ public class KToolBarButton extends QToolButton { @short Set the icon for this button. */ public native void setIcon(String icon); - public native void setIcon(QPixmap pixmap); + public native void setIcon(TQPixmap pixmap); /** - Set the pixmaps for this toolbar button from a QIconSet. + Set the pixmaps for this toolbar button from a TQIconSet. If you call this you don't need to call any of the other methods that set icons or pixmaps. @param iconset The iconset to use - @short Set the pixmaps for this toolbar button from a QIconSet. + @short Set the pixmaps for this toolbar button from a TQIconSet. */ - public native void setIconSet(QIconSet iconset); + public native void setIconSet(TQIconSet iconset); /** Turn this button on or off @param flag true or false @@ -155,7 +155,7 @@ public class KToolBarButton extends QToolButton { Return a pointer to this button's popup menu (if it exists) @short Return a pointer to this button's popup menu (if it exists) */ - public native QPopupMenu popup(); + public native TQPopupMenu popup(); /** Returns the button's id. @short Returns the button's id. @@ -169,8 +169,8 @@ public class KToolBarButton extends QToolButton { @param unused Has no effect - ignore it. @short Give this button a popup menu. */ - public native void setPopup(QPopupMenu p, boolean unused); - public native void setPopup(QPopupMenu p); + public native void setPopup(TQPopupMenu p, boolean unused); + public native void setPopup(TQPopupMenu p); /** Gives this button a delayed popup menu. This function allows you to add a delayed popup menu to the button. @@ -180,8 +180,8 @@ public class KToolBarButton extends QToolButton { @param unused Has no effect - ignore it. @short Gives this button a delayed popup menu. */ - public native void setDelayedPopup(QPopupMenu p, boolean unused); - public native void setDelayedPopup(QPopupMenu p); + public native void setDelayedPopup(TQPopupMenu p, boolean unused); + public native void setDelayedPopup(TQPopupMenu p); /** Turn this button into a radio button @param f true or false @@ -206,18 +206,18 @@ public class KToolBarButton extends QToolButton { */ public native void modeChange(); public native void setTextLabel(String arg1, boolean tipToo); - public native boolean event(QEvent e); - protected native void paletteChange(QPalette arg1); - protected native void leaveEvent(QEvent e); - protected native void enterEvent(QEvent e); - protected native void drawButton(QPainter p); - public native boolean eventFilter(QObject o, QEvent e); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); + public native boolean event(TQEvent e); + protected native void paletteChange(TQPalette arg1); + protected native void leaveEvent(TQEvent e); + protected native void enterEvent(TQEvent e); + protected native void drawButton(TQPainter p); + public native boolean eventFilter(TQObject o, TQEvent e); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); protected native void showMenu(); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); - public native QSize minimumSize(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native TQSize minimumSize(); protected native boolean isRaised(); protected native boolean isActive(); protected native int iconTextMode(); diff --git a/kdejava/koala/org/kde/koala/KToolBarButtonSignals.java b/kdejava/koala/org/kde/koala/KToolBarButtonSignals.java index 4b24477f..6df48ea4 100644 --- a/kdejava/koala/org/kde/koala/KToolBarButtonSignals.java +++ b/kdejava/koala/org/kde/koala/KToolBarButtonSignals.java @@ -1,18 +1,18 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QSize; -import org.kde.qt.QPainter; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; -import org.kde.qt.QPalette; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSize; +import org.kde.qt.TQPainter; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; +import org.kde.qt.TQPalette; public interface KToolBarButtonSignals { /** diff --git a/kdejava/koala/org/kde/koala/KToolBarPopupAction.java b/kdejava/koala/org/kde/koala/KToolBarPopupAction.java index bc2a7546..203285c0 100644 --- a/kdejava/koala/org/kde/koala/KToolBarPopupAction.java +++ b/kdejava/koala/org/kde/koala/KToolBarPopupAction.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQWidget; /** @@ -19,7 +19,7 @@ import org.kde.qt.QWidget; */ public class KToolBarPopupAction extends KAction { protected KToolBarPopupAction(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create a KToolBarPopupAction, with a text, an icon, an optional accelerator, @@ -31,16 +31,16 @@ public class KToolBarPopupAction extends KAction { @param name An internal name for this action. @short Create a KToolBarPopupAction, with a text, an icon, an optional accelerator, parent and name. */ - public KToolBarPopupAction(String text, String icon, KShortcut cut, QObject parent, String name) { + public KToolBarPopupAction(String text, String icon, KShortcut cut, TQObject parent, String name) { super((Class) null); newKToolBarPopupAction(text,icon,cut,parent,name); } - private native void newKToolBarPopupAction(String text, String icon, KShortcut cut, QObject parent, String name); - public KToolBarPopupAction(String text, String icon, KShortcut cut, QObject parent) { + private native void newKToolBarPopupAction(String text, String icon, KShortcut cut, TQObject parent, String name); + public KToolBarPopupAction(String text, String icon, KShortcut cut, TQObject parent) { super((Class) null); newKToolBarPopupAction(text,icon,cut,parent); } - private native void newKToolBarPopupAction(String text, String icon, KShortcut cut, QObject parent); + private native void newKToolBarPopupAction(String text, String icon, KShortcut cut, TQObject parent); public KToolBarPopupAction(String text, String icon, KShortcut cut) { super((Class) null); newKToolBarPopupAction(text,icon,cut); @@ -65,16 +65,16 @@ public class KToolBarPopupAction extends KAction { @param name An internal name for this action. @short Create a KToolBarPopupAction, with a text, an icon, an accelerator, a slot connected to the action, parent and name. */ - public KToolBarPopupAction(String text, String icon, KShortcut cut, QObject receiver, String slot, QObject parent, String name) { + public KToolBarPopupAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name) { super((Class) null); newKToolBarPopupAction(text,icon,cut,receiver,slot,parent,name); } - private native void newKToolBarPopupAction(String text, String icon, KShortcut cut, QObject receiver, String slot, QObject parent, String name); - public KToolBarPopupAction(String text, String icon, KShortcut cut, QObject receiver, String slot, QObject parent) { + private native void newKToolBarPopupAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent, String name); + public KToolBarPopupAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent) { super((Class) null); newKToolBarPopupAction(text,icon,cut,receiver,slot,parent); } - private native void newKToolBarPopupAction(String text, String icon, KShortcut cut, QObject receiver, String slot, QObject parent); + private native void newKToolBarPopupAction(String text, String icon, KShortcut cut, TQObject receiver, String slot, TQObject parent); /** Create a KToolBarPopupAction, with a KGuiItem, an accelerator, a slot connected to the action, parent and name. The text and the @@ -89,13 +89,13 @@ public class KToolBarPopupAction extends KAction { @param name An internal name for this action. @short Create a KToolBarPopupAction, with a KGuiItem, an accelerator, a slot connected to the action, parent and name. */ - public KToolBarPopupAction(KGuiItem item, KShortcut cut, QObject receiver, String slot, KActionCollection parent, String name) { + public KToolBarPopupAction(KGuiItem item, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name) { super((Class) null); newKToolBarPopupAction(item,cut,receiver,slot,parent,name); } - private native void newKToolBarPopupAction(KGuiItem item, KShortcut cut, QObject receiver, String slot, KActionCollection parent, String name); - public native int plug(QWidget widget, int index); - public native int plug(QWidget widget); + private native void newKToolBarPopupAction(KGuiItem item, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name); + public native int plug(TQWidget widget, int index); + public native int plug(TQWidget widget); /** The popup menu that is shown when clicking (some time) on the toolbar button. You may want to plug items into it on creation, or connect to diff --git a/kdejava/koala/org/kde/koala/KToolBarRadioGroup.java b/kdejava/koala/org/kde/koala/KToolBarRadioGroup.java index 9d9608bf..adf9576f 100644 --- a/kdejava/koala/org/kde/koala/KToolBarRadioGroup.java +++ b/kdejava/koala/org/kde/koala/KToolBarRadioGroup.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -20,9 +20,9 @@ import org.kde.qt.QObject; @short Class for group of radio butons in toolbar. */ -public class KToolBarRadioGroup extends QObject { +public class KToolBarRadioGroup extends TQObject { protected KToolBarRadioGroup(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. Parent must be KToolBar . diff --git a/kdejava/koala/org/kde/koala/KToolBarSeparator.java b/kdejava/koala/org/kde/koala/KToolBarSeparator.java index d1beb5a3..8ac7cf9c 100644 --- a/kdejava/koala/org/kde/koala/KToolBarSeparator.java +++ b/kdejava/koala/org/kde/koala/KToolBarSeparator.java @@ -2,38 +2,38 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QSize; -import org.kde.qt.QPainter; -import org.kde.qt.QSizePolicy; -import org.kde.qt.QToolBar; -import org.kde.qt.QStyle; -import org.kde.qt.QFrame; +import org.kde.qt.TQSize; +import org.kde.qt.TQPainter; +import org.kde.qt.TQSizePolicy; +import org.kde.qt.TQToolBar; +import org.kde.qt.TQStyle; +import org.kde.qt.TQFrame; /** */ -public class KToolBarSeparator extends QFrame { +public class KToolBarSeparator extends TQFrame { protected KToolBarSeparator(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KToolBarSeparator(int arg1, boolean l, QToolBar parent, String name) { + public KToolBarSeparator(int arg1, boolean l, TQToolBar parent, String name) { super((Class) null); newKToolBarSeparator(arg1,l,parent,name); } - private native void newKToolBarSeparator(int arg1, boolean l, QToolBar parent, String name); - public KToolBarSeparator(int arg1, boolean l, QToolBar parent) { + private native void newKToolBarSeparator(int arg1, boolean l, TQToolBar parent, String name); + public KToolBarSeparator(int arg1, boolean l, TQToolBar parent) { super((Class) null); newKToolBarSeparator(arg1,l,parent); } - private native void newKToolBarSeparator(int arg1, boolean l, QToolBar parent); - public native QSize sizeHint(); + private native void newKToolBarSeparator(int arg1, boolean l, TQToolBar parent); + public native TQSize sizeHint(); public native int orientation(); - public native QSizePolicy sizePolicy(); + public native TQSizePolicy sizePolicy(); public native boolean showLine(); public native void setOrientation(int arg1); - public native void styleChange(QStyle arg1); - protected native void drawContents(QPainter arg1); + public native void styleChange(TQStyle arg1); + protected native void drawContents(TQPainter arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KToolBarSignals.java b/kdejava/koala/org/kde/koala/KToolBarSignals.java index d220ee4a..a1a98cc2 100644 --- a/kdejava/koala/org/kde/koala/KToolBarSignals.java +++ b/kdejava/koala/org/kde/koala/KToolBarSignals.java @@ -1,22 +1,22 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMainWindow; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMainWindow; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPopupMenu; -import org.kde.qt.QPixmap; -import org.kde.qt.QSize; -import org.kde.qt.QSizePolicy; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QShowEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QIconSet; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QDomElement; -import org.kde.qt.QChildEvent; +import org.kde.qt.TQObject; +import org.kde.qt.TQPopupMenu; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSize; +import org.kde.qt.TQSizePolicy; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQIconSet; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQDomElement; +import org.kde.qt.TQChildEvent; public interface KToolBarSignals { /** @@ -30,7 +30,7 @@ public interface KToolBarSignals { recive two clicked() , pressed() and released() signals. There is no way to avoid it - at least no easy way. If you need to resolve this all you can do is set up timers - which wait for QApplication.doubleClickInterval() to expire. + which wait for TQApplication.doubleClickInterval() to expire. If in that time you don't get this signal, you may belive that button was only clicked and not double-clicked. And please note that butons with popup menus do not emit this signal, diff --git a/kdejava/koala/org/kde/koala/KTrader.java b/kdejava/koala/org/kde/koala/KTrader.java index 519ac328..4e780caf 100644 --- a/kdejava/koala/org/kde/koala/KTrader.java +++ b/kdejava/koala/org/kde/koala/KTrader.java @@ -2,17 +2,17 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** A Trader interface, similar to the CORBA Trader. Basically, it provides a way for an application to query all KDE services (that is, applications and components) that match - a specific set of requirements. This allows you to find an + a specific set of retquirements. This allows you to find an application in real-time without you having to hard-code the name and/or path of the application. It is mostly used when you want to do complex queries that KServiceTypeProfile can't handle. @@ -72,14 +72,14 @@ import org.kde.qt.QObject; @short Provides a way to query the KDE infrastructure for specific applications or components. */ -public class KTrader extends QObject { +public class KTrader extends TQObject { protected KTrader(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** The main function in the KTrader class. It will return a list of services that match your - specifications. The only required parameter is the service + specifications. The only retquired parameter is the service type. This is something like 'text/plain' or 'text/html'. The constraint parameter is used to limit the possible choices returned based on the constraints you give it. diff --git a/kdejava/koala/org/kde/koala/KURIFilter.java b/kdejava/koala/org/kde/koala/KURIFilter.java index 46c910da..0cbad9d8 100644 --- a/kdejava/koala/org/kde/koala/KURIFilter.java +++ b/kdejava/koala/org/kde/koala/KURIFilter.java @@ -134,7 +134,7 @@ public class KURIFilter implements QtSupport { @short Return an iterator to iterate over all loaded plugins. */ - // QPtrListIterator<KURIFilterPlugin> pluginsIterator(); >>>> NOT CONVERTED + // TQPtrListIterator<KURIFilterPlugin> pluginsIterator(); >>>> NOT CONVERTED /** Return a list of the names of all loaded plugins. @return an ArrayList of plugin names diff --git a/kdejava/koala/org/kde/koala/KURIFilterData.java b/kdejava/koala/org/kde/koala/KURIFilterData.java index f74e035b..4563fbb4 100644 --- a/kdejava/koala/org/kde/koala/KURIFilterData.java +++ b/kdejava/koala/org/kde/koala/KURIFilterData.java @@ -9,7 +9,7 @@ import org.kde.qt.QtSupport; A basic message object used for exchanging filtering information between the filter plugins and the application requesting the filtering service. - Use this object if you require a more detailed information + Use this object if you retquire a more detailed information about the URI you want to filter. Any application can create an instance of this class and send it to KURIFilter to have the plugins fill out all possible information about the diff --git a/kdejava/koala/org/kde/koala/KURIFilterPlugin.java b/kdejava/koala/org/kde/koala/KURIFilterPlugin.java index 37007538..cb80631d 100644 --- a/kdejava/koala/org/kde/koala/KURIFilterPlugin.java +++ b/kdejava/koala/org/kde/koala/KURIFilterPlugin.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -19,9 +19,9 @@ import org.kde.qt.QObject; @short Abstract class for URI filter plugins. */ -public class KURIFilterPlugin extends QObject { +public class KURIFilterPlugin extends TQObject { protected KURIFilterPlugin(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a filter plugin with a given name and @@ -63,7 +63,7 @@ public class KURIFilterPlugin extends QObject { @short Creates a configuration module for the filter. */ - public native KCModule configModule(QWidget arg1, String arg2); + public native KCModule configModule(TQWidget arg1, String arg2); /** Returns the name of the configuration module for the filter. @return the name of a configuration module or null if none. diff --git a/kdejava/koala/org/kde/koala/KURL.java b/kdejava/koala/org/kde/koala/KURL.java index ffe07bcf..d8872e3a 100644 --- a/kdejava/koala/org/kde/koala/KURL.java +++ b/kdejava/koala/org/kde/koala/KURL.java @@ -3,9 +3,9 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QUrlInterface; +import org.kde.qt.TQUrlInterface; import java.util.ArrayList; -import org.kde.qt.QUrl; +import org.kde.qt.TQUrl; /** @@ -140,7 +140,7 @@ public class KURL implements QtSupport { @param url a URL, not a filename. If the URL does not have a protocol part, @c "file:" is assumed @param encoding_hint MIB of original encoding of URL. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Usual constructor, to construct from a string @see #fromPathOrURL */ @@ -164,13 +164,13 @@ public class KURL implements QtSupport { /** @brief Constructor taking a Qt URL Converts from a Qt URL. - @param u the QUrl + @param u the TQUrl @short @brief Constructor taking a Qt URL */ - public KURL(QUrlInterface u) { + public KURL(TQUrlInterface u) { newKURL(u); } - private native void newKURL(QUrlInterface u); + private native void newKURL(TQUrlInterface u); /** @brief Constructor allowing relative URLs @warning It is dangerous to feed UNIX filenames into this function, @@ -188,7 +188,7 @@ public class KURL implements QtSupport { So do NOT pass a path here (use setPath() or addPath() or fromPathOrURL() instead) @param encoding_hint MIB of original encoding of URL. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Constructor allowing relative URLs @see #fromPathOrURL */ @@ -445,7 +445,7 @@ public class KURL implements QtSupport { The encoded path is the concatenation of the current path and the query. @param _txt the new encoded path and encoded query @param encoding_hint MIB of original encoding of <code>_txt</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Sets both path and query of the URL in their encoded form @see #encodedPathAndQuery @see #setPath @@ -457,7 +457,7 @@ public class KURL implements QtSupport { @brief Sets the (already encoded) path of the URL @param _txt the new encoded path @param encoding_hint MIB of original encoding of <code>_txt</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Sets the (already encoded) path of the URL @see #setEncodedPathAndQuery @see #setPath @@ -482,7 +482,7 @@ public class KURL implements QtSupport { @param _no_empty_path if set to <code>true</code> then an empty path is substituted by @c "/" @param encoding_hint MIB of desired encoding of URL. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @return the concatenation of the encoded path , @c '?' and the encoded query @@ -501,7 +501,7 @@ public class KURL implements QtSupport { @param _txt this is considered to be encoded. This has a good reason: the query may contain the @c '0' character @param encoding_hint MIB of the encoding. Reserved, should be <code>0</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Sets the encoded query of the URL @see #query */ @@ -620,13 +620,13 @@ public class KURL implements QtSupport { encoding @short @brief Adds file encoding information @see #fileEncoding - @see org.kde.qt.QTextCodec#codecForName + @see org.kde.qt.TQTextCodec#codecForName */ public native void setFileEncoding(String encoding); /** @brief Returns encoding information of the URL The encoding information is the content of the @c "charset" parameter. - @return an encoding suitable for QTextCodec.codecForName() + @return an encoding suitable for TQTextCodec.codecForName() or @c null if not encoding was specified @short @brief Returns encoding information of the URL @@ -671,7 +671,7 @@ public class KURL implements QtSupport { @brief Returns the value of a certain query item @param item item whose value we want @param encoding_hint MIB of encoding of query. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @return the value of the given query item name or @c null if the specified item does not exist @@ -685,13 +685,13 @@ public class KURL implements QtSupport { /** @short */ - // QMap<QString, QString> queryItems(int arg1); >>>> NOT CONVERTED - // QMap<QString, QString> queryItems(); >>>> NOT CONVERTED + // TQMap<TQString, TQString> queryItems(int arg1); >>>> NOT CONVERTED + // TQMap<TQString, TQString> queryItems(); >>>> NOT CONVERTED /** @brief Returns the list of query items as a map mapping keys to values @param options any of QueryItemsOptions <em>OR</em>ed together @param encoding_hint MIB of encoding of query. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @return the map of query items or the empty map if the URL has no query items @@ -701,7 +701,7 @@ public class KURL implements QtSupport { @see #removeQueryItem @see #query */ - // QMap<QString, QString> queryItems(int arg1,int arg2); >>>> NOT CONVERTED + // TQMap<TQString, TQString> queryItems(int arg1,int arg2); >>>> NOT CONVERTED /** @brief Adds an additional query item To replace an existing query item, the item should first be @@ -709,7 +709,7 @@ public class KURL implements QtSupport { @param _item name of item to add @param _value value of item to add @param encoding_hint MIB of encoding to use for _value. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Adds an additional query item @see #queryItem @see #queryItems @@ -834,7 +834,7 @@ public class KURL implements QtSupport { @c '/', @c +1 adds a trailing @c '/' if there is none yet and <code>0</code> returns the path unchanged @param encoding_hint MIB of encoding to use. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @return the complete URL, with all escape sequences intact, encoded in a given charset @@ -1184,7 +1184,7 @@ public class KURL implements QtSupport { encoding for all common delimiters / non-ascii characters. @param str the string to encode (can be <code>null</code>) @param encoding_hint MIB of encoding to use. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @return the encoded string @short @brief Encodes a string for use in URLs @@ -1201,7 +1201,7 @@ public class KURL implements QtSupport { as well as the slash @c '/'. @param str the string to encode (can be <code>null</code>) @param encoding_hint MIB of encoding to use. - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Encodes a string for use in URLs @see #encode_string @see #decode_string @@ -1215,7 +1215,7 @@ public class KURL implements QtSupport { Reverse of encode_string() @param str the string to decode (can be <code>null</code>) @param encoding_hint MIB of original encoding of <code>str</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @return the decoded string @short @brief Decodes a string as used in URLs @@ -1249,7 +1249,7 @@ public class KURL implements QtSupport { @param base_url the URL to derive from @param url the URL to point to relatively from <code>base_url</code> @param encoding_hint MIB of original encoding of <code>str</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Creates an URL relative to a base URL for a given input URL @see #isRelativeURL @see #relativePath @@ -1285,7 +1285,7 @@ public class KURL implements QtSupport { All String members get reset to <code>null</code>, the port to <code>0</code> the URIMode to <code>Auto</code> and the URL becomes invalid. This is like assigning a null URL, but more efficient as it doesn't - require the temporary object. + retquire the temporary object. Called by constructors, assignment operators and the parse methods in case of a parsing error. @short @brief Resets the members to their "null" state @@ -1298,7 +1298,7 @@ public class KURL implements QtSupport { Treats the string as an URL. @param _url the string to parse @param encoding_hint MIB of original encoding of <code>str</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Parses the given string and fills the URL's values on success */ protected native void parseURL(String _url, int encoding_hint); @@ -1308,7 +1308,7 @@ public class KURL implements QtSupport { Treats the string as a generic URI. @param _url the string to parse @param encoding_hint MIB of original encoding of <code>str</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Parses the given string and fills the URL's values on success */ protected native void parseRawURI(String _url, int encoding_hint); @@ -1318,7 +1318,7 @@ public class KURL implements QtSupport { Treats the string as a @c "mailto:" URI. @param _url the string to parse @param encoding_hint MIB of original encoding of <code>str</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Parses the given string and fills the URL's values on success */ protected native void parseMailto(String _url, int encoding_hint); @@ -1327,7 +1327,7 @@ public class KURL implements QtSupport { @brief Parses the given string and fills the URL's values on success @param _url the string to parse @param encoding_hint MIB of original encoding of <code>str</code> . - See QTextCodec.mibEnum() + See TQTextCodec.mibEnum() @short @brief Parses the given string and fills the URL's values on success */ protected native void parse(String _url, int encoding_hint); diff --git a/kdejava/koala/org/kde/koala/KURLBar.java b/kdejava/koala/org/kde/koala/KURLBar.java index b5cb6c7a..7fa969ea 100644 --- a/kdejava/koala/org/kde/koala/KURLBar.java +++ b/kdejava/koala/org/kde/koala/KURLBar.java @@ -2,16 +2,16 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QListBoxItem; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQListBoxItem; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QSize; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QPalette; -import org.kde.qt.QResizeEvent; -import org.kde.qt.QFrame; +import org.kde.qt.TQPoint; +import org.kde.qt.TQSize; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQPalette; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQFrame; /** @@ -36,30 +36,30 @@ import org.kde.qt.QFrame; @short A URL-bar widget, as used in the KFileDialog. */ -public class KURLBar extends QFrame { +public class KURLBar extends TQFrame { protected KURLBar(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KURLBar. Set <code>useGlobalItems</code> to true if you want to allow global/local item separation. @short Constructs a KURLBar. */ - public KURLBar(boolean useGlobalItems, QWidget parent, String name, int f) { + public KURLBar(boolean useGlobalItems, TQWidget parent, String name, int f) { super((Class) null); newKURLBar(useGlobalItems,parent,name,f); } - private native void newKURLBar(boolean useGlobalItems, QWidget parent, String name, int f); - public KURLBar(boolean useGlobalItems, QWidget parent, String name) { + private native void newKURLBar(boolean useGlobalItems, TQWidget parent, String name, int f); + public KURLBar(boolean useGlobalItems, TQWidget parent, String name) { super((Class) null); newKURLBar(useGlobalItems,parent,name); } - private native void newKURLBar(boolean useGlobalItems, QWidget parent, String name); - public KURLBar(boolean useGlobalItems, QWidget parent) { + private native void newKURLBar(boolean useGlobalItems, TQWidget parent, String name); + public KURLBar(boolean useGlobalItems, TQWidget parent) { super((Class) null); newKURLBar(useGlobalItems,parent); } - private native void newKURLBar(boolean useGlobalItems, QWidget parent); + private native void newKURLBar(boolean useGlobalItems, TQWidget parent); public KURLBar(boolean useGlobalItems) { super((Class) null); newKURLBar(useGlobalItems); @@ -146,13 +146,13 @@ public class KURLBar extends QFrame { @short */ - public native QSize sizeHint(); + public native TQSize sizeHint(); /** @return a proper minimum size (reimplemented) @short */ - public native QSize minimumSizeHint(); + public native TQSize minimumSizeHint(); /** Call this method to read a saved configuration from <code>config</code>, inside the group <code>itemGroup.</code> All items in there will be restored. @@ -245,26 +245,26 @@ public class KURLBar extends QFrame { @short Pops up a KURLBarItemDialog to let the user edit the properties of <code>item.</code> */ protected native boolean editItem(KURLBarItem item); - protected native void resizeEvent(QResizeEvent arg1); - protected native void paletteChange(QPalette arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void paletteChange(TQPalette arg1); /** Reimplemented to show a contextmenu, allowing the user to add, edit or remove items, or change the iconsize. @short Reimplemented to show a contextmenu, allowing the user to add, edit or remove items, or change the iconsize. */ - protected native void slotContextMenuRequested(QListBoxItem arg1, QPoint pos); + protected native void slotContextMenuRequested(TQListBoxItem arg1, TQPoint pos); /** Called when an item has been selected. Emits the activated() signal. @short Called when an item has been selected. */ - protected native void slotSelected(QListBoxItem arg1); + protected native void slotSelected(TQListBoxItem arg1); /** Called when a url was dropped onto the bar to show a KURLBarItemDialog. @short Called when a url was dropped onto the bar to show a KURLBarItemDialog. */ - protected native void slotDropped(QDropEvent arg1); + protected native void slotDropped(TQDropEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KURLBarItem.java b/kdejava/koala/org/kde/koala/KURLBarItem.java index 1f28c39f..2a835ace 100644 --- a/kdejava/koala/org/kde/koala/KURLBarItem.java +++ b/kdejava/koala/org/kde/koala/KURLBarItem.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QListBox; +import org.kde.qt.TQListBox; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QSize; -import org.kde.qt.QPainter; -import org.kde.qt.QListBoxPixmap; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQSize; +import org.kde.qt.TQPainter; +import org.kde.qt.TQListBoxPixmap; /** @@ -20,7 +20,7 @@ import org.kde.qt.QListBoxPixmap; @see KURLBarListBox */ -public class KURLBarItem extends QListBoxPixmap { +public class KURLBarItem extends TQListBoxPixmap { protected KURLBarItem(Class dummy){super((Class) null);} /** Creates a KURLBarItem to be used in the <code>parent</code> KURLBar. You need @@ -117,17 +117,17 @@ public class KURLBarItem extends QListBoxPixmap { returns the preferred size of this item @short returns the preferred size of this item */ - public native QSize sizeHint(); + public native TQSize sizeHint(); /** returns the width of this item. @short returns the width of this item. */ - public native int width(QListBox arg1); + public native int width(TQListBox arg1); /** returns the height of this item. @short returns the height of this item. */ - public native int height(QListBox arg1); + public native int height(TQListBox arg1); /** returns the url of this item. @short returns the url of this item. @@ -162,7 +162,7 @@ public class KURLBarItem extends QListBoxPixmap { returns the pixmap of this item. @short returns the pixmap of this item. */ - public native QPixmap pixmap(); + public native TQPixmap pixmap(); /** Makes this item a local or global one. This has only an effect on persistent items of course. @@ -185,7 +185,7 @@ public class KURLBarItem extends QListBoxPixmap { @short returns whether this item is persistent (via KURLBar.writeConfig() and KURLBar.readConfig()) or not. */ public native boolean isPersistent(); - protected native void paint(QPainter p); + protected native void paint(TQPainter p); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KURLBarItemDialog.java b/kdejava/koala/org/kde/koala/KURLBarItemDialog.java index 09f01d69..473c63fe 100644 --- a/kdejava/koala/org/kde/koala/KURLBarItemDialog.java +++ b/kdejava/koala/org/kde/koala/KURLBarItemDialog.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -18,7 +18,7 @@ import org.kde.qt.QWidget; */ public class KURLBarItemDialog extends KDialogBase { protected KURLBarItemDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KURLBarItemDialog. @@ -36,16 +36,16 @@ public class KURLBarItemDialog extends KDialogBase { used (KMimeType.pixmapForURL()). @short Constructs a KURLBarItemDialog. */ - public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, QWidget parent, String name) { + public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent, String name) { super((Class) null); newKURLBarItemDialog(allowGlobal,url,description,icon,appLocal,iconSize,parent,name); } - private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, QWidget parent, String name); - public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, QWidget parent) { + private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent, String name); + public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent) { super((Class) null); newKURLBarItemDialog(allowGlobal,url,description,icon,appLocal,iconSize,parent); } - private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, QWidget parent); + private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent); public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize) { super((Class) null); newKURLBarItemDialog(allowGlobal,url,description,icon,appLocal,iconSize); @@ -95,7 +95,7 @@ public class KURLBarItemDialog extends KDialogBase { See the KURLBarItem constructor for the parameter description. @short A convenience method to show the dialog and retrieve all the properties via the given parameters. */ - public static native boolean getInformation(boolean allowGlobal, KURL url, StringBuffer description, StringBuffer icon, boolean appLocal, int iconSize, QWidget parent); + public static native boolean getInformation(boolean allowGlobal, KURL url, StringBuffer description, StringBuffer icon, boolean appLocal, int iconSize, TQWidget parent); public static native boolean getInformation(boolean allowGlobal, KURL url, StringBuffer description, StringBuffer icon, boolean appLocal, int iconSize); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KURLBarListBox.java b/kdejava/koala/org/kde/koala/KURLBarListBox.java index 7bcf7f9d..5f4e11da 100644 --- a/kdejava/koala/org/kde/koala/KURLBarListBox.java +++ b/kdejava/koala/org/kde/koala/KURLBarListBox.java @@ -2,14 +2,14 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QContextMenuEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QDragObject; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQContextMenuEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDragObject; /** @@ -24,22 +24,22 @@ import org.kde.qt.QDragObject; */ public class KURLBarListBox extends KListBox { protected KURLBarListBox(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KURLBarListBox. @short Constructs a KURLBarListBox. */ - public KURLBarListBox(QWidget parent, String name) { + public KURLBarListBox(TQWidget parent, String name) { super((Class) null); newKURLBarListBox(parent,name); } - private native void newKURLBarListBox(QWidget parent, String name); - public KURLBarListBox(QWidget parent) { + private native void newKURLBarListBox(TQWidget parent, String name); + public KURLBarListBox(TQWidget parent) { super((Class) null); newKURLBarListBox(parent); } - private native void newKURLBarListBox(QWidget parent); + private native void newKURLBarListBox(TQWidget parent); public KURLBarListBox() { super((Class) null); newKURLBarListBox(); @@ -62,15 +62,15 @@ public class KURLBarListBox extends KListBox { public native int orientation(); public native boolean isVertical(); /** - @return a suitable QDragObject when an item is dragged. + @return a suitable TQDragObject when an item is dragged. @short */ - protected native QDragObject dragObject(); - protected native void contentsDragEnterEvent(QDragEnterEvent arg1); - protected native void contentsDropEvent(QDropEvent arg1); - protected native void contextMenuEvent(QContextMenuEvent arg1); - protected native void paintEvent(QPaintEvent arg1); + protected native TQDragObject dragObject(); + protected native void contentsDragEnterEvent(TQDragEnterEvent arg1); + protected native void contentsDropEvent(TQDropEvent arg1); + protected native void contextMenuEvent(TQContextMenuEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KURLBarListBoxSignals.java b/kdejava/koala/org/kde/koala/KURLBarListBoxSignals.java index 4bf20326..0cbc10e6 100644 --- a/kdejava/koala/org/kde/koala/KURLBarListBoxSignals.java +++ b/kdejava/koala/org/kde/koala/KURLBarListBoxSignals.java @@ -1,19 +1,19 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QDragEnterEvent; -import org.kde.qt.QContextMenuEvent; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QDragObject; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQContextMenuEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDragObject; public interface KURLBarListBoxSignals { /** Emitted when a drop-event happened. @short Emitted when a drop-event happened. */ - void dropped(QDropEvent e); + void dropped(TQDropEvent e); } diff --git a/kdejava/koala/org/kde/koala/KURLBarSignals.java b/kdejava/koala/org/kde/koala/KURLBarSignals.java index b1edaeaf..3b772cde 100644 --- a/kdejava/koala/org/kde/koala/KURLBarSignals.java +++ b/kdejava/koala/org/kde/koala/KURLBarSignals.java @@ -1,15 +1,15 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QListBoxItem; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQListBoxItem; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QSize; -import org.kde.qt.QDropEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QPalette; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQPoint; +import org.kde.qt.TQSize; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQPalette; +import org.kde.qt.TQResizeEvent; public interface KURLBarSignals { /** diff --git a/kdejava/koala/org/kde/koala/KURLComboBox.java b/kdejava/koala/org/kde/koala/KURLComboBox.java index 3154f4e1..720ba032 100644 --- a/kdejava/koala/org/kde/koala/KURLComboBox.java +++ b/kdejava/koala/org/kde/koala/KURLComboBox.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; +import org.kde.qt.TQPixmap; import java.util.ArrayList; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -47,7 +47,7 @@ public class KURLComboBox extends KComboBox { public static final int RemoveTop = 0; public static final int RemoveBottom = 1; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KURLComboBox. @@ -74,31 +74,31 @@ public class KURLComboBox extends KComboBox { @param name The name of this widget. @short Constructs a KURLComboBox. */ - public KURLComboBox(int mode, QWidget parent, String name) { + public KURLComboBox(int mode, TQWidget parent, String name) { super((Class) null); newKURLComboBox(mode,parent,name); } - private native void newKURLComboBox(int mode, QWidget parent, String name); - public KURLComboBox(int mode, QWidget parent) { + private native void newKURLComboBox(int mode, TQWidget parent, String name); + public KURLComboBox(int mode, TQWidget parent) { super((Class) null); newKURLComboBox(mode,parent); } - private native void newKURLComboBox(int mode, QWidget parent); + private native void newKURLComboBox(int mode, TQWidget parent); public KURLComboBox(int mode) { super((Class) null); newKURLComboBox(mode); } private native void newKURLComboBox(int mode); - public KURLComboBox(int mode, boolean rw, QWidget parent, String name) { + public KURLComboBox(int mode, boolean rw, TQWidget parent, String name) { super((Class) null); newKURLComboBox(mode,rw,parent,name); } - private native void newKURLComboBox(int mode, boolean rw, QWidget parent, String name); - public KURLComboBox(int mode, boolean rw, QWidget parent) { + private native void newKURLComboBox(int mode, boolean rw, TQWidget parent, String name); + public KURLComboBox(int mode, boolean rw, TQWidget parent) { super((Class) null); newKURLComboBox(mode,rw,parent); } - private native void newKURLComboBox(int mode, boolean rw, QWidget parent); + private native void newKURLComboBox(int mode, boolean rw, TQWidget parent); public KURLComboBox(int mode, boolean rw) { super((Class) null); newKURLComboBox(mode,rw); @@ -179,8 +179,8 @@ public class KURLComboBox extends KComboBox { Default URLs will be inserted into the combobox by setDefaults() @short Adds a url that will always be shown in the combobox, it can't be "rotated away". */ - public native void addDefaultURL(KURL url, QPixmap pix, String text); - public native void addDefaultURL(KURL url, QPixmap pix); + public native void addDefaultURL(KURL url, TQPixmap pix, String text); + public native void addDefaultURL(KURL url, TQPixmap pix); /** Clears all items and inserts the default urls into the combo. Will be called implicitly upon the first call to setURLs() or setURL() @@ -202,14 +202,14 @@ public class KURLComboBox extends KComboBox { In directory mode, a folder icon is always returned. @short Uses KMimeType.pixmapForURL() to return a proper pixmap for <code>url.</code> */ - protected native QPixmap getPixmap(KURL url); + protected native TQPixmap getPixmap(KURL url); /** Updates <code>item</code> with <code>pixmap</code> and sets the url instead of the text of the KURLComboItem. Also works around a Qt bug. @short Updates <code>item</code> with <code>pixmap</code> and sets the url instead of the text of the KURLComboItem. */ - // void updateItem(const KURLComboBox::KURLComboItem* arg1,int arg2,const QPixmap& arg3); >>>> NOT CONVERTED + // void updateItem(const KURLComboBox::KURLComboItem* arg1,int arg2,const TQPixmap& arg3); >>>> NOT CONVERTED protected native void slotActivated(int arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KURLComboBoxSignals.java b/kdejava/koala/org/kde/koala/KURLComboBoxSignals.java index 48950062..d2c24ec1 100644 --- a/kdejava/koala/org/kde/koala/KURLComboBoxSignals.java +++ b/kdejava/koala/org/kde/koala/KURLComboBoxSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; +import org.kde.qt.TQPixmap; import java.util.ArrayList; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KURLComboBoxSignals { /** diff --git a/kdejava/koala/org/kde/koala/KURLComboRequester.java b/kdejava/koala/org/kde/koala/KURLComboRequester.java index cfd13371..833f8fb3 100644 --- a/kdejava/koala/org/kde/koala/KURLComboRequester.java +++ b/kdejava/koala/org/kde/koala/KURLComboRequester.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -14,22 +14,22 @@ import org.kde.qt.QWidget; */ public class KURLComboRequester extends KURLRequester { protected KURLComboRequester(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KURLRequester widget with a combobox. @short Constructs a KURLRequester widget with a combobox. */ - public KURLComboRequester(QWidget parent, String name) { + public KURLComboRequester(TQWidget parent, String name) { super((Class) null); newKURLComboRequester(parent,name); } - private native void newKURLComboRequester(QWidget parent, String name); - public KURLComboRequester(QWidget parent) { + private native void newKURLComboRequester(TQWidget parent, String name); + public KURLComboRequester(TQWidget parent) { super((Class) null); newKURLComboRequester(parent); } - private native void newKURLComboRequester(QWidget parent); + private native void newKURLComboRequester(TQWidget parent); public KURLComboRequester() { super((Class) null); newKURLComboRequester(); diff --git a/kdejava/koala/org/kde/koala/KURLCompletion.java b/kdejava/koala/org/kde/koala/KURLCompletion.java index 93981942..f433b9a5 100644 --- a/kdejava/koala/org/kde/koala/KURLCompletion.java +++ b/kdejava/koala/org/kde/koala/KURLCompletion.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QCustomEvent; +import org.kde.qt.TQCustomEvent; /** @@ -38,7 +38,7 @@ public class KURLCompletion extends KCompletion { public static final int FileCompletion = 2; public static final int DirCompletion = 3; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KURLCompletion object in FileCompletion mode. @@ -164,7 +164,7 @@ public class KURLCompletion extends KCompletion { protected native void postProcessMatch(StringBuffer match); protected native void postProcessMatches(String[] matches); // void postProcessMatches(KCompletionMatches* arg1); >>>> NOT CONVERTED - protected native void customEvent(QCustomEvent e); + protected native void customEvent(TQCustomEvent e); // void slotEntries(KIO::Job* arg1,const KIO::UDSEntryList& arg2); >>>> NOT CONVERTED protected native void slotIOFinished(Job arg1); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KURLDrag.java b/kdejava/koala/org/kde/koala/KURLDrag.java index 63db342f..45e00e3d 100644 --- a/kdejava/koala/org/kde/koala/KURLDrag.java +++ b/kdejava/koala/org/kde/koala/KURLDrag.java @@ -2,17 +2,17 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMimeSourceInterface; +import org.kde.qt.TQMimeSourceInterface; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QMimeSource; -import org.kde.qt.QWidget; -import org.kde.qt.QUriDrag; +import org.kde.qt.TQMimeSource; +import org.kde.qt.TQWidget; +import org.kde.qt.TQUriDrag; /** - This class is to be used instead of QUriDrag when using KURL. - The reason is: QUriDrag (and the XDND/W3C standards) expect URLs to + This class is to be used instead of TQUriDrag when using KURL. + The reason is: TQUriDrag (and the XDND/W3C standards) expect URLs to be encoded in UTF-8 (unicode), but KURL uses the current locale by default. The other reasons for using this class are: @@ -24,36 +24,36 @@ import org.kde.qt.QUriDrag; <li> it has support for metadata, shipped as part of the dragobject This is important, for instance to set a correct HTTP referrer (some websites - require it for downloading e.g. an image). + retquire it for downloading e.g. an image). </li> To create a drag object, use the KURLDrag constructor. - To handle drops, use QUriDrag.canDecode() and KURLDrag.decode() - @short This class is to be used instead of QUriDrag when using KURL. + To handle drops, use TQUriDrag.canDecode() and KURLDrag.decode() + @short This class is to be used instead of TQUriDrag when using KURL. */ -public class KURLDrag extends QUriDrag { +public class KURLDrag extends TQUriDrag { protected KURLDrag(Class dummy){super((Class) null);} /** Constructs an object to drag the list of URLs in <code>urls.</code> - The <code>dragSource</code> and <code>name</code> arguments are passed on to QUriDrag, + The <code>dragSource</code> and <code>name</code> arguments are passed on to TQUriDrag, and the list of urls is converted to UTF-8 before being passed - to QUriDrag. + to TQUriDrag. @param urls the list of URLs - @param dragSource the parent of the QObject. Should be set when doing drag-n-drop, + @param dragSource the parent of the TQObject. Should be set when doing drag-n-drop, but should be 0 when copying to the clipboard - @param name the name of the QObject + @param name the name of the TQObject @short Constructs an object to drag the list of URLs in <code>urls.</code> */ - public KURLDrag(ArrayList urls, QWidget dragSource, String name) { + public KURLDrag(ArrayList urls, TQWidget dragSource, String name) { super((Class) null); newKURLDrag(urls,dragSource,name); } - private native void newKURLDrag(ArrayList urls, QWidget dragSource, String name); - public KURLDrag(ArrayList urls, QWidget dragSource) { + private native void newKURLDrag(ArrayList urls, TQWidget dragSource, String name); + public KURLDrag(ArrayList urls, TQWidget dragSource) { super((Class) null); newKURLDrag(urls,dragSource); } - private native void newKURLDrag(ArrayList urls, QWidget dragSource); + private native void newKURLDrag(ArrayList urls, TQWidget dragSource); public KURLDrag(ArrayList urls) { super((Class) null); newKURLDrag(urls); @@ -64,15 +64,15 @@ public class KURLDrag extends QUriDrag { This version also includes metadata. @param urls the list of URLs @param metaData a map containing meta data - @param dragSource the parent of the QObject. Should be set when doing drag-n-drop, + @param dragSource the parent of the TQObject. Should be set when doing drag-n-drop, but should be 0 when copying to the clipboard - @param name the name of the QObject + @param name the name of the TQObject @short Constructs an object to drag the list of URLs in <code>urls.</code> @see #metaData */ - // KURLDrag* KURLDrag(const KURL::List& arg1,const QMap<QString, QString>& arg2,QWidget* arg3,const char* arg4); >>>> NOT CONVERTED - // KURLDrag* KURLDrag(const KURL::List& arg1,const QMap<QString, QString>& arg2,QWidget* arg3); >>>> NOT CONVERTED - // KURLDrag* KURLDrag(const KURL::List& arg1,const QMap<QString, QString>& arg2); >>>> NOT CONVERTED + // KURLDrag* KURLDrag(const KURL::List& arg1,const TQMap<TQString, TQString>& arg2,TQWidget* arg3,const char* arg4); >>>> NOT CONVERTED + // KURLDrag* KURLDrag(const KURL::List& arg1,const TQMap<TQString, TQString>& arg2,TQWidget* arg3); >>>> NOT CONVERTED + // KURLDrag* KURLDrag(const KURL::List& arg1,const TQMap<TQString, TQString>& arg2); >>>> NOT CONVERTED /** By default, KURLDrag also exports the URLs as plain text, for e.g. dropping onto a text editor. But in some cases this might not be wanted, e.g. if using the KURLDrag in a KMultipleDrag @@ -89,7 +89,7 @@ public class KURLDrag extends QUriDrag { @short Meta-data to associate with those URLs. @see TransferJob */ - // QMap<QString, QString>& metaData(); >>>> NOT CONVERTED + // TQMap<TQString, TQString>& metaData(); >>>> NOT CONVERTED public native String format(int i); public native byte[] encodedData(String mime); /** @@ -102,7 +102,7 @@ public class KURLDrag extends QUriDrag { @short Convenience method that decodes the contents of <code>e</code> into a list of KURLs. */ - public static native boolean decode(QMimeSourceInterface e, ArrayList urls); + public static native boolean decode(TQMimeSourceInterface e, ArrayList urls); /** Convenience method that decodes the contents of <code>e</code> into a list of KURLs and a set of metadata. Decoding will fail if @@ -115,7 +115,7 @@ public class KURLDrag extends QUriDrag { @short Convenience method that decodes the contents of <code>e</code> into a list of KURLs and a set of metadata. */ - // bool decode(const QMimeSource* arg1,KURL::List& arg2,QMap<QString, QString>& arg3); >>>> NOT CONVERTED + // bool decode(const TQMimeSource* arg1,KURL::List& arg2,TQMap<TQString, TQString>& arg3); >>>> NOT CONVERTED /** Converts a URL to a string representation suitable for dragging. @short Converts a URL to a string representation suitable for dragging. diff --git a/kdejava/koala/org/kde/koala/KURLLabel.java b/kdejava/koala/org/kde/koala/KURLLabel.java index 29cd3806..6dcb74d8 100644 --- a/kdejava/koala/org/kde/koala/KURLLabel.java +++ b/kdejava/koala/org/kde/koala/KURLLabel.java @@ -2,20 +2,20 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QColor; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QCursor; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QLabel; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQCursor; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQLabel; /** - KURLLabel is a drop-in replacement for QLabel that handles text + KURLLabel is a drop-in replacement for TQLabel that handles text in a fashion similar to how an HTML widget handles hyperlinks. The text can be underlined (or not) and set to different colors. It can also "glow" (cycle colors) when the mouse passes over it. @@ -41,29 +41,29 @@ import org.kde.qt.QLabel; @version $Id$ - @short A drop-in replacement for QLabel that displays hyperlinks. + @short A drop-in replacement for TQLabel that displays hyperlinks. */ -public class KURLLabel extends QLabel { +public class KURLLabel extends TQLabel { protected KURLLabel(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Default constructor. - Use setURL() and setText() or QListView.setPixmap() + Use setURL() and setText() or TQListView.setPixmap() to set the resp. properties. @short Default constructor. */ - public KURLLabel(QWidget parent, String name) { + public KURLLabel(TQWidget parent, String name) { super((Class) null); newKURLLabel(parent,name); } - private native void newKURLLabel(QWidget parent, String name); - public KURLLabel(QWidget parent) { + private native void newKURLLabel(TQWidget parent, String name); + public KURLLabel(TQWidget parent) { super((Class) null); newKURLLabel(parent); } - private native void newKURLLabel(QWidget parent); + private native void newKURLLabel(TQWidget parent); public KURLLabel() { super((Class) null); newKURLLabel(); @@ -76,20 +76,20 @@ public class KURLLabel extends QLabel { the <code>url</code> will be used instead. @param parent Passed to lower level constructor @param name Passed to lower level constructor - <code>parent</code> and <code>name</code> are passed to QLabel, which in turn passes + <code>parent</code> and <code>name</code> are passed to TQLabel, which in turn passes them further down @short Convenience constructor. */ - public KURLLabel(String url, String text, QWidget parent, String name) { + public KURLLabel(String url, String text, TQWidget parent, String name) { super((Class) null); newKURLLabel(url,text,parent,name); } - private native void newKURLLabel(String url, String text, QWidget parent, String name); - public KURLLabel(String url, String text, QWidget parent) { + private native void newKURLLabel(String url, String text, TQWidget parent, String name); + public KURLLabel(String url, String text, TQWidget parent) { super((Class) null); newKURLLabel(url,text,parent); } - private native void newKURLLabel(String url, String text, QWidget parent); + private native void newKURLLabel(String url, String text, TQWidget parent); public KURLLabel(String url, String text) { super((Class) null); newKURLLabel(url,text); @@ -145,7 +145,7 @@ public class KURLLabel extends QLabel { @short */ - public native QPixmap altPixmap(); + public native TQPixmap altPixmap(); /** Turns on or off the underlining. When this is on, the @@ -164,7 +164,7 @@ public class KURLLabel extends QLabel { Overridden for internal reasons; the API remains unaffected. @short Overridden for internal reasons; the API remains unaffected. */ - public native void setFont(QFont arg1); + public native void setFont(TQFont arg1); /** Turns on or off the tool tip feature. When this is on, the URL will be displayed as a @@ -187,7 +187,7 @@ public class KURLLabel extends QLabel { color (non-selected). By default, it is <code>blue.</code> @short Sets the highlight color. */ - public native void setHighlightedColor(QColor highcolor); + public native void setHighlightedColor(TQColor highcolor); /** This is an overloaded version for convenience. @short This is an overloaded version for convenience. @@ -201,7 +201,7 @@ public class KURLLabel extends QLabel { when it is selected (clicked). By default, it is <code>red.</code> @short Sets the selected color. */ - public native void setSelectedColor(QColor selcolor); + public native void setSelectedColor(TQColor selcolor); /** This is an overloaded version for convenience. @short This is an overloaded version for convenience. @@ -217,7 +217,7 @@ public class KURLLabel extends QLabel { @param cursor is the custom cursor. <code>null</code> indicates the default "hand cursor". @short Turns the custom cursor feature on or off. */ - public native void setUseCursor(boolean on, QCursor cursor); + public native void setUseCursor(boolean on, TQCursor cursor); public native void setUseCursor(boolean on); /** Turns on or off the "glow" feature. @@ -249,27 +249,27 @@ public class KURLLabel extends QLabel { @short Sets the "alt" pixmap. @see #altPixmap */ - public native void setAltPixmap(QPixmap altPix); + public native void setAltPixmap(TQPixmap altPix); /** Overridden for internal reasons; the API remains unaffected. @short Overridden for internal reasons; the API remains unaffected. */ - protected native void mouseReleaseEvent(QMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); /** Overridden for internal reasons; the API remains unaffected. @short Overridden for internal reasons; the API remains unaffected. */ - protected native void enterEvent(QEvent arg1); + protected native void enterEvent(TQEvent arg1); /** Overridden for internal reasons; the API remains unaffected. @short Overridden for internal reasons; the API remains unaffected. */ - protected native void leaveEvent(QEvent arg1); + protected native void leaveEvent(TQEvent arg1); /** Catch parent palette changes @short Catch parent palette changes */ - public native boolean event(QEvent e); + public native boolean event(TQEvent e); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KURLLabelSignals.java b/kdejava/koala/org/kde/koala/KURLLabelSignals.java index 2d4d05b0..da121a70 100644 --- a/kdejava/koala/org/kde/koala/KURLLabelSignals.java +++ b/kdejava/koala/org/kde/koala/KURLLabelSignals.java @@ -1,15 +1,15 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QColor; -import org.kde.qt.QFont; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQColor; +import org.kde.qt.TQFont; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QCursor; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQCursor; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; public interface KURLLabelSignals { /** diff --git a/kdejava/koala/org/kde/koala/KURLPixmapProvider.java b/kdejava/koala/org/kde/koala/KURLPixmapProvider.java index e9164826..6bf9dba7 100644 --- a/kdejava/koala/org/kde/koala/KURLPixmapProvider.java +++ b/kdejava/koala/org/kde/koala/KURLPixmapProvider.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; +import org.kde.qt.TQPixmap; /** @@ -32,8 +32,8 @@ public class KURLPixmapProvider extends KPixmapProvider { @short Returns a pixmap for <code>url</code> with size <code>size.</code> @see KIcon#StdSizes */ - public native QPixmap pixmapFor(String url, int size); - public native QPixmap pixmapFor(String url); + public native TQPixmap pixmapFor(String url, int size); + public native TQPixmap pixmapFor(String url); public KURLPixmapProvider() { super((Class) null); newKURLPixmapProvider(); diff --git a/kdejava/koala/org/kde/koala/KURLRequester.java b/kdejava/koala/org/kde/koala/KURLRequester.java index f3aa6735..d245702f 100644 --- a/kdejava/koala/org/kde/koala/KURLRequester.java +++ b/kdejava/koala/org/kde/koala/KURLRequester.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QHBox; +import org.kde.qt.TQWidget; +import org.kde.qt.TQHBox; /** @@ -24,24 +24,24 @@ import org.kde.qt.QHBox; @short A widget to request a filename/url from the user. */ -public class KURLRequester extends QHBox { +public class KURLRequester extends TQHBox { protected KURLRequester(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KURLRequester widget. @short Constructs a KURLRequester widget. */ - public KURLRequester(QWidget parent, String name) { + public KURLRequester(TQWidget parent, String name) { super((Class) null); newKURLRequester(parent,name); } - private native void newKURLRequester(QWidget parent, String name); - public KURLRequester(QWidget parent) { + private native void newKURLRequester(TQWidget parent, String name); + public KURLRequester(TQWidget parent) { super((Class) null); newKURLRequester(parent); } - private native void newKURLRequester(QWidget parent); + private native void newKURLRequester(TQWidget parent); public KURLRequester() { super((Class) null); newKURLRequester(); @@ -52,16 +52,16 @@ public class KURLRequester extends QHBox { // TODO KDE4: Use KURL instead @short Constructs a KURLRequester widget with the initial URL <code>url.</code> */ - public KURLRequester(String url, QWidget parent, String name) { + public KURLRequester(String url, TQWidget parent, String name) { super((Class) null); newKURLRequester(url,parent,name); } - private native void newKURLRequester(String url, QWidget parent, String name); - public KURLRequester(String url, QWidget parent) { + private native void newKURLRequester(String url, TQWidget parent, String name); + public KURLRequester(String url, TQWidget parent) { super((Class) null); newKURLRequester(url,parent); } - private native void newKURLRequester(String url, QWidget parent); + private native void newKURLRequester(String url, TQWidget parent); public KURLRequester(String url) { super((Class) null); newKURLRequester(url); @@ -74,16 +74,16 @@ public class KURLRequester extends QHBox { edit-widget is reparented to have the KURLRequester as parent. @short Special constructor, which creates a KURLRequester widget with a custom edit-widget. */ - public KURLRequester(QWidget editWidget, QWidget parent, String name) { + public KURLRequester(TQWidget editWidget, TQWidget parent, String name) { super((Class) null); newKURLRequester(editWidget,parent,name); } - private native void newKURLRequester(QWidget editWidget, QWidget parent, String name); - public KURLRequester(QWidget editWidget, QWidget parent) { + private native void newKURLRequester(TQWidget editWidget, TQWidget parent, String name); + public KURLRequester(TQWidget editWidget, TQWidget parent) { super((Class) null); newKURLRequester(editWidget,parent); } - private native void newKURLRequester(QWidget editWidget, QWidget parent); + private native void newKURLRequester(TQWidget editWidget, TQWidget parent); /** @return the current url in the lineedit. May be malformed, if the user entered something weird. ~user or environment variables are substituted diff --git a/kdejava/koala/org/kde/koala/KURLRequesterDlg.java b/kdejava/koala/org/kde/koala/KURLRequesterDlg.java index 828750ff..93c33f6c 100644 --- a/kdejava/koala/org/kde/koala/KURLRequesterDlg.java +++ b/kdejava/koala/org/kde/koala/KURLRequesterDlg.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -18,7 +18,7 @@ import org.kde.qt.QWidget; */ public class KURLRequesterDlg extends KDialogBase { protected KURLRequesterDlg(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a KURLRequesterDlg. @@ -31,16 +31,16 @@ public class KURLRequesterDlg extends KDialogBase { or not. @short Constructs a KURLRequesterDlg. */ - public KURLRequesterDlg(String url, QWidget parent, String name, boolean modal) { + public KURLRequesterDlg(String url, TQWidget parent, String name, boolean modal) { super((Class) null); newKURLRequesterDlg(url,parent,name,modal); } - private native void newKURLRequesterDlg(String url, QWidget parent, String name, boolean modal); - public KURLRequesterDlg(String url, QWidget parent, String name) { + private native void newKURLRequesterDlg(String url, TQWidget parent, String name, boolean modal); + public KURLRequesterDlg(String url, TQWidget parent, String name) { super((Class) null); newKURLRequesterDlg(url,parent,name); } - private native void newKURLRequesterDlg(String url, QWidget parent, String name); + private native void newKURLRequesterDlg(String url, TQWidget parent, String name); /** Constructs a KURLRequesterDlg. @param url The url of the directory to start in. Use null @@ -53,16 +53,16 @@ public class KURLRequesterDlg extends KDialogBase { or not. @short Constructs a KURLRequesterDlg. */ - public KURLRequesterDlg(String url, String text, QWidget parent, String name, boolean modal) { + public KURLRequesterDlg(String url, String text, TQWidget parent, String name, boolean modal) { super((Class) null); newKURLRequesterDlg(url,text,parent,name,modal); } - private native void newKURLRequesterDlg(String url, String text, QWidget parent, String name, boolean modal); - public KURLRequesterDlg(String url, String text, QWidget parent, String name) { + private native void newKURLRequesterDlg(String url, String text, TQWidget parent, String name, boolean modal); + public KURLRequesterDlg(String url, String text, TQWidget parent, String name) { super((Class) null); newKURLRequesterDlg(url,text,parent,name); } - private native void newKURLRequesterDlg(String url, String text, QWidget parent, String name); + private native void newKURLRequesterDlg(String url, String text, TQWidget parent, String name); /** Returns the fully qualified filename. @short Returns the fully qualified filename. @@ -85,8 +85,8 @@ public class KURLRequesterDlg extends KDialogBase { @param caption The caption to use for the dialog. @short Creates a modal dialog, executes it and returns the selected URL. */ - public static native KURL getURL(String url, QWidget parent, String caption); - public static native KURL getURL(String url, QWidget parent); + public static native KURL getURL(String url, TQWidget parent, String caption); + public static native KURL getURL(String url, TQWidget parent); public static native KURL getURL(String url); public static native KURL getURL(); /** Deletes the wrapped C++ instance */ diff --git a/kdejava/koala/org/kde/koala/KURLRequesterSignals.java b/kdejava/koala/org/kde/koala/KURLRequesterSignals.java index 15f3bafc..66b4e556 100644 --- a/kdejava/koala/org/kde/koala/KURLRequesterSignals.java +++ b/kdejava/koala/org/kde/koala/KURLRequesterSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface KURLRequesterSignals { /** diff --git a/kdejava/koala/org/kde/koala/KUniqueApplication.java b/kdejava/koala/org/kde/koala/KUniqueApplication.java index 376b1328..17ac6f5f 100644 --- a/kdejava/koala/org/kde/koala/KUniqueApplication.java +++ b/kdejava/koala/org/kde/koala/KUniqueApplication.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; import java.util.ArrayList; /** @@ -29,7 +29,7 @@ import java.util.ArrayList; */ public class KUniqueApplication extends KApplication implements DCOPObjectInterface { protected KUniqueApplication(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. Takes command line arguments from KCmdLineArgs @@ -333,14 +333,14 @@ public class KUniqueApplication extends KApplication implements DCOPObjectInterf @short Tries to find an object using a partial object id. */ - // QPtrList<DCOPObject> match(const QCString& arg1); >>>> NOT CONVERTED + // TQPtrList<DCOPObject> match(const TQCString& arg1); >>>> NOT CONVERTED /** - Creates an object id for the QObject <code>obj.</code> This is done - using the QObject.name() function. + Creates an object id for the TQObject <code>obj.</code> This is done + using the TQObject.name() function. @param obj the object whose name will be used @return the created object id - @short Creates an object id for the QObject <code>obj.</code> + @short Creates an object id for the TQObject <code>obj.</code> */ - public static native String objectName(QObject arg1); + public static native String objectName(TQObject arg1); } diff --git a/kdejava/koala/org/kde/koala/KValueSelector.java b/kdejava/koala/org/kde/koala/KValueSelector.java index 446f92e4..a34005e3 100644 --- a/kdejava/koala/org/kde/koala/KValueSelector.java +++ b/kdejava/koala/org/kde/koala/KValueSelector.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QPainter; -import org.kde.qt.QWidget; -import org.kde.qt.QResizeEvent; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQPainter; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; /** @@ -21,22 +21,22 @@ import org.kde.qt.QResizeEvent; */ public class KValueSelector extends KSelector { protected KValueSelector(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a widget for color selection. @short Constructs a widget for color selection. */ - public KValueSelector(QWidget parent, String name) { + public KValueSelector(TQWidget parent, String name) { super((Class) null); newKValueSelector(parent,name); } - private native void newKValueSelector(QWidget parent, String name); - public KValueSelector(QWidget parent) { + private native void newKValueSelector(TQWidget parent, String name); + public KValueSelector(TQWidget parent) { super((Class) null); newKValueSelector(parent); } - private native void newKValueSelector(QWidget parent); + private native void newKValueSelector(TQWidget parent); public KValueSelector() { super((Class) null); newKValueSelector(); @@ -46,16 +46,16 @@ public class KValueSelector extends KSelector { Constructs a widget for color selection with a given orientation @short Constructs a widget for color selection with a given orientation */ - public KValueSelector(int o, QWidget parent, String name) { + public KValueSelector(int o, TQWidget parent, String name) { super((Class) null); newKValueSelector(o,parent,name); } - private native void newKValueSelector(int o, QWidget parent, String name); - public KValueSelector(int o, QWidget parent) { + private native void newKValueSelector(int o, TQWidget parent, String name); + public KValueSelector(int o, TQWidget parent) { super((Class) null); newKValueSelector(o,parent); } - private native void newKValueSelector(int o, QWidget parent); + private native void newKValueSelector(int o, TQWidget parent); public KValueSelector(int o) { super((Class) null); newKValueSelector(o); @@ -71,15 +71,15 @@ public class KValueSelector extends KSelector { which is used for buffering. @short Draws the contents of the widget on a pixmap, which is used for buffering. */ - protected native void drawPalette(QPixmap pixmap); - protected native void resizeEvent(QResizeEvent arg1); + protected native void drawPalette(TQPixmap pixmap); + protected native void resizeEvent(TQResizeEvent arg1); /** Reimplemented from KSelector. The drawing is buffered in a pixmap here. As real drawing routine, drawPalette() is used. @short Reimplemented from KSelector. */ - protected native void drawContents(QPainter painter); + protected native void drawContents(TQPainter painter); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/KWidgetAction.java b/kdejava/koala/org/kde/koala/KWidgetAction.java index 57da3925..79d95331 100644 --- a/kdejava/koala/org/kde/koala/KWidgetAction.java +++ b/kdejava/koala/org/kde/koala/KWidgetAction.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQWidget; /** @@ -16,7 +16,7 @@ import org.kde.qt.QWidget; */ public class KWidgetAction extends KAction { protected KWidgetAction(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create an action that will embed widget into a toolbar @@ -24,30 +24,30 @@ public class KWidgetAction extends KAction { a toolbar. @short Create an action that will embed widget into a toolbar when plugged. */ - public KWidgetAction(QWidget widget, String text, KShortcut cut, QObject receiver, String slot, KActionCollection parent, String name) { + public KWidgetAction(TQWidget widget, String text, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name) { super((Class) null); newKWidgetAction(widget,text,cut,receiver,slot,parent,name); } - private native void newKWidgetAction(QWidget widget, String text, KShortcut cut, QObject receiver, String slot, KActionCollection parent, String name); + private native void newKWidgetAction(TQWidget widget, String text, KShortcut cut, TQObject receiver, String slot, KActionCollection parent, String name); /** Returns the widget associated with this action. @short Returns the widget associated with this action. */ - public native QWidget widget(); + public native TQWidget widget(); public native void setAutoSized(boolean arg1); /** Plug the action. The widget passed to the constructor will be reparented to w, which must inherit KToolBar. @short Plug the action. */ - public native int plug(QWidget widget, int index); - public native int plug(QWidget widget); + public native int plug(TQWidget widget, int index); + public native int plug(TQWidget widget); /** Unplug the action. Ensures that the action is not destroyed. It will be hidden and reparented to null instead. @short Unplug the action. */ - public native void unplug(QWidget w); + public native void unplug(TQWidget w); protected native void slotToolbarDestroyed(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KWindowInfo.java b/kdejava/koala/org/kde/koala/KWindowInfo.java index a71d29f6..575462e3 100644 --- a/kdejava/koala/org/kde/koala/KWindowInfo.java +++ b/kdejava/koala/org/kde/koala/KWindowInfo.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQPixmap; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -22,7 +22,7 @@ import org.kde.qt.QObject; default timeout to ensure the message is only displayed for 1 second. <pre> - QPixmap px; + TQPixmap px; px.load( "lo16-app-logtracker.png" ); KWindowInfo.showMessage( this, "Message Body", px, 1000 ); </pre> @@ -33,24 +33,24 @@ import org.kde.qt.QObject; @short Displays messages in the window icon and title. */ -public class KWindowInfo extends QObject { +public class KWindowInfo extends TQObject { protected KWindowInfo(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a KWindowInfo with the specified parent. @short Creates a KWindowInfo with the specified parent. */ - public KWindowInfo(QWidget parent, String name) { + public KWindowInfo(TQWidget parent, String name) { super((Class) null); newKWindowInfo(parent,name); } - private native void newKWindowInfo(QWidget parent, String name); - public KWindowInfo(QWidget parent) { + private native void newKWindowInfo(TQWidget parent, String name); + public KWindowInfo(TQWidget parent) { super((Class) null); newKWindowInfo(parent); } - private native void newKWindowInfo(QWidget parent); + private native void newKWindowInfo(TQWidget parent); /** Returns true iff the object should delete itself when it resets. @short Returns true iff the object should delete itself when it resets. @@ -71,7 +71,7 @@ public class KWindowInfo extends QObject { Shows the specified text in the window title, and sets the window icon. @short Shows the specified text in the window title, and sets the window icon. */ - public native void message(String text, QPixmap pix); + public native void message(String text, TQPixmap pix); /** Shows the specified text in the window title for the specified time. @short Shows the specified text in the window title for the specified time. @@ -85,7 +85,7 @@ public class KWindowInfo extends QObject { and 0 which means the message is permanent. @short Shows the specified icon and text in the window title and WM icon, for the specified time. */ - public native void message(String text, QPixmap pix, int timeout); + public native void message(String text, TQPixmap pix, int timeout); /** Shows the specified text in the window title with no timeout. @short Shows the specified text in the window title with no timeout. @@ -95,26 +95,26 @@ public class KWindowInfo extends QObject { Shows the specified text and icon in the window title with no timeout. @short Shows the specified text and icon in the window title with no timeout. */ - public native void permanent(String text, QPixmap pix); + public native void permanent(String text, TQPixmap pix); /** Utility method to display a title bar message for the specified window. @short Utility method to display a title bar message for the specified window. */ - public static native void showMessage(QWidget window, String text, int timeout); - public static native void showMessage(QWidget window, String text); + public static native void showMessage(TQWidget window, String text, int timeout); + public static native void showMessage(TQWidget window, String text); /** Utility method to display a title bar message and icon for the specified window. @short Utility method to display a title bar message and icon for the specified window. */ - public static native void showMessage(QWidget window, String text, QPixmap pix, int timeout); - public static native void showMessage(QWidget window, String text, QPixmap pix); + public static native void showMessage(TQWidget window, String text, TQPixmap pix, int timeout); + public static native void showMessage(TQWidget window, String text, TQPixmap pix); /** Displays the message in the titlebar/icon. @short Displays the message in the titlebar/icon. */ - protected native void display(String text, QPixmap pix); + protected native void display(String text, TQPixmap pix); /** Saves the window title and icon. @short Saves the window title and icon. diff --git a/kdejava/koala/org/kde/koala/KWizard.java b/kdejava/koala/org/kde/koala/KWizard.java index d8fd71b7..a2cb12e1 100644 --- a/kdejava/koala/org/kde/koala/KWizard.java +++ b/kdejava/koala/org/kde/koala/KWizard.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QWizard; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWizard; /** @@ -14,8 +14,8 @@ import org.kde.qt.QWizard; the pages with "Next" and "Back" buttons and is optionally offered "Finish", "Cancel" and "Help" buttons. A wizard comes in handy for tutorials or configuration dialogs with sequential steps. - KWizard is just a wrapper for Qt's QWizard class. See the - QWizard documentation for a detailed description of available + KWizard is just a wrapper for Qt's TQWizard class. See the + TQWizard documentation for a detailed description of available functions. The only added functionality is a KDE conformant translation mechanism for the built-in buttons. @author Harri Porten <porten@kde.org> @@ -25,34 +25,34 @@ import org.kde.qt.QWizard; @short General-purpose multi-page dialog. */ -public class KWizard extends QWizard { +public class KWizard extends TQWizard { protected KWizard(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor @short Constructor */ - public KWizard(QWidget parent, String name, boolean modal, int f) { + public KWizard(TQWidget parent, String name, boolean modal, int f) { super((Class) null); newKWizard(parent,name,modal,f); } - private native void newKWizard(QWidget parent, String name, boolean modal, int f); - public KWizard(QWidget parent, String name, boolean modal) { + private native void newKWizard(TQWidget parent, String name, boolean modal, int f); + public KWizard(TQWidget parent, String name, boolean modal) { super((Class) null); newKWizard(parent,name,modal); } - private native void newKWizard(QWidget parent, String name, boolean modal); - public KWizard(QWidget parent, String name) { + private native void newKWizard(TQWidget parent, String name, boolean modal); + public KWizard(TQWidget parent, String name) { super((Class) null); newKWizard(parent,name); } - private native void newKWizard(QWidget parent, String name); - public KWizard(QWidget parent) { + private native void newKWizard(TQWidget parent, String name); + public KWizard(TQWidget parent) { super((Class) null); newKWizard(parent); } - private native void newKWizard(QWidget parent); + private native void newKWizard(TQWidget parent); public KWizard() { super((Class) null); newKWizard(); diff --git a/kdejava/koala/org/kde/koala/KWordWrap.java b/kdejava/koala/org/kde/koala/KWordWrap.java index 8ff87181..c30b86a2 100644 --- a/kdejava/koala/org/kde/koala/KWordWrap.java +++ b/kdejava/koala/org/kde/koala/KWordWrap.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; +import org.kde.qt.TQRect; import org.kde.qt.QtSupport; -import org.kde.qt.QPainter; -import org.kde.qt.QFontMetrics; +import org.kde.qt.TQPainter; +import org.kde.qt.TQFontMetrics; /** @@ -59,7 +59,7 @@ public class KWordWrap implements QtSupport { @short */ - public native QRect boundingRect(); + public native TQRect boundingRect(); /** @return the original string, with '\n' inserted where the text is broken by the wordwrap algorithm. @@ -80,7 +80,7 @@ public class KWordWrap implements QtSupport { Draw the text that has been previously wrapped, at position x,y. Flags are for alignment, e.g. Qt.AlignHCenter. Default is Qt.AlignAuto. - @param painter the QPainter to use. + @param painter the TQPainter to use. @param x the horizontal position of the text @param y the vertical position of the text @param flags the ORed text alignment flags from the Qt namespace, @@ -89,11 +89,11 @@ public class KWordWrap implements QtSupport { accordingly) @short Draw the text that has been previously wrapped, at position x,y. */ - public native void drawText(QPainter painter, int x, int y, int flags); - public native void drawText(QPainter painter, int x, int y); + public native void drawText(TQPainter painter, int x, int y, int flags); + public native void drawText(TQPainter painter, int x, int y); /** Main method for wrapping text. - @param fm Font metrics, for the chosen font. Better cache it, creating a QFontMetrics is expensive. + @param fm Font metrics, for the chosen font. Better cache it, creating a TQFontMetrics is expensive. @param r Constraining rectangle. Only the width and height matter. With negative height the complete text will be rendered @param flags currently unused @@ -103,8 +103,8 @@ public class KWordWrap implements QtSupport { @short Main method for wrapping text. */ - public static native KWordWrap formatText(QFontMetrics fm, QRect r, int flags, String str, int len); - public static native KWordWrap formatText(QFontMetrics fm, QRect r, int flags, String str); + public static native KWordWrap formatText(TQFontMetrics fm, TQRect r, int flags, String str, int len); + public static native KWordWrap formatText(TQFontMetrics fm, TQRect r, int flags, String str); /** Draws the string <code>t</code> at the given coordinates, if it does not <code>fit</code> into <code>maxW</code> the text will be faded out. @@ -117,7 +117,7 @@ public class KWordWrap implements QtSupport { @param t the text to draw @short Draws the string <code>t</code> at the given coordinates, if it does not <code>fit</code> into <code>maxW</code> the text will be faded out. */ - public static native void drawFadeoutText(QPainter p, int x, int y, int maxW, String t); + public static native void drawFadeoutText(TQPainter p, int x, int y, int maxW, String t); /** Draws the string <code>t</code> at the given coordinates, if it does not <code>fit</code> into <code>maxW</code> the text will be truncated. @@ -128,5 +128,5 @@ public class KWordWrap implements QtSupport { @param t the text to draw @short Draws the string <code>t</code> at the given coordinates, if it does not <code>fit</code> into <code>maxW</code> the text will be truncated. */ - public static native void drawTruncateText(QPainter p, int x, int y, int maxW, String t); + public static native void drawTruncateText(TQPainter p, int x, int y, int maxW, String t); } diff --git a/kdejava/koala/org/kde/koala/KWritePermsIcon.java b/kdejava/koala/org/kde/koala/KWritePermsIcon.java index 442e15d5..5b486e21 100644 --- a/kdejava/koala/org/kde/koala/KWritePermsIcon.java +++ b/kdejava/koala/org/kde/koala/KWritePermsIcon.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -17,18 +17,18 @@ import org.kde.qt.QWidget; */ public class KWritePermsIcon extends KAuthIcon { protected KWritePermsIcon(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KWritePermsIcon(String fileName, QWidget parent, String name) { + public KWritePermsIcon(String fileName, TQWidget parent, String name) { super((Class) null); newKWritePermsIcon(fileName,parent,name); } - private native void newKWritePermsIcon(String fileName, QWidget parent, String name); - public KWritePermsIcon(String fileName, QWidget parent) { + private native void newKWritePermsIcon(String fileName, TQWidget parent, String name); + public KWritePermsIcon(String fileName, TQWidget parent) { super((Class) null); newKWritePermsIcon(fileName,parent); } - private native void newKWritePermsIcon(String fileName, QWidget parent); + private native void newKWritePermsIcon(String fileName, TQWidget parent); public KWritePermsIcon(String fileName) { super((Class) null); newKWritePermsIcon(fileName); diff --git a/kdejava/koala/org/kde/koala/KXMLGUIBuilder.java b/kdejava/koala/org/kde/koala/KXMLGUIBuilder.java index 9726321f..acf8a793 100644 --- a/kdejava/koala/org/kde/koala/KXMLGUIBuilder.java +++ b/kdejava/koala/org/kde/koala/KXMLGUIBuilder.java @@ -4,8 +4,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; -import org.kde.qt.QDomElement; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDomElement; /** @@ -21,15 +21,15 @@ public class KXMLGUIBuilder implements QtSupport, KXMLGUIBuilderInterface { private boolean _allocatedInJavaWorld = true; protected KXMLGUIBuilder(Class dummy){} - public KXMLGUIBuilder(QWidget widget) { + public KXMLGUIBuilder(TQWidget widget) { newKXMLGUIBuilder(widget); } - private native void newKXMLGUIBuilder(QWidget widget); + private native void newKXMLGUIBuilder(TQWidget widget); public native KXMLGUIClientInterface builderClient(); public native void setBuilderClient(KXMLGUIClientInterface client); public native KInstanceInterface builderInstance(); public native void setBuilderInstance(KInstanceInterface instance); - public native QWidget widget(); + public native TQWidget widget(); public native ArrayList containerTags(); /** Creates a container (menubar/menu/toolbar/statusbar/separator/...) @@ -43,16 +43,16 @@ public class KXMLGUIBuilder implements QtSupport, KXMLGUIBuilderInterface { @param id The id to be used for this container @short Creates a container (menubar/menu/toolbar/statusbar/separator/. */ - public native QWidget createContainer(QWidget parent, int index, QDomElement element, int[] id); + public native TQWidget createContainer(TQWidget parent, int index, TQDomElement element, int[] id); /** Removes the given (and previously via createContainer ) created container. @short Removes the given (and previously via createContainer ) created container. */ - public native void removeContainer(QWidget container, QWidget parent, QDomElement element, int id); + public native void removeContainer(TQWidget container, TQWidget parent, TQDomElement element, int id); public native ArrayList customTags(); - public native int createCustomElement(QWidget parent, int index, QDomElement element); - public native void removeCustomElement(QWidget parent, int id); + public native int createCustomElement(TQWidget parent, int index, TQDomElement element); + public native void removeCustomElement(TQWidget parent, int id); public native void finalizeGUI(KXMLGUIClientInterface client); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/kdejava/koala/org/kde/koala/KXMLGUIBuilderInterface.java b/kdejava/koala/org/kde/koala/KXMLGUIBuilderInterface.java index 18dbdb7a..d1d47342 100644 --- a/kdejava/koala/org/kde/koala/KXMLGUIBuilderInterface.java +++ b/kdejava/koala/org/kde/koala/KXMLGUIBuilderInterface.java @@ -3,20 +3,20 @@ package org.kde.koala; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; -import org.kde.qt.QDomElement; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDomElement; public interface KXMLGUIBuilderInterface { KXMLGUIClientInterface builderClient(); void setBuilderClient(KXMLGUIClientInterface client); KInstanceInterface builderInstance(); void setBuilderInstance(KInstanceInterface instance); - QWidget widget(); + TQWidget widget(); ArrayList containerTags(); - QWidget createContainer(QWidget parent, int index, QDomElement element, int[] id); - void removeContainer(QWidget container, QWidget parent, QDomElement element, int id); + TQWidget createContainer(TQWidget parent, int index, TQDomElement element, int[] id); + void removeContainer(TQWidget container, TQWidget parent, TQDomElement element, int id); ArrayList customTags(); - int createCustomElement(QWidget parent, int index, QDomElement element); - void removeCustomElement(QWidget parent, int id); + int createCustomElement(TQWidget parent, int index, TQDomElement element); + void removeCustomElement(TQWidget parent, int id); void finalizeGUI(KXMLGUIClientInterface client); } diff --git a/kdejava/koala/org/kde/koala/KXMLGUIClient.java b/kdejava/koala/org/kde/koala/KXMLGUIClient.java index fd5b809b..20cdd967 100644 --- a/kdejava/koala/org/kde/koala/KXMLGUIClient.java +++ b/kdejava/koala/org/kde/koala/KXMLGUIClient.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QDomDocument; +import org.kde.qt.TQDomDocument; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QDomElement; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDomElement; /** @@ -54,21 +54,21 @@ public class KXMLGUIClient implements QtSupport, KXMLGUIClientInterface { */ public native KAction action(String name); /** - Retrieves an action for a given QDomElement. The default + Retrieves an action for a given TQDomElement. The default implementation uses the "name" attribute to query the action object via the other action() method. - @short Retrieves an action for a given QDomElement. + @short Retrieves an action for a given TQDomElement. */ - public native KAction action(QDomElement element); + public native KAction action(TQDomElement element); /** Retrieves the entire action collection for the GUI client. If you subclass KXMLGUIClient you should call - KActionCollection.setWidget( QWidget ) with this object, or + KActionCollection.setWidget( TQWidget ) with this object, or you will encounter subtle bugs with KAction keyboard shortcuts. This is not necessary if your KXMLGUIClient is a KMainWindow. @short Retrieves the entire action collection for the GUI client. @see KActionCollection#setWidget( - @see #org#kde#qt#QWidget* + @see #org#kde#qt#TQWidget* */ public native KActionCollection actionCollection(); /** @@ -78,13 +78,13 @@ public class KXMLGUIClient implements QtSupport, KXMLGUIClientInterface { */ public native KInstanceInterface instance(); /** - @return The parsed XML in a QDomDocument, set by + @return The parsed XML in a TQDomDocument, set by setXMLFile() or setXML(). This document describes the layout of the GUI. @short */ - public native QDomDocument domDocument(); + public native TQDomDocument domDocument(); /** This will return the name of the XML file as set by setXMLFile(). If setXML() is used directly, then this will return NULL. @@ -103,11 +103,11 @@ public class KXMLGUIClient implements QtSupport, KXMLGUIClientInterface { /** @short */ - public native void setXMLGUIBuildDocument(QDomDocument doc); + public native void setXMLGUIBuildDocument(TQDomDocument doc); /** @short */ - public native QDomDocument xmlguiBuildDocument(); + public native TQDomDocument xmlguiBuildDocument(); /** This method is called by the KXMLGUIFactory as soon as the client is added to the KXMLGUIFactory's GUI. @@ -145,7 +145,7 @@ public class KXMLGUIClient implements QtSupport, KXMLGUIClientInterface { Retrieves a list of all child clients. @short Retrieves a list of all child clients. */ - // const QPtrList<KXMLGUIClient>* childClients(); >>>> NOT CONVERTED + // const TQPtrList<KXMLGUIClient>* childClients(); >>>> NOT CONVERTED /** A client can have an own KXMLGUIBuilder. Use this method to assign your builder instance to the client (so that the @@ -193,7 +193,7 @@ public class KXMLGUIClient implements QtSupport, KXMLGUIClientInterface { This tag will get expanded to a list of actions. In the example above ( a file manager with a dynamic file menu ), you would call <pre> - QPtrList<KAction> file_actions; + TQPtrList<KAction> file_actions; for( ... ) if( ... ) file_actions.append( cool_action ); @@ -209,7 +209,7 @@ public class KXMLGUIClient implements QtSupport, KXMLGUIClientInterface { menu too.. @short ActionLists are a way for XMLGUI to support dynamic lists of actions. */ - // void plugActionList(const QString& arg1,const QPtrList<KAction>& arg2); >>>> NOT CONVERTED + // void plugActionList(const TQString& arg1,const TQPtrList<KAction>& arg2); >>>> NOT CONVERTED /** The complement of plugActionList() ... @short The complement of plugActionList() . @@ -217,10 +217,10 @@ public class KXMLGUIClient implements QtSupport, KXMLGUIClientInterface { public native void unplugActionList(String name); public native void addStateActionEnabled(String state, String action); public native void addStateActionDisabled(String state, String action); - // KXMLGUIClient::StateChange getActionsToChangeForState(const QString& arg1); >>>> NOT CONVERTED - public native void beginXMLPlug(QWidget arg1); + // KXMLGUIClient::StateChange getActionsToChangeForState(const TQString& arg1); >>>> NOT CONVERTED + public native void beginXMLPlug(TQWidget arg1); public native void endXMLPlug(); - public native void prepareXMLUnplug(QWidget arg1); + public native void prepareXMLUnplug(TQWidget arg1); public static native String findMostRecentXMLFile(String[] files, StringBuffer doc); /** Sets the instance ( KInstance) for this part. @@ -259,8 +259,8 @@ public class KXMLGUIClient implements QtSupport, KXMLGUIClientInterface { setXMLFile or setXML . @short Sets the Document for the part, describing the layout of the GUI. */ - protected native void setDOMDocument(QDomDocument document, boolean merge); - protected native void setDOMDocument(QDomDocument document); + protected native void setDOMDocument(TQDomDocument document, boolean merge); + protected native void setDOMDocument(TQDomDocument document); /** This function will attempt to give up some memory after the GUI is built. It should never be used in apps where the GUI may be diff --git a/kdejava/koala/org/kde/koala/KXMLGUIClientInterface.java b/kdejava/koala/org/kde/koala/KXMLGUIClientInterface.java index 1040e756..b22ac418 100644 --- a/kdejava/koala/org/kde/koala/KXMLGUIClientInterface.java +++ b/kdejava/koala/org/kde/koala/KXMLGUIClientInterface.java @@ -1,21 +1,21 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QDomDocument; +import org.kde.qt.TQDomDocument; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QDomElement; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDomElement; public interface KXMLGUIClientInterface { KAction action(String name); - KAction action(QDomElement element); + KAction action(TQDomElement element); KActionCollection actionCollection(); KInstanceInterface instance(); - QDomDocument domDocument(); + TQDomDocument domDocument(); String xmlFile(); String localXMLFile(); - void setXMLGUIBuildDocument(QDomDocument doc); - QDomDocument xmlguiBuildDocument(); + void setXMLGUIBuildDocument(TQDomDocument doc); + TQDomDocument xmlguiBuildDocument(); void setFactory(KXMLGUIFactory factory); KXMLGUIFactory factory(); KXMLGUIClientInterface parentClient(); @@ -27,7 +27,7 @@ public interface KXMLGUIClientInterface { void unplugActionList(String name); void addStateActionEnabled(String state, String action); void addStateActionDisabled(String state, String action); - void beginXMLPlug(QWidget arg1); + void beginXMLPlug(TQWidget arg1); void endXMLPlug(); - void prepareXMLUnplug(QWidget arg1); + void prepareXMLUnplug(TQWidget arg1); } 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() */ diff --git a/kdejava/koala/org/kde/koala/KXMLGUIFactorySignals.java b/kdejava/koala/org/kde/koala/KXMLGUIFactorySignals.java index 6f16d014..32a7833c 100644 --- a/kdejava/koala/org/kde/koala/KXMLGUIFactorySignals.java +++ b/kdejava/koala/org/kde/koala/KXMLGUIFactorySignals.java @@ -1,13 +1,13 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -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.TQObject; +import org.kde.qt.TQDomNode; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDomElement; public interface KXMLGUIFactorySignals { void clientAdded(KXMLGUIClientInterface client); diff --git a/kdejava/koala/org/kde/koala/KXYSelector.java b/kdejava/koala/org/kde/koala/KXYSelector.java index 99fc976b..5078e9d8 100644 --- a/kdejava/koala/org/kde/koala/KXYSelector.java +++ b/kdejava/koala/org/kde/koala/KXYSelector.java @@ -2,15 +2,15 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QPainter; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWheelEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQPainter; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; +import org.kde.qt.TQWidget; /** @@ -26,25 +26,25 @@ import org.kde.qt.QWidget; @short KXYSelector is the base class for other widgets which provides the ability to choose from a two-dimensional range of values. */ -public class KXYSelector extends QWidget { +public class KXYSelector extends TQWidget { protected KXYSelector(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a two-dimensional selector widget which has a value range of [0..100] in both directions. @short Constructs a two-dimensional selector widget which has a value range of [0. */ - public KXYSelector(QWidget parent, String name) { + public KXYSelector(TQWidget parent, String name) { super((Class) null); newKXYSelector(parent,name); } - private native void newKXYSelector(QWidget parent, String name); - public KXYSelector(QWidget parent) { + private native void newKXYSelector(TQWidget parent, String name); + public KXYSelector(TQWidget parent) { super((Class) null); newKXYSelector(parent); } - private native void newKXYSelector(QWidget parent); + private native void newKXYSelector(TQWidget parent); public KXYSelector() { super((Class) null); newKXYSelector(); @@ -92,24 +92,24 @@ public class KXYSelector extends QWidget { @short */ - public native QRect contentsRect(); + public native TQRect contentsRect(); /** Override this function to draw the contents of the widget. The default implementation does nothing. Draw within contentsRect() only. @short Override this function to draw the contents of the widget. */ - protected native void drawContents(QPainter arg1); + protected native void drawContents(TQPainter arg1); /** Override this function to draw the cursor which indicates the currently selected value pair. @short Override this function to draw the cursor which indicates the currently selected value pair. */ - protected native void drawCursor(QPainter p, int xp, int yp); - protected native void paintEvent(QPaintEvent e); - protected native void mousePressEvent(QMouseEvent e); - protected native void mouseMoveEvent(QMouseEvent e); - protected native void wheelEvent(QWheelEvent arg1); + protected native void drawCursor(TQPainter p, int xp, int yp); + protected native void paintEvent(TQPaintEvent e); + protected native void mousePressEvent(TQMouseEvent e); + protected native void mouseMoveEvent(TQMouseEvent e); + protected native void wheelEvent(TQWheelEvent arg1); /** Converts a pixel position to its corresponding values. @short Converts a pixel position to its corresponding values. diff --git a/kdejava/koala/org/kde/koala/KXYSelectorSignals.java b/kdejava/koala/org/kde/koala/KXYSelectorSignals.java index 4bcc7d8a..ddb1f037 100644 --- a/kdejava/koala/org/kde/koala/KXYSelectorSignals.java +++ b/kdejava/koala/org/kde/koala/KXYSelectorSignals.java @@ -1,14 +1,14 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPaintEvent; -import org.kde.qt.QPainter; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWheelEvent; +import org.kde.qt.TQPaintEvent; +import org.kde.qt.TQPainter; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; public interface KXYSelectorSignals { /** diff --git a/kdejava/koala/org/kde/koala/KZip.java b/kdejava/koala/org/kde/koala/KZip.java index 65fb55d9..c6c9e6ae 100644 --- a/kdejava/koala/org/kde/koala/KZip.java +++ b/kdejava/koala/org/kde/koala/KZip.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QIODevice; -import org.kde.qt.QIODeviceInterface; +import org.kde.qt.TQIODevice; +import org.kde.qt.TQIODeviceInterface; /** @@ -59,21 +59,21 @@ public class KZip extends KArchive { private native void newKZip(String filename); /** Creates an instance that operates on the given device. - The device can be compressed (KFilterDev) or not (QFile, etc.). - @warning Do not assume that giving a QFile here will decompress the file, + The device can be compressed (KFilterDev) or not (TQFile, etc.). + @warning Do not assume that giving a TQFile here will decompress the file, in case it's compressed! @param dev the device to access @short Creates an instance that operates on the given device. */ - public KZip(QIODeviceInterface dev) { + public KZip(TQIODeviceInterface dev) { super((Class) null); newKZip(dev); } - private native void newKZip(QIODeviceInterface dev); + private native void newKZip(TQIODeviceInterface dev); /** The name of the zip file, as passed to the constructor. - Null if you used the QIODevice constructor. - @return the zip's file name, or null if a QIODevice is used + Null if you used the TQIODevice constructor. + @return the zip's file name, or null if a TQIODevice is used @short The name of the zip file, as passed to the constructor. */ diff --git a/kdejava/koala/org/kde/koala/KZipFileEntry.java b/kdejava/koala/org/kde/koala/KZipFileEntry.java index ed692cd1..d9598a30 100644 --- a/kdejava/koala/org/kde/koala/KZipFileEntry.java +++ b/kdejava/koala/org/kde/koala/KZipFileEntry.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QIODevice; -import org.kde.qt.QIODeviceInterface; +import org.kde.qt.TQIODevice; +import org.kde.qt.TQIODeviceInterface; /** @@ -34,14 +34,14 @@ public class KZipFileEntry extends KArchiveFile { */ public native byte[] data(); /** - This method returns a QIODevice to read the file contents. + This method returns a TQIODevice to read the file contents. This is obviously for reading only. Note that the ownership of the device is being transferred to the caller, who will have to delete it. The returned device auto-opens (in readonly mode), no need to open it. - @short This method returns a QIODevice to read the file contents. + @short This method returns a TQIODevice to read the file contents. */ - public native QIODeviceInterface device(); + public native TQIODeviceInterface device(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/kdejava/koala/org/kde/koala/ListJob.java b/kdejava/koala/org/kde/koala/ListJob.java index 6dcd630d..6778e02e 100644 --- a/kdejava/koala/org/kde/koala/ListJob.java +++ b/kdejava/koala/org/kde/koala/ListJob.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; /** @@ -18,7 +18,7 @@ import org.kde.qt.QtSupport; */ public class ListJob extends SimpleJob { protected ListJob(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Do not create a ListJob directly. Use KIO.listDir() or diff --git a/kdejava/koala/org/kde/koala/ListJobSignals.java b/kdejava/koala/org/kde/koala/ListJobSignals.java index 01952877..7b384997 100644 --- a/kdejava/koala/org/kde/koala/ListJobSignals.java +++ b/kdejava/koala/org/kde/koala/ListJobSignals.java @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; public interface ListJobSignals { diff --git a/kdejava/koala/org/kde/koala/LiveConnectExtension.java b/kdejava/koala/org/kde/koala/LiveConnectExtension.java index a69e0c01..1f0dcde6 100644 --- a/kdejava/koala/org/kde/koala/LiveConnectExtension.java +++ b/kdejava/koala/org/kde/koala/LiveConnectExtension.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQObject; /** @@ -17,9 +17,9 @@ import org.kde.qt.QObject; @short An extension class for LiveConnect, i. */ -public class LiveConnectExtension extends QObject { +public class LiveConnectExtension extends TQObject { protected LiveConnectExtension(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); public LiveConnectExtension(ReadOnlyPart parent, String name) { super((Class) null); @@ -35,7 +35,7 @@ public class LiveConnectExtension extends QObject { get a field value from objid, return true on success @short get a field value from objid, return true on success */ - // bool get(const unsigned long arg1,const QString& arg2,KParts::LiveConnectExtension::Type& arg3,unsigned long& arg4,QString& arg5); >>>> NOT CONVERTED + // bool get(const unsigned long arg1,const TQString& arg2,KParts::LiveConnectExtension::Type& arg3,unsigned long& arg4,TQString& arg5); >>>> NOT CONVERTED /** put a field value in objid, return true on success @short put a field value in objid, return true on success @@ -45,11 +45,11 @@ public class LiveConnectExtension extends QObject { calls a function of objid, return true on success @short calls a function of objid, return true on success */ - // bool call(const unsigned long arg1,const QString& arg2,const QStringList& arg3,KParts::LiveConnectExtension::Type& arg4,unsigned long& arg5,QString& arg6); >>>> NOT CONVERTED + // bool call(const unsigned long arg1,const TQString& arg2,const TQStringList& arg3,KParts::LiveConnectExtension::Type& arg4,unsigned long& arg5,TQString& arg6); >>>> NOT CONVERTED /** notifies the part that there is no reference anymore to objid @short notifies the part that there is no reference anymore to objid */ public native void unregister(long objid); - public static native LiveConnectExtension childObject(QObject arg1); + public static native LiveConnectExtension childObject(TQObject arg1); } diff --git a/kdejava/koala/org/kde/koala/LiveConnectExtensionSignals.java b/kdejava/koala/org/kde/koala/LiveConnectExtensionSignals.java index b34fd1d4..2dc7c89e 100644 --- a/kdejava/koala/org/kde/koala/LiveConnectExtensionSignals.java +++ b/kdejava/koala/org/kde/koala/LiveConnectExtensionSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; public interface LiveConnectExtensionSignals { - // void partEvent(const unsigned long arg1,const QString& arg2,const KParts::LiveConnectExtension::ArgList& arg3); >>>> NOT CONVERTED + // void partEvent(const unsigned long arg1,const TQString& arg2,const KParts::LiveConnectExtension::ArgList& arg3); >>>> NOT CONVERTED } diff --git a/kdejava/koala/org/kde/koala/MainWindow.java b/kdejava/koala/org/kde/koala/MainWindow.java index 54aa1a05..425acb20 100644 --- a/kdejava/koala/org/kde/koala/MainWindow.java +++ b/kdejava/koala/org/kde/koala/MainWindow.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQWidget; /** @@ -20,27 +20,27 @@ import org.kde.qt.QWidget; */ public class MainWindow extends KMainWindow implements PartBaseInterface { protected MainWindow(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor, same signature as KMainWindow. @short Constructor, same signature as KMainWindow. */ - public MainWindow(QWidget parent, String name, int f) { + public MainWindow(TQWidget parent, String name, int f) { super((Class) null); newMainWindow(parent,name,f); } - private native void newMainWindow(QWidget parent, String name, int f); - public MainWindow(QWidget parent, String name) { + private native void newMainWindow(TQWidget parent, String name, int f); + public MainWindow(TQWidget parent, String name) { super((Class) null); newMainWindow(parent,name); } - private native void newMainWindow(QWidget parent, String name); - public MainWindow(QWidget parent) { + private native void newMainWindow(TQWidget parent, String name); + public MainWindow(TQWidget parent) { super((Class) null); newMainWindow(parent); } - private native void newMainWindow(QWidget parent); + private native void newMainWindow(TQWidget parent); /** Compatibility Constructor @short Compatibility Constructor @@ -64,21 +64,21 @@ public class MainWindow extends KMainWindow implements PartBaseInterface { Constructor with creation flags, see KMainWindow. @short Constructor with creation flags, see KMainWindow. */ - public MainWindow(int cflags, QWidget parent, String name, int f) { + public MainWindow(int cflags, TQWidget parent, String name, int f) { super((Class) null); newMainWindow(cflags,parent,name,f); } - private native void newMainWindow(int cflags, QWidget parent, String name, int f); - public MainWindow(int cflags, QWidget parent, String name) { + private native void newMainWindow(int cflags, TQWidget parent, String name, int f); + public MainWindow(int cflags, TQWidget parent, String name) { super((Class) null); newMainWindow(cflags,parent,name); } - private native void newMainWindow(int cflags, QWidget parent, String name); - public MainWindow(int cflags, QWidget parent) { + private native void newMainWindow(int cflags, TQWidget parent, String name); + public MainWindow(int cflags, TQWidget parent) { super((Class) null); newMainWindow(cflags,parent); } - private native void newMainWindow(int cflags, QWidget parent); + private native void newMainWindow(int cflags, TQWidget parent); protected native void createShellGUI(boolean create); protected native void createShellGUI(); /** @@ -131,8 +131,8 @@ public class MainWindow extends KMainWindow implements PartBaseInterface { Internal method. Called by KParts.Part to specify the parent object for plugin objects. @short Internal method. */ - public native void setPartObject(QObject object); - public native QObject partObject(); + public native void setPartObject(TQObject object); + public native TQObject partObject(); /** Set the instance ( KInstance) for this part. Call this first in the inherited class constructor, @@ -155,8 +155,8 @@ public class MainWindow extends KMainWindow implements PartBaseInterface { <pre> if( factory() ) { - QPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); - QPtrListIterator<KParts.Plugin> it( plugins ); + TQPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); + TQPtrListIterator<KParts.Plugin> it( plugins ); KParts.Plugin plugin; while( ( plugin = it.current() ) != 0 ) { @@ -167,7 +167,7 @@ public class MainWindow extends KMainWindow implements PartBaseInterface { </pre> @short Load the Plugins honoring the PluginLoadingMode. */ - protected native void loadPlugins(QObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface instance); + protected native void loadPlugins(TQObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface instance); /** For a KParts.Part: call this before setInstance(). For a KParts.MainWindow: call this before createGUI(). diff --git a/kdejava/koala/org/kde/koala/MetaInfoJob.java b/kdejava/koala/org/kde/koala/MetaInfoJob.java index 3d4683f9..64b1cbb2 100644 --- a/kdejava/koala/org/kde/koala/MetaInfoJob.java +++ b/kdejava/koala/org/kde/koala/MetaInfoJob.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; @@ -15,7 +15,7 @@ import java.util.ArrayList; */ public class MetaInfoJob extends Job { protected MetaInfoJob(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a new MetaInfoJob. diff --git a/kdejava/koala/org/kde/koala/MetaInfoJobSignals.java b/kdejava/koala/org/kde/koala/MetaInfoJobSignals.java index 82eb29bd..ca252844 100644 --- a/kdejava/koala/org/kde/koala/MetaInfoJobSignals.java +++ b/kdejava/koala/org/kde/koala/MetaInfoJobSignals.java @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; diff --git a/kdejava/koala/org/kde/koala/MimetypeJob.java b/kdejava/koala/org/kde/koala/MimetypeJob.java index e76ad664..415194bf 100644 --- a/kdejava/koala/org/kde/koala/MimetypeJob.java +++ b/kdejava/koala/org/kde/koala/MimetypeJob.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; /** @@ -16,7 +16,7 @@ import org.kde.qt.QtSupport; */ public class MimetypeJob extends TransferJob { protected MimetypeJob(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Do not create a MimetypeJob directly. Use KIO.mimetype() diff --git a/kdejava/koala/org/kde/koala/MultiGetJob.java b/kdejava/koala/org/kde/koala/MultiGetJob.java index ffc0c134..45f7c616 100644 --- a/kdejava/koala/org/kde/koala/MultiGetJob.java +++ b/kdejava/koala/org/kde/koala/MultiGetJob.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; /** @@ -17,7 +17,7 @@ import org.kde.qt.QtSupport; */ public class MultiGetJob extends TransferJob { protected MultiGetJob(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Do not create a MultiGetJob directly, use KIO.multi_get() diff --git a/kdejava/koala/org/kde/koala/MultiGetJobSignals.java b/kdejava/koala/org/kde/koala/MultiGetJobSignals.java index e6db921f..204b5665 100644 --- a/kdejava/koala/org/kde/koala/MultiGetJobSignals.java +++ b/kdejava/koala/org/kde/koala/MultiGetJobSignals.java @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; public interface MultiGetJobSignals { diff --git a/kdejava/koala/org/kde/koala/NetAccess.java b/kdejava/koala/org/kde/koala/NetAccess.java index d8146aa5..361cb9e5 100644 --- a/kdejava/koala/org/kde/koala/NetAccess.java +++ b/kdejava/koala/org/kde/koala/NetAccess.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -26,9 +26,9 @@ import org.kde.qt.QObject; @short Provides an easy, synchronous interface to KIO file operations. */ -public class NetAccess extends QObject { +public class NetAccess extends TQObject { protected NetAccess(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Downloads a file from an arbitrary URL (<code>src</code>) to a @@ -76,7 +76,7 @@ public class NetAccess extends QObject { @short Downloads a file from an arbitrary URL (<code>src</code>) to a temporary file on the local filesystem (<code>target</code>). @see #lastErrorString */ - public static native boolean download(KURL src, StringBuffer target, QWidget window); + public static native boolean download(KURL src, StringBuffer target, TQWidget window); /** Removes the specified file if and only if it was created by KIO.NetAccess as a temporary file for a former download. @@ -105,7 +105,7 @@ public class NetAccess extends QObject { @short Uploads file <code>src</code> to URL <code>target.</code> */ - public static native boolean upload(String src, KURL target, QWidget window); + public static native boolean upload(String src, KURL target, TQWidget window); /** Alternative to upload for copying over the network. Overwrite is false, so this will fail if <code>target</code> exists. @@ -123,12 +123,12 @@ public class NetAccess extends QObject { @short Alternative to upload for copying over the network. */ - public static native boolean copy(KURL src, KURL target, QWidget window); + public static native boolean copy(KURL src, KURL target, TQWidget window); /** Full-fledged equivalent of KIO.file_copy @short Full-fledged equivalent of KIO.file_copy */ - public static native boolean file_copy(KURL src, KURL dest, int permissions, boolean overwrite, boolean resume, QWidget window); + public static native boolean file_copy(KURL src, KURL dest, int permissions, boolean overwrite, boolean resume, TQWidget window); public static native boolean file_copy(KURL src, KURL dest, int permissions, boolean overwrite, boolean resume); public static native boolean file_copy(KURL src, KURL dest, int permissions, boolean overwrite); public static native boolean file_copy(KURL src, KURL dest, int permissions); @@ -138,7 +138,7 @@ public class NetAccess extends QObject { Moves or renames one file. @short Full-fledged equivalent of KIO.file_move. */ - public static native boolean file_move(KURL src, KURL target, int permissions, boolean overwrite, boolean resume, QWidget window); + public static native boolean file_move(KURL src, KURL target, int permissions, boolean overwrite, boolean resume, TQWidget window); public static native boolean file_move(KURL src, KURL target, int permissions, boolean overwrite, boolean resume); public static native boolean file_move(KURL src, KURL target, int permissions, boolean overwrite); public static native boolean file_move(KURL src, KURL target, int permissions); @@ -162,26 +162,26 @@ public class NetAccess extends QObject { @short Alternative method for copying over the network. */ - public static native boolean dircopy(KURL src, KURL target, QWidget window); + public static native boolean dircopy(KURL src, KURL target, TQWidget window); /** Overloaded method, which takes a list of source URLs @short Overloaded method, which takes a list of source URLs */ - public static native boolean dircopy(ArrayList src, KURL target, QWidget window); + public static native boolean dircopy(ArrayList src, KURL target, TQWidget window); public static native boolean dircopy(ArrayList src, KURL target); /** Full-fledged equivalent of KIO.move. Moves or renames one file or directory. @short Full-fledged equivalent of KIO.move. */ - public static native boolean move(KURL src, KURL target, QWidget window); + public static native boolean move(KURL src, KURL target, TQWidget window); public static native boolean move(KURL src, KURL target); /** Full-fledged equivalent of KIO.move. Moves or renames a list of files or directories. @short Full-fledged equivalent of KIO.move. */ - public static native boolean move(ArrayList src, KURL target, QWidget window); + public static native boolean move(ArrayList src, KURL target, TQWidget window); public static native boolean move(ArrayList src, KURL target); /** Tests whether a URL exists. @@ -199,7 +199,7 @@ public class NetAccess extends QObject { @short Tests whether a URL exists. */ - public static native boolean exists(KURL url, boolean source, QWidget window); + public static native boolean exists(KURL url, boolean source, TQWidget window); /** Tests whether a URL exists and return information on it. This is a convenience function for KIO.stat @@ -216,7 +216,7 @@ public class NetAccess extends QObject { @short Tests whether a URL exists and return information on it. */ - // bool stat(const KURL& arg1,KIO::UDSEntry& arg2,QWidget* arg3); >>>> NOT CONVERTED + // bool stat(const KURL& arg1,KIO::UDSEntry& arg2,TQWidget* arg3); >>>> NOT CONVERTED /** Tries to map a local URL for the given URL. This is a convenience function for KIO.stat + parsing the @@ -232,7 +232,7 @@ public class NetAccess extends QObject { @short Tries to map a local URL for the given URL. */ - public static native KURL mostLocalURL(KURL url, QWidget window); + public static native KURL mostLocalURL(KURL url, TQWidget window); /** Deletes a file or a directory in a synchronous way. This is a convenience function for KIO.del @@ -247,7 +247,7 @@ public class NetAccess extends QObject { @short Deletes a file or a directory in a synchronous way. */ - public static native boolean del(KURL url, QWidget window); + public static native boolean del(KURL url, TQWidget window); /** Creates a directory in a synchronous way. This is a convenience function for <code>KIO</code>.mkdir @@ -263,8 +263,8 @@ public class NetAccess extends QObject { @short Creates a directory in a synchronous way. */ - public static native boolean mkdir(KURL url, QWidget window, int permissions); - public static native boolean mkdir(KURL url, QWidget window); + public static native boolean mkdir(KURL url, TQWidget window, int permissions); + public static native boolean mkdir(KURL url, TQWidget window); /** Executes a remote process via the fish ioslave in a synchronous way. @param url The remote machine where the command should be executed. @@ -284,14 +284,14 @@ public class NetAccess extends QObject { @short Executes a remote process via the fish ioslave in a synchronous way. */ - public static native String fish_execute(KURL url, String command, QWidget window); + public static native String fish_execute(KURL url, String command, TQWidget window); /** This function executes a job in a synchronous way. If a job fetches some data, pass a byte[] pointer as data parameter to this function and after the function returns it will contain all the data fetched by this job. <code> KIO.Job job = KIO.get( url, false, false ); - QMap<String, String> metaData; + TQMap<String, String> metaData; metaData.insert( "PropagateHttpHeader", "true" ); if ( NetAccess.synchronousRun( job, 0, &data, &url, &metaData ) ) { String responseHeaders = metaData[ "HTTP-Headers" ]; @@ -316,10 +316,10 @@ public class NetAccess extends QObject { @short This function executes a job in a synchronous way. */ - // bool synchronousRun(KIO::Job* arg1,QWidget* arg2,QByteArray* arg3,KURL* arg4,QMap<QString, QString>* arg5); >>>> NOT CONVERTED - public static native boolean synchronousRun(Job job, QWidget window, byte[] data, KURL finalURL); - public static native boolean synchronousRun(Job job, QWidget window, byte[] data); - public static native boolean synchronousRun(Job job, QWidget window); + // bool synchronousRun(KIO::Job* arg1,TQWidget* arg2,TQByteArray* arg3,KURL* arg4,TQMap<TQString, TQString>* arg5); >>>> NOT CONVERTED + public static native boolean synchronousRun(Job job, TQWidget window, byte[] data, KURL finalURL); + public static native boolean synchronousRun(Job job, TQWidget window, byte[] data); + public static native boolean synchronousRun(Job job, TQWidget window); /** This function is not implemented!? (only mimetypeInternal) @@ -340,7 +340,7 @@ public class NetAccess extends QObject { @short */ - public static native String mimetype(KURL url, QWidget window); + public static native String mimetype(KURL url, TQWidget window); /** Returns the error string for the last job, in case it failed. Note that this is already translated. diff --git a/kdejava/koala/org/kde/koala/Node.java b/kdejava/koala/org/kde/koala/Node.java index df8c555a..1851b921 100644 --- a/kdejava/koala/org/kde/koala/Node.java +++ b/kdejava/koala/org/kde/koala/Node.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; +import org.kde.qt.TQRect; import org.kde.qt.QtSupport; import java.util.ArrayList; @@ -421,5 +421,5 @@ public class Node implements QtSupport { @short not part of the DOM. */ - public native QRect getRect(); + public native TQRect getRect(); } diff --git a/kdejava/koala/org/kde/koala/Observer.java b/kdejava/koala/org/kde/koala/Observer.java index 0d8a0df7..7c2b2404 100644 --- a/kdejava/koala/org/kde/koala/Observer.java +++ b/kdejava/koala/org/kde/koala/Observer.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; import java.util.ArrayList; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -23,9 +23,9 @@ import org.kde.qt.QObject; @short Observer for KIO.Job progress information. */ -public class Observer extends QObject implements DCOPObjectInterface { +public class Observer extends TQObject implements DCOPObjectInterface { protected Observer(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Called by the job constructor, to signal its presence to the @@ -352,14 +352,14 @@ public class Observer extends QObject implements DCOPObjectInterface { @short Tries to find an object using a partial object id. */ - // QPtrList<DCOPObject> match(const QCString& arg1); >>>> NOT CONVERTED + // TQPtrList<DCOPObject> match(const TQCString& arg1); >>>> NOT CONVERTED /** - Creates an object id for the QObject <code>obj.</code> This is done - using the QObject.name() function. + Creates an object id for the TQObject <code>obj.</code> This is done + using the TQObject.name() function. @param obj the object whose name will be used @return the created object id - @short Creates an object id for the QObject <code>obj.</code> + @short Creates an object id for the TQObject <code>obj.</code> */ - public static native String objectName(QObject arg1); + public static native String objectName(TQObject arg1); } diff --git a/kdejava/koala/org/kde/koala/OpenURLEvent.java b/kdejava/koala/org/kde/koala/OpenURLEvent.java index 58c21bd1..51b9236a 100644 --- a/kdejava/koala/org/kde/koala/OpenURLEvent.java +++ b/kdejava/koala/org/kde/koala/OpenURLEvent.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QEvent; +import org.kde.qt.TQEvent; /** @@ -29,5 +29,5 @@ public class OpenURLEvent extends Event { public native ReadOnlyPart part(); public native KURL url(); public native URLArgs args(); - public static native boolean test(QEvent event); + public static native boolean test(TQEvent event); } diff --git a/kdejava/koala/org/kde/koala/Part.java b/kdejava/koala/org/kde/koala/Part.java index fd641f37..0d488501 100644 --- a/kdejava/koala/org/kde/koala/Part.java +++ b/kdejava/koala/org/kde/koala/Part.java @@ -2,13 +2,13 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPoint; -import org.kde.qt.QCustomEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQPoint; +import org.kde.qt.TQCustomEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -24,9 +24,9 @@ import org.kde.qt.QObject; (menubars, toolbars... ). </li> <li><b>About the widget:</b></li> - Note that KParts.Part does not inherit QWidget. + Note that KParts.Part does not inherit TQWidget. This is due to the fact that the "visual representation" - will probably not be a mere QWidget, but an elaborate one. + will probably not be a mere TQWidget, but an elaborate one. That's why when implementing your KParts.Part (or derived) you should call KParts.Part.setWidget() in your constructor. <li><b>About the GUI elements:</b></li> @@ -39,9 +39,9 @@ import org.kde.qt.QObject; @short Base class for parts. */ -public class Part extends QObject implements PartBaseInterface { +public class Part extends TQObject implements PartBaseInterface { protected Part(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. @@ -49,16 +49,16 @@ public class Part extends QObject implements PartBaseInterface { @param name QT-internal name of the part. @short Constructor. */ - public Part(QObject parent, String name) { + public Part(TQObject parent, String name) { super((Class) null); newPart(parent,name); } - private native void newPart(QObject parent, String name); - public Part(QObject parent) { + private native void newPart(TQObject parent, String name); + public Part(TQObject parent) { super((Class) null); newPart(parent); } - private native void newPart(QObject parent); + private native void newPart(TQObject parent); public Part() { super((Class) null); newPart(); @@ -67,21 +67,21 @@ public class Part extends QObject implements PartBaseInterface { /** Embed this part into a host widget. You don't need to do this if you created the widget with the - correct parent widget - this is just a QWidget.reparent(). + correct parent widget - this is just a TQWidget.reparent(). Note that the Part is still the holder - of the QWidget, meaning that if you delete the Part, + of the TQWidget, meaning that if you delete the Part, then the widget gets destroyed as well, and vice-versa. This method is not recommended since creating the widget with the correct parent is simpler anyway. @short Embed this part into a host widget. */ - public native void embed(QWidget parentWidget); + public native void embed(TQWidget parentWidget); /** @return The widget defined by this part, set by setWidget(). @short */ - public native QWidget widget(); + public native TQWidget widget(); /** Used by the part manager. @short @@ -101,7 +101,7 @@ public class Part extends QObject implements PartBaseInterface { @param globalPos the mouse coordinates in global coordinates @short Returns the part (this, or a child part) at the given global position. */ - public native Part hitTest(QWidget widget, QPoint globalPos); + public native Part hitTest(TQWidget widget, TQPoint globalPos); /** @param selectable Indicates whether the part is selectable or not. @short @@ -117,11 +117,11 @@ public class Part extends QObject implements PartBaseInterface { Call this in the Part-inherited class constructor. @short Set the main widget. */ - protected native void setWidget(QWidget widget); + protected native void setWidget(TQWidget widget); /** @short */ - protected native void customEvent(QCustomEvent event); + protected native void customEvent(TQCustomEvent event); /** Convenience method which is called when the Part received a PartActivateEvent . Reimplement this if you don't want to reimplement event and test for the event yourself @@ -151,13 +151,13 @@ public class Part extends QObject implements PartBaseInterface { @short Convenience method for KXMLGUIFactory.container. */ - protected native QWidget hostContainer(String containerName); + protected native TQWidget hostContainer(String containerName); /** Internal method. Called by KParts.Part to specify the parent object for plugin objects. @short Internal method. */ - public native void setPartObject(QObject object); - public native QObject partObject(); + public native void setPartObject(TQObject object); + public native TQObject partObject(); /** Set the instance ( KInstance) for this part. Call this first in the inherited class constructor, @@ -180,8 +180,8 @@ public class Part extends QObject implements PartBaseInterface { <pre> if( factory() ) { - QPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); - QPtrListIterator<KParts.Plugin> it( plugins ); + TQPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); + TQPtrListIterator<KParts.Plugin> it( plugins ); KParts.Plugin plugin; while( ( plugin = it.current() ) != 0 ) { @@ -192,7 +192,7 @@ public class Part extends QObject implements PartBaseInterface { </pre> @short Load the Plugins honoring the PluginLoadingMode. */ - protected native void loadPlugins(QObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface instance); + protected native void loadPlugins(TQObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface instance); /** For a KParts.Part: call this before setInstance(). For a KParts.MainWindow: call this before createGUI(). diff --git a/kdejava/koala/org/kde/koala/PartActivateEvent.java b/kdejava/koala/org/kde/koala/PartActivateEvent.java index 10bc6c6a..d58aa7c4 100644 --- a/kdejava/koala/org/kde/koala/PartActivateEvent.java +++ b/kdejava/koala/org/kde/koala/PartActivateEvent.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; /** @@ -19,13 +19,13 @@ import org.kde.qt.QWidget; */ public class PartActivateEvent extends Event { protected PartActivateEvent(Class dummy){super((Class) null);} - public PartActivateEvent(boolean activated, Part part, QWidget widget) { + public PartActivateEvent(boolean activated, Part part, TQWidget widget) { super((Class) null); newPartActivateEvent(activated,part,widget); } - private native void newPartActivateEvent(boolean activated, Part part, QWidget widget); + private native void newPartActivateEvent(boolean activated, Part part, TQWidget widget); public native boolean activated(); public native Part part(); - public native QWidget widget(); - public static native boolean test(QEvent event); + public native TQWidget widget(); + public static native boolean test(TQEvent event); } diff --git a/kdejava/koala/org/kde/koala/PartBase.java b/kdejava/koala/org/kde/koala/PartBase.java index 8e2bbe34..ea374dbc 100644 --- a/kdejava/koala/org/kde/koala/PartBase.java +++ b/kdejava/koala/org/kde/koala/PartBase.java @@ -3,7 +3,7 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -26,8 +26,8 @@ public class PartBase extends KXMLGUIClient { Internal method. Called by KParts.Part to specify the parent object for plugin objects. @short Internal method. */ - public native void setPartObject(QObject object); - public native QObject partObject(); + public native void setPartObject(TQObject object); + public native TQObject partObject(); /** Set the instance ( KInstance) for this part. Call this first in the inherited class constructor, @@ -50,8 +50,8 @@ public class PartBase extends KXMLGUIClient { <pre> if( factory() ) { - QPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); - QPtrListIterator<KParts.Plugin> it( plugins ); + TQPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); + TQPtrListIterator<KParts.Plugin> it( plugins ); KParts.Plugin plugin; while( ( plugin = it.current() ) != 0 ) { @@ -62,7 +62,7 @@ public class PartBase extends KXMLGUIClient { </pre> @short Load the Plugins honoring the PluginLoadingMode. */ - protected native void loadPlugins(QObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface instance); + protected native void loadPlugins(TQObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface instance); /** For a KParts.Part: call this before setInstance(). For a KParts.MainWindow: call this before createGUI(). diff --git a/kdejava/koala/org/kde/koala/PartBaseInterface.java b/kdejava/koala/org/kde/koala/PartBaseInterface.java index b1a0de56..f78e59bf 100644 --- a/kdejava/koala/org/kde/koala/PartBaseInterface.java +++ b/kdejava/koala/org/kde/koala/PartBaseInterface.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; public interface PartBaseInterface { - void setPartObject(QObject object); - QObject partObject(); + void setPartObject(TQObject object); + TQObject partObject(); } diff --git a/kdejava/koala/org/kde/koala/PartManager.java b/kdejava/koala/org/kde/koala/PartManager.java index 488f4cb8..6c6bdf9f 100644 --- a/kdejava/koala/org/kde/koala/PartManager.java +++ b/kdejava/koala/org/kde/koala/PartManager.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -22,9 +22,9 @@ import org.kde.qt.QObject; @short The part manager is an object which knows about a collection of parts (even nested ones) and handles activation/deactivation. */ -public class PartManager extends QObject { +public class PartManager extends TQObject { protected PartManager(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a part manager. @@ -34,35 +34,35 @@ public class PartManager extends QObject { @param name The object's name, if any. @short Constructs a part manager. */ - public PartManager(QWidget parent, String name) { + public PartManager(TQWidget parent, String name) { super((Class) null); newPartManager(parent,name); } - private native void newPartManager(QWidget parent, String name); - public PartManager(QWidget parent) { + private native void newPartManager(TQWidget parent, String name); + public PartManager(TQWidget parent) { super((Class) null); newPartManager(parent); } - private native void newPartManager(QWidget parent); + private native void newPartManager(TQWidget parent); /** Constructs a part manager. @param topLevel The toplevel widget (window / dialog ) the partmanager should monitor for activation/selection events - @param parent The parent QObject. + @param parent The parent TQObject. @param name The object's name, if any. @short Constructs a part manager. */ - public PartManager(QWidget topLevel, QObject parent, String name) { + public PartManager(TQWidget topLevel, TQObject parent, String name) { super((Class) null); newPartManager(topLevel,parent,name); } - private native void newPartManager(QWidget topLevel, QObject parent, String name); - public PartManager(QWidget topLevel, QObject parent) { + private native void newPartManager(TQWidget topLevel, TQObject parent, String name); + public PartManager(TQWidget topLevel, TQObject parent) { super((Class) null); newPartManager(topLevel,parent); } - private native void newPartManager(QWidget topLevel, QObject parent); + private native void newPartManager(TQWidget topLevel, TQObject parent); /** Sets the selection policy of the partmanager. @short Sets the selection policy of the partmanager. @@ -120,7 +120,7 @@ public class PartManager extends QObject { /** @short */ - public native boolean eventFilter(QObject arg1, QEvent ev); + public native boolean eventFilter(TQObject arg1, TQEvent ev); /** Adds a part to the manager. Sets it to the active part automatically if <code>setActive</code> is true (default ). @@ -151,7 +151,7 @@ public class PartManager extends QObject { This is important if you have multiple views for a document/part, like in KOffice. @short Sets the active part. */ - public native void setActivePart(Part part, QWidget widget); + public native void setActivePart(Part part, TQWidget widget); public native void setActivePart(Part part); /** Returns the active part. @@ -162,7 +162,7 @@ public class PartManager extends QObject { Returns the active widget of the current active part (see activePart()). @short Returns the active widget of the current active part (see activePart()). */ - public native QWidget activeWidget(); + public native TQWidget activeWidget(); /** Sets the selected part. The selected part receives selection events. @@ -170,7 +170,7 @@ public class PartManager extends QObject { This is important if you have multiple views for a document/part, like in KOffice. @short Sets the selected part. */ - public native void setSelectedPart(Part part, QWidget widget); + public native void setSelectedPart(Part part, TQWidget widget); public native void setSelectedPart(Part part); /** Returns the current selected part. @@ -181,12 +181,12 @@ public class PartManager extends QObject { Returns the selected widget of the current selected part (see selectedPart()). @short Returns the selected widget of the current selected part (see selectedPart()). */ - public native QWidget selectedWidget(); + public native TQWidget selectedWidget(); /** Returns the list of parts being managed by the partmanager. @short Returns the list of parts being managed by the partmanager. */ - // const QPtrList<KParts::Part>* parts(); >>>> NOT CONVERTED + // const TQPtrList<KParts::Part>* parts(); >>>> NOT CONVERTED /** Adds the <code>topLevel</code> widget to the list of managed toplevel widgets. Usually a PartManager only listens for events (for activation/selection) @@ -195,13 +195,13 @@ public class PartManager extends QObject { library), it is necessary to extend this. @short Adds the <code>topLevel</code> widget to the list of managed toplevel widgets. */ - public native void addManagedTopLevelWidget(QWidget topLevel); + public native void addManagedTopLevelWidget(TQWidget topLevel); /** Removes the <code>topLevel</code> widget from the list of managed toplevel widgets. @short Removes the <code>topLevel</code> widget from the list of managed toplevel widgets. @see #addManagedTopLevelWidget */ - public native void removeManagedTopLevelWidget(QWidget topLevel); + public native void removeManagedTopLevelWidget(TQWidget topLevel); /** @return the reason for the last activePartChanged signal emitted. diff --git a/kdejava/koala/org/kde/koala/PartManagerSignals.java b/kdejava/koala/org/kde/koala/PartManagerSignals.java index f72ebf36..91eebe7f 100644 --- a/kdejava/koala/org/kde/koala/PartManagerSignals.java +++ b/kdejava/koala/org/kde/koala/PartManagerSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; public interface PartManagerSignals { /** diff --git a/kdejava/koala/org/kde/koala/PartSelectEvent.java b/kdejava/koala/org/kde/koala/PartSelectEvent.java index 363b97ba..d990e3e3 100644 --- a/kdejava/koala/org/kde/koala/PartSelectEvent.java +++ b/kdejava/koala/org/kde/koala/PartSelectEvent.java @@ -3,8 +3,8 @@ package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.QtSupport; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; /** @@ -15,13 +15,13 @@ import org.kde.qt.QWidget; */ public class PartSelectEvent extends Event { protected PartSelectEvent(Class dummy){super((Class) null);} - public PartSelectEvent(boolean selected, Part part, QWidget widget) { + public PartSelectEvent(boolean selected, Part part, TQWidget widget) { super((Class) null); newPartSelectEvent(selected,part,widget); } - private native void newPartSelectEvent(boolean selected, Part part, QWidget widget); + private native void newPartSelectEvent(boolean selected, Part part, TQWidget widget); public native boolean selected(); public native Part part(); - public native QWidget widget(); - public static native boolean test(QEvent event); + public native TQWidget widget(); + public static native boolean test(TQEvent event); } diff --git a/kdejava/koala/org/kde/koala/PartSignals.java b/kdejava/koala/org/kde/koala/PartSignals.java index 67679ad1..727042cb 100644 --- a/kdejava/koala/org/kde/koala/PartSignals.java +++ b/kdejava/koala/org/kde/koala/PartSignals.java @@ -1,12 +1,12 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QPoint; -import org.kde.qt.QCustomEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQPoint; +import org.kde.qt.TQCustomEvent; +import org.kde.qt.TQWidget; public interface PartSignals { /** diff --git a/kdejava/koala/org/kde/koala/PasswordDialog.java b/kdejava/koala/org/kde/koala/PasswordDialog.java index 32a2f481..91369c26 100644 --- a/kdejava/koala/org/kde/koala/PasswordDialog.java +++ b/kdejava/koala/org/kde/koala/PasswordDialog.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -16,7 +16,7 @@ import org.kde.qt.QWidget; */ public class PasswordDialog extends KDialogBase { protected PasswordDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Create a password dialog. @@ -28,16 +28,16 @@ public class PasswordDialog extends KDialogBase { @param name the dialog name (default:NULL). @short Create a password dialog. */ - public PasswordDialog(String prompt, String user, boolean enableKeep, boolean modal, QWidget parent, String name) { + public PasswordDialog(String prompt, String user, boolean enableKeep, boolean modal, TQWidget parent, String name) { super((Class) null); newPasswordDialog(prompt,user,enableKeep,modal,parent,name); } - private native void newPasswordDialog(String prompt, String user, boolean enableKeep, boolean modal, QWidget parent, String name); - public PasswordDialog(String prompt, String user, boolean enableKeep, boolean modal, QWidget parent) { + private native void newPasswordDialog(String prompt, String user, boolean enableKeep, boolean modal, TQWidget parent, String name); + public PasswordDialog(String prompt, String user, boolean enableKeep, boolean modal, TQWidget parent) { super((Class) null); newPasswordDialog(prompt,user,enableKeep,modal,parent); } - private native void newPasswordDialog(String prompt, String user, boolean enableKeep, boolean modal, QWidget parent); + private native void newPasswordDialog(String prompt, String user, boolean enableKeep, boolean modal, TQWidget parent); public PasswordDialog(String prompt, String user, boolean enableKeep, boolean modal) { super((Class) null); newPasswordDialog(prompt,user,enableKeep,modal); @@ -119,7 +119,7 @@ public class PasswordDialog extends KDialogBase { @param knownLogins map of known logins: the keys are usernames, the values are passwords. @short Presets a number of login+password pairs that the user can choose from. */ - // void setKnownLogins(const QMap<QString, QString>& arg1); >>>> NOT CONVERTED + // void setKnownLogins(const TQMap<TQString, TQString>& arg1); >>>> NOT CONVERTED /** A convienence static method for obtaining authorization information from the end user. diff --git a/kdejava/koala/org/kde/koala/Plugin.java b/kdejava/koala/org/kde/koala/Plugin.java index 4a9c7f95..84253dd3 100644 --- a/kdejava/koala/org/kde/koala/Plugin.java +++ b/kdejava/koala/org/kde/koala/Plugin.java @@ -2,13 +2,13 @@ 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.QWidget; -import org.kde.qt.QDomElement; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDomElement; +import org.kde.qt.TQObject; /** @@ -27,24 +27,24 @@ import org.kde.qt.QObject; @short A plugin is the way to add actions to an existing KParts application, or to a Part. */ -public class Plugin extends QObject implements KXMLGUIClientInterface { +public class Plugin extends TQObject implements KXMLGUIClientInterface { protected Plugin(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a new KParts plugin. @short Construct a new KParts plugin. */ - public Plugin(QObject parent, String name) { + public Plugin(TQObject parent, String name) { super((Class) null); newPlugin(parent,name); } - private native void newPlugin(QObject parent, String name); - public Plugin(QObject parent) { + private native void newPlugin(TQObject parent, String name); + public Plugin(TQObject parent) { super((Class) null); newPlugin(parent); } - private native void newPlugin(QObject parent); + private native void newPlugin(TQObject parent); public Plugin() { super((Class) null); newPlugin(); @@ -67,7 +67,7 @@ public class Plugin extends QObject implements KXMLGUIClientInterface { to support enabling and disabling of plugins. @short Load the plugin libraries from the directories appropriate to <code>instance</code> and make the Plugin objects children of <code>parent.</code> */ - public static native void loadPlugins(QObject parent, KInstanceInterface instance); + public static native void loadPlugins(TQObject parent, KInstanceInterface instance); /** Load the plugin libraries specified by the list <code>docs</code> and make the Plugin objects children of <code>parent</code> . @@ -75,7 +75,7 @@ public class Plugin extends QObject implements KXMLGUIClientInterface { to support enabling and disabling of plugins. @short Load the plugin libraries specified by the list <code>docs</code> and make the Plugin objects children of <code>parent</code> . */ - // void loadPlugins(QObject* arg1,const QValueList<KParts::Plugin::PluginInfo>& arg2); >>>> NOT CONVERTED + // void loadPlugins(TQObject* arg1,const TQValueList<KParts::Plugin::PluginInfo>& arg2); >>>> NOT CONVERTED /** Load the plugin libraries specified by the list <code>pluginInfos</code>, make the Plugin objects children of <code>parent</code>, and use the given <code>instance.</code> @@ -83,7 +83,7 @@ public class Plugin extends QObject implements KXMLGUIClientInterface { to support enabling and disabling of plugins. @short Load the plugin libraries specified by the list <code>pluginInfos</code>, make the Plugin objects children of <code>parent</code>, and use the given <code>instance.</code> */ - // void loadPlugins(QObject* arg1,const QValueList<KParts::Plugin::PluginInfo>& arg2,const KInstance* arg3); >>>> NOT CONVERTED + // void loadPlugins(TQObject* arg1,const TQValueList<KParts::Plugin::PluginInfo>& arg2,const KInstance* arg3); >>>> NOT CONVERTED /** Load the plugin libraries for the given <code>instance</code>, make the Plugin objects children of <code>parent</code>, and insert the plugin as a child GUI client @@ -103,8 +103,8 @@ public class Plugin extends QObject implements KXMLGUIClientInterface { <pre> if( factory() ) { - QPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); - QPtrListIterator<KParts.Plugin> it( plugins ); + TQPtrList<KParts.Plugin> plugins = KParts.Plugin.pluginObjects( this ); + TQPtrListIterator<KParts.Plugin> it( plugins ); KParts.Plugin plugin; while( ( plugin = it.current() ) != 0 ) { @@ -115,30 +115,30 @@ public class Plugin extends QObject implements KXMLGUIClientInterface { </pre> @short Load the plugin libraries for the given <code>instance</code>, make the Plugin objects children of <code>parent</code>, and insert the plugin as a child GUI client of <code>parentGUIClient.</code> */ - public static native void loadPlugins(QObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface instance, boolean enableNewPluginsByDefault); - public static native void loadPlugins(QObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface instance); + public static native void loadPlugins(TQObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface instance, boolean enableNewPluginsByDefault); + public static native void loadPlugins(TQObject parent, KXMLGUIClientInterface parentGUIClient, KInstanceInterface instance); /** Returns a list of plugin objects loaded for <code>parent.</code> This functions basically calls the queryList method of - QObject to retrieve the list of child objects inheriting + TQObject to retrieve the list of child objects inheriting KParts.Plugin . @short Returns a list of plugin objects loaded for <code>parent.</code> */ - // QPtrList<KParts::Plugin> pluginObjects(QObject* arg1); >>>> NOT CONVERTED + // TQPtrList<KParts::Plugin> pluginObjects(TQObject* arg1); >>>> NOT CONVERTED protected native void setInstance(KInstanceInterface instance); /** Look for plugins in the <code>instance</code>'s "data" directory (+"/kpartplugins") - @return A list of QDomDocument s, containing the parsed xml documents returned by plugins. + @return A list of TQDomDocument s, containing the parsed xml documents returned by plugins. @short Look for plugins in the <code>instance</code>'s "data" directory (+"/kpartplugins") */ - // QValueList<KParts::Plugin::PluginInfo> pluginInfos(const KInstance* arg1); >>>> NOT CONVERTED + // TQValueList<KParts::Plugin::PluginInfo> pluginInfos(const KInstance* arg1); >>>> NOT CONVERTED /** @return The plugin created from the library <code>libname</code> @short */ - protected static native Plugin loadPlugin(QObject parent, String libname); + protected static native Plugin loadPlugin(TQObject parent, String libname); /** Retrieves an action of the client by name. If not found, it looks in its child clients. This method is provided for convenience, as it uses actionCollection() @@ -147,21 +147,21 @@ public class Plugin extends QObject implements KXMLGUIClientInterface { */ public native KAction action(String name); /** - Retrieves an action for a given QDomElement. The default + Retrieves an action for a given TQDomElement. The default implementation uses the "name" attribute to query the action object via the other action() method. - @short Retrieves an action for a given QDomElement. + @short Retrieves an action for a given TQDomElement. */ - public native KAction action(QDomElement element); + public native KAction action(TQDomElement element); /** Retrieves the entire action collection for the GUI client. If you subclass KXMLGUIClient you should call - KActionCollection.setWidget( QWidget ) with this object, or + KActionCollection.setWidget( TQWidget ) with this object, or you will encounter subtle bugs with KAction keyboard shortcuts. This is not necessary if your KXMLGUIClient is a KMainWindow. @short Retrieves the entire action collection for the GUI client. @see KActionCollection#setWidget( - @see #org#kde#qt#QWidget* + @see #org#kde#qt#TQWidget* */ public native KActionCollection actionCollection(); /** @@ -171,21 +171,21 @@ public class Plugin extends QObject implements KXMLGUIClientInterface { */ public native KInstanceInterface instance(); /** - @return The parsed XML in a QDomDocument, set by + @return The parsed XML in a TQDomDocument, set by setXMLFile() or setXML(). This document describes the layout of the GUI. @short */ - public native QDomDocument domDocument(); + public native TQDomDocument domDocument(); /** @short */ - public native void setXMLGUIBuildDocument(QDomDocument doc); + public native void setXMLGUIBuildDocument(TQDomDocument doc); /** @short */ - public native QDomDocument xmlguiBuildDocument(); + public native TQDomDocument xmlguiBuildDocument(); /** This method is called by the KXMLGUIFactory as soon as the client is added to the KXMLGUIFactory's GUI. @@ -223,7 +223,7 @@ public class Plugin extends QObject implements KXMLGUIClientInterface { Retrieves a list of all child clients. @short Retrieves a list of all child clients. */ - // const QPtrList<KXMLGUIClient>* childClients(); >>>> NOT CONVERTED + // const TQPtrList<KXMLGUIClient>* childClients(); >>>> NOT CONVERTED /** A client can have an own KXMLGUIBuilder. Use this method to assign your builder instance to the client (so that the @@ -271,7 +271,7 @@ public class Plugin extends QObject implements KXMLGUIClientInterface { This tag will get expanded to a list of actions. In the example above ( a file manager with a dynamic file menu ), you would call <pre> - QPtrList<KAction> file_actions; + TQPtrList<KAction> file_actions; for( ... ) if( ... ) file_actions.append( cool_action ); @@ -287,7 +287,7 @@ public class Plugin extends QObject implements KXMLGUIClientInterface { menu too.. @short ActionLists are a way for XMLGUI to support dynamic lists of actions. */ - // void plugActionList(const QString& arg1,const QPtrList<KAction>& arg2); >>>> NOT CONVERTED + // void plugActionList(const TQString& arg1,const TQPtrList<KAction>& arg2); >>>> NOT CONVERTED /** The complement of plugActionList() ... @short The complement of plugActionList() . @@ -295,10 +295,10 @@ public class Plugin extends QObject implements KXMLGUIClientInterface { public native void unplugActionList(String name); public native void addStateActionEnabled(String state, String action); public native void addStateActionDisabled(String state, String action); - // KXMLGUIClient::StateChange getActionsToChangeForState(const QString& arg1); >>>> NOT CONVERTED - public native void beginXMLPlug(QWidget arg1); + // KXMLGUIClient::StateChange getActionsToChangeForState(const TQString& arg1); >>>> NOT CONVERTED + public native void beginXMLPlug(TQWidget arg1); public native void endXMLPlug(); - public native void prepareXMLUnplug(QWidget arg1); + public native void prepareXMLUnplug(TQWidget arg1); public static native String findMostRecentXMLFile(String[] files, StringBuffer doc); /** Sets the name of the rc file containing the XML for the part. @@ -330,8 +330,8 @@ public class Plugin extends QObject implements KXMLGUIClientInterface { setXMLFile or setXML . @short Sets the Document for the part, describing the layout of the GUI. */ - protected native void setDOMDocument(QDomDocument document, boolean merge); - protected native void setDOMDocument(QDomDocument document); + protected native void setDOMDocument(TQDomDocument document, boolean merge); + protected native void setDOMDocument(TQDomDocument document); /** This function will attempt to give up some memory after the GUI is built. It should never be used in apps where the GUI may be diff --git a/kdejava/koala/org/kde/koala/PreviewJob.java b/kdejava/koala/org/kde/koala/PreviewJob.java index 9de81202..c3e00fea 100644 --- a/kdejava/koala/org/kde/koala/PreviewJob.java +++ b/kdejava/koala/org/kde/koala/PreviewJob.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; +import org.kde.qt.TQPixmap; import java.util.ArrayList; /** @@ -13,7 +13,7 @@ import java.util.ArrayList; */ public class PreviewJob extends Job { protected PreviewJob(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a new PreviewJob. diff --git a/kdejava/koala/org/kde/koala/PreviewJobSignals.java b/kdejava/koala/org/kde/koala/PreviewJobSignals.java index 60bdad84..baba041a 100644 --- a/kdejava/koala/org/kde/koala/PreviewJobSignals.java +++ b/kdejava/koala/org/kde/koala/PreviewJobSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPixmap; +import org.kde.qt.TQPixmap; import java.util.ArrayList; public interface PreviewJobSignals { @@ -14,7 +14,7 @@ public interface PreviewJobSignals { @param preview the preview image @short Emitted when a thumbnail picture for <code>item</code> has been successfully retrieved. */ - void gotPreview(KFileItem item, QPixmap preview); + void gotPreview(KFileItem item, TQPixmap preview); /** Emitted when a thumbnail for <code>item</code> could not be created, either because a ThumbCreator for its MIME type does not diff --git a/kdejava/koala/org/kde/koala/ProgressBase.java b/kdejava/koala/org/kde/koala/ProgressBase.java index 5a2b579b..476c2287 100644 --- a/kdejava/koala/org/kde/koala/ProgressBase.java +++ b/kdejava/koala/org/kde/koala/ProgressBase.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QCloseEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWidget; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWidget; /** @@ -37,20 +37,20 @@ import org.kde.qt.QWidget; @short Base class for IO progress dialogs. */ -public class ProgressBase extends QWidget { +public class ProgressBase extends TQWidget { protected ProgressBase(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a new progress dialog. @param parent the parent of this dialog window, or 0 @short Creates a new progress dialog. */ - public ProgressBase(QWidget parent) { + public ProgressBase(TQWidget parent) { super((Class) null); newProgressBase(parent); } - private native void newProgressBase(QWidget parent); + private native void newProgressBase(TQWidget parent); /** Assign a KIO.Job to this progress dialog. @param job the job to assign @@ -201,6 +201,6 @@ public class ProgressBase extends QWidget { @short Called when the job is resuming. */ public native void slotCanResume(Job job, long from); - protected native void closeEvent(QCloseEvent arg1); + protected native void closeEvent(TQCloseEvent arg1); protected native void slotFinished(Job arg1); } diff --git a/kdejava/koala/org/kde/koala/ProgressBaseSignals.java b/kdejava/koala/org/kde/koala/ProgressBaseSignals.java index e3a46dc9..19c5278e 100644 --- a/kdejava/koala/org/kde/koala/ProgressBaseSignals.java +++ b/kdejava/koala/org/kde/koala/ProgressBaseSignals.java @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QCloseEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQWidget; public interface ProgressBaseSignals { /** diff --git a/kdejava/koala/org/kde/koala/Range.java b/kdejava/koala/org/kde/koala/Range.java index f9add647..eb316c0a 100644 --- a/kdejava/koala/org/kde/koala/Range.java +++ b/kdejava/koala/org/kde/koala/Range.java @@ -155,7 +155,7 @@ public class Range implements QtSupport { /** Moves the contents of a range from the containing document or document fragment to a new DocumentFragment. - HIERARCHY_REQUEST_ERR: Raised if a DocumentType node would be + HIERARCHY_RETQUEST_ERR: Raised if a DocumentType node would be extracted into the new DocumentFragment. @return A DocumentFragment containing the extracted contents. @@ -177,7 +177,7 @@ public class Range implements QtSupport { WRONG_DOCUMENT_ERR: Raised if <code>newNode</code> and the container of the start of the Range were not created from the same document. - HIERARCHY_REQUEST_ERR: Raised if the container of the start of + HIERARCHY_RETQUEST_ERR: Raised if the container of the start of the Range is of a type that does not allow children of the type of <code>newNode</code> or if <code>newNode</code> is an ancestor of the container . @@ -191,7 +191,7 @@ public class Range implements QtSupport { WRONG_DOCUMENT_ERR: Raised if <code>newParent</code> and the container of the start of the Range were not created from the same document. - HIERARCHY_REQUEST_ERR: Raised if the container of the start of + HIERARCHY_RETQUEST_ERR: Raised if the container of the start of the Range is of a type that does not allow children of the type of <code>newParent</code> or if <code>newParent</code> is an ancestor of the container or if <code>node</code> would @@ -225,11 +225,11 @@ public class Range implements QtSupport { public native DocumentFragment createContextualFragment(String html); /** Called to indicate that the range is no longer in use and that - the implementation may relinquish any resources associated with + the implementation may relintquish any resources associated with this range. Subsequent calls to any methods or attribute getters on this range will result in a DOMException being thrown with an error code of INVALID_STATE_ERR. - @short Called to indicate that the range is no longer in use and that the implementation may relinquish any resources associated with this range. + @short Called to indicate that the range is no longer in use and that the implementation may relintquish any resources associated with this range. */ public native void detach(); /** diff --git a/kdejava/koala/org/kde/koala/ReadOnlyPart.java b/kdejava/koala/org/kde/koala/ReadOnlyPart.java index cf8d579c..f15642bb 100644 --- a/kdejava/koala/org/kde/koala/ReadOnlyPart.java +++ b/kdejava/koala/org/kde/koala/ReadOnlyPart.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -26,7 +26,7 @@ import org.kde.qt.QObject; */ public class ReadOnlyPart extends Part { protected ReadOnlyPart(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor diff --git a/kdejava/koala/org/kde/koala/ReadOnlyPartSignals.java b/kdejava/koala/org/kde/koala/ReadOnlyPartSignals.java index 2127b737..8c3c73cc 100644 --- a/kdejava/koala/org/kde/koala/ReadOnlyPartSignals.java +++ b/kdejava/koala/org/kde/koala/ReadOnlyPartSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; public interface ReadOnlyPartSignals { /** diff --git a/kdejava/koala/org/kde/koala/ReadWritePart.java b/kdejava/koala/org/kde/koala/ReadWritePart.java index ed501e4d..4aa0037e 100644 --- a/kdejava/koala/org/kde/koala/ReadWritePart.java +++ b/kdejava/koala/org/kde/koala/ReadWritePart.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -24,7 +24,7 @@ import org.kde.qt.QObject; */ public class ReadWritePart extends ReadOnlyPart { protected ReadWritePart(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructor. diff --git a/kdejava/koala/org/kde/koala/ReadWritePartSignals.java b/kdejava/koala/org/kde/koala/ReadWritePartSignals.java index 2d1f07bb..62136816 100644 --- a/kdejava/koala/org/kde/koala/ReadWritePartSignals.java +++ b/kdejava/koala/org/kde/koala/ReadWritePartSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; public interface ReadWritePartSignals { /** diff --git a/kdejava/koala/org/kde/koala/RenameDlg.java b/kdejava/koala/org/kde/koala/RenameDlg.java index be8b315c..a6893e46 100644 --- a/kdejava/koala/org/kde/koala/RenameDlg.java +++ b/kdejava/koala/org/kde/koala/RenameDlg.java @@ -2,10 +2,10 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; -import org.kde.qt.QDialog; +import org.kde.qt.TQWidget; +import org.kde.qt.TQDialog; /** @@ -13,9 +13,9 @@ import org.kde.qt.QDialog; @short A dialog for renaming files. */ -public class RenameDlg extends QDialog { +public class RenameDlg extends TQDialog { protected RenameDlg(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Construct a "rename" dialog. @@ -34,46 +34,46 @@ public class RenameDlg extends QDialog { @short Construct a "rename" dialog. @see RenameDlg_Mode */ - public RenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest, boolean modal) { + public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest, boolean modal) { super((Class) null); newRenameDlg(parent,caption,src,dest,mode,sizeSrc,sizeDest,ctimeSrc,ctimeDest,mtimeSrc,mtimeDest,modal); } - private native void newRenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest, boolean modal); - public RenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest) { + private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest, boolean modal); + public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest) { super((Class) null); newRenameDlg(parent,caption,src,dest,mode,sizeSrc,sizeDest,ctimeSrc,ctimeDest,mtimeSrc,mtimeDest); } - private native void newRenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest); - public RenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc) { + private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc, int mtimeDest); + public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc) { super((Class) null); newRenameDlg(parent,caption,src,dest,mode,sizeSrc,sizeDest,ctimeSrc,ctimeDest,mtimeSrc); } - private native void newRenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc); - public RenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest) { + private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest, int mtimeSrc); + public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest) { super((Class) null); newRenameDlg(parent,caption,src,dest,mode,sizeSrc,sizeDest,ctimeSrc,ctimeDest); } - private native void newRenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest); - public RenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc) { + private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc, int ctimeDest); + public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc) { super((Class) null); newRenameDlg(parent,caption,src,dest,mode,sizeSrc,sizeDest,ctimeSrc); } - private native void newRenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc); - public RenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest) { + private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest, int ctimeSrc); + public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest) { super((Class) null); newRenameDlg(parent,caption,src,dest,mode,sizeSrc,sizeDest); } - private native void newRenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest); - public RenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc) { + private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc, long sizeDest); + public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc) { super((Class) null); newRenameDlg(parent,caption,src,dest,mode,sizeSrc); } - private native void newRenameDlg(QWidget parent, String caption, String src, String dest, int mode, long sizeSrc); - public RenameDlg(QWidget parent, String caption, String src, String dest, int mode) { + private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode, long sizeSrc); + public RenameDlg(TQWidget parent, String caption, String src, String dest, int mode) { super((Class) null); newRenameDlg(parent,caption,src,dest,mode); } - private native void newRenameDlg(QWidget parent, String caption, String src, String dest, int mode); + private native void newRenameDlg(TQWidget parent, String caption, String src, String dest, int mode); /** @return the new destination valid only if RENAME was chosen diff --git a/kdejava/koala/org/kde/koala/Scheduler.java b/kdejava/koala/org/kde/koala/Scheduler.java index e6ed1141..abf47f8c 100644 --- a/kdejava/koala/org/kde/koala/Scheduler.java +++ b/kdejava/koala/org/kde/koala/Scheduler.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; import java.util.ArrayList; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -70,11 +70,11 @@ import org.kde.qt.QObject; @see Job */ -public class Scheduler extends QObject implements DCOPObjectInterface { +public class Scheduler extends TQObject implements DCOPObjectInterface { protected Scheduler(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public native boolean connect(QObject sender, String signal, String member); + public native boolean connect(TQObject sender, String signal, String member); public native void debug_info(); public native boolean process(String fun, byte[] data, StringBuffer replyType, byte[] replyData); public native ArrayList functions(); @@ -155,25 +155,25 @@ public class Scheduler extends QObject implements DCOPObjectInterface { the that was started. Register the mainwindow <code>wid</code> with the KIO subsystem Do not call this, it is called automatically from - void KIO.Job.setWindow(QWidget). + void KIO.Job.setWindow(TQWidget). @param wid the window to register @short Send the slave that was put on hold back to KLauncher. */ - public static native void registerWindow(QWidget wid); + public static native void registerWindow(TQWidget wid); /** Unregisters the window registered by registerWindow(). @short */ - public static native void unregisterWindow(QObject wid); + public static native void unregisterWindow(TQObject wid); /** Function to connect signals emitted by the scheduler. @short Function to connect signals emitted by the scheduler. @see #slaveConnected @see #slaveError */ - public static native boolean connect(String signal, QObject receiver, String member); - public static native boolean connect(QObject sender, String signal, QObject receiver, String member); - public static native boolean disconnect(QObject sender, String signal, QObject receiver, String member); + public static native boolean connect(String signal, TQObject receiver, String member); + public static native boolean connect(TQObject sender, String signal, TQObject receiver, String member); + public static native boolean disconnect(TQObject sender, String signal, TQObject receiver, String member); /** When true, the next job will check whether KLauncher has a slave on hold that is suitable for the job. @@ -181,7 +181,7 @@ public class Scheduler extends QObject implements DCOPObjectInterface { @short When true, the next job will check whether KLauncher has a slave on hold that is suitable for the job. */ public static native void checkSlaveOnHold(boolean b); - // void setupSlave(KIO::Slave* arg1,const KURL& arg2,const QString& arg3,const QString& arg4,bool arg5,const KIO::MetaData* arg6); >>>> NOT CONVERTED + // void setupSlave(KIO::Slave* arg1,const KURL& arg2,const TQString& arg3,const TQString& arg4,bool arg5,const KIO::MetaData* arg6); >>>> NOT CONVERTED protected native void setupSlave(Slave slave, KURL url, String protocol, String proxy, boolean newSlave); // bool startJobScheduled(KIO::Scheduler::ProtocolInfo* arg1); >>>> NOT CONVERTED protected native boolean startJobDirect(); @@ -195,7 +195,7 @@ public class Scheduler extends QObject implements DCOPObjectInterface { protected native void slotSlaveConnected(); protected native void slotSlaveError(int error, String errorMsg); protected native void slotScheduleCoSlave(); - protected native void slotUnregisterWindow(QObject arg1); + protected native void slotUnregisterWindow(TQObject arg1); /** Returns the object id of the DCOPObject. @return the object's id @@ -363,14 +363,14 @@ public class Scheduler extends QObject implements DCOPObjectInterface { @short Tries to find an object using a partial object id. */ - // QPtrList<DCOPObject> match(const QCString& arg1); >>>> NOT CONVERTED + // TQPtrList<DCOPObject> match(const TQCString& arg1); >>>> NOT CONVERTED /** - Creates an object id for the QObject <code>obj.</code> This is done - using the QObject.name() function. + Creates an object id for the TQObject <code>obj.</code> This is done + using the TQObject.name() function. @param obj the object whose name will be used @return the created object id - @short Creates an object id for the QObject <code>obj.</code> + @short Creates an object id for the TQObject <code>obj.</code> */ - public static native String objectName(QObject arg1); + public static native String objectName(TQObject arg1); } diff --git a/kdejava/koala/org/kde/koala/SchedulerSignals.java b/kdejava/koala/org/kde/koala/SchedulerSignals.java index 14285e5a..26bfb029 100644 --- a/kdejava/koala/org/kde/koala/SchedulerSignals.java +++ b/kdejava/koala/org/kde/koala/SchedulerSignals.java @@ -1,11 +1,11 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; import java.util.ArrayList; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface SchedulerSignals { void slaveConnected(Slave slave); diff --git a/kdejava/koala/org/kde/koala/SessionData.java b/kdejava/koala/org/kde/koala/SessionData.java index 24d3e5f2..a1d7cfb1 100644 --- a/kdejava/koala/org/kde/koala/SessionData.java +++ b/kdejava/koala/org/kde/koala/SessionData.java @@ -2,25 +2,25 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @short */ -public class SessionData extends QObject { +public class SessionData extends TQObject { protected SessionData(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); public SessionData() { super((Class) null); newSessionData(); } private native void newSessionData(); - // void configDataFor(KIO::MetaData& arg1,const QString& arg2,const QString& arg3); >>>> NOT CONVERTED + // void configDataFor(KIO::MetaData& arg1,const TQString& arg2,const TQString& arg3); >>>> NOT CONVERTED public native void reset(); public native void slotAuthData(String arg1, String arg2, boolean arg3); public native void slotDelAuthData(String arg1); diff --git a/kdejava/koala/org/kde/koala/SimpleJob.java b/kdejava/koala/org/kde/koala/SimpleJob.java index dee58750..8f15df09 100644 --- a/kdejava/koala/org/kde/koala/SimpleJob.java +++ b/kdejava/koala/org/kde/koala/SimpleJob.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; /** @@ -16,7 +16,7 @@ import org.kde.qt.QtSupport; */ public class SimpleJob extends Job { protected SimpleJob(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a new simple job. You don't need to use this constructor, @@ -42,12 +42,12 @@ public class SimpleJob extends Job { /** Abort job. This kills all subjobs and deletes the job. - @param quietly if true, Job will emit signal result + @param tquietly if true, Job will emit signal result Should only be set to false when the user kills the job (from kio_uiserver), not when you want to abort a job. @short Abort job. */ - public native void kill(boolean quietly); + public native void kill(boolean tquietly); public native void kill(); /** Abort job. diff --git a/kdejava/koala/org/kde/koala/SkipDlg.java b/kdejava/koala/org/kde/koala/SkipDlg.java index 40272c80..16d3a5eb 100644 --- a/kdejava/koala/org/kde/koala/SkipDlg.java +++ b/kdejava/koala/org/kde/koala/SkipDlg.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; /** @@ -14,18 +14,18 @@ import org.kde.qt.QWidget; */ public class SkipDlg extends KDialog { protected SkipDlg(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public SkipDlg(QWidget parent, boolean _multi, String _error_text, boolean _modal) { + public SkipDlg(TQWidget parent, boolean _multi, String _error_text, boolean _modal) { super((Class) null); newSkipDlg(parent,_multi,_error_text,_modal); } - private native void newSkipDlg(QWidget parent, boolean _multi, String _error_text, boolean _modal); - public SkipDlg(QWidget parent, boolean _multi, String _error_text) { + private native void newSkipDlg(TQWidget parent, boolean _multi, String _error_text, boolean _modal); + public SkipDlg(TQWidget parent, boolean _multi, String _error_text) { super((Class) null); newSkipDlg(parent,_multi,_error_text); } - private native void newSkipDlg(QWidget parent, boolean _multi, String _error_text); + private native void newSkipDlg(TQWidget parent, boolean _multi, String _error_text); public native void b0Pressed(); public native void b1Pressed(); public native void b2Pressed(); diff --git a/kdejava/koala/org/kde/koala/SkipDlgSignals.java b/kdejava/koala/org/kde/koala/SkipDlgSignals.java index 33d4e16e..c89f42b7 100644 --- a/kdejava/koala/org/kde/koala/SkipDlgSignals.java +++ b/kdejava/koala/org/kde/koala/SkipDlgSignals.java @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QWidget; +import org.kde.qt.TQWidget; public interface SkipDlgSignals { void result(SkipDlg _this, int _button); diff --git a/kdejava/koala/org/kde/koala/Slave.java b/kdejava/koala/org/kde/koala/Slave.java index 9b9e895e..c43853a7 100644 --- a/kdejava/koala/org/kde/koala/Slave.java +++ b/kdejava/koala/org/kde/koala/Slave.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; /** @@ -15,9 +15,9 @@ import org.kde.qt.QtSupport; */ public class Slave extends SlaveInterface { protected Slave(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - // KIO::Slave* Slave(KServerSocket* arg1,const QString& arg2,const QString& arg3); >>>> NOT CONVERTED + // KIO::Slave* Slave(KServerSocket* arg1,const TQString& arg2,const TQString& arg3); >>>> NOT CONVERTED public native void setPID(int arg1); public native int slave_pid(); /** diff --git a/kdejava/koala/org/kde/koala/SlaveBase.java b/kdejava/koala/org/kde/koala/SlaveBase.java index 804548ab..4b66f5aa 100644 --- a/kdejava/koala/org/kde/koala/SlaveBase.java +++ b/kdejava/koala/org/kde/koala/SlaveBase.java @@ -193,10 +193,10 @@ public class SlaveBase implements QtSupport { @short Call this to show a message box from the slave */ - // int messageBox(KIO::SlaveBase::MessageBoxType arg1,const QString& arg2,const QString& arg3,const QString& arg4,const QString& arg5); >>>> NOT CONVERTED - // int messageBox(KIO::SlaveBase::MessageBoxType arg1,const QString& arg2,const QString& arg3,const QString& arg4); >>>> NOT CONVERTED - // int messageBox(KIO::SlaveBase::MessageBoxType arg1,const QString& arg2,const QString& arg3); >>>> NOT CONVERTED - // int messageBox(KIO::SlaveBase::MessageBoxType arg1,const QString& arg2); >>>> NOT CONVERTED + // int messageBox(KIO::SlaveBase::MessageBoxType arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5); >>>> NOT CONVERTED + // int messageBox(KIO::SlaveBase::MessageBoxType arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4); >>>> NOT CONVERTED + // int messageBox(KIO::SlaveBase::MessageBoxType arg1,const TQString& arg2,const TQString& arg3); >>>> NOT CONVERTED + // int messageBox(KIO::SlaveBase::MessageBoxType arg1,const TQString& arg2); >>>> NOT CONVERTED /** Call this to show a message box from the slave @param text Message string. May contain newlines. @@ -214,11 +214,11 @@ public class SlaveBase implements QtSupport { @short Call this to show a message box from the slave */ - // int messageBox(const QString& arg1,KIO::SlaveBase::MessageBoxType arg2,const QString& arg3,const QString& arg4,const QString& arg5,const QString& arg6); >>>> NOT CONVERTED - // int messageBox(const QString& arg1,KIO::SlaveBase::MessageBoxType arg2,const QString& arg3,const QString& arg4,const QString& arg5); >>>> NOT CONVERTED - // int messageBox(const QString& arg1,KIO::SlaveBase::MessageBoxType arg2,const QString& arg3,const QString& arg4); >>>> NOT CONVERTED - // int messageBox(const QString& arg1,KIO::SlaveBase::MessageBoxType arg2,const QString& arg3); >>>> NOT CONVERTED - // int messageBox(const QString& arg1,KIO::SlaveBase::MessageBoxType arg2); >>>> NOT CONVERTED + // int messageBox(const TQString& arg1,KIO::SlaveBase::MessageBoxType arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5,const TQString& arg6); >>>> NOT CONVERTED + // int messageBox(const TQString& arg1,KIO::SlaveBase::MessageBoxType arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5); >>>> NOT CONVERTED + // int messageBox(const TQString& arg1,KIO::SlaveBase::MessageBoxType arg2,const TQString& arg3,const TQString& arg4); >>>> NOT CONVERTED + // int messageBox(const TQString& arg1,KIO::SlaveBase::MessageBoxType arg2,const TQString& arg3); >>>> NOT CONVERTED + // int messageBox(const TQString& arg1,KIO::SlaveBase::MessageBoxType arg2); >>>> NOT CONVERTED /** Sets meta-data to be send to the application before the first data() or finished() signal. diff --git a/kdejava/koala/org/kde/koala/SlaveConfigSignals.java b/kdejava/koala/org/kde/koala/SlaveConfigSignals.java index 64fb729d..6fbf8214 100644 --- a/kdejava/koala/org/kde/koala/SlaveConfigSignals.java +++ b/kdejava/koala/org/kde/koala/SlaveConfigSignals.java @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; public interface SlaveConfigSignals { diff --git a/kdejava/koala/org/kde/koala/SlaveInterface.java b/kdejava/koala/org/kde/koala/SlaveInterface.java index b764e1ed..5a092211 100644 --- a/kdejava/koala/org/kde/koala/SlaveInterface.java +++ b/kdejava/koala/org/kde/koala/SlaveInterface.java @@ -2,9 +2,9 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; /** @@ -16,9 +16,9 @@ import org.kde.qt.QObject; @short There are two classes that specifies the protocol between application (KIO.Job) and kioslave. */ -public class SlaveInterface extends QObject { +public class SlaveInterface extends TQObject { protected SlaveInterface(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); public native void setConnection(Connection connection); public native Connection connection(); diff --git a/kdejava/koala/org/kde/koala/SlaveInterfaceSignals.java b/kdejava/koala/org/kde/koala/SlaveInterfaceSignals.java index e1beb142..c22f05eb 100644 --- a/kdejava/koala/org/kde/koala/SlaveInterfaceSignals.java +++ b/kdejava/koala/org/kde/koala/SlaveInterfaceSignals.java @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; public interface SlaveInterfaceSignals { diff --git a/kdejava/koala/org/kde/koala/SlaveSignals.java b/kdejava/koala/org/kde/koala/SlaveSignals.java index 0b3e23a8..998261a5 100644 --- a/kdejava/koala/org/kde/koala/SlaveSignals.java +++ b/kdejava/koala/org/kde/koala/SlaveSignals.java @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; public interface SlaveSignals { diff --git a/kdejava/koala/org/kde/koala/StatJob.java b/kdejava/koala/org/kde/koala/StatJob.java index fecfb320..2a626011 100644 --- a/kdejava/koala/org/kde/koala/StatJob.java +++ b/kdejava/koala/org/kde/koala/StatJob.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; /** @@ -15,7 +15,7 @@ import org.kde.qt.QtSupport; */ public class StatJob extends SimpleJob { protected StatJob(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Do not use this constructor to create a StatJob, use KIO.stat() instead. diff --git a/kdejava/koala/org/kde/koala/StatJobSignals.java b/kdejava/koala/org/kde/koala/StatJobSignals.java index e17ed6a6..46539cea 100644 --- a/kdejava/koala/org/kde/koala/StatJobSignals.java +++ b/kdejava/koala/org/kde/koala/StatJobSignals.java @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; public interface StatJobSignals { diff --git a/kdejava/koala/org/kde/koala/StatusBarExtension.java b/kdejava/koala/org/kde/koala/StatusBarExtension.java index 01cfd9a2..9b1369f5 100644 --- a/kdejava/koala/org/kde/koala/StatusBarExtension.java +++ b/kdejava/koala/org/kde/koala/StatusBarExtension.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QObject; +import org.kde.qt.TQObject; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQObject; /** @@ -18,9 +18,9 @@ import org.kde.qt.QObject; @short An extension for KParts that allows more sophisticated statusbar handling. */ -public class StatusBarExtension extends QObject { +public class StatusBarExtension extends TQObject { protected StatusBarExtension(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); public StatusBarExtension(ReadOnlyPart parent, String name) { super((Class) null); @@ -37,13 +37,13 @@ public class StatusBarExtension extends QObject { If you use this method instead of using statusBar() directly, this extension will take care of removing the items when the parts GUI is deactivated and will re-add them when it is reactivated. - The parameters are the same as QStatusBar.addWidget(). + The parameters are the same as TQStatusBar.addWidget(). Note that you can't use KStatusBar methods (inserting text items by id) but you can create a KStatusBarLabel with a dummy id instead, and use it directly in order to get the same look and feel. @param widget the widget to add @param stretch the stretch factor. 0 for a minimum size. - @param permanent passed to QStatusBar.addWidget as the "permanent" boolean. + @param permanent passed to TQStatusBar.addWidget as the "permanent" boolean. Note that the item isn't really permanent though, it goes away when the part is unactivated. This simply controls where temporary messages hide the <code>widget</code>, and whether it's added to the left or to the right side. @@ -51,12 +51,12 @@ public class StatusBarExtension extends QObject { Give the application time to set the statusbar in the extension if necessary. @short This adds a widget to the statusbar for this part. */ - public native void addStatusBarItem(QWidget widget, int stretch, boolean permanent); + public native void addStatusBarItem(TQWidget widget, int stretch, boolean permanent); /** Remove a <code>widget</code> from the statusbar for this part. @short Remove a <code>widget</code> from the statusbar for this part. */ - public native void removeStatusBarItem(QWidget widget); + public native void removeStatusBarItem(TQWidget widget); /** @return the statusbar of the KMainWindow in which this part is currently embedded. WARNING: this could return 0L @@ -75,11 +75,11 @@ public class StatusBarExtension extends QObject { public native void setStatusBar(KStatusBar status); /** @internal @short @internal */ - public native boolean eventFilter(QObject watched, QEvent ev); + public native boolean eventFilter(TQObject watched, TQEvent ev); /** Queries <code>obj</code> for a child object which inherits from this BrowserExtension class. Convenience method. @short Queries <code>obj</code> for a child object which inherits from this BrowserExtension class. */ - public static native StatusBarExtension childObject(QObject arg1); + public static native StatusBarExtension childObject(TQObject arg1); } diff --git a/kdejava/koala/org/kde/koala/StatusbarProgress.java b/kdejava/koala/org/kde/koala/StatusbarProgress.java index 9954be6c..a7d44369 100644 --- a/kdejava/koala/org/kde/koala/StatusbarProgress.java +++ b/kdejava/koala/org/kde/koala/StatusbarProgress.java @@ -2,11 +2,11 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QObject; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; +import org.kde.qt.TQObject; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; /** @@ -35,7 +35,7 @@ import org.kde.qt.QWidget; */ public class StatusbarProgress extends ProgressBase { protected StatusbarProgress(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Creates a new StatusbarProgress. @@ -44,16 +44,16 @@ public class StatusbarProgress extends ProgressBase { connected to ProgressBase.slotStop() @short Creates a new StatusbarProgress. */ - public StatusbarProgress(QWidget parent, boolean button) { + public StatusbarProgress(TQWidget parent, boolean button) { super((Class) null); newStatusbarProgress(parent,button); } - private native void newStatusbarProgress(QWidget parent, boolean button); - public StatusbarProgress(QWidget parent) { + private native void newStatusbarProgress(TQWidget parent, boolean button); + public StatusbarProgress(TQWidget parent) { super((Class) null); newStatusbarProgress(parent); } - private native void newStatusbarProgress(QWidget parent); + private native void newStatusbarProgress(TQWidget parent); /** Sets the job to monitor. @param job the job to monitor @@ -65,5 +65,5 @@ public class StatusbarProgress extends ProgressBase { public native void slotPercent(Job job, long percent); public native void slotSpeed(Job job, long speed); protected native void setMode(); - public native boolean eventFilter(QObject arg1, QEvent arg2); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); } diff --git a/kdejava/koala/org/kde/koala/StoredTransferJob.java b/kdejava/koala/org/kde/koala/StoredTransferJob.java index 5b70201b..65d3d165 100644 --- a/kdejava/koala/org/kde/koala/StoredTransferJob.java +++ b/kdejava/koala/org/kde/koala/StoredTransferJob.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; /** @@ -15,18 +15,18 @@ import org.kde.qt.QtSupport; when the result signal is emitted. You should only use StoredTransferJob to download data if you cannot process the data by chunks while it's being downloaded, since storing - everything in a byte[] can potentially require a lot of memory. + everything in a byte[] can potentially retquire a lot of memory. For KIO.storedPut the user of this class simply provides the bytearray from the start, and the job takes care of uploading it. You should only use StoredTransferJob to upload data if you cannot provide the in chunks while it's being uploaded, since storing - everything in a byte[] can potentially require a lot of memory. - @short StoredTransferJob is a TransferJob (for downloading or uploading data) that also stores a QByteArray with the data, making it simpler to use than the standard TransferJob. + everything in a byte[] can potentially retquire a lot of memory. + @short StoredTransferJob is a TransferJob (for downloading or uploading data) that also stores a TQByteArray with the data, making it simpler to use than the standard TransferJob. */ public class StoredTransferJob extends TransferJob { protected StoredTransferJob(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Do not create a StoredTransferJob. Use storedGet() or storedPut() diff --git a/kdejava/koala/org/kde/koala/TransferJob.java b/kdejava/koala/org/kde/koala/TransferJob.java index 0d9af8ca..50fbc015 100644 --- a/kdejava/koala/org/kde/koala/TransferJob.java +++ b/kdejava/koala/org/kde/koala/TransferJob.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; /** @@ -17,7 +17,7 @@ import org.kde.qt.QtSupport; */ public class TransferJob extends SimpleJob { protected TransferJob(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Do not create a TransferJob. Use KIO.get() or KIO.put() diff --git a/kdejava/koala/org/kde/koala/TransferJobSignals.java b/kdejava/koala/org/kde/koala/TransferJobSignals.java index 9305b397..05b51a51 100644 --- a/kdejava/koala/org/kde/koala/TransferJobSignals.java +++ b/kdejava/koala/org/kde/koala/TransferJobSignals.java @@ -1,7 +1,7 @@ //Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; public interface TransferJobSignals { @@ -18,7 +18,7 @@ public interface TransferJobSignals { /** Request for data. Please note, that you shouldn't put too large chunks - of data in it as this requires copies within the frame + of data in it as this retquires copies within the frame work, so you should rather split the data you want to pass here in reasonable chunks (about 1MB maximum) @param job the job that emitted this signal diff --git a/kdejava/koala/org/kde/koala/URLArgs.java b/kdejava/koala/org/kde/koala/URLArgs.java index 759ca302..76e8b367 100644 --- a/kdejava/koala/org/kde/koala/URLArgs.java +++ b/kdejava/koala/org/kde/koala/URLArgs.java @@ -81,7 +81,7 @@ public class URLArgs implements QtSupport { @see TransferJob @see #etc# */ - // QMap<QString, QString>& metaData(); >>>> NOT CONVERTED + // TQMap<TQString, TQString>& metaData(); >>>> NOT CONVERTED /** @return true if the request was a result of a META refresh/redirect request or HTTP redirect. diff --git a/kdejava/koala/org/kde/koala/WindowArgs.java b/kdejava/koala/org/kde/koala/WindowArgs.java index c4d9870d..b53372ec 100644 --- a/kdejava/koala/org/kde/koala/WindowArgs.java +++ b/kdejava/koala/org/kde/koala/WindowArgs.java @@ -2,7 +2,7 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; +import org.kde.qt.TQRect; import org.kde.qt.QtSupport; /** @@ -26,10 +26,10 @@ public class WindowArgs implements QtSupport { newWindowArgs(args); } private native void newWindowArgs(WindowArgs args); - public WindowArgs(QRect _geometry, boolean _fullscreen, boolean _menuBarVisible, boolean _toolBarsVisible, boolean _statusBarVisible, boolean _resizable) { + public WindowArgs(TQRect _geometry, boolean _fullscreen, boolean _menuBarVisible, boolean _toolBarsVisible, boolean _statusBarVisible, boolean _resizable) { newWindowArgs(_geometry,_fullscreen,_menuBarVisible,_toolBarsVisible,_statusBarVisible,_resizable); } - private native void newWindowArgs(QRect _geometry, boolean _fullscreen, boolean _menuBarVisible, boolean _toolBarsVisible, boolean _statusBarVisible, boolean _resizable); + private native void newWindowArgs(TQRect _geometry, boolean _fullscreen, boolean _menuBarVisible, boolean _toolBarsVisible, boolean _statusBarVisible, boolean _resizable); public WindowArgs(int _x, int _y, int _width, int _height, boolean _fullscreen, boolean _menuBarVisible, boolean _toolBarsVisible, boolean _statusBarVisible, boolean _resizable) { newWindowArgs(_x,_y,_width,_height,_fullscreen,_menuBarVisible,_toolBarsVisible,_statusBarVisible,_resizable); } |