src/toolsets/extprogramtoolset.h

changeset 1217
314e12e23c3a
parent 1012
413ecd6b9801
child 1221
7f6715f08faf
--- a/src/toolsets/extprogramtoolset.h	Thu Jan 04 19:40:52 2018 +0200
+++ b/src/toolsets/extprogramtoolset.h	Thu Jan 04 19:44:26 2018 +0200
@@ -41,7 +41,7 @@
 	Q_OBJECT
 
 public:
-	ExtProgramToolset (MainWindow* parent);
+	ExtProgramToolset(MainWindow* parent);
 
 	Q_INVOKABLE void coverer();
 	Q_INVOKABLE void edger2();
@@ -50,23 +50,23 @@
 	Q_INVOKABLE void rectifier();
 	Q_INVOKABLE void ytruder();
 	
-	bool programUsesWine (ExtProgramType program);
-	QString externalProgramName (ExtProgramType program);
-	QString getPathSetting (ExtProgramType program);
-	bool getWineSetting (ExtProgramType program);
-	void setPathSetting (ExtProgramType program, QString value);
-	void setWineSetting (ExtProgramType program, bool value);
+	bool programUsesWine(ExtProgramType program);
+	QString externalProgramName(ExtProgramType program);
+	QString getPathSetting(ExtProgramType program);
+	bool getWineSetting(ExtProgramType program);
+	void setPathSetting(ExtProgramType program, QString value);
+	void setWineSetting(ExtProgramType program, bool value);
 
 private:
 	bool checkExtProgramPath(ExtProgramType program);
-	bool makeTempFile (class QTemporaryFile& tmp, QString& fname);
-	bool runExtProgram (ExtProgramType prog, QString argvstr);
-	QString errorCodeString (ExtProgramType program, class QProcess& process);
-	void insertOutput (QString fname, bool replace, QList<LDColor> colorsToReplace);
-	void writeColorGroup (LDColor color, QString fname);
-	void writeObjects (const LDObjectList& objects, QFile& f);
-	void writeObjects (const LDObjectList& objects, QString fname);
-	void writeSelection (QString fname);
+	bool makeTempFile(class QTemporaryFile& tmp, QString& fname);
+	bool runExtProgram(ExtProgramType prog, QString argvstr);
+	QString errorCodeString(ExtProgramType program, class QProcess& process);
+	void insertOutput(QString fname, bool replace, QList<LDColor> colorsToReplace);
+	void writeColorGroup(LDColor color, QString fname);
+	void writeObjects(const LDObjectList& objects, QFile& f);
+	void writeObjects(const LDObjectList& objects, QString fname);
+	void writeSelection(QString fname);
 
 	ExtProgramInfo extProgramInfo[NumExternalPrograms];
 };

mercurial