- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QDateTimeEdit.Sections>
- Enclosing class:
- QDateTimeEdit
public static final class QDateTimeEdit.Sections extends QFlags<QDateTimeEdit.Section> implements Comparable<QDateTimeEdit.Sections>
QFlags type for enum
QDateTimeEdit.Section
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Sections(int value)
Creates a new Sections with givenvalue
.Sections(QDateTimeEdit.Section... args)
Creates a new Sections where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QDateTimeEdit.Sections
clone()
Clones the flagsQDateTimeEdit.Sections
combined(QDateTimeEdit.Section e)
Combines this flags with enum entry.int
compareTo(QDateTimeEdit.Sections other)
QDateTimeEdit.Section[]
flags()
Returns an array of flag objects represented by this Sections.QDateTimeEdit.Sections
setFlag(QDateTimeEdit.Section e)
Sets the flage
QDateTimeEdit.Sections
setFlag(QDateTimeEdit.Section e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QDateTimeEdit.Section>
- Parameters:
e
- enum entry- Returns:
- new Sections
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QDateTimeEdit.Section>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QDateTimeEdit.Section>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this Sections.- Overrides:
flags
in classQFlags<QDateTimeEdit.Section>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QDateTimeEdit.Section>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QDateTimeEdit.Sections>
-