summaryrefslogtreecommitdiffstats
path: root/kaboodle/view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaboodle/view.cpp')
-rw-r--r--kaboodle/view.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kaboodle/view.cpp b/kaboodle/view.cpp
index eba6ff20..75171584 100644
--- a/kaboodle/view.cpp
+++ b/kaboodle/view.cpp
@@ -55,8 +55,8 @@ TQButton *createButton(const TQIconSet &_iconset, const TQString &_tip, TQObject
}
}
-Kaboodle::View::View(TQWidget *parent, const char *name, Player *p)
- : KMediaPlayer::View(parent, name)
+Kaboodle::View::View(TQWidget *tqparent, const char *name, Player *p)
+ : KMediaPlayer::View(tqparent, name)
, state((KMediaPlayer::Player::State)p->state())
, autoPlay(false)
, quitAfterPlaying(false)
@@ -77,19 +77,19 @@ Kaboodle::View::View(TQWidget *parent, const char *name, Player *p)
connect(video, TQT_SIGNAL(mouseButtonDoubleClick(const TQPoint&, int)), this, TQT_SLOT(slotDblClick(const TQPoint &, int) ) ) ;
TQWidget *sliderBox = new TQWidget(box);
- sliderBox->setFocusPolicy(TQWidget::ClickFocus);
+ sliderBox->setFocusPolicy(TQ_ClickFocus);
sliderBox->setAcceptDrops(true);
- TQHBoxLayout *layout = new TQHBoxLayout(sliderBox);
- layout->setSpacing(KDialog::spacingHint());
- layout->setMargin(0);
- layout->setAutoAdd(true);
+ TQHBoxLayout *tqlayout = new TQHBoxLayout(sliderBox);
+ tqlayout->setSpacing(KDialog::spacingHint());
+ tqlayout->setMargin(0);
+ tqlayout->setAutoAdd(true);
playButton = createButton(BarIconSet("1rightarrow"), i18n("Play"), player, TQT_SLOT(play()), sliderBox);
pauseButton = createButton(BarIconSet("player_pause"), i18n("Pause"), player, TQT_SLOT(pause()), sliderBox);
stopButton = createButton(BarIconSet("player_stop"), i18n("Stop"), player, TQT_SLOT(stop()), sliderBox);
- slider = new L33tSlider(0, 1000, 10, 0, L33tSlider::Horizontal, sliderBox);
+ slider = new L33tSlider(0, 1000, 10, 0, Qt::Horizontal, sliderBox);
slider->setTickmarks(TQSlider::NoMarks);
slider->show();
@@ -99,7 +99,7 @@ Kaboodle::View::View(TQWidget *parent, const char *name, Player *p)
labelFont.setBold(true);
TQFontMetrics labelFontMetrics(labelFont);
elapsedLabel->setFont(labelFont);
- elapsedLabel->setAlignment(AlignCenter | AlignVCenter | ExpandTabs);
+ elapsedLabel->tqsetAlignment(AlignCenter | AlignVCenter | ExpandTabs);
elapsedLabel->setFixedHeight(labelFontMetrics.height());
elapsedLabel->setMinimumWidth(labelFontMetrics.width("00:00"));