1 /*************************************************************************** 2 * copyright : (C) 2003-2017 by Pascal Brachet * 3 * http://www.xm1math.net/texmaker/ * 4 * * 5 * This program is free software; you can redistribute it and/or modify * 6 * it under the terms of the GNU General Public License as published by * 7 * the Free Software Foundation; either version 2 of the License, or * 8 * (at your option) any later version. * 9 * * 10 ***************************************************************************/ 11 12 #ifndef SVNHELPER_H 13 #define SVNHELPER_H 14 15 #include <QProcess> 16 class SvnHelper : public QObject 17 { 18 Q_OBJECT 19 public: 20 SvnHelper(QString filename, QString svnPath); 21 ~SvnHelper(); 22 23 24 signals: 25 void uncommittedLines(QList<int>); 26 27 private slots: 28 void parseUnified(int exitCode, QProcess::ExitStatus exitStatus); 29 private: 30 QProcess _process; 31 QList<int> _uncommitLines; 32 }; 33 34 #endif // SVNHELPER_H 35