Skip to main content
summaryrefslogtreecommitdiffstats
blob: eb5c18318c1d65c6dd378e83926c06aa1dd333df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#include "DateTime.hh"
#include <QDateTime>

DateTime::DateTime()
{
	startTimer( 500 );
}

DateTime::~DateTime()
{
}

void DateTime::timerEvent( QTimerEvent * )
{
	emit changed( QDateTime::currentDateTime().toString( "yyyy-MM-dd hh:mm:ss" ) );
}

Back to the top