~pkunal-parmar/ubuntu-calendar-app/ICalImport

« back to all changes in this revision

Viewing changes to LimitLabelModel.qml

  • Committer: Kunal Parmar
  • Date: 2014-11-06 13:13:27 UTC
  • mfrom: (509.2.1 Collection-Change)
  • mto: This revision was merged to the branch mainline in revision 541.
  • Revision ID: pkunal.parmar@gmail.com-20141106131327-2ul8lfplguqwk31s
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
17
 */
18
18
import QtQuick 2.3;
19
 
import Ubuntu.Components 1.1;
20
 
QtObject {
21
 
    property var limitLabel:[i18n.tr("Never"),i18n.tr("After X Occurrence"),
22
 
        i18n.tr("After Date")];
23
 
 
 
19
 
 
20
ListModel {
 
21
    id:limitLables
 
22
    Component.onCompleted: initialise()
 
23
 
 
24
    function initialise() {
 
25
        limitLables.append({ "label": i18n.tr("Never") })
 
26
        limitLables.append({ "label": i18n.tr("After X Occurrence") })
 
27
        limitLables.append({ "label": i18n.tr("After Date") })
 
28
    }
24
29
}