forked from qt-creator/qt-creator
TextEditor: Use FilePath in Command
Change-Id: I0916204eefb49713f241dd43da662f258f8c99f7 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -5,8 +5,7 @@
|
||||
|
||||
#include "texteditor_global.h"
|
||||
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
#include <utils/filepath.h>
|
||||
|
||||
namespace TextEditor {
|
||||
|
||||
@@ -20,8 +19,8 @@ public:
|
||||
|
||||
bool isValid() const;
|
||||
|
||||
QString executable() const;
|
||||
void setExecutable(const QString &executable);
|
||||
Utils::FilePath executable() const;
|
||||
void setExecutable(const Utils::FilePath &executable);
|
||||
|
||||
QStringList options() const;
|
||||
void addOption(const QString &option);
|
||||
@@ -37,7 +36,7 @@ public:
|
||||
void setReturnsCRLF(bool returnsCRLF);
|
||||
|
||||
private:
|
||||
QString m_executable;
|
||||
Utils::FilePath m_executable;
|
||||
QStringList m_options;
|
||||
Processing m_processing = FileProcessing;
|
||||
bool m_pipeAddsNewline = false;
|
||||
|
||||
Reference in New Issue
Block a user