KExtProcess::ProfileStep Class Reference

#include <profilestep.h>

List of all members.


Detailed Description

Profile step for KExtProcess.

A profile step is a single step in a Profile. Each ProfileStep corresponds to a single ExtProcess instance, many of which can be chained together to reach the requested endpoint.

Profile steps are inserted into a profile with Profile::addStep().

Author:
Martijn Klingens <klingens@kde.org>

Definition at line 35 of file profilestep.h.


Public Member Functions

 ProfileStep (const QString &processType)
 ProfileStep (const ProfileStep &other)
ProfileStepoperator= (const ProfileStep &other)
QString processType () const
void setCaption (const QString &caption)
QString caption () const
void setProperty (const QString &property, const QString &value)
QString property (const QString &property) const
QMap< QString, QStringproperties () const
ProfileStepdetach ()

Friends

class QValueListNode<ProfileStep>

Constructor & Destructor Documentation

KExtProcess::ProfileStep::ProfileStep const QString processType  ) 
 

Create a new ProfileStep object.

ProfileStep is not a QObject and is a value-based class. It is explicitly shared; in order to change a copy of the object you have to explicitly call detach() first.

Parameters:
processType is the type of process to be created.

Definition at line 41 of file profilestep.cpp.

KExtProcess::ProfileStep::ProfileStep const ProfileStep other  ) 
 

Copy c'tor.

Definition at line 35 of file profilestep.cpp.


Member Function Documentation

ProfileStep & KExtProcess::ProfileStep::detach  ) 
 

Create a unique object that is no longer tied to other shared objects.

Returns a reference to 'this'.

Definition at line 150 of file profilestep.cpp.

ProfileStep & KExtProcess::ProfileStep::operator= const ProfileStep other  ) 
 

Assignment operator.

Returns a reference to this.

Definition at line 103 of file profilestep.cpp.

QString KExtProcess::ProfileStep::processType  )  const
 

Get the type of process for which this step applies.

Definition at line 120 of file profilestep.cpp.

QMap< QString, QString > KExtProcess::ProfileStep::properties  )  const
 

Return all properties.

Definition at line 163 of file profilestep.cpp.

void KExtProcess::ProfileStep::setCaption const QString caption  ) 
 

Get/set the caption of the step.

Definition at line 125 of file profilestep.cpp.

void KExtProcess::ProfileStep::setProperty const QString property,
const QString value
 

Get/set a property.

Returns QString::null if a property is not defined on the step.

Definition at line 139 of file profilestep.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys