Changeset View
Changeset View
Standalone View
Standalone View
messagelist/src/core/item.h
Show First 20 Lines • Show All 354 Lines • ▼ Show 20 Line(s) | 79 | public: | |||
---|---|---|---|---|---|
355 | const QString &subject() const; | 355 | const QString &subject() const; | ||
356 | 356 | | |||
357 | /** | 357 | /** | ||
358 | * Sets the subject associated to this Item. | 358 | * Sets the subject associated to this Item. | ||
359 | */ | 359 | */ | ||
360 | void setSubject(const QString &subject); | 360 | void setSubject(const QString &subject); | ||
361 | 361 | | |||
362 | /** | 362 | /** | ||
363 | * Returns the folder associated to this Item. | ||||
364 | */ | ||||
365 | const QString &folder() const; | ||||
366 | | ||||
367 | /** | ||||
368 | * Sets the folder associated to this Item. | ||||
369 | */ | ||||
370 | void setFolder(const QString &folder); | ||||
371 | | ||||
372 | /** | ||||
363 | * This is meant to be called right after the constructor. | 373 | * This is meant to be called right after the constructor. | ||
364 | * It sets up several items at once (so even if not inlined it's still a single call) | 374 | * It sets up several items at once (so even if not inlined it's still a single call) | ||
365 | * and it skips some calls that can be avoided at constructor time. | 375 | * and it skips some calls that can be avoided at constructor time. | ||
366 | */ | 376 | */ | ||
367 | void initialSetup(time_t date, size_t size, const QString &sender, const QString &receiver, bool useReceiver); | 377 | void initialSetup(time_t date, size_t size, const QString &sender, const QString &receiver, bool useReceiver); | ||
368 | 378 | | |||
369 | void setItemId(qint64 id); | 379 | void setItemId(qint64 id); | ||
370 | Q_REQUIRED_RESULT qint64 itemId() const; | 380 | Q_REQUIRED_RESULT qint64 itemId() const; | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |