File: EventLoopFinisher.cpp

package info (click to toggle)
nixnote2 2.0~beta11-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,448 kB
  • ctags: 7,058
  • sloc: cpp: 68,338; java: 1,096; sh: 834; makefile: 27
file content (15 lines) | stat: -rw-r--r-- 322 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "EventLoopFinisher.h"

/** @cond HIDDEN_SYMBOLS  */

qevercloud::EventLoopFinisher::EventLoopFinisher(QEventLoop* loop, int exitCode, QObject *parent) :
    QObject(parent), loop_(loop), exitCode_(exitCode)
{
}

void qevercloud::EventLoopFinisher::stopEventLoop()
{
    loop_->exit(exitCode_);
}

/** @endcond */