kWinTV's source code is available as part of KDE's CVS repository,
located in the kdenonbeta package. The HEAD revision has been ported
to KDE3 recently whereas the version in the KDE_2_2_BRANCH should be
used for KDE2.x.
For further instructions on how to set up CVS and get the source code, see the KDE Web Site.
Here is a little more on how to get kWinTV for KDE3 (HEAD revision) out of CVS: