Plasma
#include <Plasma/ContainmentActionsPluginsConfig>
Public Member Functions | |
| ContainmentActionsPluginsConfig () | |
| ContainmentActionsPluginsConfig (const ContainmentActionsPluginsConfig &other) | |
| ~ContainmentActionsPluginsConfig () | |
| void | addPlugin (QEvent *trigger, const QString &name) |
| void | addPlugin (Qt::KeyboardModifiers modifiers, Qt::MouseButton button, const QString &name) |
| void | addPlugin (Qt::KeyboardModifiers modifiers, Qt::Orientation wheelDirection, const QString &name) |
| void | clear () |
| ContainmentActionsPluginsConfig & | operator= (const ContainmentActionsPluginsConfig &other) |
| void | remove (QEvent *trigger) |
Detailed Description
A class that holds a map of triggers to plugin names.
- Since
- 4.4
Definition at line 41 of file containmentactionspluginsconfig.h.
Constructor & Destructor Documentation
| Plasma::ContainmentActionsPluginsConfig::ContainmentActionsPluginsConfig | ( | ) |
Definition at line 38 of file containmentactionspluginsconfig.cpp.
| Plasma::ContainmentActionsPluginsConfig::ContainmentActionsPluginsConfig | ( | const ContainmentActionsPluginsConfig & | other | ) |
Definition at line 43 of file containmentactionspluginsconfig.cpp.
| Plasma::ContainmentActionsPluginsConfig::~ContainmentActionsPluginsConfig | ( | ) |
Definition at line 55 of file containmentactionspluginsconfig.cpp.
Member Function Documentation
| void Plasma::ContainmentActionsPluginsConfig::addPlugin | ( | QEvent * | trigger, |
| const QString & | name | ||
| ) |
Sets trigger to plugin name if you're passing the trigger as an event, the following events are currently understood: -mouse press and release events: button and modifiers -mouse wheel events: direction and modifiers both traditional and graphicsscene events are supported.
Definition at line 71 of file containmentactionspluginsconfig.cpp.
| void Plasma::ContainmentActionsPluginsConfig::addPlugin | ( | Qt::KeyboardModifiers | modifiers, |
| Qt::MouseButton | button, | ||
| const QString & | name | ||
| ) |
Sets trigger described by modifiers and button to plugin name.
Definition at line 77 of file containmentactionspluginsconfig.cpp.
| void Plasma::ContainmentActionsPluginsConfig::addPlugin | ( | Qt::KeyboardModifiers | modifiers, |
| Qt::Orientation | wheelDirection, | ||
| const QString & | name | ||
| ) |
Sets trigger described by modifiers and wheelDirection to plugin name.
Definition at line 86 of file containmentactionspluginsconfig.cpp.
| void Plasma::ContainmentActionsPluginsConfig::clear | ( | ) |
clears everything
Definition at line 60 of file containmentactionspluginsconfig.cpp.
| ContainmentActionsPluginsConfig & Plasma::ContainmentActionsPluginsConfig::operator= | ( | const ContainmentActionsPluginsConfig & | other | ) |
Definition at line 49 of file containmentactionspluginsconfig.cpp.
| void Plasma::ContainmentActionsPluginsConfig::remove | ( | QEvent * | trigger | ) |
removes trigger
- See also
- addPlugin for an explanation of the
trigger
Definition at line 65 of file containmentactionspluginsconfig.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:35 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference