GstPipelineStudio/src/CustomMenuAction.h
Stéphane Cerveau e57555ca10 Introduce CustomMenuAction
Allow to have a display name and a name.
2017-05-21 23:00:59 +02:00

23 lines
385 B
C++

#ifndef CUSTOM_MENU_ACTION_H_
#define CUSTOM_MENU_ACTION_H_
#include <QAction>
class CustomMenuAction: public QAction
{
public:
CustomMenuAction(const QString& displayName, QObject * parent);
CustomMenuAction(const QString& displayName, const QString& name, QObject * parent);
QString getName() { return m_name;}
private:
QString m_name;
};
#endif //CUSTOM_MENU_ACTION_H_