summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/TQHostAddress.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/TQHostAddress.java')
-rw-r--r--qtjava/javalib/org/kde/qt/TQHostAddress.java50
1 files changed, 50 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/TQHostAddress.java b/qtjava/javalib/org/kde/qt/TQHostAddress.java
new file mode 100644
index 00000000..edfe3adf
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/TQHostAddress.java
@@ -0,0 +1,50 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+
+public class TQHostAddress implements QtSupport {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected TQHostAddress(Class dummy){}
+
+ public TQHostAddress() {
+ newTQHostAddress();
+ }
+ private native void newTQHostAddress();
+ public TQHostAddress(int ip4Addr) {
+ newTQHostAddress(ip4Addr);
+ }
+ private native void newTQHostAddress(int ip4Addr);
+ public TQHostAddress(short ip6Addr) {
+ newTQHostAddress(ip6Addr);
+ }
+ private native void newTQHostAddress(short ip6Addr);
+ // TQHostAddress* TQHostAddress(const Q_IPV6ADDR& arg1); >>>> NOT CONVERTED
+ public TQHostAddress(String address) {
+ newTQHostAddress(address);
+ }
+ private native void newTQHostAddress(String address);
+ public TQHostAddress(TQHostAddress arg1) {
+ newTQHostAddress(arg1);
+ }
+ private native void newTQHostAddress(TQHostAddress arg1);
+ public native void setAddress(int ip4Addr);
+ public native void setAddress(short ip6Addr);
+ public native boolean setAddress(String address);
+ public native boolean isIp4Addr();
+ public native int ip4Addr();
+ public native boolean isIPv4Address();
+ public native int toIPv4Address();
+ public native boolean isIPv6Address();
+ // Q_IPV6ADDR toIPv6Address(); >>>> NOT CONVERTED
+ public native String toString();
+ public native boolean op_equals(TQHostAddress arg1);
+ public native boolean isNull();
+ /** 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();
+}