Commit e4605de8 authored by Laurent Montel's avatar Laurent Montel 😁

Add action

parent f96b8ccd
......@@ -34,13 +34,11 @@ InsertShorturlPluginEditorInterface::~InsertShorturlPluginEditorInterface()
void InsertShorturlPluginEditorInterface::createAction(KActionCollection *ac)
{
/*
QAction *action = new QAction(i18n("Insert Email..."), this);
ac->addAction(QStringLiteral("insert_email"), action);
QAction *action = new QAction(i18n("Insert Short Url..."), this);
ac->addAction(QStringLiteral("insert_shortulr"), action);
connect(action, &QAction::triggered, this, &InsertShorturlPluginEditorInterface::slotActivated);
MessageComposer::ActionType type(action, MessageComposer::ActionType::Edit);
MessageComposer::ActionType type(action, MessageComposer::ActionType::PopupMenu);
setActionType(type);
*/
}
void InsertShorturlPluginEditorInterface::slotActivated()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment