mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
chore: update the file
This commit is contained in:
parent
f370b0f442
commit
ddf8c7b409
@ -13,7 +13,11 @@
|
||||
#include "xToolsSettings.h"
|
||||
|
||||
Application::Application(int argc, char **argv)
|
||||
#ifdef X_TOOLS_ENABLE_PRIVATE_MODULE
|
||||
: xToolsPrivateApplication(argc, argv)
|
||||
#else
|
||||
: xToolsApplication(argc, argv)
|
||||
#endif
|
||||
{
|
||||
// Setup ui language.
|
||||
const QString language = xToolsSettings::instance()->language();
|
||||
|
||||
@ -8,9 +8,17 @@
|
||||
**************************************************************************************************/
|
||||
#pragma once
|
||||
|
||||
#ifdef X_TOOLS_ENABLE_PRIVATE_MODULE
|
||||
#include "xToolsPrivateApplication.h"
|
||||
#else
|
||||
#include "xToolsApplication.h"
|
||||
#endif
|
||||
|
||||
#ifdef X_TOOLS_ENABLE_PRIVATE_MODULE
|
||||
class Application : public xToolsPrivateApplication
|
||||
#else
|
||||
class Application : public xToolsApplication
|
||||
#endif
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@ -49,7 +49,11 @@
|
||||
#endif
|
||||
|
||||
MainWindow::MainWindow(QWidget* parent)
|
||||
#ifdef X_TOOLS_ENABLE_PRIVATE_MODULE
|
||||
: xToolsPrivateMainWindow(parent)
|
||||
#else
|
||||
: xToolsMainWindow(parent)
|
||||
#endif
|
||||
{
|
||||
#ifdef Q_OS_WIN
|
||||
if (QSystemTrayIcon::isSystemTrayAvailable()) {
|
||||
|
||||
@ -11,9 +11,17 @@
|
||||
#include <QButtonGroup>
|
||||
#include <QMetaEnum>
|
||||
|
||||
#ifdef X_TOOLS_ENABLE_PRIVATE_MODULE
|
||||
#include "xToolsPrivateMainWindow.h"
|
||||
#else
|
||||
#include "xToolsMainWindow.h"
|
||||
#endif
|
||||
|
||||
#ifdef X_TOOLS_ENABLE_PRIVATE_MODULE
|
||||
class MainWindow : public xToolsPrivateMainWindow
|
||||
#else
|
||||
class MainWindow : public xToolsMainWindow
|
||||
#endif
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user