/src/diagnosticsdialog.h
C++ Header | 56 lines | 26 code | 13 blank | 17 comment | 0 complexity | 56e617a4190e017e7aa2f4918ddc2af8 MD5 | raw file
1/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> === 2 * 3 * Copyright 2011, Dominik Schmidt <dev@dominik-schmidt.de> 4 * 5 * Tomahawk is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation, either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * Tomahawk is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with Tomahawk. If not, see <http://www.gnu.org/licenses/>. 17 */ 18 19#ifndef DIGANOSTICSDIALOG_H 20#define DIAGNOSTICSDIALOG_H 21 22#include "accounts/Account.h" 23 24#include <QDialog> 25#include <QMap> 26 27 28class QLabel; 29 30class SipInfo; 31 32namespace Ui 33{ 34 class DiagnosticsDialog; 35} 36 37class DiagnosticsDialog : public QDialog 38{ 39Q_OBJECT 40 41public: 42 explicit DiagnosticsDialog( QWidget* parent = 0 ); 43 ~DiagnosticsDialog() {}; 44 45private slots: 46 void updateLogView(); 47 void copyToClipboard(); 48 void openLogfile(); 49 50 QString accountLog( Tomahawk::Accounts::Account* ); 51 52private: 53 Ui::DiagnosticsDialog* ui; 54}; 55 56#endif // DIAGNOSTICSDIALOG_H