Remove an unnecessary enum
This commit is contained in:
parent
6844da9ccb
commit
5d8ab81119
@ -250,7 +250,7 @@ public:
|
|||||||
* ["day"] the day of the date
|
* ["day"] the day of the date
|
||||||
* @param date date to get year, month and day for
|
* @param date date to get year, month and day for
|
||||||
*/
|
*/
|
||||||
Q_INVOKABLE QVariantHash getDate(const QDate date) const;//TODO should it be part of the QML Wrapper?
|
Q_INVOKABLE QVariantHash getDate(const QDate date) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the year portion of a given date in the current calendar system
|
* Returns the year portion of a given date in the current calendar system
|
||||||
|
@ -71,7 +71,6 @@ Q_ENUMS(DateTimeParseMode)
|
|||||||
Q_ENUMS(DigitSet)
|
Q_ENUMS(DigitSet)
|
||||||
Q_ENUMS(MeasureSystem)
|
Q_ENUMS(MeasureSystem)
|
||||||
Q_ENUMS(ReadDateFlags)
|
Q_ENUMS(ReadDateFlags)
|
||||||
Q_ENUMS(ReadTimeFlags)
|
|
||||||
Q_ENUMS(SignPosition)
|
Q_ENUMS(SignPosition)
|
||||||
Q_ENUMS(TimeFormatOption)
|
Q_ENUMS(TimeFormatOption)
|
||||||
Q_ENUMS(TimeProcessingOption)
|
Q_ENUMS(TimeProcessingOption)
|
||||||
@ -1067,11 +1066,6 @@ public:
|
|||||||
* @return The string converted to a QTime
|
* @return The string converted to a QTime
|
||||||
*/
|
*/
|
||||||
|
|
||||||
enum ReadTimeFlags {
|
|
||||||
WithSeconds = 0, ///< Only accept a time string with seconds. Default (no flag set)
|
|
||||||
WithoutSeconds = 1 ///< Only accept a time string without seconds.
|
|
||||||
}; // (maybe use this enum as a bitfield, if adding independent features?)
|
|
||||||
|
|
||||||
Q_INVOKABLE QTime readLocaleTime(const QString &str, bool *ok = 0,
|
Q_INVOKABLE QTime readLocaleTime(const QString &str, bool *ok = 0,
|
||||||
TimeFormatOptions options = Locale::TimeDefault,
|
TimeFormatOptions options = Locale::TimeDefault,
|
||||||
TimeProcessingOptions processing = ProcessNonStrict) const;
|
TimeProcessingOptions processing = ProcessNonStrict) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user