1 /* This file is part of the KDE project
2 Copyright (C) 2007 Matthias Kretz <kretz@kde.org>
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License version 2 as published by the Free Software Foundation.
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
13 You should have received a copy of the GNU Library General Public License
14 along with this library; see the file COPYING.LIB. If not, write to
15 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 Boston, MA 02110-1301, USA.
23 #include <QtGui/QLabel>
24 #include <QtGui/QToolButton>
25 #include <QtGui/QSpinBox>
26 #include <QtGui/QWidget>
27 #include <phonon/mediacontroller.h>
29 using Phonon::MediaController
;
31 class TitleWidget
: public QWidget
35 TitleWidget(QWidget
*parent
= 0);
37 void setInterface(MediaController
*i
);
40 void availableTitlesChanged(int);
42 MediaController
*m_iface
;
43 QSpinBox
*m_currentTitle
;
44 QLabel
*m_availableTitles
;
45 QToolButton
*m_autoplay
;
48 #endif // TITLEWIDGET_H