From fe0e51d9b3e6f750b7f0a83900323a654598e6c0 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 28 Jan 2013 16:56:11 +0000 Subject: improved last.fm registration git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3188 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/scrobbler/settingsdialog.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'src/plugins/General/scrobbler/settingsdialog.h') diff --git a/src/plugins/General/scrobbler/settingsdialog.h b/src/plugins/General/scrobbler/settingsdialog.h index 63b36a566..182ef1cfe 100644 --- a/src/plugins/General/scrobbler/settingsdialog.h +++ b/src/plugins/General/scrobbler/settingsdialog.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008 by Ilya Kotov * + * Copyright (C) 2008-2013 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -21,12 +21,12 @@ #define SETTINGSDIALOG_H #include - - #include "ui_settingsdialog.h" +class LastfmAuth; + /** - @author Ilya Kotov + @author Ilya Kotov */ class SettingsDialog : public QDialog { @@ -36,12 +36,17 @@ public: ~SettingsDialog(); - public slots: virtual void accept(); +private slots: + void on_newSessionButton_lastfm_clicked(); + void processTokenResponse(int error); + void processSessionResponse(int error); + private: - Ui::SettingsDialog ui; + Ui::SettingsDialog m_ui; + LastfmAuth *m_lastfmAuth; }; -- cgit v1.2.3-13-gbd6f