Skip to content

Commit

Permalink
Update plugin version to 0.0.2
Browse files Browse the repository at this point in the history
Signed-off-by: xiaoming <[email protected]>
  • Loading branch information
QQxiaoming committed Jan 25, 2024
1 parent 9a28cf7 commit 01d9940
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugininterface
9 changes: 6 additions & 3 deletions searchonweb.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "plugininterface.h"

#define PLUGIN_NAME "Search On Web"
#define PLUGIN_VERSION "0.0.1"
#define PLUGIN_VERSION "0.0.2"

class SearchOnWeb : public PluginInterface
{
Expand All @@ -23,8 +23,11 @@ class SearchOnWeb : public PluginInterface
QString name() { return PLUGIN_NAME; }
QString version() { return PLUGIN_VERSION; }

QMenu *mainMenu() { return m_mainMenu; }
QAction *mainAction() { return nullptr; }
QMap<QString,void *> metaObject() {
QMap<QString,void *> ret;
ret.insert("QMenu", (void *)m_mainMenu);
return ret;
}

QMenu *terminalContextMenu(QString selectedText, QString workingDirectory, QMenu *parentMenu) {Q_UNUSED(selectedText);Q_UNUSED(workingDirectory);Q_UNUSED(parentMenu); return nullptr;}
QList<QAction *> terminalContextAction(QString selectedText, QString workingDirectory, QMenu *parentMenu);
Expand Down

0 comments on commit 01d9940

Please sign in to comment.