QEverCloud  6.1.0
Unofficial Evernote Cloud API for Qt
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 "Export.h"
13 #include "Helpers.h"
14 
15 #include <QEventLoop>
16 #include <QObject>
17 
18 namespace qevercloud {
19 
20 QT_FORWARD_DECLARE_CLASS(EventLoopFinisherPrivate)
21 
22 class QEVERCLOUD_EXPORT EventLoopFinisher: public QObject
23 {
24  Q_OBJECT
25 public:
27  QEventLoop * loop, int exitCode, QObject * parent = Q_NULLPTR);
28 
30 
31 public Q_SLOTS:
32  void stopEventLoop();
33 
34 private:
35  EventLoopFinisherPrivate * const d_ptr;
36  Q_DECLARE_PRIVATE(EventLoopFinisher)
37 };
38 
39 } // namespace qevercloud
40 
41 #endif // QEVERCLOUD_EVENT_LOOP_FINISHER_H
Export.h
qevercloud::EventLoopFinisher
Definition: EventLoopFinisher.h:23
qevercloud
Definition: AsyncResult.h:21
qevercloud::EventLoopFinisher::~EventLoopFinisher
~EventLoopFinisher()
Helpers.h
qevercloud::EventLoopFinisher::EventLoopFinisher
EventLoopFinisher(QEventLoop *loop, int exitCode, QObject *parent=Q_NULLPTR)
QEVERCLOUD_EXPORT
#define QEVERCLOUD_EXPORT
Definition: Export.h:19
qevercloud::EventLoopFinisher::stopEventLoop
void stopEventLoop()