00001 /* This file is part of the KDE project 00002 Copyright (C) 2006-2007 Matthias Kretz <kretz@kde.org> 00003 00004 This library is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU Lesser General Public 00006 License as published by the Free Software Foundation; either 00007 version 2.1 of the License, or (at your option) version 3, or any 00008 later version accepted by the membership of KDE e.V. (or its 00009 successor approved by the membership of KDE e.V.), Nokia Corporation 00010 (or its successors, if any) and the KDE Free Qt Foundation, which shall 00011 act as a proxy defined in Section 6 of version 3 of the license. 00012 00013 This library is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 Lesser General Public License for more details. 00017 00018 You should have received a copy of the GNU Lesser General Public 00019 License along with this library. If not, see <http://www.gnu.org/licenses/>. 00020 00021 */ 00022 00023 #ifndef PHONON_UI_EFFECTWIDGET_H 00024 #define PHONON_UI_EFFECTWIDGET_H 00025 00026 #include "phonon_export.h" 00027 #include "phonondefs.h" 00028 #include <QtGui/QWidget> 00029 00030 QT_BEGIN_HEADER 00031 QT_BEGIN_NAMESPACE 00032 00033 #ifndef QT_NO_PHONON_EFFECTWIDGET 00034 00035 namespace Phonon 00036 { 00037 class Effect; 00038 00039 class EffectWidgetPrivate; 00040 00048 class PHONON_EXPORT EffectWidget : public QWidget 00049 { 00050 Q_OBJECT 00051 K_DECLARE_PRIVATE(EffectWidget) 00052 public: 00053 explicit EffectWidget(Effect *effect, QWidget *parent = 0); 00054 ~EffectWidget(); 00055 00056 protected: 00057 //EffectWidget(EffectWidgetPrivate &dd, QWidget *parent); 00058 EffectWidgetPrivate *const k_ptr; 00059 00060 private: 00061 Q_PRIVATE_SLOT(k_func(), void _k_setToggleParameter(bool checked)) 00062 Q_PRIVATE_SLOT(k_func(), void _k_setIntParameter(int value)) 00063 Q_PRIVATE_SLOT(k_func(), void _k_setDoubleParameter(double value)) 00064 Q_PRIVATE_SLOT(k_func(), void _k_setStringParameter(const QString &)) 00065 Q_PRIVATE_SLOT(k_func(), void _k_setSliderParameter(int)) 00066 }; 00067 } // namespace Phonon 00068 00069 #endif //QT_NO_PHONON_EFFECTWIDGET 00070 00071 QT_END_NAMESPACE 00072 QT_END_HEADER 00073 00074 #endif // PHONON_UI_EFFECTWIDGET_H 00075 00076 // vim: sw=4 ts=4 tw=100