akonadi
#include <agenttypedialog.h>
Inherits KDialog.
Public Slots | |
virtual void | done (int result) |
Public Member Functions | |
AgentTypeDialog (QWidget *parent=0) | |
~AgentTypeDialog () | |
AgentFilterProxyModel * | agentFilterProxyModel () const |
AgentType | agentType () const |
Detailed Description
A dialog to select an available agent type.
This dialogs allows the user to select an agent type from the list of all available agent types. The list can be filtered by the proxy model returned by agentFilterProxyModel().
- Since
- 4.2
Definition at line 53 of file agenttypedialog.h.
Constructor & Destructor Documentation
AgentTypeDialog::AgentTypeDialog | ( | QWidget * | parent = 0 | ) |
Creates a new agent type dialog.
- Parameters
-
parent The parent widget of the dialog.
Definition at line 61 of file agenttypedialog.cpp.
AgentTypeDialog::~AgentTypeDialog | ( | ) |
Destroys the agent type dialog.
Definition at line 85 of file agenttypedialog.cpp.
Member Function Documentation
AgentFilterProxyModel * AgentTypeDialog::agentFilterProxyModel | ( | ) | const |
Returns the agent filter proxy model that can be used to filter the agent types that shall be shown in the dialog.
Definition at line 107 of file agenttypedialog.cpp.
AgentType AgentTypeDialog::agentType | ( | ) | const |
Returns the agent type that was selected by the user, or an empty agent type object if no agent type has been selected.
Definition at line 102 of file agenttypedialog.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.