Clementine Adore Mod
 All Classes Namespaces Files Functions Variables Macros Pages
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
AdoreSettingsPage Class Reference

This class handles the settings dialog. More...

#include <adoresettingspage.h>

Inheritance diagram for AdoreSettingsPage:

Public Member Functions

 AdoreSettingsPage (SettingsDialog *dialog)
 
 ~AdoreSettingsPage ()
 
void Load ()
 Load Settings from the config file. More...
 
void Save ()
 Save settings to the config file. More...
 

Private Slots

void RegisterToken ()
 
void AuthenticationComplete (bool success, const QString &error_message)
 remnant of the lastfm implementation. maybe use it in the future for better ui integration. More...
 
void Logout ()
 

Private Member Functions

void RefreshControls (bool authenticated)
 this controls the 'logged in' status control of the Adore settings page More...
 

Private Attributes

AdoreServiceservice_
 
Ui_AdoreSettingsPage * ui_
 
bool waiting_for_auth_
 remnant of the lastfm implementation. maybe use it in the future for better ui integration More...
 

Detailed Description

This class handles the settings dialog.

Constructor & Destructor Documentation

AdoreSettingsPage::AdoreSettingsPage ( SettingsDialog *  dialog)
explicit
AdoreSettingsPage::~AdoreSettingsPage ( )

Member Function Documentation

void AdoreSettingsPage::AuthenticationComplete ( bool  success,
const QString &  error_message 
)
privateslot

remnant of the lastfm implementation. maybe use it in the future for better ui integration.

void AdoreSettingsPage::Load ( )

Load Settings from the config file.

void AdoreSettingsPage::Logout ( )
privateslot
void AdoreSettingsPage::RefreshControls ( bool  authenticated)
private

this controls the 'logged in' status control of the Adore settings page

void AdoreSettingsPage::RegisterToken ( )
privateslot

Create a unique client id and register it with the backend server using a browser window. The client uuid is transferred in the url path along with a SHA1 hash

void AdoreSettingsPage::Save ( )

Save settings to the config file.

Member Data Documentation

AdoreService* AdoreSettingsPage::service_
private
Ui_AdoreSettingsPage* AdoreSettingsPage::ui_
private
bool AdoreSettingsPage::waiting_for_auth_
private

remnant of the lastfm implementation. maybe use it in the future for better ui integration


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