aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/scrobbler/settingsdialog.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-01-28 16:56:11 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-01-28 16:56:11 +0000
commitfe0e51d9b3e6f750b7f0a83900323a654598e6c0 (patch)
treecab605868adec196ccf8868b3f6a081f252f2f27 /src/plugins/General/scrobbler/settingsdialog.h
parent7164404b2e0d428b4f0083255d0ed140740b7146 (diff)
downloadqmmp-fe0e51d9b3e6f750b7f0a83900323a654598e6c0.tar.gz
qmmp-fe0e51d9b3e6f750b7f0a83900323a654598e6c0.tar.bz2
qmmp-fe0e51d9b3e6f750b7f0a83900323a654598e6c0.zip
improved last.fm registration
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3188 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/scrobbler/settingsdialog.h')
-rw-r--r--src/plugins/General/scrobbler/settingsdialog.h17
1 files changed, 11 insertions, 6 deletions
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 <QDialog>
-
-
#include "ui_settingsdialog.h"
+class LastfmAuth;
+
/**
- @author Ilya Kotov <forkotov02@hotmail.ru>
+ @author Ilya Kotov <forkotov02@hotmail.ru>
*/
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;
};