Esempio n. 1
0
iCalProperty* ToDo::getCompleted() {
    if(!completed) {
        if(containsProperty(TEXT("COMPLETED")) && getProperty(TEXT("COMPLETED"))->getValue())
            completed = getiCalPropertyFromVProperty(getProperty(TEXT("COMPLETED")));
    }
    return completed;
}
Esempio n. 2
0
iCalProperty* ToDo::getUid() {
    if(!uid) {
        if(containsProperty(TEXT("UID")) && getProperty(TEXT("UID"))->getValue())
            uid = getiCalPropertyFromVProperty(getProperty(TEXT("UID")));
    }
    return uid;
}
Esempio n. 3
0
iCalProperty* ToDo::getCreated() {
    if(!created) {
        if(containsProperty(TEXT("CREATED")) && getProperty(TEXT("CREATED"))->getValue())
            created = getiCalPropertyFromVProperty(getProperty(TEXT("CREATED")));
    }
    return created;
}
Esempio n. 4
0
iCalProperty* ToDo::getSummary() {
    if(!summary) {
        if(containsProperty(TEXT("SUMMARY")) && getProperty(TEXT("SUMMARY"))->getValue())
            summary = getiCalPropertyFromVProperty(getProperty(TEXT("SUMMARY")));
    }
    return summary;
}
Esempio n. 5
0
iCalProperty* ToDo::getDuration() {
    if(!duration) {
        if(containsProperty(TEXT("DURATION")) && getProperty(TEXT("DURATION"))->getValue())
            duration = getiCalPropertyFromVProperty(getProperty(TEXT("DURATION")));
    }
    return duration;
}
Esempio n. 6
0
iCalProperty* ToDo::getSequence() {
    if(!seq) {
        if(containsProperty(TEXT("SEQUENCE")) && getProperty(TEXT("SEQUENCE"))->getValue())
            seq = getiCalPropertyFromVProperty(getProperty(TEXT("SEQUENCE")));
    }
    return seq;
}
Esempio n. 7
0
iCalProperty* ToDo::getOrganizer() {
    if(!organizer) {
        if(containsProperty(TEXT("ORGANIZER")) && getProperty(TEXT("ORGANIZER"))->getValue())
            organizer = getiCalPropertyFromVProperty(getProperty(TEXT("ORGANIZER")));
    }
    return organizer;
}
Esempio n. 8
0
iCalProperty* ToDo::getRecurID() {
    if(!recurID) {
        if(containsProperty(TEXT("RECURRENCE-ID")) && getProperty(TEXT("RECURRENCE-ID"))->getValue())
            recurID = getiCalPropertyFromVProperty(getProperty(TEXT("RECURRENCE-ID")));
    }
    return recurID;
}
Esempio n. 9
0
iCalProperty* ToDo::getLastMod() {
    if(!lastMod) {
        if(containsProperty(TEXT("LAST-MODIFIED")) && getProperty(TEXT("LAST-MODIFIED"))->getValue())
            lastMod = getiCalPropertyFromVProperty(getProperty(TEXT("LAST-MODIFIED")));
    }
    return lastMod;
}
Esempio n. 10
0
iCalProperty* ToDo::getLocation() {
    if(!location) {
        if(containsProperty(TEXT("LOCATION")) && getProperty(TEXT("LOCATION"))->getValue())
            location = getiCalPropertyFromVProperty(getProperty(TEXT("LOCATION")));
    }
    return location;
}
Esempio n. 11
0
iCalProperty* ToDo::getGeo() {
    if(!geo) {
        if(containsProperty(TEXT("GEO")) && getProperty(TEXT("GEO"))->getValue())
            geo = getiCalPropertyFromVProperty(getProperty(TEXT("GEO")));
    }
    return geo;
}
Esempio n. 12
0
iCalProperty* ToDo::getDtStart() {
    if(!dtStart) {
        if(containsProperty(TEXT("DTSTART")) && getProperty(TEXT("DTSTART"))->getValue())
            dtStart = getiCalPropertyFromVProperty(getProperty(TEXT("DTSTART")));
    }
    return dtStart;
}
Esempio n. 13
0
iCalProperty* ToDo::getDescription() {
    if(!description) {
        if(containsProperty(TEXT("DESCRIPTION")) && getProperty(TEXT("DESCRIPTION"))->getValue())
            description = getiCalPropertyFromVProperty(getProperty(TEXT("DESCRIPTION")));
    }
    return description;
}
Esempio n. 14
0
iCalProperty* ToDo::getUrl() {
    if(!url) {
        if(containsProperty(TEXT("URL")) && getProperty(TEXT("URL"))->getValue())
            url = getiCalPropertyFromVProperty(getProperty(TEXT("URL")));
    }
    return url;
}
Esempio n. 15
0
iCalProperty* ToDo::getPriority() {
    if(!priority) {
        if(containsProperty(TEXT("PRIORITY")) && getProperty(TEXT("PRIORITY"))->getValue())
            priority = getiCalPropertyFromVProperty(getProperty(TEXT("PRIORITY")));
    }
    return priority;
}
Esempio n. 16
0
iCalProperty* ToDo::getPercent() {
    if(!percent) {
        if(containsProperty(TEXT("PERCENT-COMPLETE")) && getProperty(TEXT("PERCENT-COMPLETE"))->getValue())
            percent = getiCalPropertyFromVProperty(getProperty(TEXT("PERCENT-COMPLETE")));
    }
    return percent;
}
Esempio n. 17
0
iCalProperty* ToDo::getDtStamp() {
    if(!dtStamp) {
        if(containsProperty(TEXT("DTSTAMP")) && getProperty(TEXT("DTSTAMP"))->getValue())
            dtStamp = getiCalPropertyFromVProperty(getProperty(TEXT("DTSTAMP")));
    }
    return dtStamp;
}
Esempio n. 18
0
iCalProperty* ToDo::getDue() {
    if(!due) {
        if(containsProperty(TEXT("DUE")) && getProperty(TEXT("DUE"))->getValue())
            due = getiCalPropertyFromVProperty(getProperty(TEXT("DUE")));
    }
    return due;
}
Esempio n. 19
0
iCalProperty* ToDo::getStatus() {
    if(!status) {
        if(containsProperty(TEXT("STATUS")) && getProperty(TEXT("STATUS"))->getValue())
            status = getiCalPropertyFromVProperty(getProperty(TEXT("STATUS")));
    }
    return status;
}
Esempio n. 20
0
iCalProperty* ToDo::getClass() {
    if(!classEvent) {
        if(containsProperty(TEXT("CLASS")) && getProperty(TEXT("CLASS"))->getValue())
            classEvent = getiCalPropertyFromVProperty(getProperty(TEXT("CLASS")));
    }
    return classEvent;
}
Esempio n. 21
0
bool GenericDataCollection::addSortField(const QString& name, const Qt::SortOrder order, Qt::CaseSensitivity sensitive)
{
    if (!containsProperty(name))
    {
        return false;
    }
    m_sortFields.append(new TableSortField(this, name.toLower(), m_LowerCasePropertyNameMap.value(name.toLower()), order, sensitive));
    return true;
}
Esempio n. 22
0
void ToDo::setDuration(iCalProperty& p) {
    set(&duration, p);
    removeProperty(TEXT("DURATION"));
    if(duration) {
        insertProperty(getVPropertyFromiCalProperty(TEXT("DURATON"), duration));
        if(due) {
            delete due;
            due = NULL;
        }
        if(containsProperty(TEXT("DUE")))
            removeProperty(TEXT("DUE"));
    }
}