• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Applets

QuicklaunchApplet Class Reference

#include <quicklaunchApplet.h>

Inheritance diagram for QuicklaunchApplet:

Inheritance graph
[legend]

List of all members.


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.

bool QuicklaunchApplet::eventFilter ( QObject *  object,
QEvent *  event 
) [protected, virtual]

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]

Overloaded method to save the state on exit.

Definition at line 78 of file quicklaunchApplet.cpp.

void QuicklaunchApplet::showAddInterface (  )  [slot]

Slot for showing the Add Icon interface.

Definition at line 448 of file quicklaunchApplet.cpp.

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:
  • quicklaunchApplet.h
  • quicklaunchApplet.cpp

Applets

Skip menu "Applets"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal