summaryrefslogtreecommitdiffstats
path: root/kmid/rhythmview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
commitb1057f437bf65300831a0ccb45b920787c6b318d (patch)
treef8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /kmid/rhythmview.cpp
parent4ddfca384ced9ad654213aef9dc2c3973720b980 (diff)
downloadtdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz
tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmid/rhythmview.cpp')
-rw-r--r--kmid/rhythmview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmid/rhythmview.cpp b/kmid/rhythmview.cpp
index 0358620d..a10bb79c 100644
--- a/kmid/rhythmview.cpp
+++ b/kmid/rhythmview.cpp
@@ -23,7 +23,7 @@
***************************************************************************/
#include "rhythmview.h"
-RhythmView::RhythmView (TQWidget *parent, const char *name) : TQWidget (parent,name)
+RhythmView::RhythmView (TQWidget *tqparent, const char *name) : TQWidget (tqparent,name)
{
lamps=NULL;
setRhythm(4,4);
@@ -57,7 +57,7 @@ void RhythmView::setRhythm(int numerator,int denominator)
for (i=0;i<num;i++)
{
- lamps[i]=new KLed(Qt::yellow, KLed::Off, KLed::Sunken, KLed::Rectangular, this);
+ lamps[i]=new KLed(TQt::yellow, KLed::Off, KLed::Sunken, KLed::Rectangular, this);
// lamps[i]->setState(KLed::Off);
lamps[i]->setGeometry(x+2,0,w-4,height());
lamps[i]->show();
@@ -95,7 +95,7 @@ void RhythmView::resizeEvent(TQResizeEvent *)
}
}
-TQSize RhythmView::sizeHint()
+TQSize RhythmView::tqsizeHint()
{
return TQSize(10,10);
}