summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QHostAddress.java
blob: e9fc4ec21f7a908aeb49a61cdb755bff5ae84596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

public class QHostAddress implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected QHostAddress(Class dummy){}

	public QHostAddress() {
		newQHostAddress();
	}
	private native void newQHostAddress();
	public QHostAddress(int ip4Addr) {
		newQHostAddress(ip4Addr);
	}
	private native void newQHostAddress(int ip4Addr);
	public QHostAddress(short ip6Addr) {
		newQHostAddress(ip6Addr);
	}
	private native void newQHostAddress(short ip6Addr);
	// QHostAddress* QHostAddress(const Q_IPV6ADDR& arg1); >>>> NOT CONVERTED
	public QHostAddress(String address) {
		newQHostAddress(address);
	}
	private native void newQHostAddress(String address);
	public QHostAddress(QHostAddress arg1) {
		newQHostAddress(arg1);
	}
	private native void newQHostAddress(QHostAddress 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(QHostAddress 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();
}