2
* Kscd - A simple cd player for the KDE Project
4
* Copyright (c) 1997 Bernd Johannes wuebben@math.cornell.edu
5
* Copyright (c) 2002-2003 Aaron J. Seigo <aseigo@kde.org>
6
* Copyright (c) 2004 Alexander Kern <alex.kern@gmx.de>
7
* Copyright (c) 2003-2006 Richard Lärkäng <nouseforaname@home.se>
12
* Stanislas KRZYWDA <stanislas.krzywda@gmail.com>
13
* Sovanramy Var <mastasushi@gmail.com>
14
* Bouchikhi Mohamed-Amine <bouchikhi.amine@gmail.com>
15
* Gastellu Sylvain<sylvain.gastellu@gmail.com>
16
* -----------------------------------------------------------------------------
18
* This program is free software; you can redistribute it and/or modify
19
* it under the terms of the GNU General Public License as published by
20
* the Free Software Foundation; either version 2, or (at your option)
23
* This program is distributed in the hope that it will be useful,
24
* but WITHOUT ANY WARRANTY; without even the implied warranty of
25
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26
* GNU General Public License for more details.
28
* You should have received a copy of the GNU General Public License
29
* along with this program; if not, write to the Free Software
30
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
39
// #include "kscdwidget.h"
41
#include "seekcursor.h"
43
class SeekSlider:public QWidget
48
SeekSlider(QWidget * parent=0);
49
virtual ~SeekSlider();
51
SeekCursor* cursor() const;
55
qint64 getTime() const;
56
void setTotalTime(qint64);
59
* Calculation of move to do in 1 second
65
* Initialize all attibutes
72
void start(qint64 time);
80
* Paused the qtimeline
87
* The bar of the slider
92
* The cursor of the slider
102
* Current state of the slider
104
QTimeLine::State m_state;
107
* Current time of the current track
112
* Total time of the current track
117
* Move to do in 1 second
122
* Restart the qtimeline after the pause mode
124
void resume(QTimeLine::State state);
127
#endif /*SEEKSLIDER_H_*/