interfaces
KDevelop::IRunController Class Reference
#include <iruncontroller.h>
Inherits KJobTrackerInterface.
Detailed Description
The main controller for running processes.Definition at line 37 of file iruncontroller.h.
Public Types | |
| enum | State { Idle, Running } |
Public Slots | |
| virtual void | stopAllProcesses ()=0 |
Signals | |
| void | jobRegistered (KJob *job) |
| void | jobUnregistered (KJob *job) |
| void | runStateChanged (State state) |
Public Member Functions | |
| virtual Q_SCRIPTABLE QList < KJob * > | currentJobs () const =0 |
| virtual IRun | defaultRun () const =0 |
| virtual Q_SCRIPTABLE KJob * | execute (const IRun &run)=0 |
| IRunController (QObject *parent) | |
Member Enumeration Documentation
An enumeration of the possible states for the run controller.
Definition at line 65 of file iruncontroller.h.
Constructor & Destructor Documentation
| IRunController::IRunController | ( | QObject * | parent | ) |
Member Function Documentation
| virtual Q_SCRIPTABLE QList<KJob*> KDevelop::IRunController::currentJobs | ( | ) | const [pure virtual] |
Interrogate the current managed jobs.
| virtual IRun KDevelop::IRunController::defaultRun | ( | ) | const [pure virtual] |
Provide the default run object.
| virtual Q_SCRIPTABLE KJob* KDevelop::IRunController::execute | ( | const IRun & | run | ) | [pure virtual] |
Request the provided run object to be executed.
- Returns:
- the serial number for the run job, or -1 if run could not be executed.
| void KDevelop::IRunController::jobRegistered | ( | KJob * | job | ) | [signal] |
Notify that a new job has been registered.
| void KDevelop::IRunController::jobUnregistered | ( | KJob * | job | ) | [signal] |
Notify that a job has been unregistered.
| void KDevelop::IRunController::runStateChanged | ( | State | state | ) | [signal] |
Notify that the state of the run controller has changed to {state}.
| virtual void KDevelop::IRunController::stopAllProcesses | ( | ) | [pure virtual, slot] |
Request for all running processes to be killed.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference