MCPcopy Create free account
hub / github.com/QNapi/qnapi / QNapiApp

Method QNapiApp

gui/src/qnapiapp.cpp:19–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17#include "libqnapi.h"
18
19QNapiApp::QNapiApp(int &argc, char **argv, bool useGui, const QString &appName)
20 : QSingleApplication(argc, argv, useGui, appName),
21 creationDT(QDateTime::currentDateTime()),
22 enginesRegistry(LibQNapi::subtitleDownloadEngineRegistry()) {
23 setAttribute(Qt::AA_UseHighDpiPixmaps, true);
24
25 openDialog = 0;
26
27 f_progress = 0;
28 f_options = 0;
29 f_about = 0;
30 f_scan = 0;
31 f_convert = 0;
32
33 getAction = 0;
34 scanAction = 0;
35 convertAction = 0;
36 napiGetAction = 0;
37 napiCreateUserAction = 0;
38 osGetAction = 0;
39 osAddAction = 0;
40 settingsAction = 0;
41 aboutAction = 0;
42 quitAction = 0;
43
44 napiSubMenu = 0;
45 osSubMenu = 0;
46 trayIconMenu = 0;
47 trayIcon = 0;
48}
49
50QNapiApp::~QNapiApp() {
51 if (openDialog) delete openDialog;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected