java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QPageRanges
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QPageRanges extends QtObject implements Cloneable
Represents a collection of page ranges
Java wrapper for Qt class QPageRanges
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QPageRanges.Range
QPageRanges::Range struct holds the from and to endpoints of a range -
Constructor Summary
Constructors Modifier Constructor Description QPageRanges()
QPageRanges(QPageRanges other)
protected
QPageRanges(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
addPage(int pageNumber)
void
addRange(int from, int to)
void
clear()
QPageRanges
clone()
boolean
contains(int pageNumber)
void
detach()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
firstPage()
static QPageRanges
fromString(String ranges)
int
hashCode()
boolean
isEmpty()
int
lastPage()
void
readFrom(QDataStream arg__1)
void
swap(QPageRanges other)
QList<QPageRanges.Range>
toRangeList()
String
toString()
void
writeTo(QDataStream arg__1)
-
Constructor Details
-
QPageRanges
public QPageRanges() -
QPageRanges
-
QPageRanges
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addPage
-
addRange
-
clear
-
contains
-
detach
-
firstPage
-
isEmpty
-
lastPage
-
writeTo
-
readFrom
-
swap
-
toRangeList
-
toString
-
fromString
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-