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

« back to all changes in this revision

Viewing changes to LimitLabelDefines.qml

  • Committer: Kunal Parmar
  • Date: 2014-10-20 15:24:00 UTC
  • mto: This revision was merged to the branch mainline in revision 510.
  • Revision ID: pkunal.parmar@gmail.com-20141020152400-qmnaosfevqpior9h
removed commented out code

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
 
 
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
 
    }
 
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
 
29
24
}