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 2f49214 commit dc6d12d
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 quickcomplete.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "plugininterface.h"

#define PLUGIN_NAME "Quick Complete"
#define PLUGIN_VERSION "0.0.1"
#define PLUGIN_VERSION "0.0.2"

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

QMenu *mainMenu() { return m_menu; }
QAction *mainAction() { return nullptr; }
QMap<QString,void *> metaObject() {
QMap<QString,void *> ret;
ret.insert("QMenu", (void *)m_menu);
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) {Q_UNUSED(selectedText);Q_UNUSED(workingDirectory);Q_UNUSED(parentMenu); return QList<QAction *>();}
Expand Down

0 comments on commit dc6d12d

Please sign in to comment.