• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDevelop Platform Libraries
  • Sitemap
  • Contact Us
 

interfaces

KDevelop::IRunController

KDevelop::IRunController Class Reference

#include <iruncontroller.h>

Inherits KJobTrackerInterface.

List of all members.


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

enum KDevelop::IRunController::State

An enumeration of the possible states for the run controller.

Enumerator:
Idle  No processes are currently running.
Running  processes are currently running

Definition at line 65 of file iruncontroller.h.


Constructor & Destructor Documentation

IRunController::IRunController ( QObject *  parent  ) 

Constructor.

Definition at line 24 of file iruncontroller.cpp.


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:
  • iruncontroller.h
  • iruncontroller.cpp

interfaces

Skip menu "interfaces"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   codegen
  •   duchain
  •   editor
  • outputview
  •     interfaces
  • project
  • shell
  • sublime
  • util
  • vcs
Generated for KDevelop Platform Libraries by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal