From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- qtjava/javalib/org/kde/qt/QUriDrag.java | 56 ++++++++++++++++----------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'qtjava/javalib/org/kde/qt/QUriDrag.java') diff --git a/qtjava/javalib/org/kde/qt/QUriDrag.java b/qtjava/javalib/org/kde/qt/QUriDrag.java index c719cd6c..e95700bf 100644 --- a/qtjava/javalib/org/kde/qt/QUriDrag.java +++ b/qtjava/javalib/org/kde/qt/QUriDrag.java @@ -4,40 +4,40 @@ package org.kde.qt; import java.util.ArrayList; import org.kde.qt.Qt; -public class QUriDrag extends QStoredDrag { - protected QUriDrag(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQUriDrag extends TQStoredDrag { + protected TQUriDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QUriDrag(String[] uris, QWidget dragSource, String name) { + public TQUriDrag(String[] uris, TQWidget dragSource, String name) { super((Class) null); - newQUriDrag(uris,dragSource,name); + newTQUriDrag(uris,dragSource,name); } - private native void newQUriDrag(String[] uris, QWidget dragSource, String name); - public QUriDrag(String[] uris, QWidget dragSource) { + private native void newTQUriDrag(String[] uris, TQWidget dragSource, String name); + public TQUriDrag(String[] uris, TQWidget dragSource) { super((Class) null); - newQUriDrag(uris,dragSource); + newTQUriDrag(uris,dragSource); } - private native void newQUriDrag(String[] uris, QWidget dragSource); - public QUriDrag(String[] uris) { + private native void newTQUriDrag(String[] uris, TQWidget dragSource); + public TQUriDrag(String[] uris) { super((Class) null); - newQUriDrag(uris); + newTQUriDrag(uris); } - private native void newQUriDrag(String[] uris); - public QUriDrag(QWidget dragSource, String name) { + private native void newTQUriDrag(String[] uris); + public TQUriDrag(TQWidget dragSource, String name) { super((Class) null); - newQUriDrag(dragSource,name); + newTQUriDrag(dragSource,name); } - private native void newQUriDrag(QWidget dragSource, String name); - public QUriDrag(QWidget dragSource) { + private native void newTQUriDrag(TQWidget dragSource, String name); + public TQUriDrag(TQWidget dragSource) { super((Class) null); - newQUriDrag(dragSource); + newTQUriDrag(dragSource); } - private native void newQUriDrag(QWidget dragSource); - public QUriDrag() { + private native void newTQUriDrag(TQWidget dragSource); + public TQUriDrag() { super((Class) null); - newQUriDrag(); + newTQUriDrag(); } - private native void newQUriDrag(); + private native void newTQUriDrag(); public native void setFilenames(String[] fnames); public native void setFileNames(String[] fnames); public native void setUnicodeUris(String[] uuris); @@ -48,18 +48,18 @@ public class QUriDrag extends QStoredDrag { public static native String localFileToUri(String arg1); public static native String uriToUnicodeUri(String arg1); public static native String unicodeUriToUri(String arg1); - public static native boolean canDecode(QMimeSourceInterface e); - public static native boolean decode(QMimeSourceInterface e, String[] i); - public static native boolean decodeToUnicodeUris(QMimeSourceInterface e, String[] i); - public static native boolean decodeLocalFiles(QMimeSourceInterface e, String[] i); + public static native boolean canDecode(TQMimeSourceInterface e); + public static native boolean decode(TQMimeSourceInterface e, String[] i); + public static native boolean decodeToUnicodeUris(TQMimeSourceInterface e, String[] i); + public static native boolean decodeLocalFiles(TQMimeSourceInterface e, String[] i); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ public native void dispose(); /** Has the wrapped C++ instance been deleted? */ public native boolean isDisposed(); - public static native boolean decode(QMimeSourceInterface e, ArrayList i); - public static native boolean decodeToUnicodeUris(QMimeSourceInterface e, ArrayList i); - public static native boolean decodeLocalFiles(QMimeSourceInterface e, ArrayList i); + public static native boolean decode(TQMimeSourceInterface e, ArrayList i); + public static native boolean decodeToUnicodeUris(TQMimeSourceInterface e, ArrayList i); + public static native boolean decodeLocalFiles(TQMimeSourceInterface e, ArrayList i); } -- cgit v1.2.1