|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.core.QLocale.NumberOption
public static final class QLocale.NumberOption
This enum defines a set of options for number-to-string and string-to-number conversions. They can be retrieved with numberOptions()
and set with setNumberOptions()
.
setNumberOptions()
, and numberOptions()
.
Field Summary | |
---|---|
static QLocale.NumberOption |
OmitGroupSeparator
If this option is set, the number-to-string functions will not insert group separators in their return values. |
static QLocale.NumberOption |
RejectGroupSeparator
If this option is set, the string-to-number functions will fail if they encounter group separators in their input. |
Method Summary | |
---|---|
static QLocale.NumberOptions |
createQFlags(QLocale.NumberOption[] values)
|
static QLocale.NumberOption |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QLocale.NumberOption |
valueOf(java.lang.String name)
|
static QLocale.NumberOption[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QLocale.NumberOption OmitGroupSeparator
public static final QLocale.NumberOption RejectGroupSeparator
Method Detail |
---|
public static QLocale.NumberOption[] values()
public static QLocale.NumberOption valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QLocale.NumberOptions createQFlags(QLocale.NumberOption[] values)
public static QLocale.NumberOption resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |