iCalProperty* ToDo::getCompleted() { if(!completed) { if(containsProperty(TEXT("COMPLETED")) && getProperty(TEXT("COMPLETED"))->getValue()) completed = getiCalPropertyFromVProperty(getProperty(TEXT("COMPLETED"))); } return completed; }
iCalProperty* ToDo::getUid() { if(!uid) { if(containsProperty(TEXT("UID")) && getProperty(TEXT("UID"))->getValue()) uid = getiCalPropertyFromVProperty(getProperty(TEXT("UID"))); } return uid; }
iCalProperty* ToDo::getCreated() { if(!created) { if(containsProperty(TEXT("CREATED")) && getProperty(TEXT("CREATED"))->getValue()) created = getiCalPropertyFromVProperty(getProperty(TEXT("CREATED"))); } return created; }
iCalProperty* ToDo::getSummary() { if(!summary) { if(containsProperty(TEXT("SUMMARY")) && getProperty(TEXT("SUMMARY"))->getValue()) summary = getiCalPropertyFromVProperty(getProperty(TEXT("SUMMARY"))); } return summary; }
iCalProperty* ToDo::getDuration() { if(!duration) { if(containsProperty(TEXT("DURATION")) && getProperty(TEXT("DURATION"))->getValue()) duration = getiCalPropertyFromVProperty(getProperty(TEXT("DURATION"))); } return duration; }
iCalProperty* ToDo::getSequence() { if(!seq) { if(containsProperty(TEXT("SEQUENCE")) && getProperty(TEXT("SEQUENCE"))->getValue()) seq = getiCalPropertyFromVProperty(getProperty(TEXT("SEQUENCE"))); } return seq; }
iCalProperty* ToDo::getOrganizer() { if(!organizer) { if(containsProperty(TEXT("ORGANIZER")) && getProperty(TEXT("ORGANIZER"))->getValue()) organizer = getiCalPropertyFromVProperty(getProperty(TEXT("ORGANIZER"))); } return organizer; }
iCalProperty* ToDo::getRecurID() { if(!recurID) { if(containsProperty(TEXT("RECURRENCE-ID")) && getProperty(TEXT("RECURRENCE-ID"))->getValue()) recurID = getiCalPropertyFromVProperty(getProperty(TEXT("RECURRENCE-ID"))); } return recurID; }
iCalProperty* ToDo::getLastMod() { if(!lastMod) { if(containsProperty(TEXT("LAST-MODIFIED")) && getProperty(TEXT("LAST-MODIFIED"))->getValue()) lastMod = getiCalPropertyFromVProperty(getProperty(TEXT("LAST-MODIFIED"))); } return lastMod; }
iCalProperty* ToDo::getLocation() { if(!location) { if(containsProperty(TEXT("LOCATION")) && getProperty(TEXT("LOCATION"))->getValue()) location = getiCalPropertyFromVProperty(getProperty(TEXT("LOCATION"))); } return location; }
iCalProperty* ToDo::getGeo() { if(!geo) { if(containsProperty(TEXT("GEO")) && getProperty(TEXT("GEO"))->getValue()) geo = getiCalPropertyFromVProperty(getProperty(TEXT("GEO"))); } return geo; }
iCalProperty* ToDo::getDtStart() { if(!dtStart) { if(containsProperty(TEXT("DTSTART")) && getProperty(TEXT("DTSTART"))->getValue()) dtStart = getiCalPropertyFromVProperty(getProperty(TEXT("DTSTART"))); } return dtStart; }
iCalProperty* ToDo::getDescription() { if(!description) { if(containsProperty(TEXT("DESCRIPTION")) && getProperty(TEXT("DESCRIPTION"))->getValue()) description = getiCalPropertyFromVProperty(getProperty(TEXT("DESCRIPTION"))); } return description; }
iCalProperty* ToDo::getUrl() { if(!url) { if(containsProperty(TEXT("URL")) && getProperty(TEXT("URL"))->getValue()) url = getiCalPropertyFromVProperty(getProperty(TEXT("URL"))); } return url; }
iCalProperty* ToDo::getPriority() { if(!priority) { if(containsProperty(TEXT("PRIORITY")) && getProperty(TEXT("PRIORITY"))->getValue()) priority = getiCalPropertyFromVProperty(getProperty(TEXT("PRIORITY"))); } return priority; }
iCalProperty* ToDo::getPercent() { if(!percent) { if(containsProperty(TEXT("PERCENT-COMPLETE")) && getProperty(TEXT("PERCENT-COMPLETE"))->getValue()) percent = getiCalPropertyFromVProperty(getProperty(TEXT("PERCENT-COMPLETE"))); } return percent; }
iCalProperty* ToDo::getDtStamp() { if(!dtStamp) { if(containsProperty(TEXT("DTSTAMP")) && getProperty(TEXT("DTSTAMP"))->getValue()) dtStamp = getiCalPropertyFromVProperty(getProperty(TEXT("DTSTAMP"))); } return dtStamp; }
iCalProperty* ToDo::getDue() { if(!due) { if(containsProperty(TEXT("DUE")) && getProperty(TEXT("DUE"))->getValue()) due = getiCalPropertyFromVProperty(getProperty(TEXT("DUE"))); } return due; }
iCalProperty* ToDo::getStatus() { if(!status) { if(containsProperty(TEXT("STATUS")) && getProperty(TEXT("STATUS"))->getValue()) status = getiCalPropertyFromVProperty(getProperty(TEXT("STATUS"))); } return status; }
iCalProperty* ToDo::getClass() { if(!classEvent) { if(containsProperty(TEXT("CLASS")) && getProperty(TEXT("CLASS"))->getValue()) classEvent = getiCalPropertyFromVProperty(getProperty(TEXT("CLASS"))); } return classEvent; }
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; }
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")); } }