comparison 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
comparison
equal deleted inserted replaced
605:1642a79cc02d 606:91dd38a71783
17 /** 17 /**
18 * @file Static helper functions for process handling 18 * @file Static helper functions for process handling
19 * @brief process handling functions 19 * @brief process handling functions
20 */ 20 */
21 21
22 namespace ProcessHelp { 22 namespace ProcessHelp
23 /** 23 {
24 * @brief look up process id's for a processName 24 /**
25 * 25 * @brief look up process id's for a processName
26 * Looks up processes run by the current user. 26 *
27 * 27 * Looks up processes run by the current user.
28 * @param[in] processName the name of the process to look for 28 *
29 * @returns a list of pids that match this process. May be empty 29 * @param[in] processName the name of the process to look for
30 */ 30 * @returns a list of pids that match this process. May be empty
31 const QList<int> getProcessesIdForName(const QString &processName); 31 */
32 const QList<int> getProcessesIdForName(const QString &processName);
32 33
33 /** 34 /**
34 * @brief check if another process with the same name exists 35 * @brief check if another process with the same name exists
35 * 36 *
36 * @param[in] processName name of the process to look for. 37 * @param[in] processName name of the process to look for.
37 * 38 *
38 * @returns true if one or more processes (other than the current process) exist 39 * @returns true if one or more processes (other than the current process) exist
39 */ 40 */
40 bool otherProcessesExist(const QString &processName); 41 bool otherProcessesExist(const QString &processName);
41 42
42 /** 43 /**
43 * @brief Activates the window for first found process 44 * @brief Activates the window for first found process
44 * @param [in] executableName executableName (without path and .exe extension) 45 * @param [in] executableName executableName (without path and .exe extension)
45 */ 46 */
46 void activateWindowForProcess(const QString &executableName); 47 void activateWindowForProcess(const QString &executableName);
47 } 48 }
48 #endif // PROCESSHELP_H 49 #endif // PROCESSHELP_H

http://wald.intevation.org/projects/trustbridge/