Skip to content

Commit

Permalink
Add website
Browse files Browse the repository at this point in the history
Signed-off-by: xiaoming <[email protected]>
  • Loading branch information
QQxiaoming committed Jul 11, 2024
1 parent c50a2c8 commit c8fb3e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions timestamp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -26,6 +27,7 @@ class Timestamp : public PluginInterface
QMap<QString,void *> metaObject() {
QMap<QString,void *> ret;
ret.insert("QAction", (void *)m_action);
ret.insert("website", (void *)(&m_website));
return ret;
}

Expand All @@ -34,6 +36,7 @@ class Timestamp : public PluginInterface

private:
QAction *m_action;
QString m_website = QString(PLUGIN_WEBSITE);
};

#endif /* TIMESTAMP_H_ */

0 comments on commit c8fb3e6

Please sign in to comment.