akonadi
#include <agentinstancecreatejob.h>
Inherits KJob.
Public Member Functions | |
| AgentInstanceCreateJob (const AgentType &type, QObject *parent=0) | |
| AgentInstanceCreateJob (const QString &typeId, QObject *parent=0) | |
| ~AgentInstanceCreateJob () | |
| void | configure (QWidget *parent=0) | 
| AgentInstance | instance () const | 
| void | start () | 
Detailed Description
Job for creating new agent instances.
This class encapsulates the procedure of creating a new agent instance and optionally configuring it immediately.
Definition at line 71 of file agentinstancecreatejob.h.
Constructor & Destructor Documentation
      
  | 
  explicit | 
Creates a new agent instance create job.
- Parameters
 - 
  
type The type of the agent to create. parent The parent object.  
Definition at line 145 of file agentinstancecreatejob.cpp.
      
  | 
  explicit | 
Creates a new agent instance create job.
- Parameters
 - 
  
typeId The identifier of type of the agent to create. parent The parent object.  
- Since
 - 4.5
 
Definition at line 152 of file agentinstancecreatejob.cpp.
| AgentInstanceCreateJob::~AgentInstanceCreateJob | ( | ) | 
Destroys the agent instance create job.
Definition at line 159 of file agentinstancecreatejob.cpp.
Member Function Documentation
| void AgentInstanceCreateJob::configure | ( | QWidget * | parent = 0 | ) | 
Setup the job to show agent configuration dialog once the agent instance has been successfully started.
- Parameters
 - 
  
parent The parent window for the configuration dialog.  
Definition at line 164 of file agentinstancecreatejob.cpp.
| AgentInstance AgentInstanceCreateJob::instance | ( | ) | const | 
Returns the AgentInstance object of the newly created agent instance.
Definition at line 170 of file agentinstancecreatejob.cpp.
| void AgentInstanceCreateJob::start | ( | ) | 
Starts the instance creation.
Definition at line 175 of file agentinstancecreatejob.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.
    KDE API Reference