Plasma
containmentactions.cpp
131 .arg(std::abs(e->angleDelta().x()) > std::abs(e->angleDelta().y()) ? QStringLiteral("Horizontal") : QStringLiteral("Vertical"));
MouseButtonPress
Qt::MouseButton button() const const
QPoint angleDelta() const const
virtual void configurationAccepted()
This method is called when the user's configuration changes are accepted.
Definition: containmentactions.cpp:86
int x() const const
int y() const const
RightButton
virtual void performPreviousAction()
Called when a "previous" action is triggered (e.g.
Definition: containmentactions.cpp:96
ContainmentActions(QObject *parent=nullptr)
Default constructor for an empty or null containmentactions.
Definition: containmentactions.cpp:25
virtual void performNextAction()
Called when a "next" action is triggered (e.g.
Definition: containmentactions.cpp:91
virtual QWidget * createConfigurationInterface(QWidget *parent)
Returns the widget used in the configuration dialog.
Definition: containmentactions.cpp:80
virtual bool event(QEvent *e)
KPluginMetaData metadata() const
Definition: containmentactions.cpp:57
const char * valueToKey(int value) const const
void setContainment(Containment *newContainment)
newContainment the containment the plugin should be associated with.
Definition: containmentactions.cpp:153
Containment * containment()
Definition: containmentactions.cpp:62
Qt::KeyboardModifiers modifiers() const const
QString arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const const
QString fromLatin1(const char *str, int size)
void setParent(QObject *parent)
KPluginInfo pluginInfo() const
Definition: containmentactions.cpp:51
virtual void save(KConfigGroup &config)
This method is called when settings need to be saved.
Definition: containmentactions.cpp:75
static QString eventToString(QEvent *event)
Turns a mouse or wheel event into a string suitable for a ContainmentActions.
Definition: containmentactions.cpp:106
QByteArray valueToKeys(int value) const const
typedef KeyboardModifiers
The base class for plugins that provide backgrounds and applet grouping containers.
Definition: containment.h:45
virtual QList< QAction * > contextualActions()
Implement this to provide a list of actions that can be added to another menu for example,...
Definition: containmentactions.cpp:101
QObject * parent() const const
virtual void restore(const KConfigGroup &config)
This method should be called once the plugin is loaded or settings are changed.
Definition: containmentactions.cpp:70
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Mar 23 2023 04:18:16 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Mar 23 2023 04:18:16 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.