LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
util.cpp File Reference
+ Include dependency graph for util.cpp:

Go to the source code of this file.

Namespaces

 LC
 
 LC::Util
 

Functions

 Q_DECLARE_METATYPE (QVariantList *)
 
Entity LC::Util::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=1, int count=0, const QString &fullText=QString(), const QString &extendedText=QString())
 Creates an Advanced Notifications-enabled notify entity. More...
 
Entity LC::Util::MakeANRule (const QString &title, const QString &senderID, const QString &category, const QStringList &types, AN::NotifyFlags flags=AN::NotifyNone, bool openConfiguration=false, const QList< QPair< QString, ANFieldValue >> &fields={})
 Creates an Entity defining an Advanced Notifications rule. More...
 
QList< QObject * > LC::Util::GetDataFilters (const QVariant &data, IEntityManager *manager)
 Returns the data filter plugins that can handle data. More...
 
Entity LC::Util::MakeEntity (const QVariant &entity, const QString &location, TaskParameters tp, const QString &mime)
 
Entity LC::Util::MakeNotification (const QString &header, const QString &text, Priority priority)
 An utility function to make a Entity with notification. More...
 
Entity LC::Util::MakeANCancel (const Entity &event)
 Makes an event for canceling another Advanced Notifications event. More...
 
Entity LC::Util::MakeANCancel (const QString &senderId, const QString &eventId)
 Makes an event for canceling another Advanced Notifications event. More...
 
QVariant LC::Util::GetPersistentData (const QByteArray &key, const ICoreProxy_ptr &proxy)
 Returns persistent data stored under given key. More...
 
void LC::Util::SetJobHolderProgress (const QList< QStandardItem * > &row, qint64 done, qint64 total, const QString &text)
 Sets the progress values on the given row. More...
 
void LC::Util::SetJobHolderProgress (QStandardItem *item, qint64 done, qint64 total)
 Sets the done and total progress values on the given item. More...
 
void LC::Util::InitJobHolderRow (const QList< QStandardItem * > &row)
 

Function Documentation

◆ Q_DECLARE_METATYPE()

Q_DECLARE_METATYPE ( QVariantList *  )