mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 04:42:03 +08:00
使主题色依照DDE主题色改变
因为AUTOMOC不会在编译主程序的时候再对插件接口类进行MOC,所以需要在主程序内加一份一模一样的插件接口类定义。
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include <QtPlugin>
|
||||
#include "spkdtkplugin.h"
|
||||
|
||||
class SpkDtkPluginImpl : public QObject, SpkDtkPlugin
|
||||
class SpkDtkPluginImpl : public SpkDtkPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "org.spark-store.client.dtkplugin")
|
||||
@@ -13,4 +13,6 @@ class SpkDtkPluginImpl : public QObject, SpkDtkPlugin
|
||||
|
||||
public:
|
||||
void addWindow(QWidget* w, QObject* parent) override;
|
||||
void Initialize() override;
|
||||
QColor GetAccentColor() override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user