K&R formatting

This commit is contained in:
Petr Vanek
2010-10-01 16:08:52 +02:00
parent 4ee36b8db0
commit 25661234c0
39 changed files with 8510 additions and 8226 deletions
+8 -8
View File
@@ -28,8 +28,8 @@
namespace Konsole
{
/**
* A class to parse and extract information about shell commands.
/**
* A class to parse and extract information about shell commands.
*
* ShellCommand can be used to:
*
@@ -38,7 +38,7 @@ namespace Konsole
* into its component parts (eg. the command "/bin/sh" and the arguments
* "-c","/path/to/my/script")
* </li>
* <li>Take a command and a list of arguments and combine them to
* <li>Take a command and a list of arguments and combine them to
* form a complete command line.
* </li>
* <li>Determine whether the binary specified by a command exists in the
@@ -47,7 +47,7 @@ namespace Konsole
* <li>Determine whether a command-line specifies the execution of
* another command as the root user using su/sudo etc.
* </li>
* </ul>
* </ul>
*/
class ShellCommand
{
@@ -55,7 +55,7 @@ public:
/**
* Constructs a ShellCommand from a command line.
*
* @param fullCommand The command line to parse.
* @param fullCommand The command line to parse.
*/
ShellCommand(const QString& fullCommand);
/**
@@ -68,8 +68,8 @@ public:
/** Returns the arguments. */
QStringList arguments() const;
/**
* Returns the full command line.
/**
* Returns the full command line.
*/
QString fullCommand() const;
@@ -85,7 +85,7 @@ public:
static QStringList expand(const QStringList& items);
private:
QStringList _arguments;
QStringList _arguments;
};
}