Mercurial > trustbridge
diff ui/processhelp.h @ 606:91dd38a71783
Style: run astyle on processhelp
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 18 Jun 2014 11:05:10 +0200 |
parents | cfef809b890d |
children | 20ca94680003 |
line wrap: on
line diff
--- a/ui/processhelp.h Wed Jun 18 10:44:39 2014 +0200 +++ b/ui/processhelp.h Wed Jun 18 11:05:10 2014 +0200 @@ -19,30 +19,31 @@ * @brief process handling functions */ -namespace ProcessHelp { - /** - * @brief look up process id's for a processName - * - * Looks up processes run by the current user. - * - * @param[in] processName the name of the process to look for - * @returns a list of pids that match this process. May be empty - */ - const QList<int> getProcessesIdForName(const QString &processName); +namespace ProcessHelp +{ +/** +* @brief look up process id's for a processName +* +* Looks up processes run by the current user. +* +* @param[in] processName the name of the process to look for +* @returns a list of pids that match this process. May be empty +*/ +const QList<int> getProcessesIdForName(const QString &processName); - /** - * @brief check if another process with the same name exists - * - * @param[in] processName name of the process to look for. - * - * @returns true if one or more processes (other than the current process) exist - */ - bool otherProcessesExist(const QString &processName); +/** +* @brief check if another process with the same name exists +* +* @param[in] processName name of the process to look for. +* +* @returns true if one or more processes (other than the current process) exist +*/ +bool otherProcessesExist(const QString &processName); - /** - * @brief Activates the window for first found process - * @param [in] executableName executableName (without path and .exe extension) - */ - void activateWindowForProcess(const QString &executableName); +/** +* @brief Activates the window for first found process +* @param [in] executableName executableName (without path and .exe extension) +*/ +void activateWindowForProcess(const QString &executableName); } #endif // PROCESSHELP_H