Changeset View
Changeset View
Standalone View
Standalone View
src/utils.h
Show First 20 Lines • Show All 241 Lines • ▼ Show 20 Line(s) | |||||
242 | */ | 242 | */ | ||
243 | CALENDARSUPPORT_EXPORT QString toolTipString(const Akonadi::Collection &coll, bool richText=true); | 243 | CALENDARSUPPORT_EXPORT QString toolTipString(const Akonadi::Collection &coll, bool richText=true); | ||
244 | 244 | | |||
245 | /** | 245 | /** | ||
246 | * Returns a list of holidays that occur at @param date. | 246 | * Returns a list of holidays that occur at @param date. | ||
247 | */ | 247 | */ | ||
248 | CALENDARSUPPORT_EXPORT QStringList holiday(const QDate &date); | 248 | CALENDARSUPPORT_EXPORT QStringList holiday(const QDate &date); | ||
249 | 249 | | |||
250 | CALENDARSUPPORT_EXPORT void saveAttachments(const Akonadi::Item &item, QWidget *widget = nullptr); | | |||
251 | | ||||
252 | CALENDARSUPPORT_EXPORT QStringList categories(const KCalCore::Incidence::List &incidences); | 250 | CALENDARSUPPORT_EXPORT QStringList categories(const KCalCore::Incidence::List &incidences); | ||
253 | 251 | | |||
254 | CALENDARSUPPORT_EXPORT bool mergeCalendar(const QString &srcFilename, | 252 | CALENDARSUPPORT_EXPORT bool mergeCalendar(const QString &srcFilename, | ||
255 | const KCalCore::Calendar::Ptr &destCalendar); | 253 | const KCalCore::Calendar::Ptr &destCalendar); | ||
256 | } | 254 | } | ||
257 | 255 | | |||
258 | #endif | 256 | #endif |