Remove an unnecessary enum

This commit is contained in:
Giorgos Tsiapaliwkas 2012-03-19 17:13:31 +02:00
parent 6844da9ccb
commit 5d8ab81119
2 changed files with 1 additions and 7 deletions

View File

@ -250,7 +250,7 @@ public:
* ["day"] the day of the date
* @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

View File

@ -71,7 +71,6 @@ Q_ENUMS(DateTimeParseMode)
Q_ENUMS(DigitSet)
Q_ENUMS(MeasureSystem)
Q_ENUMS(ReadDateFlags)
Q_ENUMS(ReadTimeFlags)
Q_ENUMS(SignPosition)
Q_ENUMS(TimeFormatOption)
Q_ENUMS(TimeProcessingOption)
@ -1067,11 +1066,6 @@ public:
* @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,
TimeFormatOptions options = Locale::TimeDefault,
TimeProcessingOptions processing = ProcessNonStrict) const;