Commit deaef27e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Start to implement remote-content menu

parent 1711e630
......@@ -5,15 +5,27 @@
*/
#include "remotecontentmenu.h"
#include <KLocalizedString>
using namespace MessageViewer;
RemoteContentMenu::RemoteContentMenu(QWidget *parent)
: QMenu(parent)
{
initialize();
}
RemoteContentMenu::~RemoteContentMenu()
{
}
void RemoteContentMenu::initialize()
{
mConfigureRemoteContentAction = addAction(i18n("Configure"), this, &RemoteContentMenu::slotConfigure);
//TODO
}
void RemoteContentMenu::slotConfigure()
{
//TODO
}
......@@ -16,6 +16,10 @@ class MESSAGEVIEWER_TESTS_EXPORT RemoteContentMenu : public QMenu
public:
explicit RemoteContentMenu(QWidget *parent = nullptr);
~RemoteContentMenu() override;
private:
void initialize();
void slotConfigure();
QAction *mConfigureRemoteContentAction = nullptr;
};
}
#endif // REMOTECONTENTMENU_H
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