From a308f430f694423064ebc86fd0506c8c6fdb3d93 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sun, 19 Apr 2015 22:30:21 -0400 Subject: Imported Upstream version 3.0.5 --- .../coreSQLiteStudio/common/threadwitheventloop.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 SQLiteStudio3/coreSQLiteStudio/common/threadwitheventloop.h (limited to 'SQLiteStudio3/coreSQLiteStudio/common/threadwitheventloop.h') diff --git a/SQLiteStudio3/coreSQLiteStudio/common/threadwitheventloop.h b/SQLiteStudio3/coreSQLiteStudio/common/threadwitheventloop.h new file mode 100644 index 0000000..ef0629a --- /dev/null +++ b/SQLiteStudio3/coreSQLiteStudio/common/threadwitheventloop.h @@ -0,0 +1,19 @@ +#ifndef THREADWITHEVENTLOOP_H +#define THREADWITHEVENTLOOP_H + +#include +#include + +class ThreadWithEventLoop : public QThread +{ + Q_OBJECT + + public: + ThreadWithEventLoop(QObject* parent = nullptr); + ~ThreadWithEventLoop(); + + protected: + void run() Q_DECL_OVERRIDE; +}; + +#endif // THREADWITHEVENTLOOP_H -- cgit v1.2.3