QEverCloud  3.0.0
Unofficial Evernote Cloud API for Qt
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EventLoopFinisher.h
Go to the documentation of this file.
1 
9 #ifndef QEVERCLOUD_EVENT_LOOP_FINISHER_H
10 #define QEVERCLOUD_EVENT_LOOP_FINISHER_H
11 
12 #include "qt4helpers.h"
13 #include "export.h"
14 #include <QObject>
15 #include <QEventLoop>
16 
17 namespace qevercloud {
18 
19 QT_FORWARD_DECLARE_CLASS(EventLoopFinisherPrivate)
20 
21 class QEVERCLOUD_EXPORT EventLoopFinisher: public QObject
22 {
23  Q_OBJECT
24 public:
25  explicit EventLoopFinisher(QEventLoop * loop, int exitCode, QObject * parent = Q_NULLPTR);
27 
28 public Q_SLOTS:
29  void stopEventLoop();
30 
31 private:
32  EventLoopFinisherPrivate * const d_ptr;
33  Q_DECLARE_PRIVATE(EventLoopFinisher)
34 };
35 
36 } // namespace qevercloud
37 
38 #endif // QEVERCLOUD_EVENT_LOOP_FINISHER_H
Definition: EventLoopFinisher.h:21
#define QEVERCLOUD_EXPORT
Definition: export.h:23
Definition: AsyncResult.h:18