#ifndef TIMEWIDGET_IMPL_H #define TIMEWIDGET_IMPL_H /*************************************************************************** copyright : (C) 2006 by Carsten Niehaus email : cniehaus@kde.org ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #include #include "ui_timewidget.h" class Element; class QTimer; /** * @author Carsten Niehaus * @author Kashyap Puranik */ class TimeWidgetImpl : public QWidget, public Ui_TimeWidget { Q_OBJECT public: /** * @param parent The parent of this widget */ TimeWidgetImpl( QWidget *parent = 0 ); private slots: void play ( void ); void stop ( void ); void tick ( void ); private: int m_mode; //Indicates whether mode is play or stop QTimer *m_timer; //X QList m_list; //X QString m_htmlBegin; //X QString m_htmlEnd; //X private slots: //X void setNewTime( int newtime ); }; #endif // TIMEWIDGET_IMPL_H