forked from qt-creator/qt-creator
Utils: Use more FilePath in TerminalCommand
Change-Id: Ide9a09f61f3b2c10378d90a4a907e1e37d7407df Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
|
||||
#include "utils_global.h"
|
||||
|
||||
#include "filepath.h"
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QVector>
|
||||
|
||||
@@ -20,13 +22,13 @@ class QTCREATOR_UTILS_EXPORT TerminalCommand
|
||||
{
|
||||
public:
|
||||
TerminalCommand() = default;
|
||||
TerminalCommand(const QString &command, const QString &openArgs,
|
||||
TerminalCommand(const FilePath &command, const QString &openArgs,
|
||||
const QString &executeArgs, bool needsQuotes = false);
|
||||
|
||||
bool operator==(const TerminalCommand &other) const;
|
||||
bool operator<(const TerminalCommand &other) const;
|
||||
|
||||
QString command;
|
||||
Utils::FilePath command;
|
||||
QString openArgs;
|
||||
QString executeArgs;
|
||||
bool needsQuotes = false;
|
||||
|
||||
Reference in New Issue
Block a user