29 #ifndef GUI_LASTFM_PREFERENCES_H 30 #define GUI_LASTFM_PREFERENCES_H 32 #include "Gui/Preferences/PreferenceWidget.h" 33 #include "Utils/Pimpl.h" 64 void activeChanged(
bool active);
65 void loginFinished(
bool success);
Definition: GUI_LastFmPreferences.h:42
QString actionName() const override
has to be implemented and should return the translated action text
void revert() override
This method is called, when cancel is clicked. So the gui should be re-initialized when this method i...
QString identifier() const
return the unique identifier
void retranslate() override
call the Qt retranslateUi method here
Abstract Interface you should use when creating a preferences item.
Definition: PreferenceWidget.h:40
bool commit() override
This method is called, when OK or apply is pressed. So all settings should be written there.
void initUi() override
call setup_parent(this) here. initialize compoenents and connections here. After calling setup_parent...