![]() |
LeechCraft 0.6.70-17335-ge406ffdcaf
Modular cross-platform feature rich live environment.
|
Namespace for various AN entity fields. More...
Variables | |
Q_DECL_IMPORT const QString | SenderID { QStringLiteral ("org.LC.AdvNotifications.SenderID") } |
The plugin ID of the sender (QByteArray or QString). | |
Q_DECL_IMPORT const QString | EventCategory { QStringLiteral ("org.LC.AdvNotifications.EventCategory") } |
The category of the event (QString). | |
Q_DECL_IMPORT const QString | EventID { QStringLiteral ("org.LC.AdvNotifications.EventID") } |
The ID of the event (QString). | |
Q_DECL_IMPORT const QString | VisualPath { QStringLiteral ("org.LC.AdvNotifications.VisualPath") } |
Visual path to this event (QStringList). | |
Q_DECL_IMPORT const QString | EventType { QStringLiteral ("org.LC.AdvNotifications.EventType") } |
The type of the event (QString). | |
Q_DECL_IMPORT const QString | FullText { QStringLiteral ("org.LC.AdvNotifications.FullText") } |
The detailed text of the event (QString). | |
Q_DECL_IMPORT const QString | ExtendedText { QStringLiteral ("org.LC.AdvNotifications.ExtendedText") } |
The even more detailed text than FullText (QString). | |
Q_DECL_IMPORT const QString | DeltaCount { QStringLiteral ("org.LC.AdvNotifications.DeltaCount") } |
The change in event count (int). | |
Q_DECL_IMPORT const QString | Count { QStringLiteral ("org.LC.AdvNotifications.Count") } |
The new total event count (int). | |
Q_DECL_IMPORT const QString | WindowIndex { QStringLiteral ("org.LC.AdvNotifications.WindowIndex") } |
The index of the window associated with this event (int). | |
Q_DECL_IMPORT const QString | OpenConfiguration { QStringLiteral ("org.LC.AdvNotifications.OpenConfiguration") } |
Whether configuration dialog should be opened (bool). | |
Q_DECL_IMPORT const QString | IsSingleShot { QStringLiteral ("org.LC.AdvNotifications.SingleShot") } |
Whether the created rule should be single-shot (bool). | |
Q_DECL_IMPORT const QString | NotifyTransient { QStringLiteral ("org.LC.AdvNotifications.NotifyTransient") } |
Whether a transient notifier should be enabled by default in the rule being created (bool). | |
Q_DECL_IMPORT const QString | NotifyPersistent { QStringLiteral ("org.LC.AdvNotifications.NotifyPersistent") } |
Whether a persistent notifier should be enabled by default in the rule being created (bool). | |
Q_DECL_IMPORT const QString | NotifyAudio { QStringLiteral ("org.LC.AdvNotifications.NotifyAudio") } |
Whether an audio notifier should be enabled by default in the rule being created (bool). | |
Q_DECL_IMPORT const QString | RuleID { QStringLiteral ("org.LC.AdvNotifications.RuleID") } |
Q_DECL_IMPORT const QString | AssocColor { QStringLiteral ("org.LC.AdvNotifications.AssocColor") } |
Q_DECL_IMPORT const QString | IsEnabled { QStringLiteral ("org.LC.AdvNotifications.IsEnabled") } |
Namespace for various AN entity fields.
This namespace contains various constants for widely-used fields in an AdvancedNotifications-related Entity structure. Both event notification fields and rule creation fields are mentioned.
const QString LC::AN::EF::AssocColor { QStringLiteral ("org.LC.AdvNotifications.AssocColor") } |
Definition at line 164 of file anconstantsdefs.cpp.
const QString LC::AN::EF::Count { QStringLiteral ("org.LC.AdvNotifications.Count") } |
The new total event count (int).
This field represents how many events with the given EventID are there pending now.
Definition at line 153 of file anconstantsdefs.cpp.
Referenced by LC::Util::MakeAN().
const QString LC::AN::EF::DeltaCount { QStringLiteral ("org.LC.AdvNotifications.DeltaCount") } |
The change in event count (int).
This field represents the change in the count of the events with the given EventID.
For example, if two messages arrive simultaneously from the same contact in an IM client, this field should be equal to 2.
Definition at line 152 of file anconstantsdefs.cpp.
Referenced by LC::Util::MakeAN().
const QString LC::AN::EF::EventCategory { QStringLiteral ("org.LC.AdvNotifications.EventCategory") } |
The category of the event (QString).
To notify about an event, this field should contain one of the predefined event categories (like CatIM, CatDownloads and so on). To cancel an event (for example, when all unread messages have been read), this field should contain the CatEventCancel category.
Definition at line 146 of file anconstantsdefs.cpp.
Referenced by LC::Util::MakeAN(), LC::Util::MakeANCancel(), LC::Util::MakeANCancel(), and LC::Util::MakeANRule().
const QString LC::AN::EF::EventID { QStringLiteral ("org.LC.AdvNotifications.EventID") } |
The ID of the event (QString).
Events relating to the same object (like IM messages from the same contact) should have the same event ID.
Definition at line 147 of file anconstantsdefs.cpp.
Referenced by LC::Util::MakeAN(), LC::Util::MakeANCancel(), LC::Util::MakeANCancel(), and LC::Util::MakeANRule().
const QString LC::AN::EF::EventType { QStringLiteral ("org.LC.AdvNotifications.EventType") } |
The type of the event (QString).
This field should contain one of the event types related to the given EventCategory, like TypeIMAttention or TypeIMIncMsg for the CatIM category.
Definition at line 149 of file anconstantsdefs.cpp.
Referenced by LC::Util::MakeAN(), and LC::Util::MakeANRule().
const QString LC::AN::EF::ExtendedText { QStringLiteral ("org.LC.AdvNotifications.ExtendedText") } |
The even more detailed text than FullText (QString).
Definition at line 151 of file anconstantsdefs.cpp.
Referenced by LC::Util::MakeAN().
const QString LC::AN::EF::FullText { QStringLiteral ("org.LC.AdvNotifications.FullText") } |
The detailed text of the event (QString).
Definition at line 150 of file anconstantsdefs.cpp.
Referenced by LC::Util::MakeAN().
const QString LC::AN::EF::IsEnabled { QStringLiteral ("org.LC.AdvNotifications.IsEnabled") } |
Definition at line 165 of file anconstantsdefs.cpp.
const QString LC::AN::EF::IsSingleShot { QStringLiteral ("org.LC.AdvNotifications.SingleShot") } |
Whether the created rule should be single-shot (bool).
Definition at line 158 of file anconstantsdefs.cpp.
Referenced by LC::Util::MakeANRule().
const QString LC::AN::EF::NotifyAudio { QStringLiteral ("org.LC.AdvNotifications.NotifyAudio") } |
Whether an audio notifier should be enabled by default in the rule being created (bool).
Definition at line 161 of file anconstantsdefs.cpp.
Referenced by LC::Util::MakeANRule().
const QString LC::AN::EF::NotifyPersistent { QStringLiteral ("org.LC.AdvNotifications.NotifyPersistent") } |
Whether a persistent notifier should be enabled by default in the rule being created (bool).
Definition at line 160 of file anconstantsdefs.cpp.
Referenced by LC::Util::MakeANRule().
const QString LC::AN::EF::NotifyTransient { QStringLiteral ("org.LC.AdvNotifications.NotifyTransient") } |
Whether a transient notifier should be enabled by default in the rule being created (bool).
Definition at line 159 of file anconstantsdefs.cpp.
Referenced by LC::Util::MakeANRule().
const QString LC::AN::EF::OpenConfiguration { QStringLiteral ("org.LC.AdvNotifications.OpenConfiguration") } |
Whether configuration dialog should be opened (bool).
If this field is set to true
,
Definition at line 157 of file anconstantsdefs.cpp.
Referenced by LC::Util::MakeANRule().
const QString LC::AN::EF::RuleID { QStringLiteral ("org.LC.AdvNotifications.RuleID") } |
Definition at line 163 of file anconstantsdefs.cpp.
const QString LC::AN::EF::SenderID { QStringLiteral ("org.LC.AdvNotifications.SenderID") } |
The plugin ID of the sender (QByteArray or QString).
Definition at line 145 of file anconstantsdefs.cpp.
Referenced by LC::Util::MakeAN(), LC::Util::MakeANCancel(), LC::Util::MakeANCancel(), and LC::Util::MakeANRule().
const QString LC::AN::EF::VisualPath { QStringLiteral ("org.LC.AdvNotifications.VisualPath") } |
Visual path to this event (QStringList).
This field should contain the list of human-readable strings that allow grouping of various events into tree-like structures.
Definition at line 148 of file anconstantsdefs.cpp.
Referenced by LC::Util::MakeAN().
const QString LC::AN::EF::WindowIndex { QStringLiteral ("org.LC.AdvNotifications.WindowIndex") } |
The index of the window associated with this event (int).
This field contains the index of the window containing the tab (or other widget) associated with the event. For example, for an IM notification, this could be the window containing the tab with the conversation in question.
Definition at line 155 of file anconstantsdefs.cpp.