| 1 | // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/miscellaneous/application.h`/ |
| 2 | |
| 3 | #ifndef APPLICATION_H |
| 4 | #define APPLICATION_Hcxx . . $ `src/librssguard/miscellaneous/application.h:4:9`! |
| 5 | |
| 6 | #include "core/feeddownloader.h"cxx . . $ `<file>/src/librssguard/core/feeddownloader.h`/ |
| 7 | #include "database/databasefactory.h"cxx . . $ `<file>/src/librssguard/database/databasefactory.h`/ |
| 8 | #include "definitions/definitions.h"cxx . . $ `<file>/src/librssguard/definitions/definitions.h`/ |
| 9 | #include "gui/systemtrayicon.h"cxx . . $ `<file>/src/librssguard/gui/systemtrayicon.h`/ |
| 10 | #include "miscellaneous/feedreader.h"cxx . . $ `<file>/src/librssguard/miscellaneous/feedreader.h`/ |
| 11 | #include "miscellaneous/iofactory.h"cxx . . $ `<file>/src/librssguard/miscellaneous/iofactory.h`/ |
| 12 | #include "miscellaneous/localization.h"cxx . . $ `<file>/src/librssguard/miscellaneous/localization.h`/ |
| 13 | #include "miscellaneous/nodejs.h"cxx . . $ `<file>/src/librssguard/miscellaneous/nodejs.h`/ |
| 14 | #include "miscellaneous/notification.h"cxx . . $ `<file>/src/librssguard/miscellaneous/notification.h`/ |
| 15 | #include "miscellaneous/singleapplication.h"cxx . . $ `<file>/src/librssguard/miscellaneous/singleapplication.h`/ |
| 16 | #include "miscellaneous/skinfactory.h"cxx . . $ `<file>/src/librssguard/miscellaneous/skinfactory.h`/ |
| 17 | #include "miscellaneous/systemfactory.h"cxx . . $ `<file>/src/librssguard/miscellaneous/systemfactory.h`/ |
| 18 | #include "network-web/downloadmanager.h"cxx . . $ `<file>/src/librssguard/network-web/downloadmanager.h`/ |
| 19 | |
| 20 | #include <functional> |
| 21 | |
| 22 | #include <QCommandLineParser> |
| 23 | #include <QList> |
| 24 | |
| 25 | #if defined(qAppcxx . . $ `<external>/1789961097450427958/qapplication.h:30:9`!) |
| 26 | #undef qAppcxx . . $ `<external>/1789961097450427958/qapplication.h:30:9`! |
| 27 | #endif |
| 28 | |
| 29 | // Define new qApp macro. Yeaaaaah. |
| 30 | #define qAppcxx . . $ `src/librssguard/miscellaneous/application.h:30:9`! (Application::instance()) |
| 31 | |
| 32 | class FormMaincxx . . $ FormMain#; |
| 33 | class FormLogcxx . . $ FormLog#; |
| 34 | class IconFactorycxx . . $ IconFactory#; |
| 35 | class QActioncxx . . $ QAction#; |
| 36 | class Mutexcxx . . $ Mutex#; |
| 37 | |
| 38 | #if QT_VERSION_MAJORcxx . . $ `<external>/9758848313111604122/qconfig.h:67:9`! == 6 |
| 39 | class QWebEngineDownloadRequestcxx . . $ QWebEngineDownloadRequest#; |
| 40 | #else |
| 41 | class QWebEngineDownloadItem; |
| 42 | #endif |
| 43 | |
| 44 | class WebFactorycxx . . $ WebFactory#; |
| 45 | class NotificationFactorycxx . . $ NotificationFactory#; |
| 46 | class ToastNotificationsManagercxx . . $ ToastNotificationsManager#; |
| 47 | class WebViewercxx . . $ WebViewer#; |
| 48 | class Settingscxx . . $ Settings#; |
| 49 | |
| 50 | #if defined(Q_OS_WIN) |
| 51 | struct ITaskbarList4; |
| 52 | #endif |
| 53 | |
| 54 | struct GuiMessagecxx . . $ GuiMessage# { |
| 55 | public: |
| 56 | GuiMessagecxx . . $ GuiMessage#GuiMessage(49f6e7a06ebc5aa8).() {} |
| 57 | GuiMessagecxx . . $ GuiMessage#GuiMessage(b833bfd374dccacd).(QStringcxx . . $ QString# title, |
| 58 | QStringcxx . . $ QString# message, |
| 59 | QSystemTrayIconcxx . . $ QSystemTrayIcon#::MessageIconcxx . . $ QSystemTrayIcon#MessageIcon# type = QSystemTrayIconcxx . . $ QSystemTrayIcon#::MessageIconcxx . . $ QSystemTrayIcon#MessageIcon#::Informationcxx . . $ QSystemTrayIcon#Information.) |
| 60 | : m_titlecxx . . $ QString#QString(28715ad661ad3cec).(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(title)), m_messagecxx . . $ QString#QString(28715ad661ad3cec).(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(message)), m_typecxx . . $ GuiMessage#m_type.(type) {} |
| 61 | |
| 62 | QStringcxx . . $ QString# m_titlecxx . . $ GuiMessage#m_title.; |
| 63 | QStringcxx . . $ QString# m_messagecxx . . $ GuiMessage#m_message.; |
| 64 | QSystemTrayIconcxx . . $ QSystemTrayIcon#::MessageIconcxx . . $ QSystemTrayIcon#MessageIcon# m_typecxx . . $ GuiMessage#m_type.; |
| 65 | FeedDownloadResultscxx . . $ FeedDownloadResults# m_feedFetchResultscxx . . $ GuiMessage#m_feedFetchResults.; |
| 66 | }; |
| 67 | |
| 68 | Q_DECLARE_METATYPEcxx . . $ QMetaTypeId#(GuiMessage) |
| 69 | |
| 70 | struct GuiMessageDestinationcxx . . $ GuiMessageDestination# { |
| 71 | public: |
| 72 | GuiMessageDestinationcxx . . $ GuiMessageDestination#GuiMessageDestination(9e113dd3a0d25c95).(bool tray = true, bool message_box = false, bool status_bar = false) |
| 73 | : m_traycxx . . $ GuiMessageDestination#m_tray.(tray), m_messageBoxcxx . . $ GuiMessageDestination#m_messageBox.(message_box), m_statusBarcxx . . $ GuiMessageDestination#m_statusBar.(status_bar) {} |
| 74 | |
| 75 | bool m_traycxx . . $ GuiMessageDestination#m_tray.; |
| 76 | bool m_messageBoxcxx . . $ GuiMessageDestination#m_messageBox.; |
| 77 | bool m_statusBarcxx . . $ GuiMessageDestination#m_statusBar.; |
| 78 | }; |
| 79 | |
| 80 | Q_DECLARE_METATYPEcxx . . $ QByteArrayView#QByteArrayView(80d8335016fb1bdc).(GuiMessageDestination) |
| 81 | |
| 82 | struct GuiActioncxx . . $ GuiAction# { |
| 83 | public: |
| 84 | GuiActioncxx . . $ GuiAction#GuiAction(7d816f6132cf943f).(QStringcxx . . $ QString# title =cxx . . $ QString#QString(ced63f7c635d850d). {}, const stdcxx . . $ std/::functioncxx . . $ std/function#<void()>& action = nullptrcxx . . $ std/function#function(6d988fd07f070dfc).) |
| 85 | : m_titlecxx . . $ QString#QString(28715ad661ad3cec).(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(title)), m_actioncxx . . $ std/function#function(ec20bd20f4acba43).(action) {} |
| 86 | |
| 87 | QStringcxx . . $ QString# m_titlecxx . . $ GuiAction#m_title.; |
| 88 | stdcxx . . $ std/::functioncxx . . $ std/function#<void()> m_actioncxx . . $ GuiAction#m_action.; |
| 89 | }; |
| 90 | |
| 91 | Q_DECLARE_METATYPEcxx . . $ QMetaTypeId#(GuiAction) |
| 92 | |
| 93 | class RSSGUARD_DLLSPECcxx . . $ `<built-in>:525:9`! Applicationcxx . . $ Application# : public SingleApplicationcxx . . $ SingleApplication# { |
| 94 | Q_OBJECTcxx . . $ QMetaObject#Call# |
| 95 | |
| 96 | public: |
| 97 | explicit Applicationcxx . . $ Application#Application(7015ac71591e1114).(const QStringcxx . . $ QString#& id, int& argc, char** argv, const QStringListcxx . . $ QStringList#& raw_cli_args); |
| 98 | virtual ~cxx . . $ Application#`~Application`(ced63f7c635d850d).Applicationcxx . . $ Application#(); |
| 99 | |
| 100 | void reactOnForeignNotificationscxx . . $ Application#reactOnForeignNotifications(49f6e7a06ebc5aa8).(); |
| 101 | void hideOrShowMainFormcxx . . $ Application#hideOrShowMainForm(49f6e7a06ebc5aa8).(); |
| 102 | void loadDynamicShortcutscxx . . $ Application#loadDynamicShortcuts(49f6e7a06ebc5aa8).(); |
| 103 | void offerPollscxx . . $ Application#offerPolls(83f5f38750778ac8).() const; |
| 104 | void offerChangescxx . . $ Application#offerChanges(83f5f38750778ac8).() const; |
| 105 | |
| 106 | bool isAlreadyRunningcxx . . $ Application#isAlreadyRunning(c9857a73d68e59ba).(); |
| 107 | |
| 108 | QStringListcxx . . $ QStringList# builtinSoundscxx . . $ Application#builtinSounds(2b25566bdf736d18).() const; |
| 109 | |
| 110 | FeedReadercxx . . $ FeedReader#* feedReadercxx . . $ Application#feedReader(db5fdbb995cddeff).(); |
| 111 | void setFeedReadercxx . . $ Application#setFeedReader(96eac250c17d4eb9).(FeedReadercxx . . $ FeedReader#* feed_reader); |
| 112 | |
| 113 | // Globally accessible actions. |
| 114 | QListcxx . . $ QList#<QActioncxx . . $ QAction#*> userActionscxx . . $ Application#userActions(c4b3bc0793dee689).(); |
| 115 | |
| 116 | // Globally accessible actions for the sole purpose of keyboard shortcuts. |
| 117 | QListcxx . . $ QList#<QActioncxx . . $ QAction#*> userAndExtraActionscxx . . $ Application#userAndExtraActions(c4b3bc0793dee689).(); |
| 118 | |
| 119 | // Check whether this application starts for the first time (ever). |
| 120 | bool isFirstRuncxx . . $ Application#isFirstRun(50ce9a9e25b4a850).() const; |
| 121 | |
| 122 | // Check whether CURRENT VERSION of the application starts for the first time. |
| 123 | bool isFirstRunCurrentVersioncxx . . $ Application#isFirstRunCurrentVersion(50ce9a9e25b4a850).() const; |
| 124 | |
| 125 | QCommandLineParsercxx . . $ QCommandLineParser#* cmdParsercxx . . $ Application#cmdParser(28f76cd94c3cf31d).(); |
| 126 | WebFactorycxx . . $ WebFactory#* webcxx . . $ Application#web(ad68e16c93841931).() const; |
| 127 | SystemFactorycxx . . $ SystemFactory#* systemcxx . . $ Application#system(4ec014040ff5a0f7).(); |
| 128 | SkinFactorycxx . . $ SkinFactory#* skinscxx . . $ Application#skins(260b20d67347ae96).(); |
| 129 | Localizationcxx . . $ Localization#* localizationcxx . . $ Application#localization(c0674a442c333122).(); |
| 130 | DatabaseFactorycxx . . $ DatabaseFactory#* databasecxx . . $ Application#database(4a253a6ca99872d8).(); |
| 131 | IconFactorycxx . . $ IconFactory#* iconscxx . . $ Application#icons(d976db2a0d825b70).(); |
| 132 | DownloadManagercxx . . $ DownloadManager#* downloadManagercxx . . $ Application#downloadManager(456f9618ee541670).(); |
| 133 | Settingscxx . . $ Settings#* settingscxx . . $ Application#settings(951936487a2d9252).() const; |
| 134 | Mutexcxx . . $ Mutex#* feedUpdateLockcxx . . $ Application#feedUpdateLock(e340107b1702aef2).(); |
| 135 | FormMaincxx . . $ FormMain#* mainFormcxx . . $ Application#mainForm(da73b49c3e1670d9).(); |
| 136 | QWidgetcxx . . $ QWidget#* mainFormWidgetcxx . . $ Application#mainFormWidget(9b769eeb00a33a04).(); |
| 137 | SystemTrayIconcxx . . $ SystemTrayIcon#* trayIconcxx . . $ Application#trayIcon(af2fac1265f46624).(); |
| 138 | NotificationFactorycxx . . $ NotificationFactory#* notificationscxx . . $ Application#notifications(9f98bf21cc921225).() const; |
| 139 | NodeJscxx . . $ NodeJs#* nodejscxx . . $ Application#nodejs(37aaef0f1b724263).() const; |
| 140 | QThreadPoolcxx . . $ QThreadPool#* workHorsePoolcxx . . $ Application#workHorsePool(a728214f96070c42).() const; |
| 141 | ToastNotificationsManagercxx . . $ ToastNotificationsManager#* toastNotificationscxx . . $ Application#toastNotifications(42426deec518347e).() const; |
| 142 | |
| 143 | QIconcxx . . $ QIcon# desktopAwareIconcxx . . $ Application#desktopAwareIcon(952ef71f8967d9eb).() const; |
| 144 | |
| 145 | QStringcxx . . $ QString# tempFoldercxx . . $ Application#tempFolder(6ef7b6c27b00b43d).() const; |
| 146 | QStringcxx . . $ QString# documentsFoldercxx . . $ Application#documentsFolder(6ef7b6c27b00b43d).() const; |
| 147 | QStringcxx . . $ QString# homeFoldercxx . . $ Application#homeFolder(6ef7b6c27b00b43d).() const; |
| 148 | QStringcxx . . $ QString# configFoldercxx . . $ Application#configFolder(6ef7b6c27b00b43d).() const; |
| 149 | |
| 150 | // These return user ready folders. |
| 151 | QStringcxx . . $ QString# userDataAppFoldercxx . . $ Application#userDataAppFolder(6ef7b6c27b00b43d).() const; |
| 152 | QStringcxx . . $ QString# userDataHomeFoldercxx . . $ Application#userDataHomeFolder(6ef7b6c27b00b43d).() const; |
| 153 | QStringcxx . . $ QString# customDataFoldercxx . . $ Application#customDataFolder(6ef7b6c27b00b43d).() const; |
| 154 | |
| 155 | // Returns the base folder to which store user data, the "data" folder. |
| 156 | // NOTE: Use this to get correct path under which store user data. |
| 157 | QStringcxx . . $ QString# userDataFoldercxx . . $ Application#userDataFolder(4365c3963150523e).(); |
| 158 | |
| 159 | QStringcxx . . $ QString# cacheFoldercxx . . $ Application#cacheFolder(4365c3963150523e).(); |
| 160 | |
| 161 | int customAdblockPortcxx . . $ Application#customAdblockPort(455f465bc33b4cdf).() const; |
| 162 | |
| 163 | QStringcxx . . $ QString# replaceUserDataFolderPlaceholdercxx . . $ Application#replaceUserDataFolderPlaceholder(f6736f2569bd2ccc).(QStringcxx . . $ QString# text) const; |
| 164 | QStringListcxx . . $ QStringList# replaceUserDataFolderPlaceholdercxx . . $ Application#replaceUserDataFolderPlaceholder(aa54cf59e2bd1ac7).(QStringListcxx . . $ QStringList# texts) const; |
| 165 | |
| 166 | void setMainFormcxx . . $ Application#setMainForm(65b5ce08a4f1bb4e).(FormMaincxx . . $ FormMain#* main_form); |
| 167 | |
| 168 | void backupDatabaseSettingscxx . . $ Application#backupDatabaseSettings(4ed09677d75f8bf9).(bool backup_database, |
| 169 | bool backup_settings, |
| 170 | const QStringcxx . . $ QString#& target_path, |
| 171 | const QStringcxx . . $ QString#& backup_name); |
| 172 | void restoreDatabaseSettingscxx . . $ Application#restoreDatabaseSettings(4ed09677d75f8bf9).(bool restore_database, |
| 173 | bool restore_settings, |
| 174 | const QStringcxx . . $ QString#& source_database_file_path = QStringcxx . . $ QString#QString(ced63f7c635d850d).(), |
| 175 | const QStringcxx . . $ QString#& source_settings_file_path = QStringcxx . . $ QString#QString(ced63f7c635d850d).()); |
| 176 | |
| 177 | void showTrayIconcxx . . $ Application#showTrayIcon(49f6e7a06ebc5aa8).(); |
| 178 | void deleteTrayIconcxx . . $ Application#deleteTrayIcon(49f6e7a06ebc5aa8).(); |
| 179 | |
| 180 | QStringListcxx . . $ QStringList# rawCliArgscxx . . $ Application#rawCliArgs(2b25566bdf736d18).() const; |
| 181 | |
| 182 | // Displays given simple message in tray icon bubble or OSD |
| 183 | // or in message box if tray icon is disabled. |
| 184 | void showGuiMessagecxx . . $ Application#showGuiMessage(cf433640a87c3b52).(Notificationcxx . . $ Notification#::Eventcxx . . $ Notification#Event# event, |
| 185 | const GuiMessagecxx . . $ GuiMessage#& msg, |
| 186 | GuiMessageDestinationcxx . . $ GuiMessageDestination# dest =cxx . . $ GuiMessageDestination#GuiMessageDestination(9e113dd3a0d25c95). {}, |
| 187 | const GuiActioncxx . . $ GuiAction#& action =cxx . . $ GuiAction#GuiAction(7d816f6132cf943f). {}, |
| 188 | QWidgetcxx . . $ QWidget#* parent = nullptr); |
| 189 | |
| 190 | WebViewercxx . . $ WebViewer#* createWebViewcxx . . $ Application#createWebView(34cea7e5e7d4c856).(); |
| 191 | |
| 192 | bool usingLitecxx . . $ Application#usingLite(50ce9a9e25b4a850).() const; |
| 193 | bool isWaylandcxx . . $ Application#isWayland(50ce9a9e25b4a850).() const; |
| 194 | |
| 195 | #if defined(NO_LITEcxx . . $ `<built-in>:500:9`!) |
| 196 | bool forcedLitecxx . . $ Application#forcedLite(50ce9a9e25b4a850).() const; |
| 197 | #endif |
| 198 | |
| 199 | // Returns pointer to "GOD" application singleton. |
| 200 | static Applicationcxx . . $ Application#* instancecxx . . $ Application#instance(7e58a02b4f5c5de1).(); |
| 201 | |
| 202 | // Custom debug/console log handler. |
| 203 | static void performLoggingcxx . . $ Application#performLogging(9b2ea6dfbcd5bc9f).(QtMsgTypecxx . . $ QtMsgType# type, const QMessageLogContextcxx . . $ QMessageLogContext#& context, const QStringcxx . . $ QString#& msg); |
| 204 | |
| 205 | public slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!: |
| 206 | // Restarts the application. |
| 207 | void restartcxx . . $ Application#restart(49f6e7a06ebc5aa8).(); |
| 208 | |
| 209 | void reloadCurrentSkincxx . . $ Application#reloadCurrentSkin(b45ddcbc8423892c).(bool replace_existing_qss = true); |
| 210 | |
| 211 | // Processes incoming message from another RSS Guard instance. |
| 212 | void parseCmdArgumentsFromOtherInstancecxx . . $ Application#parseCmdArgumentsFromOtherInstance(3520e46b33348bf6).(const QStringcxx . . $ QString#& message); |
| 213 | void parseCmdArgumentsFromMyInstancecxx . . $ Application#parseCmdArgumentsFromMyInstance(f38fcaadfe6bbf92).(const QStringListcxx . . $ QStringList#& raw_cli_args, QStringcxx . . $ QString#& custom_ua); |
| 214 | |
| 215 | void displayLogcxx . . $ Application#displayLog(49f6e7a06ebc5aa8).(); |
| 216 | |
| 217 | void showGuiMessageCorecxx . . $ Application#showGuiMessageCore(cf433640a87c3b52).(Notificationcxx . . $ Notification#::Eventcxx . . $ Notification#Event# event, |
| 218 | const GuiMessagecxx . . $ GuiMessage#& msg, |
| 219 | GuiMessageDestinationcxx . . $ GuiMessageDestination# dest =cxx . . $ GuiMessageDestination#GuiMessageDestination(9e113dd3a0d25c95). {}, |
| 220 | const GuiActioncxx . . $ GuiAction#& action =cxx . . $ GuiAction#GuiAction(7d816f6132cf943f). {}, |
| 221 | QWidgetcxx . . $ QWidget#* parent = nullptr); |
| 222 | |
| 223 | private slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!: |
| 224 | void loadMessageToFeedAndArticleListcxx . . $ Application#loadMessageToFeedAndArticleList(12e982556975822d).(Feedcxx . . $ Feed#* feed, const Messagecxx . . $ Message#& message); |
| 225 | void fillCmdArgumentsParsercxx . . $ Application#fillCmdArgumentsParser(28eb7bbde1396136).(QCommandLineParsercxx . . $ QCommandLineParser#& parser); |
| 226 | |
| 227 | void onNodeJsPackageUpdateErrorcxx . . $ Application#onNodeJsPackageUpdateError(c66daf909bbebbbc).(const QObjectcxx . . $ QObject#* sndr, |
| 228 | const QListcxx . . $ QList#<NodeJscxx . . $ NodeJs#::PackageMetadatacxx . . $ NodeJs#PackageMetadata#>& pkgs, |
| 229 | const QStringcxx . . $ QString#& error); |
| 230 | void onNodeJsPackageInstalledcxx . . $ Application#onNodeJsPackageInstalled(34ac6af3085f0564).(const QObjectcxx . . $ QObject#* sndr, |
| 231 | const QListcxx . . $ QList#<NodeJscxx . . $ NodeJs#::PackageMetadatacxx . . $ NodeJs#PackageMetadata#>& pkgs, |
| 232 | bool already_up_to_date); |
| 233 | void onCommitDatacxx . . $ Application#onCommitData(2966477dbe58cfb1).(QSessionManagercxx . . $ QSessionManager#& manager); |
| 234 | void onSaveStatecxx . . $ Application#onSaveState(2966477dbe58cfb1).(QSessionManagercxx . . $ QSessionManager#& manager); |
| 235 | void onAboutToQuitcxx . . $ Application#onAboutToQuit(49f6e7a06ebc5aa8).(); |
| 236 | void showMessagesNumbercxx . . $ Application#showMessagesNumber(918ebd27a9ddbad3).(int unread_messages, bool any_feed_has_new_unread_messages); |
| 237 | void onAdBlockFailurecxx . . $ Application#onAdBlockFailure(49f6e7a06ebc5aa8).(); |
| 238 | |
| 239 | #if defined(NO_LITEcxx . . $ `<built-in>:500:9`!) |
| 240 | #if QT_VERSION_MAJORcxx . . $ `<external>/9758848313111604122/qconfig.h:67:9`! == 6 |
| 241 | void downloadRequestedcxx . . $ Application#downloadRequested(41198ee43c7b8fa9).(QWebEngineDownloadRequestcxx . . $ QWebEngineDownloadRequest#* download_item); |
| 242 | #else |
| 243 | void downloadRequested(QWebEngineDownloadItem* download_item); |
| 244 | #endif |
| 245 | #endif |
| 246 | |
| 247 | void onFeedUpdatesStartedcxx . . $ Application#onFeedUpdatesStarted(49f6e7a06ebc5aa8).(); |
| 248 | void onFeedUpdatesProgresscxx . . $ Application#onFeedUpdatesProgress(e8151f2ee217e1b7).(const Feedcxx . . $ Feed#* feed, int current, int total); |
| 249 | void onFeedUpdatesFinishedcxx . . $ Application#onFeedUpdatesFinished(327d7267a1e3b8f3).(const FeedDownloadResultscxx . . $ FeedDownloadResults#& results); |
| 250 | |
| 251 | signalscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:43:14`!: |
| 252 | void sendLogToDialogcxx . . $ Application#sendLogToDialog(7df51288a9ebd664).(QStringcxx . . $ QString# message); |
| 253 | |
| 254 | private: |
| 255 | #if defined(Q_OS_WIN) |
| 256 | QImage generateOverlayIcon(int number) const; |
| 257 | #endif |
| 258 | |
| 259 | void setupFontAntialiasingcxx . . $ Application#setupFontAntialiasing(49f6e7a06ebc5aa8).(); |
| 260 | void setupCustomDataFoldercxx . . $ Application#setupCustomDataFolder(3520e46b33348bf6).(const QStringcxx . . $ QString#& data_folder); |
| 261 | void setupWorkHorsePoolcxx . . $ Application#setupWorkHorsePool(49f6e7a06ebc5aa8).(); |
| 262 | void determineFirstRunscxx . . $ Application#determineFirstRuns(49f6e7a06ebc5aa8).(); |
| 263 | void eliminateFirstRunscxx . . $ Application#eliminateFirstRuns(49f6e7a06ebc5aa8).(); |
| 264 | void displayLogMessageInDialogcxx . . $ Application#displayLogMessageInDialog(3520e46b33348bf6).(const QStringcxx . . $ QString#& message); |
| 265 | |
| 266 | private: |
| 267 | QStringListcxx . . $ QStringList# m_rawCliArgscxx . . $ Application#m_rawCliArgs.; |
| 268 | QCommandLineParsercxx . . $ QCommandLineParser# m_cmdParsercxx . . $ Application#m_cmdParser.; |
| 269 | FeedReadercxx . . $ FeedReader#* m_feedReadercxx . . $ Application#m_feedReader.; |
| 270 | |
| 271 | bool m_quitLogicDonecxx . . $ Application#m_quitLogicDone.; |
| 272 | |
| 273 | // This read-write lock is used by application on its close. |
| 274 | // Application locks this lock for WRITING. |
| 275 | // This means that if application locks that lock, then |
| 276 | // no other transaction-critical action can acquire lock |
| 277 | // for reading and won't be executed, so no critical action |
| 278 | // will be running when application quits |
| 279 | // |
| 280 | // EACH critical action locks this lock for READING. |
| 281 | // Several actions can lock this lock for reading. |
| 282 | // But of user decides to close the application (in other words, |
| 283 | // tries to lock the lock for writing), then no other |
| 284 | // action will be allowed to lock for reading. |
| 285 | QScopedPointercxx . . $ QScopedPointer#<Mutexcxx . . $ Mutex#> m_updateFeedsLockcxx . . $ Application#m_updateFeedsLock.; |
| 286 | |
| 287 | QListcxx . . $ QList#<QActioncxx . . $ QAction#*> m_userActionscxx . . $ Application#m_userActions.; |
| 288 | FormMaincxx . . $ FormMain#* m_mainFormcxx . . $ Application#m_mainForm.; |
| 289 | FormLogcxx . . $ FormLog#* m_logFormcxx . . $ Application#m_logForm.; |
| 290 | SystemTrayIconcxx . . $ SystemTrayIcon#* m_trayIconcxx . . $ Application#m_trayIcon.; |
| 291 | Settingscxx . . $ Settings#* m_settingscxx . . $ Application#m_settings.; |
| 292 | WebFactorycxx . . $ WebFactory#* m_webFactorycxx . . $ Application#m_webFactory.; |
| 293 | SystemFactorycxx . . $ SystemFactory#* m_systemcxx . . $ Application#m_system.; |
| 294 | SkinFactorycxx . . $ SkinFactory#* m_skinscxx . . $ Application#m_skins.; |
| 295 | Localizationcxx . . $ Localization#* m_localizationcxx . . $ Application#m_localization.; |
| 296 | IconFactorycxx . . $ IconFactory#* m_iconscxx . . $ Application#m_icons.; |
| 297 | DatabaseFactorycxx . . $ DatabaseFactory#* m_databasecxx . . $ Application#m_database.; |
| 298 | DownloadManagercxx . . $ DownloadManager#* m_downloadManagercxx . . $ Application#m_downloadManager.; |
| 299 | NotificationFactorycxx . . $ NotificationFactory#* m_notificationscxx . . $ Application#m_notifications.; |
| 300 | ToastNotificationsManagercxx . . $ ToastNotificationsManager#* m_toastNotificationscxx . . $ Application#m_toastNotifications.; |
| 301 | NodeJscxx . . $ NodeJs#* m_nodejscxx . . $ Application#m_nodejs.; |
| 302 | QThreadPoolcxx . . $ QThreadPool#* m_workHorsePoolcxx . . $ Application#m_workHorsePool.; |
| 303 | bool m_shouldRestartcxx . . $ Application#m_shouldRestart.; |
| 304 | bool m_firstRunEvercxx . . $ Application#m_firstRunEver.; |
| 305 | bool m_firstRunCurrentVersioncxx . . $ Application#m_firstRunCurrentVersion.; |
| 306 | QStringcxx . . $ QString# m_customDataFoldercxx . . $ Application#m_customDataFolder.; |
| 307 | int m_customAdblockPortcxx . . $ Application#m_customAdblockPort.; |
| 308 | bool m_allowMultipleInstancescxx . . $ Application#m_allowMultipleInstances.; |
| 309 | |
| 310 | #if defined(NO_LITEcxx . . $ `<built-in>:500:9`!) |
| 311 | bool m_forcedLitecxx . . $ Application#m_forcedLite.; |
| 312 | #endif |
| 313 | |
| 314 | #if defined(Q_OS_WIN) |
| 315 | ITaskbarList4* m_windowsTaskBar; |
| 316 | #endif |
| 317 | }; |
| 318 | |
| 319 | inline Applicationcxx . . $ Application#* Applicationcxx . . $ Application#::instancecxx . . $ Application#instance(7e58a02b4f5c5de1).() { |
| 320 | return static_cast<Applicationcxx . . $ Application#*>(QCoreApplicationcxx . . $ QCoreApplication#::instancecxx . . $ QCoreApplication#instance(fc464b6fd63b8c1).()); |
| 321 | } |
| 322 | |
| 323 | #endif // APPLICATION_H |