Audacity  2.3.1
Public Member Functions | Private Attributes | List of all members
KeyConfigPrefsFactory Class Referencefinal

A PrefsPanelFactory that creates one KeyConfigPrefs panel. More...

#include <KeyConfigPrefs.h>

Inheritance diagram for KeyConfigPrefsFactory:
PrefsPanelFactory

Public Member Functions

 KeyConfigPrefsFactory (const wxString &name=wxString{})
 
PrefsPaneloperator() (wxWindow *parent, wxWindowID winid) override
 

Private Attributes

wxString mName
 

Detailed Description

A PrefsPanelFactory that creates one KeyConfigPrefs panel.

Definition at line 98 of file KeyConfigPrefs.h.

Constructor & Destructor Documentation

KeyConfigPrefsFactory::KeyConfigPrefsFactory ( const wxString &  name = wxString{})
inline

Definition at line 101 of file KeyConfigPrefs.h.

101  {})
102  : mName{ name } {}
const wxChar * name
Definition: Distortion.cpp:94

Member Function Documentation

PrefsPanel * KeyConfigPrefsFactory::operator() ( wxWindow *  parent,
wxWindowID  winid 
)
overridevirtual

Implements PrefsPanelFactory.

Definition at line 676 of file KeyConfigPrefs.cpp.

References safenew.

677 {
678  wxASSERT(parent); // to justify safenew
679  auto result = safenew KeyConfigPrefs{ parent, winid, mName };
680  return result;
681 }
#define safenew
Definition: Audacity.h:230
A PrefsPanel for keybindings.

Member Data Documentation

wxString KeyConfigPrefsFactory::mName
private

Definition at line 106 of file KeyConfigPrefs.h.


The documentation for this class was generated from the following files: