mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-19 18:30:34 +08:00
cmake: fixed moc slots issue where MACROS are not being expanded
This commit is contained in:
parent
4780ec0bb6
commit
480ee1bb25
@ -1 +1 @@
|
||||
4561
|
||||
4562
|
||||
|
@ -18,7 +18,8 @@ class InboundEditor
|
||||
explicit InboundEditor(INBOUND root, QWidget *parent = nullptr);
|
||||
~InboundEditor();
|
||||
INBOUND OpenEditor();
|
||||
public slots:
|
||||
|
||||
private:
|
||||
QvMessageBusSlotDecl;
|
||||
|
||||
private slots:
|
||||
|
@ -18,7 +18,8 @@ class JsonEditor
|
||||
explicit JsonEditor(QJsonObject rootObject, QWidget *parent = nullptr);
|
||||
~JsonEditor();
|
||||
QJsonObject OpenEditor();
|
||||
public slots:
|
||||
|
||||
private:
|
||||
QvMessageBusSlotDecl;
|
||||
|
||||
private slots:
|
||||
|
@ -18,7 +18,8 @@ class OutboundEditor
|
||||
~OutboundEditor();
|
||||
OUTBOUND OpenEditor();
|
||||
QString GetFriendlyName();
|
||||
public slots:
|
||||
|
||||
private:
|
||||
QvMessageBusSlotDecl;
|
||||
signals:
|
||||
void s_reload_config(bool need_restart);
|
||||
|
@ -36,7 +36,8 @@ class RouteEditor
|
||||
explicit RouteEditor(QJsonObject connection, QWidget *parent = nullptr);
|
||||
~RouteEditor();
|
||||
CONFIGROOT OpenEditor();
|
||||
public slots:
|
||||
|
||||
private:
|
||||
QvMessageBusSlotDecl;
|
||||
|
||||
private slots:
|
||||
|
@ -15,7 +15,8 @@ class ConfigExporter
|
||||
explicit ConfigExporter(QWidget *parent = nullptr);
|
||||
~ConfigExporter();
|
||||
void OpenExport();
|
||||
public slots:
|
||||
|
||||
private:
|
||||
QvMessageBusSlotDecl;
|
||||
|
||||
protected:
|
||||
|
@ -18,7 +18,8 @@ class ImportConfigWindow
|
||||
explicit ImportConfigWindow(QWidget *parent = nullptr);
|
||||
~ImportConfigWindow();
|
||||
QMultiMap<QString, CONFIGROOT> OpenImport(bool outboundsOnly = false);
|
||||
public slots:
|
||||
|
||||
private:
|
||||
QvMessageBusSlotDecl;
|
||||
private slots:
|
||||
|
||||
|
@ -38,7 +38,8 @@ class MainWindow
|
||||
void StartConnection() const;
|
||||
void StopConnection() const;
|
||||
void RestartConnection() const;
|
||||
public slots:
|
||||
|
||||
private:
|
||||
QvMessageBusSlotDecl;
|
||||
private slots:
|
||||
void on_activatedTray(QSystemTrayIcon::ActivationReason reason);
|
||||
|
@ -18,7 +18,7 @@ class PreferencesWindow
|
||||
signals:
|
||||
void s_reload_config(bool need_restart);
|
||||
|
||||
public slots:
|
||||
private:
|
||||
QvMessageBusSlotDecl;
|
||||
|
||||
private slots:
|
||||
|
@ -18,7 +18,7 @@ class SubscribeEditor
|
||||
~SubscribeEditor();
|
||||
tuple<QString, CONFIGROOT> GetSelectedConfig();
|
||||
|
||||
public slots:
|
||||
private:
|
||||
QvMessageBusSlotDecl;
|
||||
|
||||
private slots:
|
||||
|
Loading…
Reference in New Issue
Block a user