diff options
author | hjk <hjk@qt.io> | 2019-05-29 19:28:43 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-06-03 12:32:07 +0000 |
commit | 959fec76dc257515a7bca74c00fde645f50e84c5 (patch) | |
tree | a5188ced7eab8302f7dcc91b5e9635dd7125030d /src/libs/utils/qtcprocess.h | |
parent | a154f26af5f29d51cbc9fd69c2d5c5ad4c343da4 (diff) | |
download | qt-creator-959fec76dc257515a7bca74c00fde645f50e84c5.tar.gz |
Utils: Move CommandLine to fileutils.{cpp,h}
Causes less #include hassle when using downstream instead of
command/argument pairs.
Change-Id: I0fa0d016374df0b8e0a22f3786623652af684d36
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/libs/utils/qtcprocess.h')
-rw-r--r-- | src/libs/utils/qtcprocess.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/libs/utils/qtcprocess.h b/src/libs/utils/qtcprocess.h index 1a831d3a5a..d3d22d3415 100644 --- a/src/libs/utils/qtcprocess.h +++ b/src/libs/utils/qtcprocess.h @@ -32,29 +32,6 @@ namespace Utils { class AbstractMacroExpander; -class QTCREATOR_UTILS_EXPORT CommandLine -{ -public: - CommandLine() {} - - CommandLine(const FilePath &executable, const QString &arguments) - : m_executable(executable), m_arguments(arguments) - {} - - void addArg(const QString &arg); - void addArgs(const QStringList &inArgs); - void addArgs(const QString &inArgs); - - QString toUserOutput() const; - - FilePath executable() const { return m_executable; } - QString arguments() const { return m_arguments; } - -private: - FilePath m_executable; - QString m_arguments; -}; - class QTCREATOR_UTILS_EXPORT QtcProcess : public QProcess { Q_OBJECT |