Sayonara Player
Public Member Functions | List of all members
Preferences::Action Class Reference

The action, which is used to access the Preference. More...

#include <PreferenceAction.h>

Inheritance diagram for Preferences::Action:

Public Member Functions

 Action (const QString &text, QWidget *preference_interface)
 PreferenceAction Create QAction object, which is automatically connected to the show event of the underlying widget. More...
 

Detailed Description

The action, which is used to access the Preference.

This action is generated by and handled by the PreferenceInterface. Usually you don't get in touch with that class.

Constructor & Destructor Documentation

◆ Action()

Preferences::Action::Action ( const QString &  text,
QWidget *  preference_interface 
)

PreferenceAction Create QAction object, which is automatically connected to the show event of the underlying widget.

Parameters
texttext of the action
preference_interfaceWidget, that should appear when action is triggered