aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/abstractprocessstep.cpp
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@digia.com>2013-09-10 17:16:10 +0200
committerLeena Miettinen <riitta-leena.miettinen@digia.com>2013-09-11 10:02:01 +0200
commit6b99d2bb7857cac2eb8f3b5f00ab575414d1b86a (patch)
tree997562c7c6a9b5715eba71fabf9097d79fda410e /src/plugins/projectexplorer/abstractprocessstep.cpp
parentc5c501669fad9adce4a7628847ed352a1c098038 (diff)
Doc: edit projectexplorer API docs
Fix grammar, punctuation, and style issues. Use standard wording for QDoc commands. Remove \brief commands from function descriptions. Move some function descriptions directly above the functions, so that the \fn command can be removed. Change-Id: Iedf4f0041af24541a982241f99bd4906e86af916 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/abstractprocessstep.cpp')
-rw-r--r--src/plugins/projectexplorer/abstractprocessstep.cpp42
1 files changed, 22 insertions, 20 deletions
diff --git a/src/plugins/projectexplorer/abstractprocessstep.cpp b/src/plugins/projectexplorer/abstractprocessstep.cpp
index 5b0bc84c34..e7402169fa 100644
--- a/src/plugins/projectexplorer/abstractprocessstep.cpp
+++ b/src/plugins/projectexplorer/abstractprocessstep.cpp
@@ -72,18 +72,18 @@ using namespace ProjectExplorer;
/*!
\fn void ProjectExplorer::AbstractProcessStep::setEnabled(bool b)
- \brief Enables or disables a BuildStep.
+ Enables or disables a BuildStep.
Disabled BuildSteps immediately return true from their run method.
- Should be called from init()
+ Should be called from init().
*/
/*!
\fn ProcessParameters *ProjectExplorer::AbstractProcessStep::processParameters()
- \brief Obtain a reference to the parameters for the actual process to run.
+ Obtains a reference to the parameters for the actual process to run.
- Should be used in init()
+ Should be used in init().
*/
AbstractProcessStep::AbstractProcessStep(BuildStepList *bsl, const Core::Id id) :
@@ -110,7 +110,7 @@ AbstractProcessStep::~AbstractProcessStep()
}
/*!
- \brief Delete all existing output parsers and start a new chain with the
+ Deletes all existing output parsers and starts a new chain with the
given parser.
Derived classes need to call this function.
@@ -131,7 +131,7 @@ void AbstractProcessStep::setOutputParser(ProjectExplorer::IOutputParser *parser
}
/*!
- \brief Append the given output parser to the existing chain of parsers.
+ Appends the given output parser to the existing chain of parsers.
*/
void AbstractProcessStep::appendOutputParser(ProjectExplorer::IOutputParser *parser)
@@ -155,7 +155,7 @@ bool AbstractProcessStep::ignoreReturnValue()
}
/*!
- \brief If ignoreReturnValue is set to true, then the abstractprocess step will
+ If \a ignoreReturnValue is set to true, then the abstractprocess step will
return success even if the return value indicates otherwise.
Should be called from init.
@@ -167,8 +167,8 @@ void AbstractProcessStep::setIgnoreReturnValue(bool b)
}
/*!
- \brief Reimplemented from BuildStep::init(). You need to call this from
- YourBuildStep::init()
+ Reimplemented from BuildStep::init(). You need to call this from
+ YourBuildStep::init().
*/
bool AbstractProcessStep::init()
@@ -177,7 +177,8 @@ bool AbstractProcessStep::init()
}
/*!
- \brief Reimplemented from BuildStep::init(). You need to call this from YourBuildStep::run()
+ Reimplemented from BuildStep::init(). You need to call this from
+ YourBuildStep::run().
*/
void AbstractProcessStep::run(QFutureInterface<bool> &fi)
@@ -241,9 +242,10 @@ void AbstractProcessStep::cleanUp()
}
/*!
- \brief Called after the process is started.
+ Called after the process is started.
- The default implementation adds a process started message to the output message
+ The default implementation adds a process-started message to the output
+ message.
*/
void AbstractProcessStep::processStarted()
@@ -255,9 +257,9 @@ void AbstractProcessStep::processStarted()
}
/*!
- \brief Called after the process Finished.
+ Called after the process is finished.
- The default implementation adds a line to the output window
+ The default implementation adds a line to the output window.
*/
void AbstractProcessStep::processFinished(int exitCode, QProcess::ExitStatus status)
@@ -279,9 +281,9 @@ void AbstractProcessStep::processFinished(int exitCode, QProcess::ExitStatus sta
}
/*!
- \brief Called if the process could not be started.
+ Called if the process could not be started.
- By default adds a message to the output window.
+ By default, adds a message to the output window.
*/
void AbstractProcessStep::processStartupFailed()
@@ -293,7 +295,7 @@ void AbstractProcessStep::processStartupFailed()
}
/*!
- \brief Called to test whether a prcess succeeded or not.
+ Called to test whether a process succeeded or not.
*/
bool AbstractProcessStep::processSucceeded(int exitCode, QProcess::ExitStatus status)
@@ -311,7 +313,7 @@ void AbstractProcessStep::processReadyReadStdOutput()
}
/*!
- \brief Called for each line of output on stdOut().
+ Called for each line of output on stdOut().
The default implementation adds the line to the application output window.
*/
@@ -333,9 +335,9 @@ void AbstractProcessStep::processReadyReadStdError()
}
/*!
- \brief Called for each line of output on StdErrror().
+ Called for each line of output on StdErrror().
- The default implementation adds the line to the application output window
+ The default implementation adds the line to the application output window.
*/
void AbstractProcessStep::stdError(const QString &line)