diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kmid/rhythmview.cpp | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmid/rhythmview.cpp')
-rw-r--r-- | kmid/rhythmview.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmid/rhythmview.cpp b/kmid/rhythmview.cpp index 7bcfc608..0358620d 100644 --- a/kmid/rhythmview.cpp +++ b/kmid/rhythmview.cpp @@ -23,7 +23,7 @@ ***************************************************************************/ #include "rhythmview.h" -RhythmView::RhythmView (QWidget *parent, const char *name) : QWidget (parent,name) +RhythmView::RhythmView (TQWidget *parent, const char *name) : TQWidget (parent,name) { lamps=NULL; setRhythm(4,4); @@ -83,7 +83,7 @@ void RhythmView::Beat(void) } -void RhythmView::resizeEvent(QResizeEvent *) +void RhythmView::resizeEvent(TQResizeEvent *) { int w=width()/num; int x=0; @@ -95,14 +95,14 @@ void RhythmView::resizeEvent(QResizeEvent *) } } -QSize RhythmView::sizeHint() +TQSize RhythmView::sizeHint() { - return QSize(10,10); + return TQSize(10,10); } -QSizePolicy RhythmView::sizePolicy() +TQSizePolicy RhythmView::sizePolicy() { -// return QWidget::sizePolicy(); - return QSizePolicy(QSizePolicy::Expanding,QSizePolicy::Minimum); +// return TQWidget::sizePolicy(); + return TQSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Minimum); } |