Changeset View
Changeset View
Standalone View
Standalone View
src/addressee.cpp
Show First 20 Lines • Show All 2179 Lines • ▼ Show 20 Line(s) | |||||
2180 | { | 2180 | { | ||
2181 | if (!assistantsName.isEmpty()) { | 2181 | if (!assistantsName.isEmpty()) { | ||
2182 | insertCustom(VENDOR_ID, X_ASSISTANTSNAME, assistantsName); | 2182 | insertCustom(VENDOR_ID, X_ASSISTANTSNAME, assistantsName); | ||
2183 | } else { | 2183 | } else { | ||
2184 | removeCustom(VENDOR_ID, X_ASSISTANTSNAME); | 2184 | removeCustom(VENDOR_ID, X_ASSISTANTSNAME); | ||
2185 | } | 2185 | } | ||
2186 | } | 2186 | } | ||
2187 | 2187 | | |||
2188 | QString Addressee::blogFeed() const | 2188 | QUrl Addressee::blogFeed() const | ||
2189 | { | 2189 | { | ||
2190 | return custom(VENDOR_ID, BLOGFEED); | 2190 | return QUrl(custom(VENDOR_ID, BLOGFEED)); | ||
2191 | } | 2191 | } | ||
2192 | 2192 | | |||
2193 | void Addressee::setBlogFeed(const QString &blogFeed) | 2193 | void Addressee::setBlogFeed(const QUrl &blogFeed) | ||
2194 | { | 2194 | { | ||
2195 | if (!blogFeed.isEmpty()) { | 2195 | if (!blogFeed.isEmpty()) { | ||
2196 | insertCustom(VENDOR_ID, BLOGFEED, blogFeed); | 2196 | insertCustom(VENDOR_ID, BLOGFEED, blogFeed.url()); | ||
2197 | } else { | 2197 | } else { | ||
2198 | removeCustom(VENDOR_ID, BLOGFEED); | 2198 | removeCustom(VENDOR_ID, BLOGFEED); | ||
2199 | } | 2199 | } | ||
2200 | } | 2200 | } | ||
2201 | 2201 | | |||
2202 | QString Addressee::managersName() const | 2202 | QString Addressee::managersName() const | ||
2203 | { | 2203 | { | ||
2204 | return custom(VENDOR_ID, X_MANAGERSNAME); | 2204 | return custom(VENDOR_ID, X_MANAGERSNAME); | ||
▲ Show 20 Lines • Show All 501 Lines • Show Last 20 Lines |