diff options
| author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2018-02-22 16:54:34 +0100 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2018-02-22 16:54:34 +0100 |
| commit | 5e5c9c07291f6b09623d31c92b1fb61c4ede576e (patch) | |
| tree | 0684c123db375336e0e03f0240155a12e744db16 /src/usvfsconnector.h | |
| parent | 5ad912e1934061b38825801a27f7c12933878005 (diff) | |
Applied clang-format on source
Diffstat (limited to 'src/usvfsconnector.h')
| -rw-r--r-- | src/usvfsconnector.h | 50 |
1 files changed, 20 insertions, 30 deletions
diff --git a/src/usvfsconnector.h b/src/usvfsconnector.h index 0935bac1..937912bf 100644 --- a/src/usvfsconnector.h +++ b/src/usvfsconnector.h @@ -17,64 +17,54 @@ You should have received a copy of the GNU General Public License along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. */ - #ifndef USVFSCONNECTOR_H #define USVFSCONNECTOR_H - -#include <filemapping.h> +#include <QDebug> +#include <QFile> #include <QString> #include <QThread> -#include <QFile> -#include <QDebug> +#include <filemapping.h> #include <usvfsparameters.h> - class LogWorker : public QThread { - Q_OBJECT + Q_OBJECT public: - - LogWorker(); - ~LogWorker(); + LogWorker(); + ~LogWorker(); public slots: - void process(); - void exit(); + void process(); + void exit(); signals: - void outputLog(const QString &message); - void finished(); + void outputLog(const QString& message); + void finished(); private: - - std::string m_Buffer; - bool m_QuitRequested; - QFile m_LogFile; - + std::string m_Buffer; + bool m_QuitRequested; + QFile m_LogFile; }; - class UsvfsConnector : public QObject { - Q_OBJECT + Q_OBJECT public: + UsvfsConnector(); + ~UsvfsConnector(); - UsvfsConnector(); - ~UsvfsConnector(); - - void updateMapping(const MappingType &mapping); - void updateParams(int logLevel, int crashDumpsType); + void updateMapping(const MappingType& mapping); + void updateParams(int logLevel, int crashDumpsType); private: - - LogWorker m_LogWorker; - QThread m_WorkerThread; - + LogWorker m_LogWorker; + QThread m_WorkerThread; }; CrashDumpsType crashDumpsType(int type); |
