Thank you Andrey!
On Mon, Feb 24, 2014 at 11:22 AM, Andrey Kozhevnikov coderusin...@gmail.com
wrote:
via plugins.qmltypes:
Component {
name: DeclarativeFormatter
prototype: QObject
exports: [
Formatter 1.0
]
Enum {
name: FormatType
values: {
Timepoint: 0,
TimepointRelative: 1,
TimepointRelativeCurrentDay: 2,
TimepointSectionRelative: 3,
WeekdayNameStandalone: 4,
DurationElapsed: 5,
TimeValueTwelveHours: 6,
TimeValueTwentyFourHours: 7,
TimeValue: 8,
DurationShort: 9,
DurationLong: 10,
CallTimeRelative: 1
}
}
Enum {
name: ArticleType
values: {
AnteMeridiemIndicator: 0,
PostMeridiemIndicator: 1
}
}
Enum {
name: TextFormatType
values: {
Ascii7Bit: 0,
PortableFilename: 1
}
}
Method {
name: formatDate
type: string
Parameter { name: dateTime; type: QDateTime }
Parameter { name: formatType; type: int }
}
Method {
name: formatArticle
type: string
Parameter { name: articleType; type: int }
}
Method {
name: formatDuration
type: string
Parameter { name: seconds; type: int }
Parameter { name: formatType; type: int }
}
Method {
name: formatFileSize
type: string
Parameter { name: bytes; type: qlonglong }
}
Method {
name: formatText
type: string
Parameter { name: input; type: string }
Parameter { name: formatType; type: int }
}
}
On 24.02.2014 16:11, Luca Donaggio wrote:
Can someone point me to the documentation for Format and Formatter
objects (QML)?
I'm not able to find it anywhere - well, it could be it's just under my
nose and I'm still not able to see it ;-)
--
Luca Donaggio
___
SailfishOS.org Devel mailing list
___
SailfishOS.org Devel mailing list
--
Luca Donaggio
___
SailfishOS.org Devel mailing list