KDE3Support
k3panelapplet.cpp
Go to the documentation of this file.
KConfig * config() const
Always use this KConfig object to save/load your applet's configuration.
Definition: k3panelapplet.cpp:77
Position popupDirection()
A convenience method that translates the position of the applet into which direction to show a popup.
Definition: k3panelapplet.cpp:116
virtual void reportBug()
Is called when the user selects "Report bug" from the applet's RMB menu.
Definition: k3panelapplet.h:288
virtual void orientationChange(Qt::Orientation)
The orientation changed to orientation.
Definition: k3panelapplet.h:350
void needsFocus(bool focus)
Call this whenever focus is needed or not needed.
Definition: k3panelapplet.cpp:205
void setCustomMenu(const QMenu *)
Use this method to set the custom menu for this applet so that it can be shown in the applet handle m...
Definition: k3panelapplet.cpp:178
virtual void popupDirectionChange(Position)
The popup direction changed to direction.
Definition: k3panelapplet.h:365
K3PanelApplet(const QString &configFile, Type t=Normal, int actions=0, QWidget *parent=0, Qt::WindowFlags f=0)
Constructs a K3PanelApplet just like any other widget.
Definition: k3panelapplet.cpp:51
virtual void alignmentChange(Alignment)
The panel on which this applet resides has changed its alignment.
Definition: k3panelapplet.h:315
virtual void preferences()
Is called when the user selects "Preferences" from the applet's RMB menu.
Definition: k3panelapplet.h:278
virtual void help()
Is called when the user selects "Help" from the applet's RMB menu.
Definition: k3panelapplet.h:269
void watchForFocus(QWidget *widget, bool watch=true)
Register widgets that can receive keyboard focus with this this method This call results in an eventF...
Definition: k3panelapplet.cpp:183
virtual void about()
Is called when the user selects "About" from the applet's RMB menu.
Definition: k3panelapplet.h:260
virtual void positionChange(Position p)
The panel on which this applet resides has changed its position.
Definition: k3panelapplet.cpp:107
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.