 |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
Go to the documentation of this file.
66 const QString& senderID,
const QString& cat,
const QString& type,
67 const QString&
id,
const QStringList& visualPath,
68 int delta = 1,
int count = 0,
69 const QString& fullText = QString (),
const QString& extendedText = QString ());
94 const QString& senderID,
95 const QString& category,
96 const QStringList& types,
98 bool openConfiguration =
false,
99 const QList<QPair<QString, ANFieldValue>>&
fields = {});
136 const QString& location,
137 LC::TaskParameters tp,
138 const QString& mime = QString ());
234 qint64 done, qint64 total,
const QString& text);
void SetJobHolderProgress(const QList< QStandardItem * > &row, qint64 done, qint64 total, const QString &text)
Sets the progress values on the given row.
@ NotifyNone
No notifications.
std::function< std::optional< QFuture< QImage > >()> LazyNotificationPixmap_t
constexpr detail::MemberPtrs< Ptrs... > fields
QList< QObject * > GetDataFilters(const QVariant &data, IEntityManager *manager)
Returns the data filter plugins that can handle data.
Entity MakeAN(const QString &header, const QString &text, Priority priority, const QString &senderID, const QString &cat, const QString &type, const QString &id, const QStringList &visualPath, int delta, int count, const QString &fullText, const QString &extendedText)
Creates an Advanced Notifications-enabled notify entity.
Entity MakeEntity(const QVariant &entity, const QString &location, TaskParameters tp, const QString &mime)
Entity MakeANCancel(const Entity &event)
Makes an event for canceling another Advanced Notifications event.
Entity MakeANRule(const QString &title, const QString &senderID, const QString &cat, const QStringList &types, AN::NotifyFlags flags, bool openConfiguration, const QList< QPair< QString, ANFieldValue >> &fields)
Creates an Entity defining an Advanced Notifications rule.
constexpr detail::AggregateType< detail::AggregateFunction::Count, Ptr > count
Q_DECLARE_METATYPE(QVariantList *)
std::shared_ptr< ICoreProxy > ICoreProxy_ptr
Proxy to core entity manager.
void InitJobHolderRow(const QList< QStandardItem * > &row)
Entity MakeNotification(const QString &header, const QString &text, Priority priority)
An utility function to make a Entity with notification.
QVariant GetPersistentData(const QByteArray &key, const ICoreProxy_ptr &proxy)
Returns persistent data stored under given key.