summaryrefslogtreecommitdiffstats
path: root/kicker-applets/mediacontrol/mediacontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kicker-applets/mediacontrol/mediacontrol.cpp')
-rw-r--r--kicker-applets/mediacontrol/mediacontrol.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kicker-applets/mediacontrol/mediacontrol.cpp b/kicker-applets/mediacontrol/mediacontrol.cpp
index fed96e9..e2d5492 100644
--- a/kicker-applets/mediacontrol/mediacontrol.cpp
+++ b/kicker-applets/mediacontrol/mediacontrol.cpp
@@ -139,7 +139,7 @@ MediaControl::MediaControl(const TQString &configFile, Type t, int actions,
playpause_button = new TrayButton (this, "PLAYPAUSE");
stop_button = new TrayButton (this, "STOP");
next_button = new TrayButton (this, "NEXT");
- time_slider = new MCSlider (Qt::Horizontal, this, "time_slider" );
+ time_slider = new MCSlider (TQt::Horizontal, this, "time_slider" );
time_slider->setRange(0,0);
time_slider->setValue(0);
time_slider->setTracking( false );
@@ -184,7 +184,7 @@ void MediaControl::dropEvent(TQDropEvent* event)
void MediaControl::setSliderPosition(int len ,int time)
{
time_slider->blockSignals(true);
- if(orientation() ==Qt::Vertical)
+ if(orientation() ==TQt::Vertical)
time = len - time;
if (mLastLen != len)
@@ -318,7 +318,7 @@ void MediaControl::reportBug()
// Fixing the orientation problem in qslider.
void MediaControl::adjustTime(int time)
{
- if(orientation() ==Qt::Vertical)
+ if(orientation() ==TQt::Vertical)
emit(newJumpToTime(mLastLen - time));
else
emit(newJumpToTime(time));
@@ -498,7 +498,7 @@ int MediaControl::heightForWidth(int width) const
void MediaControl::mousePressEvent(TQMouseEvent* e)
{
- if (e->button() == Qt::RightButton)
+ if (e->button() == TQt::RightButton)
rmbMenu->popup(e->globalPos());
}
@@ -507,7 +507,7 @@ bool MediaControl::eventFilter(TQObject *, TQEvent *e)
if (e->type() == TQEvent::MouseButtonPress)
{
TQMouseEvent *me = TQT_TQMOUSEEVENT(e);
- if (me->button() == Qt::RightButton)
+ if (me->button() == TQt::RightButton)
{
rmbMenu->popup(me->globalPos());
return true;
@@ -532,9 +532,9 @@ void MediaControl::resizeEvent( TQResizeEvent* )
// kdDebug(90200) << "resizeEvent()" << endl;
int w = width();
int h = height();
- if ( orientation() ==Qt::Vertical )
+ if ( orientation() ==TQt::Vertical )
{ // ====== VERTICAL =================================================
- time_slider->setOrientation(Qt::Vertical);
+ time_slider->setOrientation(TQt::Vertical);
int slider_width = time_slider->minimumSizeHint().width();
// some styles need more space for sliders than avilable in very small panels :(
if ( slider_width > w ) slider_width = w;
@@ -566,7 +566,7 @@ void MediaControl::resizeEvent( TQResizeEvent* )
}
else // ====== HORIZONTAL ===============================================
{
- time_slider->setOrientation(Qt::Horizontal);
+ time_slider->setOrientation(TQt::Horizontal);
int slider_height = time_slider->minimumSizeHint().height();
// some styles need more space for sliders than avilable in very small panels :(
if ( slider_height > h ) slider_height = h;