akonadi
#include <agenttypewidget.h>
Inherits QWidget.
Signals | |
void | activated () |
void | currentChanged (const Akonadi::AgentType ¤t, const Akonadi::AgentType &previous) |
Public Member Functions | |
AgentTypeWidget (QWidget *parent=0) | |
~AgentTypeWidget () | |
AgentFilterProxyModel * | agentFilterProxyModel () const |
AgentType | currentAgentType () const |
Detailed Description
Provides a widget that lists all available agent types.
The widget is listening on the dbus for changes, so the widget is updated automatically as soon as new agent types are added to or removed from the system.
If you want a dialog, you can use the Akonadi::AgentTypeDialog.
Definition at line 52 of file agenttypewidget.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new agent type widget.
- Parameters
-
parent The parent widget.
Definition at line 97 of file agenttypewidget.cpp.
Akonadi::AgentTypeWidget::~AgentTypeWidget | ( | ) |
Destroys the agent type widget.
Definition at line 123 of file agenttypewidget.cpp.
Member Function Documentation
|
signal |
This signal is emitted whenever the user activates an agent.
- Since
- 4.2
AgentFilterProxyModel * Akonadi::AgentTypeWidget::agentFilterProxyModel | ( | ) | const |
Returns the agent filter proxy model, use this to filter by agent mimetype or capabilities.
Definition at line 143 of file agenttypewidget.cpp.
AgentType Akonadi::AgentTypeWidget::currentAgentType | ( | ) | const |
Returns the current agent type or an invalid agent type if no agent type is selected.
Definition at line 128 of file agenttypewidget.cpp.
|
signal |
This signal is emitted whenever the current agent type changes.
- Parameters
-
current The current agent type. previous The previous agent type.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:27:46 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.