Applets
QuicklaunchApplet Class Reference
#include <quicklaunchApplet.h>

Public Slots | |
void | createConfigurationInterface (KConfigDialog *parent) |
void | showAddInterface () |
Public Member Functions | |
virtual QList< QAction * > | contextActions (QuicklaunchIcon *icon=0) |
Qt::Orientations | expandingDirections () const |
QuicklaunchApplet (QObject *parent, const QVariantList &args) | |
QSizeF | sizeHint (Qt::SizeHint which, const QSizeF &constraint=QSizeF()) const |
~QuicklaunchApplet () | |
Protected Slots | |
void | addAccepted () |
void | configAccepted () |
Protected Member Functions | |
void | constraintsEvent (Plasma::Constraints constraints) |
void | dragEnterEvent (QGraphicsSceneDragDropEvent *event) |
void | dragMoveEvent (QGraphicsSceneDragDropEvent *event) |
void | dropEvent (QGraphicsSceneDragDropEvent *event) |
virtual bool | eventFilter (QObject *object, QEvent *event) |
void | saveState (KConfigGroup &config) const |
Detailed Description
Definition at line 81 of file quicklaunchApplet.h.
Constructor & Destructor Documentation
QuicklaunchApplet::QuicklaunchApplet | ( | QObject * | parent, | |
const QVariantList & | args | |||
) |
Definition at line 45 of file quicklaunchApplet.cpp.
QuicklaunchApplet::~QuicklaunchApplet | ( | ) |
Definition at line 68 of file quicklaunchApplet.cpp.
Member Function Documentation
void QuicklaunchApplet::addAccepted | ( | ) | [protected, slot] |
Called when the user has clicked OK in the Add Icon interface.
Definition at line 462 of file quicklaunchApplet.cpp.
void QuicklaunchApplet::configAccepted | ( | ) | [protected, slot] |
Called when the user has clicked OK or apply in the Config interface.
Definition at line 273 of file quicklaunchApplet.cpp.
void QuicklaunchApplet::constraintsEvent | ( | Plasma::Constraints | constraints | ) | [protected] |
Called when something in the geometry has changed.
Definition at line 149 of file quicklaunchApplet.cpp.
QList< QAction * > QuicklaunchApplet::contextActions | ( | QuicklaunchIcon * | icon = 0 |
) | [virtual] |
List of actions to add in context menu.
- Returns:
- List of QAction pointers
Definition at line 305 of file quicklaunchApplet.cpp.
void QuicklaunchApplet::createConfigurationInterface | ( | KConfigDialog * | parent | ) | [slot] |
Definition at line 260 of file quicklaunchApplet.cpp.
void QuicklaunchApplet::dragEnterEvent | ( | QGraphicsSceneDragDropEvent * | event | ) | [protected] |
Overloaded drag enter event listener Check if the dragged item is valid.
Definition at line 337 of file quicklaunchApplet.cpp.
void QuicklaunchApplet::dragMoveEvent | ( | QGraphicsSceneDragDropEvent * | event | ) | [protected] |
Overloaded drag move event listener Listens for drag moves.
Definition at line 343 of file quicklaunchApplet.cpp.
void QuicklaunchApplet::dropEvent | ( | QGraphicsSceneDragDropEvent * | event | ) | [protected] |
Overloaded drop event listener Determines if a dropped item is valid Url, and if so add the icon to the applet.
Definition at line 349 of file quicklaunchApplet.cpp.
Definition at line 327 of file quicklaunchApplet.cpp.
Qt::Orientations QuicklaunchApplet::expandingDirections | ( | ) | const [inline] |
Returns info about if we want to expand or not For now, we never need to expand.
Definition at line 98 of file quicklaunchApplet.h.
void QuicklaunchApplet::saveState | ( | KConfigGroup & | config | ) | const [protected] |
void QuicklaunchApplet::showAddInterface | ( | ) | [slot] |
QSizeF QuicklaunchApplet::sizeHint | ( | Qt::SizeHint | which, | |
const QSizeF & | constraint = QSizeF() | |||
) | const |
Returns hints about the geometry of the figure.
- Returns:
- Hints about proportionality of the applet
Definition at line 135 of file quicklaunchApplet.cpp.
The documentation for this class was generated from the following files: