MagicSmoke  $VERSION$
sclimenu.h File Reference
#include "scli.h"
#include <QMenu>
#include <QSignalMapper>
#include <QAction>

Go to the source code of this file.

Functions

QMenu * MSessionClient_createMenuObject (QMenu *menu=nullptr)
 creates a menu that allows (limited) control over the session manager returns nullptr if the menu could not be retrieved More...
 

Function Documentation

QMenu* MSessionClient_createMenuObject ( QMenu *  menu = nullptr)
inline

creates a menu that allows (limited) control over the session manager returns nullptr if the menu could not be retrieved

Parameters
menuif not NULL: the menu to fill, if NULL: a new menu will be created, please do not forget to take ownership of the new menu

References MSessionClient::instance().

Referenced by MOverview::MOverview().