Test change - can I push OK?
[kdeedu-porting.git] / kalzium / src / timewidget_impl.cpp
blob22ef555ff23a6043e554466aa3b6979517cdd412
1 /***************************************************************************
2 copyright : (C) 2006 by Carsten Niehaus
3 email : cniehaus@kde.org
4 ***************************************************************************/
5 /***************************************************************************
6 * *
7 * This program is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation; either version 2 of the License, or *
10 * (at your option) any later version. *
11 * *
12 ***************************************************************************/
14 #include "timewidget_impl.h"
16 #include <QLabel>
17 #include <QSlider>
18 #include <QTextEdit>
19 #include <QList>
21 #include <kdebug.h>
22 #include <klocale.h>
24 #include <element.h>
26 #include "kalziumdataobject.h"
27 #include "prefs.h"
29 TimeWidgetImpl::TimeWidgetImpl( QWidget *parent )
30 : QWidget( parent )
32 setupUi( this );
33 //X
34 //X m_list = KalziumDataObject::instance()->ElementList;
35 //X
36 //X m_htmlBegin = "";
37 //X m_htmlEnd = "";
38 //X
39 //X connect( time_box, SIGNAL( valueChanged( int ) ),
40 //X this, SLOT( setNewTime( int ) ) );
43 //X void TimeWidgetImpl::setNewTime( int newtime )
44 //X {
45 //this method is currently unused. That is because I have not
46 //yet entered the data for a contect-widget.
47 //I would like to have something like: Slidervalue on 1934, the
48 //html says "in 1994 ... happened"
49 //X m_htmlBegin = "In the year ";
50 //X m_htmlEnd = "!";
51 //X
52 //X text->setText( m_htmlBegin + QString::number(newtime) + m_htmlEnd );
53 //X }
55 #include "timewidget_impl.moc"