A menu for displaying and modifying protocol-specific preferences.
More...
#include <protocol_preferences_menu.h>
|
| void | showProtocolPreferences (const QString module_name) |
| | Signal emitted to show preferences for a specific protocol.
|
| void | editProtocolPreference (pref_t *pref, module_t *module) |
| | Signal emitted to edit a specific protocol preference.
|
A menu for displaying and modifying protocol-specific preferences.
◆ ProtocolPreferencesMenu() [1/2]
| ProtocolPreferencesMenu::ProtocolPreferencesMenu |
( |
QWidget * | parent = nullptr | ) |
|
◆ ProtocolPreferencesMenu() [2/2]
| ProtocolPreferencesMenu::ProtocolPreferencesMenu |
( |
const QString & | title, |
|
|
const QString & | module_name, |
|
|
QWidget * | parent = nullptr ) |
Constructs a new ProtocolPreferencesMenu object with a title and module name.
- Parameters
-
| title | The title of the menu. |
| module_name | The name of the protocol module. |
| parent | The parent widget. |
◆ addMenuItem()
| void ProtocolPreferencesMenu::addMenuItem |
( |
pref_t * | pref | ) |
|
Adds a menu item for a specific preference.
- Parameters
-
| pref | Pointer to the preference to add. |
◆ editProtocolPreference
| void ProtocolPreferencesMenu::editProtocolPreference |
( |
pref_t * | pref, |
|
|
module_t * | module ) |
|
signal |
Signal emitted to edit a specific protocol preference.
- Parameters
-
| pref | Pointer to the preference to edit. |
| module | Pointer to the related protocol module. |
◆ setModule()
| void ProtocolPreferencesMenu::setModule |
( |
const QString | module_name | ) |
|
Sets the protocol module for this menu.
- Parameters
-
| module_name | The name of the protocol module. |
◆ showProtocolPreferences
| void ProtocolPreferencesMenu::showProtocolPreferences |
( |
const QString | module_name | ) |
|
|
signal |
Signal emitted to show preferences for a specific protocol.
- Parameters
-
| module_name | The name of the protocol module. |
The documentation for this class was generated from the following files: