Changeset View
Changeset View
Standalone View
Standalone View
src/acbf/AcbfAuthor.cpp
Context not available. | |||||
221 | void Author::addHomePage(const QString& homepage) | 221 | void Author::addHomePage(const QString& homepage) | ||
---|---|---|---|---|---|
222 | { | 222 | { | ||
223 | d->homePage.append(homepage); | 223 | d->homePage.append(homepage); | ||
224 | emit homePageChanged(); | ||||
225 | } | ||||
226 | | ||||
227 | void Author::removeHomePage(const int &index) | ||||
228 | { | ||||
229 | d->homePage.removeAt(index); | ||||
230 | emit homePageChanged(); | ||||
224 | } | 231 | } | ||
225 | 232 | | |||
226 | void Author::setHomePages(const QStringList& homepages) | 233 | void Author::setHomePages(const QStringList& homepages) | ||
227 | { | 234 | { | ||
228 | d->homePage = homepages; | 235 | d->homePage = homepages; | ||
236 | emit homePageChanged(); | ||||
229 | } | 237 | } | ||
230 | 238 | | |||
231 | QStringList Author::emails() const | 239 | QStringList Author::emails() const | ||
Context not available. | |||||
236 | void Author::addEmail(const QString& email) | 244 | void Author::addEmail(const QString& email) | ||
237 | { | 245 | { | ||
238 | d->email.append(email); | 246 | d->email.append(email); | ||
247 | emit emailsChanged(); | ||||
248 | } | ||||
249 | | ||||
250 | void Author::removeEmail(const int &index) | ||||
251 | { | ||||
252 | d->email.removeAt(index); | ||||
253 | emit emailsChanged(); | ||||
239 | } | 254 | } | ||
240 | 255 | | |||
241 | void Author::setEmails(const QStringList& emails) | 256 | void Author::setEmails(const QStringList& emails) | ||
242 | { | 257 | { | ||
243 | d->email = emails; | 258 | d->email = emails; | ||
259 | emit emailsChanged(); | ||||
244 | } | 260 | } | ||
Context not available. |