summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-04 23:32:25 +0900
committerMichele Calgaro <[email protected]>2023-11-04 23:32:25 +0900
commit8800fb9ac5ad49194d935c5e81d37a9a1cfa3a8c (patch)
tree04e7e42ae4afb8c4aab01d1d0edbda97847242c0
parente0e0d1583bf16ed72321f948a862c95f49084669 (diff)
downloadkaffeine-8800fb9ac5ad49194d935c5e81d37a9a1cfa3a8c.tar.gz
kaffeine-8800fb9ac5ad49194d935c5e81d37a9a1cfa3a8c.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--kaffeine/src/input/audiobrowser/playlist.cpp6
-rw-r--r--kaffeine/src/input/dvb/dvbconfig.cpp2
-rw-r--r--kaffeine/src/input/dvb/dvbpanel.cpp4
-rw-r--r--kaffeine/src/input/dvb/kevents.cpp4
-rw-r--r--kaffeine/src/input/dvbclient/cdwidget.cpp2
-rw-r--r--kaffeine/src/player-parts/gstreamer-part/gstreamer_part.cpp2
-rw-r--r--kaffeine/src/player-parts/gstreamer-part/timer.cpp2
-rw-r--r--kaffeine/src/player-parts/gstreamer-part/video.cpp2
-rw-r--r--kaffeine/src/player-parts/gstreamer-part/videosettings.cpp8
-rw-r--r--kaffeine/src/player-parts/xine-part/deinterlacequality.cpp2
-rw-r--r--kaffeine/src/player-parts/xine-part/equalizer.cpp20
-rw-r--r--kaffeine/src/player-parts/xine-part/kxinewidget.cpp6
-rw-r--r--kaffeine/src/player-parts/xine-part/positionslider.cpp4
-rw-r--r--kaffeine/src/player-parts/xine-part/positionslider.h2
-rw-r--r--kaffeine/src/player-parts/xine-part/videosettings.cpp12
-rw-r--r--kaffeine/src/pref.cpp2
-rw-r--r--kaffeine/src/systemtray.cpp4
17 files changed, 42 insertions, 42 deletions
diff --git a/kaffeine/src/input/audiobrowser/playlist.cpp b/kaffeine/src/input/audiobrowser/playlist.cpp
index 1fb0c80..f4964c6 100644
--- a/kaffeine/src/input/audiobrowser/playlist.cpp
+++ b/kaffeine/src/input/audiobrowser/playlist.cpp
@@ -250,7 +250,7 @@ void CoverFrame::mousePressEvent( TQMouseEvent *e )
TQPixmap pix;
switch ( e->button() ) {
- case Qt::LeftButton: {
+ case TQt::LeftButton: {
if ( imagePath.isEmpty() )
break;
pix.convertFromImage( TQImage( imagePath ) );
@@ -258,7 +258,7 @@ void CoverFrame::mousePressEvent( TQMouseEvent *e )
popup( pix );
break;
}
- case Qt::RightButton: {
+ case TQt::RightButton: {
TQPopupMenu pop( this );
pop.insertItem( i18n("Choose a Cover..."), 1 );
pop.insertItem( i18n("Gallery..."), 2 );
@@ -291,7 +291,7 @@ PlayList::PlayList( TQWidget* parent, TQObject *objParent, const char *name ) :
hSplit->moveToFirst( panel );
hSplit->setResizeMode( panel, TQSplitter::KeepSize );
- vSplit = new TQSplitter( Qt::Vertical, panel );
+ vSplit = new TQSplitter( TQt::Vertical, panel );
vSplit->setOpaqueResize( true );
TQWidget *vb = new TQWidget( vSplit );
TDEToolBar *tb = new TDEToolBar( vb );
diff --git a/kaffeine/src/input/dvb/dvbconfig.cpp b/kaffeine/src/input/dvb/dvbconfig.cpp
index 5078e5b..2f3be83 100644
--- a/kaffeine/src/input/dvb/dvbconfig.cpp
+++ b/kaffeine/src/input/dvb/dvbconfig.cpp
@@ -1293,7 +1293,7 @@ LnbConfig::LnbConfig( LNB *b, TQWidget *parent ) :
vb->addWidget( cmulti );
grid = new TQGridLayout( 0, 1, 1 );
- nLO = new TQButtonGroup( 3, Qt::Horizontal, page );
+ nLO = new TQButtonGroup( 3, TQt::Horizontal, page );
connect( nLO, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(setDual(int)) );
new TQRadioButton( i18n("Dual LO"), nLO );
new TQRadioButton( i18n("Single LO"), nLO );
diff --git a/kaffeine/src/input/dvb/dvbpanel.cpp b/kaffeine/src/input/dvb/dvbpanel.cpp
index 7aee140..bc87cc0 100644
--- a/kaffeine/src/input/dvb/dvbpanel.cpp
+++ b/kaffeine/src/input/dvb/dvbpanel.cpp
@@ -1632,7 +1632,7 @@ int DvbPanel::getSNR( int device )
void DvbPanel::dvbNewTimer( TQString name, TQString channel, TQString datetime, TQString duration )
{
- newTimer( channel, name, TQDateTime::fromString( datetime, Qt::ISODate ), TQTime::fromString( duration ), false );
+ newTimer( channel, name, TQDateTime::fromString( datetime, TQt::ISODate ), TQTime::fromString( duration ), false );
}
@@ -2594,7 +2594,7 @@ bool DvbPanel::getTimerList()
t->channel = s.left( pos );
s = s.right( s.length()-pos-1 );
pos = s.find("|");
- t->begin = TQDateTime::fromString( s.left( pos ), Qt::ISODate );
+ t->begin = TQDateTime::fromString( s.left( pos ), TQt::ISODate );
s = s.right( s.length()-pos-1 );
pos = s.find("|");
t->duration = TQTime::fromString( s.left( pos ) );
diff --git a/kaffeine/src/input/dvb/kevents.cpp b/kaffeine/src/input/dvb/kevents.cpp
index adc8170..a244e48 100644
--- a/kaffeine/src/input/dvb/kevents.cpp
+++ b/kaffeine/src/input/dvb/kevents.cpp
@@ -312,7 +312,7 @@ void KEvents::mouseClickedSlot( int btn, TQListViewItem *it, const TQPoint &p, i
EListViewItem *ei = (EListViewItem*)it;
switch ( btn ) {
- case Qt::RightButton : {
+ case TQt::RightButton : {
TQPopupMenu *pop = new TQPopupMenu();
pop->insertItem( i18n("View All Programs"), 1 );
pop->insertSeparator();
@@ -334,7 +334,7 @@ void KEvents::mouseClickedSlot( int btn, TQListViewItem *it, const TQPoint &p, i
delete pop;
break;
}
- case Qt::LeftButton : {
+ case TQt::LeftButton : {
s = "<qt><h3><font color=\"darkblue\">";
s = s+it->text(0)+"</font></h3>";
if ( !ei->event->title.isEmpty() ) {
diff --git a/kaffeine/src/input/dvbclient/cdwidget.cpp b/kaffeine/src/input/dvbclient/cdwidget.cpp
index 9046601..decca7e 100644
--- a/kaffeine/src/input/dvbclient/cdwidget.cpp
+++ b/kaffeine/src/input/dvbclient/cdwidget.cpp
@@ -324,7 +324,7 @@ void CdWidget::pauseLiveTV()
if ( !dump )
return;
if ( dump->running() ) {
- timeShiftFileName = cdShiftDir+"DVBClient-"+TQDateTime::currentDateTime().toString( Qt::ISODate )+".ts";
+ timeShiftFileName = cdShiftDir+"DVBClient-"+TQDateTime::currentDateTime().toString( TQt::ISODate )+".ts";
if ( dump->doPause( timeShiftFileName ) ) emit setTimeShiftFilename( timeShiftFileName );
}
}
diff --git a/kaffeine/src/player-parts/gstreamer-part/gstreamer_part.cpp b/kaffeine/src/player-parts/gstreamer-part/gstreamer_part.cpp
index 94e7669..1c24850 100644
--- a/kaffeine/src/player-parts/gstreamer-part/gstreamer_part.cpp
+++ b/kaffeine/src/player-parts/gstreamer-part/gstreamer_part.cpp
@@ -718,7 +718,7 @@ void GStreamerPart::initActions()
new TDEAction(i18n("&Video Settings"), "configure", Key_V, TQT_TQOBJECT(this), TQT_SLOT(slotVideoSettings()), actionCollection(), "video_settings");
new TDEAction(i18n("Track &Info"), "application-vnd.tde.info", 0 , TQT_TQOBJECT(this), TQT_SLOT(slotInfo()), actionCollection(), "player_track_info");
- m_volume = new TQSlider(Qt::Horizontal, 0);
+ m_volume = new TQSlider(TQt::Horizontal, 0);
TQToolTip::add(m_volume, i18n("Volume"));
m_volume->setRange(0, 100);
m_volume->setSteps(1, 5);
diff --git a/kaffeine/src/player-parts/gstreamer-part/timer.cpp b/kaffeine/src/player-parts/gstreamer-part/timer.cpp
index 2399641..c272a60 100644
--- a/kaffeine/src/player-parts/gstreamer-part/timer.cpp
+++ b/kaffeine/src/player-parts/gstreamer-part/timer.cpp
@@ -41,7 +41,7 @@
Timer::Timer() : TQObject()
{
m_label = new TQLabel( "0:00 / 0:00", 0 );
- m_slider = new TQSlider( Qt::Horizontal, 0 );
+ m_slider = new TQSlider( TQt::Horizontal, 0 );
m_slider->setMinValue( 0 );
m_slider->setEnabled( false );
diff --git a/kaffeine/src/player-parts/gstreamer-part/video.cpp b/kaffeine/src/player-parts/gstreamer-part/video.cpp
index 1cb28a4..cc5bcdb 100644
--- a/kaffeine/src/player-parts/gstreamer-part/video.cpp
+++ b/kaffeine/src/player-parts/gstreamer-part/video.cpp
@@ -115,7 +115,7 @@ void VideoWindow::paintEvent(TQPaintEvent */*event*/)
void VideoWindow::mousePressEvent(TQMouseEvent* mev)
{
- if ( mev->button()==Qt::RightButton ) {
+ if ( mev->button()==TQt::RightButton ) {
emit signalRightClick( mev->globalPos() );
mev->accept();
}
diff --git a/kaffeine/src/player-parts/gstreamer-part/videosettings.cpp b/kaffeine/src/player-parts/gstreamer-part/videosettings.cpp
index f3b047b..c349d93 100644
--- a/kaffeine/src/player-parts/gstreamer-part/videosettings.cpp
+++ b/kaffeine/src/player-parts/gstreamer-part/videosettings.cpp
@@ -40,7 +40,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contr, int bright, TQWidget *
TQLabel* hueText = new TQLabel(i18n("Hue"), page);
hueText->setAlignment(AlignRight);
- m_hueSlider = new TQSlider(Qt::Horizontal, page);
+ m_hueSlider = new TQSlider(TQt::Horizontal, page);
m_hueSlider->setRange(-1000, 1000);
m_hueSlider->setSteps(10, 100);
m_hueSlider->setValue(hue);
@@ -50,7 +50,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contr, int bright, TQWidget *
TQLabel* satText = new TQLabel(i18n("Saturation"), page);
satText->setAlignment(AlignRight);
- m_satSlider = new TQSlider(Qt::Horizontal, page);
+ m_satSlider = new TQSlider(TQt::Horizontal, page);
m_satSlider->setRange(-1000, 1000);
m_satSlider->setSteps(10, 100);
m_satSlider->setValue(sat);
@@ -60,7 +60,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contr, int bright, TQWidget *
TQLabel* contrastText = new TQLabel(i18n("Contrast"), page);
contrastText->setAlignment(AlignRight);
- m_contrastSlider = new TQSlider(Qt::Horizontal, page);
+ m_contrastSlider = new TQSlider(TQt::Horizontal, page);
m_contrastSlider->setRange(-1000, 1000);
m_contrastSlider->setSteps(10, 100);
m_contrastSlider->setValue(contr);
@@ -70,7 +70,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contr, int bright, TQWidget *
TQLabel* brightText = new TQLabel(i18n("Brightness"), page);
brightText->setAlignment(AlignRight);
- m_brightSlider = new TQSlider(Qt::Horizontal, page);
+ m_brightSlider = new TQSlider(TQt::Horizontal, page);
m_brightSlider->setRange(-1000, 1000);
m_brightSlider->setSteps(10, 100);
m_brightSlider->setValue(bright);
diff --git a/kaffeine/src/player-parts/xine-part/deinterlacequality.cpp b/kaffeine/src/player-parts/xine-part/deinterlacequality.cpp
index 8674424..111be9b 100644
--- a/kaffeine/src/player-parts/xine-part/deinterlacequality.cpp
+++ b/kaffeine/src/player-parts/xine-part/deinterlacequality.cpp
@@ -49,7 +49,7 @@ DeinterlaceQuality::DeinterlaceQuality(TQWidget* filterDialog, TQWidget *parent,
grid->setSpacing(5);
grid->setMargin(5);
- m_qualitySlider = new TQSlider( Qt::Vertical, mainWidget );
+ m_qualitySlider = new TQSlider( TQt::Vertical, mainWidget );
m_qualitySlider->setRange(0, 5);
m_qualitySlider->setSteps(1, 1);
m_qualitySlider->setTickmarks(TQSlider::Right);
diff --git a/kaffeine/src/player-parts/xine-part/equalizer.cpp b/kaffeine/src/player-parts/xine-part/equalizer.cpp
index 319f537..cc42e32 100644
--- a/kaffeine/src/player-parts/xine-part/equalizer.cpp
+++ b/kaffeine/src/player-parts/xine-part/equalizer.cpp
@@ -54,7 +54,7 @@ Equalizer::Equalizer(TQWidget *parent, const char *name)
equalGrid->setMargin(10);
TQLabel* eq30Text = new TQLabel("30Hz", equalGroup);
- eq30Slider = new TQSlider(Qt::Vertical, equalGroup);
+ eq30Slider = new TQSlider(TQt::Vertical, equalGroup);
eq30Slider->setRange(-100, -1);
eq30Slider->setSteps(1, 10);
eq30Slider->setTickInterval(50);
@@ -64,7 +64,7 @@ Equalizer::Equalizer(TQWidget *parent, const char *name)
equalGrid->addWidget(eq30Slider, 0, 0);
TQLabel* eq60Text = new TQLabel("60Hz", equalGroup);
- eq60Slider = new TQSlider(Qt::Vertical, equalGroup);
+ eq60Slider = new TQSlider(TQt::Vertical, equalGroup);
eq60Slider->setRange(-100, -1);
eq60Slider->setSteps(1, 10);
connect(eq60Slider, TQT_SIGNAL(valueChanged(int)), this, TQT_SIGNAL(signalNewEq60(int)));
@@ -72,7 +72,7 @@ Equalizer::Equalizer(TQWidget *parent, const char *name)
equalGrid->addWidget(eq60Slider, 0, 1);
TQLabel* eq125Text = new TQLabel("125Hz", equalGroup);
- eq125Slider = new TQSlider(Qt::Vertical, equalGroup);
+ eq125Slider = new TQSlider(TQt::Vertical, equalGroup);
eq125Slider->setRange(-100, -1);
eq125Slider->setSteps(1, 10);
connect(eq125Slider, TQT_SIGNAL(valueChanged(int)), this, TQT_SIGNAL(signalNewEq125(int)));
@@ -80,7 +80,7 @@ Equalizer::Equalizer(TQWidget *parent, const char *name)
equalGrid->addWidget(eq125Slider, 0, 2);
TQLabel* eq250Text = new TQLabel("250Hz", equalGroup);
- eq250Slider = new TQSlider(Qt::Vertical, equalGroup);
+ eq250Slider = new TQSlider(TQt::Vertical, equalGroup);
eq250Slider->setRange(-100, -1);
eq250Slider->setSteps(1, 10);
connect(eq250Slider, TQT_SIGNAL(valueChanged(int)), this, TQT_SIGNAL(signalNewEq250(int)));
@@ -88,7 +88,7 @@ Equalizer::Equalizer(TQWidget *parent, const char *name)
equalGrid->addWidget(eq250Slider, 0, 3);
TQLabel* eq500Text = new TQLabel("500Hz", equalGroup);
- eq500Slider = new TQSlider(Qt::Vertical, equalGroup);
+ eq500Slider = new TQSlider(TQt::Vertical, equalGroup);
eq500Slider->setRange(-100, -1);
eq500Slider->setSteps(1, 10);
connect(eq500Slider, TQT_SIGNAL(valueChanged(int)), this, TQT_SIGNAL(signalNewEq500(int)));
@@ -96,7 +96,7 @@ Equalizer::Equalizer(TQWidget *parent, const char *name)
equalGrid->addWidget(eq500Slider, 0, 4);
TQLabel* eq1kText = new TQLabel("1kHz", equalGroup);
- eq1kSlider = new TQSlider(Qt::Vertical, equalGroup);
+ eq1kSlider = new TQSlider(TQt::Vertical, equalGroup);
eq1kSlider->setRange(-100, -1);
eq1kSlider->setSteps(1, 10);
connect(eq1kSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SIGNAL(signalNewEq1k(int)));
@@ -104,7 +104,7 @@ Equalizer::Equalizer(TQWidget *parent, const char *name)
equalGrid->addWidget(eq1kSlider, 0, 5);
TQLabel* eq2kText = new TQLabel("2kHz", equalGroup);
- eq2kSlider = new TQSlider(Qt::Vertical, equalGroup);
+ eq2kSlider = new TQSlider(TQt::Vertical, equalGroup);
eq2kSlider->setRange(-100, -1);
eq2kSlider->setSteps(1, 10);
connect(eq2kSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SIGNAL(signalNewEq2k(int)));
@@ -112,7 +112,7 @@ Equalizer::Equalizer(TQWidget *parent, const char *name)
equalGrid->addWidget(eq2kSlider, 0, 6);
TQLabel* eq4kText = new TQLabel("4kHz", equalGroup);
- eq4kSlider = new TQSlider(Qt::Vertical, equalGroup);
+ eq4kSlider = new TQSlider(TQt::Vertical, equalGroup);
eq4kSlider->setRange(-100, -1);
eq4kSlider->setSteps(1, 10);
connect(eq4kSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SIGNAL(signalNewEq4k(int)));
@@ -120,7 +120,7 @@ Equalizer::Equalizer(TQWidget *parent, const char *name)
equalGrid->addWidget(eq4kSlider, 0, 7);
TQLabel* eq8kText = new TQLabel("8kHz", equalGroup);
- eq8kSlider = new TQSlider(Qt::Vertical, equalGroup);
+ eq8kSlider = new TQSlider(TQt::Vertical, equalGroup);
eq8kSlider->setRange(-100, -1);
eq8kSlider->setSteps(1, 10);
connect(eq8kSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SIGNAL(signalNewEq8k(int)));
@@ -128,7 +128,7 @@ Equalizer::Equalizer(TQWidget *parent, const char *name)
equalGrid->addWidget(eq8kSlider, 0, 8);
TQLabel* eq16kText = new TQLabel("16kHz", equalGroup);
- eq16kSlider = new TQSlider(Qt::Vertical, equalGroup);
+ eq16kSlider = new TQSlider(TQt::Vertical, equalGroup);
eq16kSlider->setRange(-100, -1);
eq16kSlider->setSteps(1, 10);
eq16kSlider->setTickInterval(50);
diff --git a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp
index 80804b2..58c12c5 100644
--- a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp
+++ b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp
@@ -2793,14 +2793,14 @@ void KXineWidget::mousePressEvent(TQMouseEvent* mev)
if (!m_xineReady) return;
int cur = cursor().shape();
- if (mev->button() == Qt::MidButton)
+ if (mev->button() == TQt::MidButton)
{
emit signalMiddleClick();
mev->ignore();
return;
}
- if (mev->button() == Qt::RightButton)
+ if (mev->button() == TQt::RightButton)
{
if ( (cur == TQt::ArrowCursor) || (cur == TQt::BlankCursor) )
{
@@ -2810,7 +2810,7 @@ void KXineWidget::mousePressEvent(TQMouseEvent* mev)
}
}
- if (mev->button() == Qt::LeftButton)
+ if (mev->button() == TQt::LeftButton)
{
if ( (cur == TQt::ArrowCursor) || (cur == TQt::BlankCursor) )
{
diff --git a/kaffeine/src/player-parts/xine-part/positionslider.cpp b/kaffeine/src/player-parts/xine-part/positionslider.cpp
index 4b3ce52..f823534 100644
--- a/kaffeine/src/player-parts/xine-part/positionslider.cpp
+++ b/kaffeine/src/player-parts/xine-part/positionslider.cpp
@@ -26,7 +26,7 @@
#include "positionslider.moc"
-PositionSlider::PositionSlider(Qt::Orientation o, TQWidget *parent, const char* name) :
+PositionSlider::PositionSlider(TQt::Orientation o, TQWidget *parent, const char* name) :
TQSlider(o, parent, name), m_userChange(false)
{
connect(this, TQT_SIGNAL(sliderPressed()), this ,TQT_SLOT(slotSliderPressed()));
@@ -93,7 +93,7 @@ bool PositionSlider::eventFilter(TQObject *obj, TQEvent *ev)
TQMouseEvent *e = (TQMouseEvent *)ev;
TQRect r = sliderRect();
- if( r.contains( e->pos() ) || e->button() != Qt::LeftButton )
+ if( r.contains( e->pos() ) || e->button() != TQt::LeftButton )
return false;
int range = maxValue() - minValue();
diff --git a/kaffeine/src/player-parts/xine-part/positionslider.h b/kaffeine/src/player-parts/xine-part/positionslider.h
index a604bbc..5258dff 100644
--- a/kaffeine/src/player-parts/xine-part/positionslider.h
+++ b/kaffeine/src/player-parts/xine-part/positionslider.h
@@ -31,7 +31,7 @@ class PositionSlider : public TQSlider
public:
- PositionSlider(Qt::Orientation, TQWidget * parent = 0, const char* name = 0);
+ PositionSlider(TQt::Orientation, TQWidget * parent = 0, const char* name = 0);
virtual ~PositionSlider();
void setPosition(int, bool);
diff --git a/kaffeine/src/player-parts/xine-part/videosettings.cpp b/kaffeine/src/player-parts/xine-part/videosettings.cpp
index 93c706f..4f47b0e 100644
--- a/kaffeine/src/player-parts/xine-part/videosettings.cpp
+++ b/kaffeine/src/player-parts/xine-part/videosettings.cpp
@@ -49,7 +49,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contrast, int bright,
TQLabel* hueText = new TQLabel(i18n("Hue"), videoGroup);
hueText->setAlignment(AlignRight);
- m_hueSlider = new TQSlider(Qt::Horizontal, videoGroup);
+ m_hueSlider = new TQSlider(TQt::Horizontal, videoGroup);
m_hueSlider->setRange(0, 65535);
m_hueSlider->setSteps(10, 1000);
m_hueSlider->setValue(hue);
@@ -59,7 +59,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contrast, int bright,
TQLabel* satText = new TQLabel(i18n("Saturation"), videoGroup);
satText->setAlignment(AlignRight);
- m_satSlider = new TQSlider(Qt::Horizontal, videoGroup);
+ m_satSlider = new TQSlider(TQt::Horizontal, videoGroup);
m_satSlider->setRange(0, 65535);
m_satSlider->setSteps(10, 1000);
m_satSlider->setValue(sat);
@@ -69,7 +69,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contrast, int bright,
TQLabel* contrastText = new TQLabel(i18n("Contrast"), videoGroup);
contrastText->setAlignment(AlignRight);
- m_contrastSlider = new TQSlider(Qt::Horizontal, videoGroup);
+ m_contrastSlider = new TQSlider(TQt::Horizontal, videoGroup);
m_contrastSlider->setRange(0, 65535);
m_contrastSlider->setSteps(10, 1000);
m_contrastSlider->setValue(contrast);
@@ -79,7 +79,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contrast, int bright,
TQLabel* brightText = new TQLabel(i18n("Brightness"), videoGroup);
brightText->setAlignment(AlignRight);
- m_brightSlider = new TQSlider(Qt::Horizontal, videoGroup);
+ m_brightSlider = new TQSlider(TQt::Horizontal, videoGroup);
m_brightSlider->setRange(0, 65535);
m_brightSlider->setSteps(10, 1000);
m_brightSlider->setValue(bright);
@@ -89,7 +89,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contrast, int bright,
TQLabel* avOffsetText = new TQLabel(i18n("Audio/Video Offset"), videoGroup);
avOffsetText->setAlignment(AlignRight);
- m_avOffsetSlider = new TQSlider(Qt::Horizontal, videoGroup);
+ m_avOffsetSlider = new TQSlider(TQt::Horizontal, videoGroup);
m_avOffsetSlider->setRange(-90000, 90000); // +/- 1 sec
m_avOffsetSlider->setSteps(100, 10000);
m_avOffsetSlider->setValue(avOffset);
@@ -99,7 +99,7 @@ VideoSettings::VideoSettings(int hue, int sat, int contrast, int bright,
TQLabel* spuOffsetText = new TQLabel(i18n("Subtitle Offset"), videoGroup);
spuOffsetText->setAlignment(AlignRight);
- m_spuOffsetSlider = new TQSlider(Qt::Horizontal, videoGroup);
+ m_spuOffsetSlider = new TQSlider(TQt::Horizontal, videoGroup);
m_spuOffsetSlider->setRange(-90000, 90000); // +/- 1 sec
m_spuOffsetSlider->setSteps(100, 10000);
m_spuOffsetSlider->setValue(spuOffset);
diff --git a/kaffeine/src/pref.cpp b/kaffeine/src/pref.cpp
index 1de9dac..0573156 100644
--- a/kaffeine/src/pref.cpp
+++ b/kaffeine/src/pref.cpp
@@ -125,7 +125,7 @@ KaffeinePreferences::KaffeinePreferences() : KDialogBase(IconList,i18n("Kaffeine
//-----------misc----------------
TQFrame *misc = addPage(i18n("Misc"), i18n("Miscellaneous Options"),TDEGlobal::iconLoader()->loadIcon("misc", TDEIcon::Panel, TDEIcon::SizeMedium));
vb = new TQVBoxLayout( misc, 6, 6 );
- gb = new TQGroupBox(1, Qt::Horizontal, "", misc);
+ gb = new TQGroupBox(1, TQt::Horizontal, "", misc);
gb->setInsideMargin(20);
gb->setInsideSpacing(6);
diff --git a/kaffeine/src/systemtray.cpp b/kaffeine/src/systemtray.cpp
index bfcbcd3..01106a3 100644
--- a/kaffeine/src/systemtray.cpp
+++ b/kaffeine/src/systemtray.cpp
@@ -95,8 +95,8 @@ void SystemTray::wheelEvent(TQWheelEvent *e)
void SystemTray::mousePressEvent(TQMouseEvent *e)
{
switch(e->button()) {
- case Qt::LeftButton:
- case Qt::RightButton:
+ case TQt::LeftButton:
+ case TQt::RightButton:
default:
KSystemTray::mousePressEvent(e);
break;