io.qt.gui.QPageSize Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui;
/**
* Describes the size and name of a defined page size
* Java wrapper for Qt class QPageSize
*/
public class QPageSize extends io.qt.QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Java wrapper for Qt enum QPageSize::PageSizeId
*/
@io.qt.QtRejectedEntries({"Letter", "C5E", "Comm10E", "DLE", "Ledger", "LastPageSize"})
public enum PageSizeId implements io.qt.QtEnumerator {
Letter(0),
Legal(1),
Executive(2),
A0(3),
A1(4),
A2(5),
A3(6),
A4(7),
A5(8),
A6(9),
A7(10),
A8(11),
A9(12),
A10(13),
B0(14),
B1(15),
B2(16),
B3(17),
B4(18),
B5(19),
B6(20),
B7(21),
B8(22),
B9(23),
B10(24),
C5E(25),
Comm10E(26),
DLE(27),
Folio(28),
Ledger(29),
Tabloid(30),
Custom(31),
A3Extra(32),
A4Extra(33),
A4Plus(34),
A4Small(35),
A5Extra(36),
B5Extra(37),
JisB0(38),
JisB1(39),
JisB2(40),
JisB3(41),
JisB4(42),
JisB5(43),
JisB6(44),
JisB7(45),
JisB8(46),
JisB9(47),
JisB10(48),
AnsiC(49),
AnsiD(50),
AnsiE(51),
LegalExtra(52),
LetterExtra(53),
LetterPlus(54),
LetterSmall(55),
TabloidExtra(56),
ArchA(57),
ArchB(58),
ArchC(59),
ArchD(60),
ArchE(61),
Imperial7x9(62),
Imperial8x10(63),
Imperial9x11(64),
Imperial9x12(65),
Imperial10x11(66),
Imperial10x13(67),
Imperial10x14(68),
Imperial12x11(69),
Imperial15x11(70),
ExecutiveStandard(71),
Note(72),
Quarto(73),
Statement(74),
SuperA(75),
SuperB(76),
Postcard(77),
DoublePostcard(78),
Prc16K(79),
Prc32K(80),
Prc32KBig(81),
FanFoldUS(82),
FanFoldGerman(83),
FanFoldGermanLegal(84),
EnvelopeB4(85),
EnvelopeB5(86),
EnvelopeB6(87),
EnvelopeC0(88),
EnvelopeC1(89),
EnvelopeC2(90),
EnvelopeC3(91),
EnvelopeC4(92),
EnvelopeC6(93),
EnvelopeC65(94),
EnvelopeC7(95),
Envelope9(96),
Envelope11(97),
Envelope12(98),
Envelope14(99),
EnvelopeMonarch(100),
EnvelopePersonal(101),
EnvelopeChou3(102),
EnvelopeChou4(103),
EnvelopeInvite(104),
EnvelopeItalian(105),
EnvelopeKaku2(106),
EnvelopeKaku3(107),
EnvelopePrc1(108),
EnvelopePrc2(109),
EnvelopePrc3(110),
EnvelopePrc4(111),
EnvelopePrc5(112),
EnvelopePrc6(113),
EnvelopePrc7(114),
EnvelopePrc8(115),
EnvelopePrc9(116),
EnvelopePrc10(117),
EnvelopeYou4(118),
LastPageSize(118),
AnsiA(0),
AnsiB(29),
EnvelopeC5(25),
EnvelopeDL(27),
Envelope10(26);
private PageSizeId(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static PageSizeId resolve(int value) {
switch (value) {
case 1: return Legal;
case 2: return Executive;
case 3: return A0;
case 4: return A1;
case 5: return A2;
case 6: return A3;
case 7: return A4;
case 8: return A5;
case 9: return A6;
case 10: return A7;
case 11: return A8;
case 12: return A9;
case 13: return A10;
case 14: return B0;
case 15: return B1;
case 16: return B2;
case 17: return B3;
case 18: return B4;
case 19: return B5;
case 20: return B6;
case 21: return B7;
case 22: return B8;
case 23: return B9;
case 24: return B10;
case 28: return Folio;
case 30: return Tabloid;
case 31: return Custom;
case 32: return A3Extra;
case 33: return A4Extra;
case 34: return A4Plus;
case 35: return A4Small;
case 36: return A5Extra;
case 37: return B5Extra;
case 38: return JisB0;
case 39: return JisB1;
case 40: return JisB2;
case 41: return JisB3;
case 42: return JisB4;
case 43: return JisB5;
case 44: return JisB6;
case 45: return JisB7;
case 46: return JisB8;
case 47: return JisB9;
case 48: return JisB10;
case 49: return AnsiC;
case 50: return AnsiD;
case 51: return AnsiE;
case 52: return LegalExtra;
case 53: return LetterExtra;
case 54: return LetterPlus;
case 55: return LetterSmall;
case 56: return TabloidExtra;
case 57: return ArchA;
case 58: return ArchB;
case 59: return ArchC;
case 60: return ArchD;
case 61: return ArchE;
case 62: return Imperial7x9;
case 63: return Imperial8x10;
case 64: return Imperial9x11;
case 65: return Imperial9x12;
case 66: return Imperial10x11;
case 67: return Imperial10x13;
case 68: return Imperial10x14;
case 69: return Imperial12x11;
case 70: return Imperial15x11;
case 71: return ExecutiveStandard;
case 72: return Note;
case 73: return Quarto;
case 74: return Statement;
case 75: return SuperA;
case 76: return SuperB;
case 77: return Postcard;
case 78: return DoublePostcard;
case 79: return Prc16K;
case 80: return Prc32K;
case 81: return Prc32KBig;
case 82: return FanFoldUS;
case 83: return FanFoldGerman;
case 84: return FanFoldGermanLegal;
case 85: return EnvelopeB4;
case 86: return EnvelopeB5;
case 87: return EnvelopeB6;
case 88: return EnvelopeC0;
case 89: return EnvelopeC1;
case 90: return EnvelopeC2;
case 91: return EnvelopeC3;
case 92: return EnvelopeC4;
case 93: return EnvelopeC6;
case 94: return EnvelopeC65;
case 95: return EnvelopeC7;
case 96: return Envelope9;
case 97: return Envelope11;
case 98: return Envelope12;
case 99: return Envelope14;
case 100: return EnvelopeMonarch;
case 101: return EnvelopePersonal;
case 102: return EnvelopeChou3;
case 103: return EnvelopeChou4;
case 104: return EnvelopeInvite;
case 105: return EnvelopeItalian;
case 106: return EnvelopeKaku2;
case 107: return EnvelopeKaku3;
case 108: return EnvelopePrc1;
case 109: return EnvelopePrc2;
case 110: return EnvelopePrc3;
case 111: return EnvelopePrc4;
case 112: return EnvelopePrc5;
case 113: return EnvelopePrc6;
case 114: return EnvelopePrc7;
case 115: return EnvelopePrc8;
case 116: return EnvelopePrc9;
case 117: return EnvelopePrc10;
case 118: return EnvelopeYou4;
case 0: return AnsiA;
case 29: return AnsiB;
case 25: return EnvelopeC5;
case 27: return EnvelopeDL;
case 26: return Envelope10;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QPageSize::SizeMatchPolicy
*/
public enum SizeMatchPolicy implements io.qt.QtEnumerator {
FuzzyMatch(0),
FuzzyOrientationMatch(1),
ExactMatch(2);
private SizeMatchPolicy(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static SizeMatchPolicy resolve(int value) {
switch (value) {
case 0: return FuzzyMatch;
case 1: return FuzzyOrientationMatch;
case 2: return ExactMatch;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QPageSize::Unit
*/
public enum Unit implements io.qt.QtEnumerator {
Millimeter(0),
Point(1),
Inch(2),
Pica(3),
Didot(4),
Cicero(5);
private Unit(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static Unit resolve(int value) {
switch (value) {
case 0: return Millimeter;
case 1: return Point;
case 2: return Inch;
case 3: return Pica;
case 4: return Didot;
case 5: return Cicero;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
*
*/
public QPageSize(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QPageSize instance);
/**
* See QPageSize::QPageSize(QPageSize::PageSizeId)
*/
public QPageSize(io.qt.gui.QPageSize.PageSizeId pageSizeId){
super((QPrivateConstructor)null);
initialize_native(this, pageSizeId);
}
private native static void initialize_native(QPageSize instance, io.qt.gui.QPageSize.PageSizeId pageSizeId);
/**
* See QPageSize::QPageSize(QPageSize)
*/
public QPageSize(io.qt.gui.QPageSize other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QPageSize instance, io.qt.gui.QPageSize other);
/**
* Overloaded constructor for {@link #QPageSize(io.qt.core.QSize, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)}
* with matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
.
*/
public QPageSize(io.qt.core.QSize pointSize, java.lang.String name) {
this(pointSize, name, io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch);
}
/**
* Overloaded constructor for {@link #QPageSize(io.qt.core.QSize, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)}
* with:
* name = ""
* matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
*
*/
public QPageSize(io.qt.core.QSize pointSize) {
this(pointSize, "", io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch);
}
/**
* See QPageSize::QPageSize(QSize,QString,QPageSize::SizeMatchPolicy)
*/
public QPageSize(io.qt.core.QSize pointSize, java.lang.String name, io.qt.gui.QPageSize.SizeMatchPolicy matchPolicy){
super((QPrivateConstructor)null);
initialize_native(this, pointSize, name, matchPolicy);
}
private native static void initialize_native(QPageSize instance, io.qt.core.QSize pointSize, java.lang.String name, io.qt.gui.QPageSize.SizeMatchPolicy matchPolicy);
/**
* Overloaded constructor for {@link #QPageSize(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)}
* with matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
.
*/
public QPageSize(io.qt.core.QSizeF size, io.qt.gui.QPageSize.Unit units, java.lang.String name) {
this(size, units, name, io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch);
}
/**
* Overloaded constructor for {@link #QPageSize(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, java.lang.String, io.qt.gui.QPageSize.SizeMatchPolicy)}
* with:
* name = ""
* matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
*
*/
public QPageSize(io.qt.core.QSizeF size, io.qt.gui.QPageSize.Unit units) {
this(size, units, "", io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch);
}
/**
* See QPageSize::QPageSize(QSizeF,QPageSize::Unit,QString,QPageSize::SizeMatchPolicy)
*/
public QPageSize(io.qt.core.QSizeF size, io.qt.gui.QPageSize.Unit units, java.lang.String name, io.qt.gui.QPageSize.SizeMatchPolicy matchPolicy){
super((QPrivateConstructor)null);
initialize_native(this, size, units, name, matchPolicy);
}
private native static void initialize_native(QPageSize instance, io.qt.core.QSizeF size, io.qt.gui.QPageSize.Unit units, java.lang.String name, io.qt.gui.QPageSize.SizeMatchPolicy matchPolicy);
/**
* See QPageSize::definitionSize()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QSizeF definitionSize(){
return definitionSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSizeF definitionSize_native_constfct(long __this__nativeId);
/**
* See QPageSize::definitionUnits()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPageSize.Unit definitionUnits(){
return io.qt.gui.QPageSize.Unit.resolve(definitionUnits_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int definitionUnits_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.gui.QPageSize.PageSizeId id(){
return io.qt.gui.QPageSize.PageSizeId.resolve(id_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int id_native_constfct(long __this__nativeId);
/**
* See QPageSize::isEquivalentTo(QPageSize)const
*/
@io.qt.QtUninvokable
public final boolean isEquivalentTo(io.qt.gui.QPageSize other){
return isEquivalentTo_native_cref_QPageSize_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native boolean isEquivalentTo_native_cref_QPageSize_constfct(long __this__nativeId, long other);
/**
*
*/
@io.qt.QtUninvokable
public final boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isValid_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final java.lang.String key(){
return key_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String key_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final java.lang.String name(){
return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String name_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
private final boolean operator_not_equal(io.qt.gui.QPageSize rhs){
return operator_not_equal_native_cref_QPageSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@io.qt.QtUninvokable
private native boolean operator_not_equal_native_cref_QPageSize(long __this__nativeId, long rhs);
/**
* See QPageSize::rect(QPageSize::Unit)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRectF rect(io.qt.gui.QPageSize.Unit units){
return rect_native_QPageSize_Unit_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), units.value());
}
@io.qt.QtUninvokable
private native io.qt.core.QRectF rect_native_QPageSize_Unit_constfct(long __this__nativeId, int units);
/**
* See QPageSize::rectPixels(int)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect rectPixels(int resolution){
return rectPixels_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), resolution);
}
@io.qt.QtUninvokable
private native io.qt.core.QRect rectPixels_native_int_constfct(long __this__nativeId, int resolution);
/**
* See QPageSize::rectPoints()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect rectPoints(){
return rectPoints_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect rectPoints_native_constfct(long __this__nativeId);
/**
* See QPageSize::size(QPageSize::Unit)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QSizeF size(io.qt.gui.QPageSize.Unit units){
return size_native_QPageSize_Unit_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), units.value());
}
@io.qt.QtUninvokable
private native io.qt.core.QSizeF size_native_QPageSize_Unit_constfct(long __this__nativeId, int units);
/**
* See QPageSize::sizePixels(int)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QSize sizePixels(int resolution){
return sizePixels_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), resolution);
}
@io.qt.QtUninvokable
private native io.qt.core.QSize sizePixels_native_int_constfct(long __this__nativeId, int resolution);
/**
* See QPageSize::sizePoints()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QSize sizePoints(){
return sizePoints_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize sizePoints_native_constfct(long __this__nativeId);
/**
* See QPageSize::swap(QPageSize&)
*/
@io.qt.QtUninvokable
public final void swap(io.qt.gui.QPageSize other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QPageSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void swap_native_ref_QPageSize(long __this__nativeId, long other);
/**
* See QPageSize::windowsId()const
*/
@io.qt.QtUninvokable
public final int windowsId(){
return windowsId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int windowsId_native_constfct(long __this__nativeId);
/**
* See QPageSize::definitionSize(QPageSize::PageSizeId)
*/
public static io.qt.core.QSizeF definitionSize(io.qt.gui.QPageSize.PageSizeId pageSizeId){
return definitionSize_native_QPageSize_PageSizeId(pageSizeId.value());
}
private native static io.qt.core.QSizeF definitionSize_native_QPageSize_PageSizeId(int pageSizeId);
/**
* See QPageSize::definitionUnits(QPageSize::PageSizeId)
*/
public static io.qt.gui.QPageSize.Unit definitionUnits(io.qt.gui.QPageSize.PageSizeId pageSizeId){
return io.qt.gui.QPageSize.Unit.resolve(definitionUnits_native_QPageSize_PageSizeId(pageSizeId.value()));
}
private native static int definitionUnits_native_QPageSize_PageSizeId(int pageSizeId);
/**
* Overloaded function for {@link #id(io.qt.core.QSize, io.qt.gui.QPageSize.SizeMatchPolicy)}
* with matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
.
*/
public static io.qt.gui.QPageSize.PageSizeId id(io.qt.core.QSize pointSize) {
return id(pointSize, io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch);
}
/**
* See QPageSize::id(QSize,QPageSize::SizeMatchPolicy)
*/
public static io.qt.gui.QPageSize.PageSizeId id(io.qt.core.QSize pointSize, io.qt.gui.QPageSize.SizeMatchPolicy matchPolicy){
return io.qt.gui.QPageSize.PageSizeId.resolve(id_native_cref_QSize_QPageSize_SizeMatchPolicy(QtJambi_LibraryUtilities.internal.checkedNativeId(pointSize), matchPolicy.value()));
}
private native static int id_native_cref_QSize_QPageSize_SizeMatchPolicy(long pointSize, int matchPolicy);
/**
* Overloaded function for {@link #id(io.qt.core.QSizeF, io.qt.gui.QPageSize.Unit, io.qt.gui.QPageSize.SizeMatchPolicy)}
* with matchPolicy = io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch
.
*/
public static io.qt.gui.QPageSize.PageSizeId id(io.qt.core.QSizeF size, io.qt.gui.QPageSize.Unit units) {
return id(size, units, io.qt.gui.QPageSize.SizeMatchPolicy.FuzzyMatch);
}
/**
* See QPageSize::id(QSizeF,QPageSize::Unit,QPageSize::SizeMatchPolicy)
*/
public static io.qt.gui.QPageSize.PageSizeId id(io.qt.core.QSizeF size, io.qt.gui.QPageSize.Unit units, io.qt.gui.QPageSize.SizeMatchPolicy matchPolicy){
return io.qt.gui.QPageSize.PageSizeId.resolve(id_native_cref_QSizeF_QPageSize_Unit_QPageSize_SizeMatchPolicy(QtJambi_LibraryUtilities.internal.checkedNativeId(size), units.value(), matchPolicy.value()));
}
private native static int id_native_cref_QSizeF_QPageSize_Unit_QPageSize_SizeMatchPolicy(long size, int units, int matchPolicy);
/**
*
*/
public static io.qt.gui.QPageSize.PageSizeId id(int windowsId){
return io.qt.gui.QPageSize.PageSizeId.resolve(id_native_int(windowsId));
}
private native static int id_native_int(int windowsId);
/**
* See QPageSize::key(QPageSize::PageSizeId)
*/
public static java.lang.String key(io.qt.gui.QPageSize.PageSizeId pageSizeId){
return key_native_QPageSize_PageSizeId(pageSizeId.value());
}
private native static java.lang.String key_native_QPageSize_PageSizeId(int pageSizeId);
/**
* See QPageSize::name(QPageSize::PageSizeId)
*/
public static java.lang.String name(io.qt.gui.QPageSize.PageSizeId pageSizeId){
return name_native_QPageSize_PageSizeId(pageSizeId.value());
}
private native static java.lang.String name_native_QPageSize_PageSizeId(int pageSizeId);
/**
* See QPageSize::size(QPageSize::PageSizeId,QPageSize::Unit)
*/
public static io.qt.core.QSizeF size(io.qt.gui.QPageSize.PageSizeId pageSizeId, io.qt.gui.QPageSize.Unit units){
return size_native_QPageSize_PageSizeId_QPageSize_Unit(pageSizeId.value(), units.value());
}
private native static io.qt.core.QSizeF size_native_QPageSize_PageSizeId_QPageSize_Unit(int pageSizeId, int units);
/**
* See QPageSize::sizePixels(QPageSize::PageSizeId,int)
*/
public static io.qt.core.QSize sizePixels(io.qt.gui.QPageSize.PageSizeId pageSizeId, int resolution){
return sizePixels_native_QPageSize_PageSizeId_int(pageSizeId.value(), resolution);
}
private native static io.qt.core.QSize sizePixels_native_QPageSize_PageSizeId_int(int pageSizeId, int resolution);
/**
* See QPageSize::sizePoints(QPageSize::PageSizeId)
*/
public static io.qt.core.QSize sizePoints(io.qt.gui.QPageSize.PageSizeId pageSizeId){
return sizePoints_native_QPageSize_PageSizeId(pageSizeId.value());
}
private native static io.qt.core.QSize sizePoints_native_QPageSize_PageSizeId(int pageSizeId);
/**
* See QPageSize::windowsId(QPageSize::PageSizeId)
*/
public static int windowsId(io.qt.gui.QPageSize.PageSizeId pageSizeId){
return windowsId_native_QPageSize_PageSizeId(pageSizeId.value());
}
private native static int windowsId_native_QPageSize_PageSizeId(int pageSizeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QPageSize(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.QPageSize) {
return !operator_not_equal((io.qt.gui.QPageSize) other);
}
return false;
}
@io.qt.QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native static int hashCode_native(long __this_nativeId);
@Override
@io.qt.QtUninvokable
public String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private static native String toString_native(long __this_nativeId);
@Override
public QPageSize clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QPageSize clone_native(long __this_nativeId);
}