TrayAccessor allows plugins to access the trays in the GUI.
The TrayAccessor class allows the plugins to access the trays in order to add new items such as stamps and stencils. It also allows to register tray menu items that can be used to be informed when the user triggers the action.
#include <tray.h>
Public Member Functions |
|
void | AddAndSelectTrayItem (const QString itemType, const QString itemName, const QString iconName) |
Static Public Member Functions |
|
static TrayAccessor * | GetInstance () |
This class is a singleton and only one
instance should exist. |
static TrayAccessor* GetInstance | ( | ) | [static] |
This class is a singleton and only one instance should exist.
void AddAndSelectTrayItem | ( | const QString | itemType, |
const QString | itemName, | ||
const QString | iconName | ||
) |