akonadi
#include <agentinstancewidget.h>
Inherits QWidget.
Signals | |
void | clicked (const Akonadi::AgentInstance ¤t) |
void | currentChanged (const Akonadi::AgentInstance ¤t, const Akonadi::AgentInstance &previous) |
void | doubleClicked (const Akonadi::AgentInstance ¤t) |
Public Member Functions | |
AgentInstanceWidget (QWidget *parent=0) | |
~AgentInstanceWidget () | |
AgentFilterProxyModel * | agentFilterProxyModel () const |
AgentInstance | currentAgentInstance () const |
QList< AgentInstance > | selectedAgentInstances () const |
QAbstractItemView * | view () const |
Detailed Description
Provides a widget that lists all available agent instances.
The widget is listening on the dbus for changes, so the widget is updated automatically as soon as new agent instances are added to or removed from the system.
Definition at line 66 of file agentinstancewidget.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new agent instance widget.
- Parameters
-
parent The parent widget.
Definition at line 138 of file agentinstancewidget.cpp.
Akonadi::AgentInstanceWidget::~AgentInstanceWidget | ( | ) |
Destroys the agent instance widget.
Definition at line 169 of file agentinstancewidget.cpp.
Member Function Documentation
AgentFilterProxyModel * Akonadi::AgentInstanceWidget::agentFilterProxyModel | ( | ) | const |
Returns the agent filter proxy model, use this to filter by agent mimetype or capabilities.
Definition at line 211 of file agentinstancewidget.cpp.
|
signal |
This signal is emitted whenever there is a click on an agent instance.
- Parameters
-
current The current agent instance.
- Since
- 4.9.1
AgentInstance Akonadi::AgentInstanceWidget::currentAgentInstance | ( | ) | const |
Returns the current agent instance or an invalid agent instance if no agent instance is selected.
Definition at line 174 of file agentinstancewidget.cpp.
|
signal |
This signal is emitted whenever the current agent instance changes.
- Parameters
-
current The current agent instance. previous The previous agent instance.
|
signal |
This signal is emitted whenever there is a double click on an agent instance.
- Parameters
-
current The current agent instance.
QList< AgentInstance > Akonadi::AgentInstanceWidget::selectedAgentInstances | ( | ) | const |
Returns the selected agent instances.
- Since
- 4.5
Definition at line 189 of file agentinstancewidget.cpp.
QAbstractItemView * Akonadi::AgentInstanceWidget::view | ( | ) | const |
Returns the view used in the widget.
- Since
- 4.5
Definition at line 206 of file agentinstancewidget.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 23:00:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.