File indexing completed on 2024-05-19 15:51:51

0001 /****************************************************************************************
0002  * Copyright (c) 2004-2009 Mark Kretschmann <kretschmann@kde.org>                       *
0003  * Copyright (c) 2009 Artur Szymiec <artur.szymiec@gmail.com>                           *
0004  *                                                                                      *
0005  * This program is free software; you can redistribute it and/or modify it under        *
0006  * the terms of the GNU General Public License as published by the Free Software        *
0007  * Foundation; either version 2 of the License, or (at your option) any later           *
0008  * version.                                                                             *
0009  *                                                                                      *
0010  * This program is distributed in the hope that it will be useful, but WITHOUT ANY      *
0011  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A      *
0012  * PARTICULAR PURPOSE. See the GNU General Public License for more details.             *
0013  *                                                                                      *
0014  * You should have received a copy of the GNU General Public License along with         *
0015  * this program.  If not, see <http://www.gnu.org/licenses/>.                           *
0016  ****************************************************************************************/
0017 
0018 #ifndef PLAYBACKCONFIG_H
0019 #define PLAYBACKCONFIG_H
0020 
0021 #include "ui_PlaybackConfig.h"
0022 #include "configdialog/ConfigDialogBase.h"
0023 
0024 class PlaybackConfig : public ConfigDialogBase, public Ui_PlaybackConfig
0025 {
0026     Q_OBJECT
0027 
0028     public:
0029         explicit PlaybackConfig( Amarok2ConfigDialog* parent );
0030         ~PlaybackConfig() override;
0031 
0032         bool hasChanged() override;
0033         bool isDefault() override;
0034         void updateSettings() override;
0035 
0036     private Q_SLOTS:
0037         void setFadeoutState();
0038 };
0039 
0040 #endif