<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
via plugins.qmltypes:<br>
<br>
<tt> Component {</tt><tt><br>
</tt><tt> name: "DeclarativeFormatter"</tt><tt><br>
</tt><tt> prototype: "QObject"</tt><tt><br>
</tt><tt> exports: [</tt><tt><br>
</tt><tt> "Formatter 1.0"</tt><tt><br>
</tt><tt> ]</tt><tt><br>
</tt><tt> Enum {</tt><tt><br>
</tt><tt> name: "FormatType"</tt><tt><br>
</tt><tt> values: {</tt><tt><br>
</tt><tt> "Timepoint": 0,</tt><tt><br>
</tt><tt> "TimepointRelative": 1,</tt><tt><br>
</tt><tt> "TimepointRelativeCurrentDay": 2,</tt><tt><br>
</tt><tt> "TimepointSectionRelative": 3,</tt><tt><br>
</tt><tt> "WeekdayNameStandalone": 4,</tt><tt><br>
</tt><tt> "DurationElapsed": 5,</tt><tt><br>
</tt><tt> "TimeValueTwelveHours": 6,</tt><tt><br>
</tt><tt> "TimeValueTwentyFourHours": 7,</tt><tt><br>
</tt><tt> "TimeValue": 8,</tt><tt><br>
</tt><tt> "DurationShort": 9,</tt><tt><br>
</tt><tt> "DurationLong": 10,</tt><tt><br>
</tt><tt> "CallTimeRelative": 1</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><tt> Enum {</tt><tt><br>
</tt><tt> name: "ArticleType"</tt><tt><br>
</tt><tt> values: {</tt><tt><br>
</tt><tt> "AnteMeridiemIndicator": 0,</tt><tt><br>
</tt><tt> "PostMeridiemIndicator": 1</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><tt> Enum {</tt><tt><br>
</tt><tt> name: "TextFormatType"</tt><tt><br>
</tt><tt> values: {</tt><tt><br>
</tt><tt> "Ascii7Bit": 0,</tt><tt><br>
</tt><tt> "PortableFilename": 1</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><tt> Method {</tt><tt><br>
</tt><tt> name: "formatDate"</tt><tt><br>
</tt><tt> type: "string"</tt><tt><br>
</tt><tt> Parameter { name: "dateTime"; type: "QDateTime"
}</tt><tt><br>
</tt><tt> Parameter { name: "formatType"; type: "int" }</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><tt> Method {</tt><tt><br>
</tt><tt> name: "formatArticle"</tt><tt><br>
</tt><tt> type: "string"</tt><tt><br>
</tt><tt> Parameter { name: "articleType"; type: "int" }</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><tt> Method {</tt><tt><br>
</tt><tt> name: "formatDuration"</tt><tt><br>
</tt><tt> type: "string"</tt><tt><br>
</tt><tt> Parameter { name: "seconds"; type: "int" }</tt><tt><br>
</tt><tt> Parameter { name: "formatType"; type: "int" }</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><tt> Method {</tt><tt><br>
</tt><tt> name: "formatFileSize"</tt><tt><br>
</tt><tt> type: "string"</tt><tt><br>
</tt><tt> Parameter { name: "bytes"; type: "qlonglong" }</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><tt> Method {</tt><tt><br>
</tt><tt> name: "formatText"</tt><tt><br>
</tt><tt> type: "string"</tt><tt><br>
</tt><tt> Parameter { name: "input"; type: "string" }</tt><tt><br>
</tt><tt> Parameter { name: "formatType"; type: "int" }</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><tt> }</tt><br>
<br>
<div class="moz-cite-prefix">On 24.02.2014 16:11, Luca Donaggio
wrote:<br>
</div>
<blockquote
cite="mid:CABPtM869gbtTcrKhxJWHeANiX+AOyVwyTiEFhSRJuiHBXviRnA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Can someone point me to the documentation for Format and
Formatter objects (QML)?<br>
</div>
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 ;-)<br
clear="all">
<div>
<div>
<div><br>
-- <br>
Luca Donaggio
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list</pre>
</blockquote>
<br>
</body>
</html>