Do not inherit TimeControl from QObject.
commit040a74c4f7b0ae004f076a3e87ecc4e6cd3eb9d3
authorArto Jonsson <ajonsson@kapsi.fi>
Mon, 4 Aug 2008 16:07:55 +0000 (4 19:07 +0300)
committerArto Jonsson <ajonsson@kapsi.fi>
Mon, 4 Aug 2008 16:35:55 +0000 (4 19:35 +0300)
tree59bb3ffeb68ace4e1f0ce9b596d4747897af5de5
parent8a79dba1a430810269c5db8b470b3873890afa68
Do not inherit TimeControl from QObject.

TimeControl doesn't use signal or slots so it isn't necessary to inherit
QObject. In addition it creates additional overhead to compilation process
and makes it harder to allocate the object from stack.

See QString as an example of class that doesn't inherit QObject.
src/mainwindow.cpp
src/timecontrol.cpp
src/timecontrol.h