From c8fb3e690b6e60dc9f625249aeae61e50e77444b Mon Sep 17 00:00:00 2001 From: xiaoming <2014500726@smail.xtu.edu.cn> Date: Thu, 11 Jul 2024 22:26:54 +0800 Subject: [PATCH] Add website Signed-off-by: xiaoming <2014500726@smail.xtu.edu.cn> --- timestamp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/timestamp.h b/timestamp.h index 1fdac0d..094a3e2 100644 --- a/timestamp.h +++ b/timestamp.h @@ -5,6 +5,7 @@ #define PLUGIN_NAME "Timestamp" #define PLUGIN_VERSION "0.0.1" +#define PLUGIN_WEBSITE "https://github.com/QuardCRT-platform/plugin-timestamp" class Timestamp : public PluginInterface { @@ -26,6 +27,7 @@ class Timestamp : public PluginInterface QMap metaObject() { QMap ret; ret.insert("QAction", (void *)m_action); + ret.insert("website", (void *)(&m_website)); return ret; } @@ -34,6 +36,7 @@ class Timestamp : public PluginInterface private: QAction *m_action; + QString m_website = QString(PLUGIN_WEBSITE); }; #endif /* TIMESTAMP_H_ */