summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 10:36:44 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-09 17:21:45 +0900
commit5bdb51894d90ebc0d068ef5b3aec1cb2627433ed (patch)
tree3f540d2b927a7a79dba3093fe12eb119c2c2b79e
parentff5c6681db05d5ed1d4d86872990cc317b114eee (diff)
downloadtdemultimedia-5bdb51894d90ebc0d068ef5b3aec1cb2627433ed.tar.gz
tdemultimedia-5bdb51894d90ebc0d068ef5b3aec1cb2627433ed.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b3df4d055e72863ca51ec9c0428a490306989ff4)
-rw-r--r--arts/builder/createtool.cpp2
-rw-r--r--arts/builder/mwidget.cpp2
-rw-r--r--arts/builder/qttableview.cpp4
-rw-r--r--arts/gui/kde/kfader.cpp4
-rw-r--r--arts/gui/kde/kgraph.cpp6
-rw-r--r--arts/gui/kde/kpoti.cpp10
-rw-r--r--arts/gui/kde/kvolumefader_impl.cpp4
-rw-r--r--arts/tools/artscontrolapplet.cpp2
-rw-r--r--arts/tools/fftscopeview.cpp2
-rw-r--r--juk/nowplaying.cpp2
-rw-r--r--juk/playlist.cpp6
-rw-r--r--juk/playlistbox.cpp4
-rw-r--r--juk/playlistsplitter.cpp4
-rw-r--r--juk/slideraction.cpp36
-rw-r--r--juk/slideraction.h4
-rw-r--r--juk/statuslabel.cpp2
-rw-r--r--juk/systemtray.cpp8
-rw-r--r--juk/viewmode.cpp4
-rw-r--r--kaboodle/controls.cpp8
-rw-r--r--kaboodle/controls.h4
-rw-r--r--kaboodle/view.cpp2
-rw-r--r--kmix/mixdevicewidget.cpp2
-rw-r--r--kmix/viewbase.cpp2
-rw-r--r--krec/krecconfig_fileswidget.cpp6
-rw-r--r--krec/krecconfigure.cpp4
-rw-r--r--krec/krecfileviewhelpers.cpp2
-rw-r--r--krec/krecfilewidgets.cpp2
-rw-r--r--kscd/docking.cpp2
-rw-r--r--mpeglib/lib/mpegplay/slice.h2
-rw-r--r--noatun/library/cmodule.cpp2
-rw-r--r--noatun/library/controls.cpp8
-rw-r--r--noatun/library/equalizerview.cpp2
-rw-r--r--noatun/library/noatun/controls.h4
-rw-r--r--noatun/library/noatuntags/tags.cpp2
-rw-r--r--noatun/library/video.cpp2
-rw-r--r--noatun/modules/artseffects/extrastereogui_impl.cpp2
-rw-r--r--noatun/modules/excellent/userinterface.cpp4
-rw-r--r--noatun/modules/kaiman/style.cpp2
-rw-r--r--noatun/modules/kjofol-skin/kjloader.cpp2
-rw-r--r--noatun/modules/noatunui/userinterface.cpp8
-rw-r--r--noatun/modules/simple/userinterface.cpp4
-rw-r--r--noatun/modules/systray/kitsystemtray.cpp4
-rw-r--r--noatun/modules/winskin/guiSpectrumAnalyser.cpp4
-rw-r--r--noatun/modules/winskin/waButton.cpp2
-rw-r--r--noatun/modules/winskin/waDigit.cpp2
-rw-r--r--noatun/modules/winskin/waInfo.cpp2
-rw-r--r--noatun/modules/winskin/waSlider.cpp2
-rw-r--r--noatun/modules/winskin/waTitleBar.cpp4
-rw-r--r--noatun/modules/winskin/waWidget.cpp2
-rw-r--r--noatun/modules/winskin/winSkinConfig.cpp4
-rw-r--r--tdeioslave/audiocd/plugins/flac/encoderflac.cpp2
-rw-r--r--tdeioslave/audiocd/plugins/vorbis/encodervorbis.cpp2
-rw-r--r--tdemid/channelview.cpp2
-rw-r--r--tdemid/tdemidclient.cpp4
54 files changed, 110 insertions, 110 deletions
diff --git a/arts/builder/createtool.cpp b/arts/builder/createtool.cpp
index 2913fdd3..95026884 100644
--- a/arts/builder/createtool.cpp
+++ b/arts/builder/createtool.cpp
@@ -67,7 +67,7 @@ void CreateTool::mousePressEvent(TQMouseEvent *e)
if(x < 0 || y < 0) return;
- if( e->button() == Qt::LeftButton )
+ if( e->button() == TQt::LeftButton )
performCreate(x, y);
// well, perhaps make this an option
diff --git a/arts/builder/mwidget.cpp b/arts/builder/mwidget.cpp
index 4b96a2ca..31b03b6f 100644
--- a/arts/builder/mwidget.cpp
+++ b/arts/builder/mwidget.cpp
@@ -133,7 +133,7 @@ void ModuleWidget::mousePressEvent( TQMouseEvent *e )
return;
}
- if( e->button() == Qt::LeftButton )
+ if( e->button() == TQt::LeftButton )
{
StructureComponent *component;
ModulePort *port;
diff --git a/arts/builder/qttableview.cpp b/arts/builder/qttableview.cpp
index 4b432e73..3a2cac42 100644
--- a/arts/builder/qttableview.cpp
+++ b/arts/builder/qttableview.cpp
@@ -1439,7 +1439,7 @@ TQScrollBar *QtTableView::verticalScrollBar() const
{
QtTableView *that = (QtTableView*)this; // semantic const
if ( !vScrollBar ) {
- TQScrollBar *sb = new TQScrollBar( Qt::Vertical, that );
+ TQScrollBar *sb = new TQScrollBar( TQt::Vertical, that );
#ifndef TQT_NO_CURSOR
sb->setCursor( arrowCursor );
#endif
@@ -1470,7 +1470,7 @@ TQScrollBar *QtTableView::horizontalScrollBar() const
{
QtTableView *that = (QtTableView*)this; // semantic const
if ( !hScrollBar ) {
- TQScrollBar *sb = new TQScrollBar( Qt::Horizontal, that );
+ TQScrollBar *sb = new TQScrollBar( TQt::Horizontal, that );
#ifndef TQT_NO_CURSOR
sb->setCursor( arrowCursor );
#endif
diff --git a/arts/gui/kde/kfader.cpp b/arts/gui/kde/kfader.cpp
index e5179f9f..499d509c 100644
--- a/arts/gui/kde/kfader.cpp
+++ b/arts/gui/kde/kfader.cpp
@@ -6,13 +6,13 @@ void KFader::init()
}
KFader::KFader( TQWidget * parent, const char * name )
- : TQSlider( Qt::Vertical, parent, name )
+ : TQSlider( TQt::Vertical, parent, name )
{
init();
}
KFader::KFader( int minValue, int maxValue, int pageStep, int value, TQWidget * parent, const char * name )
- : TQSlider( minValue, maxValue, pageStep, value, Qt::Vertical, parent, name )
+ : TQSlider( minValue, maxValue, pageStep, value, TQt::Vertical, parent, name )
{
init();
}
diff --git a/arts/gui/kde/kgraph.cpp b/arts/gui/kde/kgraph.cpp
index 2040793e..70f173ec 100644
--- a/arts/gui/kde/kgraph.cpp
+++ b/arts/gui/kde/kgraph.cpp
@@ -111,7 +111,7 @@ void KGraph::paintEvent( TQPaintEvent *e )
void KGraph::mousePressEvent(TQMouseEvent *e)
{
- if(e->button() == Qt::LeftButton || e->button() == Qt::RightButton)
+ if(e->button() == TQt::LeftButton || e->button() == TQt::RightButton)
{
std::list<KGraphLine_impl *>::iterator li;
for(li = lines.begin(); li != lines.end(); li++)
@@ -140,7 +140,7 @@ void KGraph::mousePressEvent(TQMouseEvent *e)
if(selectedIndex >= 0)
{
// erase point
- if(e->button() == Qt::RightButton)
+ if(e->button() == TQt::RightButton)
{
if(selectedIndex != 0 && selectedIndex != (( int )( selectedLine->_points.size() )-1))
{
@@ -159,7 +159,7 @@ void KGraph::mousePressEvent(TQMouseEvent *e)
selectedIndex = -1;
}
}
- else if(e->button() == Qt::LeftButton)
+ else if(e->button() == TQt::LeftButton)
{
// try to insert a point
std::list<KGraphLine_impl *>::iterator li;
diff --git a/arts/gui/kde/kpoti.cpp b/arts/gui/kde/kpoti.cpp
index aefa80c1..59ba7ec8 100644
--- a/arts/gui/kde/kpoti.cpp
+++ b/arts/gui/kde/kpoti.cpp
@@ -474,13 +474,13 @@ void KPoti::mousePressEvent( TQMouseEvent *e )
{
resetState();
- if ( e->button() == Qt::MidButton ) {
+ if ( e->button() == TQt::MidButton ) {
double pos = atan2( double(e->pos().x()-d->center.x()),
double(- e->pos().y() + d->center.y()) );
movePoti( pos );
return;
}
- if ( e->button() != Qt::LeftButton )
+ if ( e->button() != TQt::LeftButton )
return;
@@ -513,13 +513,13 @@ void KPoti::mousePressEvent( TQMouseEvent *e )
void KPoti::mouseMoveEvent( TQMouseEvent *e )
{
- if ( (e->state() & Qt::MidButton) ) { // middle button wins
+ if ( (e->state() & TQt::MidButton) ) { // middle button wins
double pos = atan2( double(e->pos().x()-d->center.x()),
double(- e->pos().y()+d->center.y()) );
movePoti( pos );
return;
}
- if ( !(e->state() & Qt::LeftButton) )
+ if ( !(e->state() & TQt::LeftButton) )
return; // left mouse button is up
if ( state != Dragging )
return;
@@ -535,7 +535,7 @@ void KPoti::mouseMoveEvent( TQMouseEvent *e )
void KPoti::mouseReleaseEvent( TQMouseEvent *e )
{
- if ( !(e->button() & Qt::LeftButton) )
+ if ( !(e->button() & TQt::LeftButton) )
return;
resetState();
}
diff --git a/arts/gui/kde/kvolumefader_impl.cpp b/arts/gui/kde/kvolumefader_impl.cpp
index 598485f0..a45f91aa 100644
--- a/arts/gui/kde/kvolumefader_impl.cpp
+++ b/arts/gui/kde/kvolumefader_impl.cpp
@@ -184,8 +184,8 @@ void KVolumeFader_Widget::mousePressEvent( TQMouseEvent* ){
void KVolumeFader_Widget::mouseReleaseEvent( TQMouseEvent* qme ){
bool setValue = false;
- if ( TDEGlobalSettings::mouseSettings().handed == 0 && qme->button() == Qt::LeftButton ) setValue=true;
- if ( TDEGlobalSettings::mouseSettings().handed == 1 && qme->button() == Qt::RightButton ) setValue=true;
+ if ( TDEGlobalSettings::mouseSettings().handed == 0 && qme->button() == TQt::LeftButton ) setValue=true;
+ if ( TDEGlobalSettings::mouseSettings().handed == 1 && qme->button() == TQt::RightButton ) setValue=true;
if ( setValue )
{
switch ( _dir ) {
diff --git a/arts/tools/artscontrolapplet.cpp b/arts/tools/artscontrolapplet.cpp
index f31db7fe..a70b8683 100644
--- a/arts/tools/artscontrolapplet.cpp
+++ b/arts/tools/artscontrolapplet.cpp
@@ -107,7 +107,7 @@ void ArtsControlApplet::resizeEvent( TQResizeEvent * /*_Event*/ ) {
void ArtsControlApplet::mousePressEvent( TQMouseEvent* ev ) {
//kdDebug()<<"ArtsControlApplet::mousePressEvent( TQMouseEvent* "<<ev<<" )"<<endl;
- if ( Qt::RightButton == ev->button() /*|| Qt::LeftButton == ev->button()*/ )
+ if ( TQt::RightButton == ev->button() /*|| TQt::LeftButton == ev->button()*/ )
p->menu->exec( TQCursor::pos() );
}
diff --git a/arts/tools/fftscopeview.cpp b/arts/tools/fftscopeview.cpp
index e87759e6..35805877 100644
--- a/arts/tools/fftscopeview.cpp
+++ b/arts/tools/fftscopeview.cpp
@@ -122,7 +122,7 @@ void FFTScopeView::updateScope() {
}
void FFTScopeView::mousePressEvent( TQMouseEvent* ev ) {
- if ( Qt::RightButton == ev->button() /*|| Qt::LeftButton == ev->button()*/ )
+ if ( TQt::RightButton == ev->button() /*|| TQt::LeftButton == ev->button()*/ )
_menu->exec( TQCursor::pos() );
}
diff --git a/juk/nowplaying.cpp b/juk/nowplaying.cpp
index e5f344a6..838aadd2 100644
--- a/juk/nowplaying.cpp
+++ b/juk/nowplaying.cpp
@@ -138,7 +138,7 @@ void CoverItem::mouseReleaseEvent(TQMouseEvent *event)
if(event->x() >= 0 && event->y() >= 0 &&
event->x() < width() && event->y() < height() &&
- event->button() == Qt::LeftButton &&
+ event->button() == TQt::LeftButton &&
m_file.coverInfo()->hasCover())
{
m_file.coverInfo()->popup();
diff --git a/juk/playlist.cpp b/juk/playlist.cpp
index 32caf879..7415d47e 100644
--- a/juk/playlist.cpp
+++ b/juk/playlist.cpp
@@ -1116,7 +1116,7 @@ bool Playlist::eventFilter(TQObject *watched, TQEvent *e)
switch(e->type()) {
case TQEvent::MouseMove:
{
- if((TQT_TQMOUSEEVENT(e)->state() & Qt::LeftButton) == Qt::LeftButton &&
+ if((TQT_TQMOUSEEVENT(e)->state() & TQt::LeftButton) == TQt::LeftButton &&
!action<TDEToggleAction>("resizeColumnsManually")->isChecked())
{
m_columnWidthModeChanged = true;
@@ -1129,7 +1129,7 @@ bool Playlist::eventFilter(TQObject *watched, TQEvent *e)
}
case TQEvent::MouseButtonPress:
{
- if(TQT_TQMOUSEEVENT(e)->button() == Qt::RightButton)
+ if(TQT_TQMOUSEEVENT(e)->button() == TQt::RightButton)
m_headerMenu->popup(TQCursor::pos());
break;
@@ -1249,7 +1249,7 @@ void Playlist::contentsMouseDoubleClickEvent(TQMouseEvent *e)
// Filter out non left button double clicks, that way users don't have the
// weird experience of switching songs from a double right-click.
- if(e->button() == Qt::LeftButton)
+ if(e->button() == TQt::LeftButton)
TDEListView::contentsMouseDoubleClickEvent(e);
}
diff --git a/juk/playlistbox.cpp b/juk/playlistbox.cpp
index 3da042d2..f0450166 100644
--- a/juk/playlistbox.cpp
+++ b/juk/playlistbox.cpp
@@ -524,14 +524,14 @@ void PlaylistBox::contentsDragLeaveEvent(TQDragLeaveEvent *e)
void PlaylistBox::contentsMousePressEvent(TQMouseEvent *e)
{
- if(e->button() == Qt::LeftButton)
+ if(e->button() == TQt::LeftButton)
m_doingMultiSelect = true;
TDEListView::contentsMousePressEvent(e);
}
void PlaylistBox::contentsMouseReleaseEvent(TQMouseEvent *e)
{
- if(e->button() == Qt::LeftButton) {
+ if(e->button() == TQt::LeftButton) {
m_doingMultiSelect = false;
slotPlaylistChanged();
}
diff --git a/juk/playlistsplitter.cpp b/juk/playlistsplitter.cpp
index 08cecf18..17da7a07 100644
--- a/juk/playlistsplitter.cpp
+++ b/juk/playlistsplitter.cpp
@@ -35,7 +35,7 @@ using namespace ActionCollection;
////////////////////////////////////////////////////////////////////////////////
PlaylistSplitter::PlaylistSplitter(TQWidget *parent, const char *name) :
- TQSplitter(Qt::Horizontal, parent, name),
+ TQSplitter(TQt::Horizontal, parent, name),
m_newVisible(0),
m_playlistBox(0),
m_searchWidget(0),
@@ -130,7 +130,7 @@ void PlaylistSplitter::setupLayout()
// Create a splitter to go between the playlists and the editor.
- TQSplitter *editorSplitter = new TQSplitter(Qt::Vertical, this, "editorSplitter");
+ TQSplitter *editorSplitter = new TQSplitter(TQt::Vertical, this, "editorSplitter");
// Create the playlist and the editor.
diff --git a/juk/slideraction.cpp b/juk/slideraction.cpp
index 24de828d..b632282e 100644
--- a/juk/slideraction.cpp
+++ b/juk/slideraction.cpp
@@ -47,13 +47,13 @@ public:
protected:
virtual void mousePressEvent(TQMouseEvent *e)
{
- if(e->button() == Qt::LeftButton) {
- TQMouseEvent reverse(TQEvent::MouseButtonPress, e->pos(), Qt::MidButton, e->state());
+ if(e->button() == TQt::LeftButton) {
+ TQMouseEvent reverse(TQEvent::MouseButtonPress, e->pos(), TQt::MidButton, e->state());
TQSlider::mousePressEvent(&reverse);
emit sliderPressed();
}
- else if(e->button() == Qt::MidButton) {
- TQMouseEvent reverse(TQEvent::MouseButtonPress, e->pos(), Qt::LeftButton, e->state());
+ else if(e->button() == TQt::MidButton) {
+ TQMouseEvent reverse(TQEvent::MouseButtonPress, e->pos(), TQt::LeftButton, e->state());
TQSlider::mousePressEvent(&reverse);
}
}
@@ -63,7 +63,7 @@ protected:
// VolumeSlider implementation
////////////////////////////////////////////////////////////////////////////////
-VolumeSlider::VolumeSlider(Qt::Orientation o, TQWidget *parent, const char *name) :
+VolumeSlider::VolumeSlider(TQt::Orientation o, TQWidget *parent, const char *name) :
TQSlider(o, parent, name)
{
connect(this, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotValueChanged(int)));
@@ -71,7 +71,7 @@ VolumeSlider::VolumeSlider(Qt::Orientation o, TQWidget *parent, const char *name
void VolumeSlider::wheelEvent(TQWheelEvent *e)
{
- if(orientation() ==Qt::Horizontal) {
+ if(orientation() ==TQt::Horizontal) {
TQWheelEvent transposed(e->pos(), -(e->delta()), e->state(), e->orientation());
TQSlider::wheelEvent(&transposed);
}
@@ -86,7 +86,7 @@ void VolumeSlider::focusInEvent(TQFocusEvent *)
int VolumeSlider::volume() const
{
- if(orientation() ==Qt::Horizontal)
+ if(orientation() ==TQt::Horizontal)
return value();
else
return maxValue() - value();
@@ -94,13 +94,13 @@ int VolumeSlider::volume() const
void VolumeSlider::setVolume(int value)
{
- if(orientation() ==Qt::Horizontal)
+ if(orientation() ==TQt::Horizontal)
setValue(value);
else
setValue(maxValue() - value);
}
-void VolumeSlider::setOrientation(Qt::Orientation o)
+void VolumeSlider::setOrientation(TQt::Orientation o)
{
if(o == orientation())
return;
@@ -113,7 +113,7 @@ void VolumeSlider::setOrientation(Qt::Orientation o)
void VolumeSlider::slotValueChanged(int value)
{
- if(orientation() ==Qt::Horizontal)
+ if(orientation() ==TQt::Horizontal)
emit signalVolumeChanged(value);
else
emit signalVolumeChanged(maxValue() - value);
@@ -163,7 +163,7 @@ int SliderAction::plug(TQWidget *parent, int index)
addContainer(m_toolBar, id);
connect(m_toolBar, TQT_SIGNAL(destroyed()), this, TQT_SLOT(slotToolbarDestroyed()));
- connect(m_toolBar, TQT_SIGNAL(orientationChanged(Qt::Orientation)),
+ connect(m_toolBar, TQT_SIGNAL(orientationChanged(TQt::Orientation)),
this, TQT_SLOT(slotUpdateOrientation()));
connect(m_toolBar, TQT_SIGNAL(placeChanged(TQDockWindow::Place)),
this, TQT_SLOT(slotUpdateOrientation()));
@@ -205,13 +205,13 @@ void SliderAction::slotUpdateOrientation()
return;
if(m_toolBar->barPos() == TDEToolBar::Right || m_toolBar->barPos() == TDEToolBar::Left) {
- m_trackPositionSlider->setOrientation(Qt::Vertical);
- m_volumeSlider->setOrientation(Qt::Vertical);
+ m_trackPositionSlider->setOrientation(TQt::Vertical);
+ m_volumeSlider->setOrientation(TQt::Vertical);
m_layout->setDirection(TQBoxLayout::TopToBottom);
}
else {
- m_trackPositionSlider->setOrientation(Qt::Horizontal);
- m_volumeSlider->setOrientation(Qt::Horizontal);
+ m_trackPositionSlider->setOrientation(TQt::Horizontal);
+ m_volumeSlider->setOrientation(TQt::Horizontal);
m_layout->setDirection(TQBoxLayout::LeftToRight);
}
slotUpdateSize();
@@ -233,12 +233,12 @@ TQWidget *SliderAction::createWidget(TQWidget *parent) // virtual -- used by bas
if(toolBar)
toolBar->setStretchableWidget(base);
- Qt::Orientation orientation;
+ TQt::Orientation orientation;
if(toolBar && toolBar->barPos() == TDEToolBar::Right || toolBar->barPos() == TDEToolBar::Left)
- orientation =Qt::Vertical;
+ orientation =TQt::Vertical;
else
- orientation =Qt::Horizontal;
+ orientation =TQt::Horizontal;
m_layout = new TQBoxLayout(base, TQBoxLayout::TopToBottom, 5, 5);
diff --git a/juk/slideraction.h b/juk/slideraction.h
index 78db9117..7bdc556f 100644
--- a/juk/slideraction.h
+++ b/juk/slideraction.h
@@ -28,12 +28,12 @@ class VolumeSlider : public TQSlider
public:
- VolumeSlider(Qt::Orientation o, TQWidget *parent, const char *name);
+ VolumeSlider(TQt::Orientation o, TQWidget *parent, const char *name);
int volume() const;
void setVolume(int value);
- void setOrientation(Qt::Orientation o);
+ void setOrientation(TQt::Orientation o);
signals:
void signalVolumeChanged(int value);
diff --git a/juk/statuslabel.cpp b/juk/statuslabel.cpp
index a75f67dc..c3c2da0f 100644
--- a/juk/statuslabel.cpp
+++ b/juk/statuslabel.cpp
@@ -177,7 +177,7 @@ bool StatusLabel::eventFilter(TQObject *o, TQEvent *e)
TQMouseEvent *mouseEvent = TQT_TQMOUSEEVENT(e);
if(e->type() == TQEvent::MouseButtonRelease &&
- mouseEvent->button() == Qt::LeftButton)
+ mouseEvent->button() == TQt::LeftButton)
{
if(o == m_itemTimeLabel) {
m_showTimeRemaining = !m_showTimeRemaining;
diff --git a/juk/systemtray.cpp b/juk/systemtray.cpp
index 85abc339..ae3aee32 100644
--- a/juk/systemtray.cpp
+++ b/juk/systemtray.cpp
@@ -540,7 +540,7 @@ void SystemTray::setToolTip(const TQString &tip, const TQPixmap &cover)
void SystemTray::wheelEvent(TQWheelEvent *e)
{
- if(e->orientation() ==Qt::Horizontal)
+ if(e->orientation() ==TQt::Horizontal)
return;
// I already know the type here, but this file doesn't (and I don't want it
@@ -571,12 +571,12 @@ 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;
- case Qt::MidButton:
+ case TQt::MidButton:
if(!rect().contains(e->pos()))
return;
if(action("pause")->isEnabled())
diff --git a/juk/viewmode.cpp b/juk/viewmode.cpp
index 73a66771..bdb2b7a8 100644
--- a/juk/viewmode.cpp
+++ b/juk/viewmode.cpp
@@ -71,7 +71,7 @@ void ViewMode::paintCell(PlaylistBox::Item *item,
TQPen newPen = oldPen;
newPen.setWidth(5);
- newPen.setJoinStyle(Qt::RoundJoin);
+ newPen.setJoinStyle(TQt::RoundJoin);
newPen.setColor(TQColorGroup::Highlight);
painter->setPen(newPen);
@@ -168,7 +168,7 @@ void ViewMode::paintDropIndicator(TQPainter *painter, int width, int height) //
TQPen newPen = oldPen;
newPen.setWidth(lineWidth);
- newPen.setStyle(Qt::DotLine);
+ newPen.setStyle(TQt::DotLine);
painter->setPen(newPen);
painter->drawRect(border, border, width - border * 2, height - border * 2);
diff --git a/kaboodle/controls.cpp b/kaboodle/controls.cpp
index c6b0a4a8..5ac7d3b0 100644
--- a/kaboodle/controls.cpp
+++ b/kaboodle/controls.cpp
@@ -26,11 +26,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Kaboodle::L33tSlider::L33tSlider(TQWidget * parent, const char * name) :
TQSlider(parent,name), pressed(false)
{}
-Kaboodle::L33tSlider::L33tSlider(Qt::Orientation o, TQWidget * parent, const char * name) :
+Kaboodle::L33tSlider::L33tSlider(TQt::Orientation o, TQWidget * parent, const char * name) :
TQSlider(o,parent,name), pressed(false)
{}
Kaboodle::L33tSlider::L33tSlider(int minValue, int maxValue, int pageStep, int value,
- Qt::Orientation o, TQWidget * parent, const char * name) :
+ TQt::Orientation o, TQWidget * parent, const char * name) :
TQSlider(minValue, maxValue, pageStep, value, o, parent,name), pressed(false)
{}
@@ -47,7 +47,7 @@ void Kaboodle::L33tSlider::setValue(int i)
void Kaboodle::L33tSlider::mousePressEvent(TQMouseEvent*e)
{
- if (e->button()!=Qt::RightButton)
+ if (e->button()!=TQt::RightButton)
{
pressed=true;
TQSlider::mousePressEvent(e);
@@ -91,7 +91,7 @@ int Kaboodle::SliderAction::plug( TQWidget *w, int index )
int id = TDEAction::getToolButtonID();
//Create it.
- m_slider=new L33tSlider(0, 1000, 100, 0,Qt::Horizontal, toolBar);
+ m_slider=new L33tSlider(0, 1000, 100, 0,TQt::Horizontal, toolBar);
m_slider->setMinimumWidth(10);
toolBar->insertWidget(id, 10, m_slider, index );
diff --git a/kaboodle/controls.h b/kaboodle/controls.h
index 73916b6e..36bf4cb4 100644
--- a/kaboodle/controls.h
+++ b/kaboodle/controls.h
@@ -46,9 +46,9 @@ TQ_OBJECT
public:
L33tSlider(TQWidget * parent, const char * name=0);
- L33tSlider(Qt::Orientation, TQWidget * parent, const char * name=0);
+ L33tSlider(TQt::Orientation, TQWidget * parent, const char * name=0);
L33tSlider(int minValue, int maxValue, int pageStep, int value,
- Qt::Orientation, TQWidget * parent, const char * name=0);
+ TQt::Orientation, TQWidget * parent, const char * name=0);
bool currentlyPressed() const;
signals:
diff --git a/kaboodle/view.cpp b/kaboodle/view.cpp
index e5bcf305..ef9e1fcb 100644
--- a/kaboodle/view.cpp
+++ b/kaboodle/view.cpp
@@ -89,7 +89,7 @@ Kaboodle::View::View(TQWidget *parent, const char *name, Player *p)
pauseButton = createButton(BarIconSet("media-playback-pause"), i18n("Pause"), player, TQT_SLOT(pause()), sliderBox);
stopButton = createButton(BarIconSet("media-playback-stop"), i18n("Stop"), player, TQT_SLOT(stop()), sliderBox);
- slider = new L33tSlider(0, 1000, 10, 0, Qt::Horizontal, sliderBox);
+ slider = new L33tSlider(0, 1000, 10, 0, TQt::Horizontal, sliderBox);
slider->setTickmarks(TQSlider::NoMarks);
slider->show();
diff --git a/kmix/mixdevicewidget.cpp b/kmix/mixdevicewidget.cpp
index 6c8fbc1e..889b19ac 100644
--- a/kmix/mixdevicewidget.cpp
+++ b/kmix/mixdevicewidget.cpp
@@ -109,7 +109,7 @@ void MixDeviceWidget::setMutedColors( TQColor , TQColor , TQColor ) { /* is virt
void MixDeviceWidget::mousePressEvent( TQMouseEvent *e )
{
- if ( e->button()==Qt::RightButton )
+ if ( e->button()==TQt::RightButton )
showContextMenu();
else {
TQWidget::mousePressEvent(e);
diff --git a/kmix/viewbase.cpp b/kmix/viewbase.cpp
index 86d1524c..48a7ccb0 100644
--- a/kmix/viewbase.cpp
+++ b/kmix/viewbase.cpp
@@ -113,7 +113,7 @@ void ViewBase::createDeviceWidgets()
// ---------- Popup stuff START ---------------------
void ViewBase::mousePressEvent( TQMouseEvent *e )
{
- if ( e->button()==Qt::RightButton )
+ if ( e->button()==TQt::RightButton )
showContextMenu();
}
diff --git a/krec/krecconfig_fileswidget.cpp b/krec/krecconfig_fileswidget.cpp
index 42fcd11d..d396d41f 100644
--- a/krec/krecconfig_fileswidget.cpp
+++ b/krec/krecconfig_fileswidget.cpp
@@ -36,7 +36,7 @@ KRecConfigFilesWidget::KRecConfigFilesWidget( TQWidget* p, const char* n )
, _bits16( 0 ), _bits8( 0 )
, _samplingRate( 44100 ), _channels( 2 ), _bits( 16 )
{
- _ratebox = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Sampling Rate" ), _hbox );
+ _ratebox = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Sampling Rate" ), _hbox );
connect( _ratebox, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( ratechanged( int ) ) );
_rate48 = new TQRadioButton( i18n( "48000 Hz" ), _ratebox );
_rate44 = new TQRadioButton( i18n( "44100 Hz" ), _ratebox );
@@ -51,11 +51,11 @@ KRecConfigFilesWidget::KRecConfigFilesWidget( TQWidget* p, const char* n )
_rateotherline->setFrame( true );
_rateotherbox->setEnabled( false );
connect( _rateotherline, TQT_SIGNAL( textChanged( const TQString& ) ), this, TQT_SLOT( rateotherchanged( const TQString& ) ) );
- _channelsbox = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Channels" ), _hbox );
+ _channelsbox = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Channels" ), _hbox );
connect( _channelsbox, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( channelschanged( int ) ) );
_channels2 = new TQRadioButton( i18n( "Stereo (2 channels)" ), _channelsbox );
_channels1 = new TQRadioButton( i18n( "Mono (1 channel)" ), _channelsbox );
- _bitsbox = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Bits" ), _hbox );
+ _bitsbox = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Bits" ), _hbox );
connect( _bitsbox, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( bitschanged( int ) ) );
_bits16 = new TQRadioButton( i18n( "16 bit" ), _bitsbox );
_bits8 = new TQRadioButton( i18n( "8 bit" ), _bitsbox );
diff --git a/krec/krecconfigure.cpp b/krec/krecconfigure.cpp
index 5063c461..32e0dafa 100644
--- a/krec/krecconfigure.cpp
+++ b/krec/krecconfigure.cpp
@@ -53,14 +53,14 @@ KRecConfigGeneral::KRecConfigGeneral( TQWidget* p, const char*, const TQStringLi
_layout_display = new TQBoxLayout( _layout, TQBoxLayout::LeftToRight );
_layout->setStretchFactor( _layout_display, -100 );
- _displaybox = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Timedisplay Style" ), this );
+ _displaybox = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Timedisplay Style" ), this );
_layout_display->addWidget( _displaybox, 100 );
connect( _displaybox, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( displaychanged( int ) ) );
_display0 = new TQRadioButton( i18n( "Plain samples" ), _displaybox );
_display1 = new TQRadioButton( i18n( "[hours:]mins:secs:samples" ), _displaybox );
_display2 = new TQRadioButton( i18n( "[hours:]mins:secs:frames" ), _displaybox );
_display3 = new TQRadioButton( i18n( "MByte.KByte" ), _displaybox );
- _framebasebox = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Framebase" ), this );
+ _framebasebox = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Framebase" ), this );
_layout_display->addWidget( _framebasebox, 100 );
connect( _framebasebox, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( framebasechanged( int ) ) );
_framebase30 = new TQRadioButton( i18n( "30 frames per second (American TV)" ), _framebasebox );
diff --git a/krec/krecfileviewhelpers.cpp b/krec/krecfileviewhelpers.cpp
index 2ca5b582..8a177e20 100644
--- a/krec/krecfileviewhelpers.cpp
+++ b/krec/krecfileviewhelpers.cpp
@@ -262,7 +262,7 @@ TQString KRecTimeDisplay::sizeText( int m, int n ) {
}
void AKLabel::mousePressEvent( TQMouseEvent* qme ) {
- if ( qme->button() == Qt::RightButton )
+ if ( qme->button() == TQt::RightButton )
emit showContextMenu( qme->globalPos() );
}
diff --git a/krec/krecfilewidgets.cpp b/krec/krecfilewidgets.cpp
index c0b778de..a0c2180d 100644
--- a/krec/krecfilewidgets.cpp
+++ b/krec/krecfilewidgets.cpp
@@ -233,7 +233,7 @@ void KRecBufferWidget::paintEvent( TQPaintEvent* ) {
void KRecBufferWidget::mousePressEvent( TQMouseEvent* qme ) {
kdDebug( 60005 ) << k_funcinfo << endl;
if ( _main_region->contains( qme->pos() ) || _title_region->contains( qme->pos() ) )
- if ( qme->button() == Qt::RightButton )
+ if ( qme->button() == TQt::RightButton )
emit popupMenu( this, qme->globalPos() );
}
void KRecBufferWidget::mouseDoubleClickEvent( TQMouseEvent* qme ) {
diff --git a/kscd/docking.cpp b/kscd/docking.cpp
index e6689b8d..0241b803 100644
--- a/kscd/docking.cpp
+++ b/kscd/docking.cpp
@@ -120,7 +120,7 @@ void DockWidget::setToolTip(const TQString& text)
void DockWidget::wheelEvent(TQWheelEvent *e)
{
- if (e->orientation() ==Qt::Horizontal)
+ if (e->orientation() ==TQt::Horizontal)
return;
KSCD* kscd = dynamic_cast<KSCD*>(parent());
diff --git a/mpeglib/lib/mpegplay/slice.h b/mpeglib/lib/mpegplay/slice.h
index 13556155..10689d34 100644
--- a/mpeglib/lib/mpegplay/slice.h
+++ b/mpeglib/lib/mpegplay/slice.h
@@ -38,7 +38,7 @@ class Slice {
/* Slice structure. */
- unsigned int vert_pos; /*Qt::Vertical position of slice. */
+ unsigned int vert_pos; /* Vertical position of slice. */
unsigned int quant_scale; /* Quantization scale. */
MpegExtension* mpegExtension; /* Extra bit slice info. */
diff --git a/noatun/library/cmodule.cpp b/noatun/library/cmodule.cpp
index 8e5f184a..92058c85 100644
--- a/noatun/library/cmodule.cpp
+++ b/noatun/library/cmodule.cpp
@@ -68,7 +68,7 @@ General::General(TQObject *parent)
this, TQT_SLOT( slotRequesterClicked( KURLRequester * )));
TQWhatsThis::add(mDlSaver, i18n("When opening a non-local file, download it to the selected folder."));
- mPlayOnStartup = new TQButtonGroup(1,Qt::Horizontal, i18n("Play Behavior on Startup"), this);
+ mPlayOnStartup = new TQButtonGroup(1,TQt::Horizontal, i18n("Play Behavior on Startup"), this);
mPlayOnStartup->setExclusive(true);
mPlayOnStartup->insert(
new TQRadioButton(i18n("Restore &play state"), mPlayOnStartup),
diff --git a/noatun/library/controls.cpp b/noatun/library/controls.cpp
index 4a6ca9a8..fef7768f 100644
--- a/noatun/library/controls.cpp
+++ b/noatun/library/controls.cpp
@@ -3,11 +3,11 @@
L33tSlider::L33tSlider(TQWidget * parent, const char * name) :
TQSlider(parent,name), pressed(false)
{}
-L33tSlider::L33tSlider(Qt::Orientation o, TQWidget * parent, const char * name) :
+L33tSlider::L33tSlider(TQt::Orientation o, TQWidget * parent, const char * name) :
TQSlider(o,parent,name), pressed(false)
{}
L33tSlider::L33tSlider(int minValue, int maxValue, int pageStep, int value,
- Qt::Orientation o, TQWidget * parent, const char * name) :
+ TQt::Orientation o, TQWidget * parent, const char * name) :
TQSlider(minValue, maxValue, pageStep, value, o, parent,name), pressed(false)
{}
@@ -24,7 +24,7 @@ void L33tSlider::setValue(int i)
void L33tSlider::mousePressEvent(TQMouseEvent*e)
{
- if (e->button()!=Qt::RightButton)
+ if (e->button()!=TQt::RightButton)
{
pressed=true;
TQSlider::mousePressEvent(e);
@@ -67,7 +67,7 @@ int SliderAction::plug( TQWidget *w, int index )
int id = TDEAction::getToolButtonID();
//Create it.
- m_slider=new L33tSlider(0, 1000, 100, 0,Qt::Horizontal, toolBar);
+ m_slider=new L33tSlider(0, 1000, 100, 0,TQt::Horizontal, toolBar);
m_slider->setMinimumWidth(10);
toolBar->insertWidget(id, 10, m_slider, index );
diff --git a/noatun/library/equalizerview.cpp b/noatun/library/equalizerview.cpp
index bf779e39..dd809257 100644
--- a/noatun/library/equalizerview.cpp
+++ b/noatun/library/equalizerview.cpp
@@ -67,7 +67,7 @@ EqualizerLevel::EqualizerLevel(TQWidget *parent, VBand band)
TQVBoxLayout *layout = new TQVBoxLayout(this,
0, 0, "EqualizerLevel::layout");
- mSlider = new TQSlider(-200, 200, 25, 0, Qt::Vertical, this, "EqualizerLevel::mSlider");
+ mSlider = new TQSlider(-200, 200, 25, 0, TQt::Vertical, this, "EqualizerLevel::mSlider");
mSlider->setTickmarks(TQSlider::Left);
mSlider->setTickInterval(25);
layout->addWidget(mSlider);
diff --git a/noatun/library/noatun/controls.h b/noatun/library/noatun/controls.h
index 693b3fdc..813be2ee 100644
--- a/noatun/library/noatun/controls.h
+++ b/noatun/library/noatun/controls.h
@@ -26,9 +26,9 @@ TQ_OBJECT
public:
L33tSlider(TQWidget * parent, const char * name=0);
- L33tSlider(Qt::Orientation, TQWidget * parent, const char * name=0);
+ L33tSlider(TQt::Orientation, TQWidget * parent, const char * name=0);
L33tSlider(int minValue, int maxValue, int pageStep, int value,
- Qt::Orientation, TQWidget * parent, const char * name=0);
+ TQt::Orientation, TQWidget * parent, const char * name=0);
bool currentlyPressed() const;
signals:
diff --git a/noatun/library/noatuntags/tags.cpp b/noatun/library/noatuntags/tags.cpp
index 3c1bb2ac..7ac9e07f 100644
--- a/noatun/library/noatuntags/tags.cpp
+++ b/noatun/library/noatuntags/tags.cpp
@@ -201,7 +201,7 @@ Control::Control(TagsGetter *parent)
", and updates tags (e.g., ID3)",
"Interval:"), intervalLine);
TQSlider *slider=new TQSlider(
- 0, 2000, 100, 0,Qt::Horizontal, intervalLine
+ 0, 2000, 100, 0,TQt::Horizontal, intervalLine
);
TQSpinBox *spin=new TQSpinBox(
0, 2000, 10, intervalLine
diff --git a/noatun/library/video.cpp b/noatun/library/video.cpp
index db6886b3..0fceeb2d 100644
--- a/noatun/library/video.cpp
+++ b/noatun/library/video.cpp
@@ -151,7 +151,7 @@ void GlobalVideo::hide()
void GlobalVideo::mouseReleaseEvent(TQMouseEvent *e)
{
- if (e->button() == Qt::RightButton)
+ if (e->button() == TQt::RightButton)
{
menu->exec(mapToGlobal(e->pos()));
}
diff --git a/noatun/modules/artseffects/extrastereogui_impl.cpp b/noatun/modules/artseffects/extrastereogui_impl.cpp
index 92148ba0..c65ff19f 100644
--- a/noatun/modules/artseffects/extrastereogui_impl.cpp
+++ b/noatun/modules/artseffects/extrastereogui_impl.cpp
@@ -7,7 +7,7 @@ namespace Arts {
ExtraStereoGUI_impl::ExtraStereoGUI_impl() : TQWidget(0)
{
(new TQHBoxLayout(this))->setAutoAdd(true);
- mSlider=new TQSlider(0,100,10, 0,Qt::Horizontal, this);
+ mSlider=new TQSlider(0,100,10, 0,TQt::Horizontal, this);
mSlider->show();
show();
}
diff --git a/noatun/modules/excellent/userinterface.cpp b/noatun/modules/excellent/userinterface.cpp
index 12e7169b..40154489 100644
--- a/noatun/modules/excellent/userinterface.cpp
+++ b/noatun/modules/excellent/userinterface.cpp
@@ -98,7 +98,7 @@ Excellent::Excellent()
mainFrame = new TQHBox(this);
mainFrame->setSpacing(KDialog::spacingHint());
mainFrame->setMargin(0);
- slider = new L33tSlider(0, 1000, 10, 0, Qt::Horizontal, mainFrame);
+ slider = new L33tSlider(0, 1000, 10, 0, TQt::Horizontal, mainFrame);
slider->setTickmarks(TQSlider::NoMarks);
elapsed = new TQLabel(mainFrame);
@@ -373,7 +373,7 @@ void Excellent::handleLengthString(const TQString &text)
void Excellent::growVolumeControl(void)
{
- volumeSlider = new L33tSlider(0, 100, 10, 0,Qt::Vertical, mainFrame);
+ volumeSlider = new L33tSlider(0, 100, 10, 0,TQt::Vertical, mainFrame);
volumeSlider->setValue(100 - napp->player()->volume());
volumeSlider->show();
connect(volumeSlider, TQT_SIGNAL(sliderMoved(int)), TQT_SLOT(changeVolume(int)));
diff --git a/noatun/modules/kaiman/style.cpp b/noatun/modules/kaiman/style.cpp
index a11f569b..1e4da725 100644
--- a/noatun/modules/kaiman/style.cpp
+++ b/noatun/modules/kaiman/style.cpp
@@ -1400,7 +1400,7 @@ bool KaimanStyle::eventFilter( TQObject *o, TQEvent *e )
TQMouseEvent *m = (TQMouseEvent*)e;
// handle noatun context menu
- if (m->button()==Qt::RightButton) {
+ if (m->button()==TQt::RightButton) {
NoatunStdAction::ContextMenu::showContextMenu();
return true;
}
diff --git a/noatun/modules/kjofol-skin/kjloader.cpp b/noatun/modules/kjofol-skin/kjloader.cpp
index 9db30363..ce9c88c8 100644
--- a/noatun/modules/kjofol-skin/kjloader.cpp
+++ b/noatun/modules/kjofol-skin/kjloader.cpp
@@ -742,7 +742,7 @@ void KJLoader::mousePressEvent(TQMouseEvent *e)
// TQWidget::mousePressEvent(e);
- if ( e->button()==Qt::RightButton )
+ if ( e->button()==TQt::RightButton )
NoatunStdAction::ContextMenu::showContextMenu();
else /* if ( e->button()==LeftButton ) */
{
diff --git a/noatun/modules/noatunui/userinterface.cpp b/noatun/modules/noatunui/userinterface.cpp
index 1919fade..7019aea5 100644
--- a/noatun/modules/noatunui/userinterface.cpp
+++ b/noatun/modules/noatunui/userinterface.cpp
@@ -80,9 +80,9 @@ MilkChocolate::MilkChocolate() : TQWidget(0,"NoatunUI"), UserInterface()
}
- mVolume=new L33tSlider(0,100,10,0,Qt::Horizontal, this);
+ mVolume=new L33tSlider(0,100,10,0,TQt::Horizontal, this);
mVolume->setValue(napp->player()->volume());
- mSeeker=new L33tSlider(0,1000,10,0,Qt::Horizontal, this);
+ mSeeker=new L33tSlider(0,1000,10,0,TQt::Horizontal, this);
mStatusBar=new KStatusBar(this);
@@ -179,7 +179,7 @@ void MilkChocolate::dropEvent(TQDropEvent *event)
void MilkChocolate::mouseReleaseEvent(TQMouseEvent *e)
{
TQWidget::mouseReleaseEvent(e);
- if (e->button()!=Qt::RightButton) return;
+ if (e->button()!=TQt::RightButton) return;
NoatunStdAction::ContextMenu::showContextMenu();
}
@@ -281,7 +281,7 @@ void MilkChocolate::changeLoopType(int t)
bool MilkChocolate::eventFilter(TQObject *o, TQEvent *e)
{
if ((e->type() == TQEvent::MouseButtonRelease)
- && ((TQT_TQMOUSEEVENT(e))->button()==Qt::RightButton))
+ && ((TQT_TQMOUSEEVENT(e))->button()==TQt::RightButton))
{
mouseReleaseEvent(TQT_TQMOUSEEVENT(e));
return true;
diff --git a/noatun/modules/simple/userinterface.cpp b/noatun/modules/simple/userinterface.cpp
index c600338d..929ada84 100644
--- a/noatun/modules/simple/userinterface.cpp
+++ b/noatun/modules/simple/userinterface.cpp
@@ -214,7 +214,7 @@ void SimpleUI::setupCentralWidget()
TQToolTip::add( forwButton, i18n("Forward") );
connect( forwButton, TQT_SIGNAL(clicked()), napp->player(), TQT_SLOT(forward()) );
- slider = new L33tSlider( 0, 1000, 10, 0, Qt::Horizontal, ctlFrame );
+ slider = new L33tSlider( 0, 1000, 10, 0, TQt::Horizontal, ctlFrame );
slider->setFixedHeight( 24 );
slider->setMinimumWidth( 100 );
slider->setTickmarks( TQSlider::NoMarks );
@@ -242,7 +242,7 @@ void SimpleUI::setupCentralWidget()
volumeLabel->setFixedSize( volumeLabel->sizeHint() );
TQHBox *volumeSubFrame = new TQHBox( volumeFrame );
- volumeSlider = new L33tSlider( 0, 100, 10, 0,Qt::Vertical, volumeSubFrame );
+ volumeSlider = new L33tSlider( 0, 100, 10, 0,TQt::Vertical, volumeSubFrame );
volumeSlider->setValue( 100 - napp->player()->volume() );
volumeSlider->setFixedSize( volumeSlider->sizeHint() );
diff --git a/noatun/modules/systray/kitsystemtray.cpp b/noatun/modules/systray/kitsystemtray.cpp
index 963a9c69..358efb59 100644
--- a/noatun/modules/systray/kitsystemtray.cpp
+++ b/noatun/modules/systray/kitsystemtray.cpp
@@ -67,10 +67,10 @@ void KitSystemTray::mousePressEvent(TQMouseEvent *event)
{
switch(event->button())
{
- case Qt::LeftButton:
+ case TQt::LeftButton:
napp->toggleInterfaces();
break;
- case Qt::MidButton:
+ case TQt::MidButton:
if (YHConfig::self()->middleMouseAction() == YHConfig::HideShowPlaylist)
napp->playlist()->toggleList();
else // play or pause
diff --git a/noatun/modules/winskin/guiSpectrumAnalyser.cpp b/noatun/modules/winskin/guiSpectrumAnalyser.cpp
index ee01777a..a1ff8cdc 100644
--- a/noatun/modules/winskin/guiSpectrumAnalyser.cpp
+++ b/noatun/modules/winskin/guiSpectrumAnalyser.cpp
@@ -72,13 +72,13 @@ GuiSpectrumAnalyser::~GuiSpectrumAnalyser()
void GuiSpectrumAnalyser::mousePressEvent ( TQMouseEvent *e )
{
- if (e->button() == Qt::LeftButton) {
+ if (e->button() == TQt::LeftButton) {
if (visualization_mode == MODE_DISABLED)
setVisualizationMode(MODE_ANALYSER);
else
setVisualizationMode(MODE_DISABLED);
}
- else if (e->button() == Qt::RightButton) {
+ else if (e->button() == TQt::RightButton) {
contextMenu->popup(mapToGlobal(TQPoint(e->x(), e->y())));
}
}
diff --git a/noatun/modules/winskin/waButton.cpp b/noatun/modules/winskin/waButton.cpp
index 6ecf4050..318b5323 100644
--- a/noatun/modules/winskin/waButton.cpp
+++ b/noatun/modules/winskin/waButton.cpp
@@ -50,7 +50,7 @@ void WaButton::paintEvent(TQPaintEvent *) {
void WaButton::mousePressEvent(TQMouseEvent* e) {
- if (e->button() != Qt::LeftButton) {
+ if (e->button() != TQt::LeftButton) {
// We can't deal with it, but maybe the widget can do something clever
WaWidget::mousePressEvent(e);
}
diff --git a/noatun/modules/winskin/waDigit.cpp b/noatun/modules/winskin/waDigit.cpp
index 8e53c45f..3e953e6b 100644
--- a/noatun/modules/winskin/waDigit.cpp
+++ b/noatun/modules/winskin/waDigit.cpp
@@ -78,7 +78,7 @@ void WaDigit::paintEvent(TQPaintEvent *)
}
void WaDigit::mousePressEvent(TQMouseEvent* e) {
- if (e->button() == Qt::LeftButton) {
+ if (e->button() == TQt::LeftButton) {
reverse_time = !reverse_time;
emit digitsClicked();
}
diff --git a/noatun/modules/winskin/waInfo.cpp b/noatun/modules/winskin/waInfo.cpp
index 25c088e3..af64ecc2 100644
--- a/noatun/modules/winskin/waInfo.cpp
+++ b/noatun/modules/winskin/waInfo.cpp
@@ -150,7 +150,7 @@ void WaInfo::pixmapChange()
}
void WaInfo::mousePressEvent (TQMouseEvent *e) {
- if (e->button() == Qt::LeftButton)
+ if (e->button() == TQt::LeftButton)
xGrabbedPos = (e->x() + xScrollPos) % completePixmap->width();
}
diff --git a/noatun/modules/winskin/waSlider.cpp b/noatun/modules/winskin/waSlider.cpp
index 8c97c272..b3705e9d 100644
--- a/noatun/modules/winskin/waSlider.cpp
+++ b/noatun/modules/winskin/waSlider.cpp
@@ -102,7 +102,7 @@ void WaSlider::updateSliderPos(int value)
}
void WaSlider::mousePressEvent(TQMouseEvent *e) {
- if (e->button() != Qt::LeftButton && e->button() != Qt::MidButton) {
+ if (e->button() != TQt::LeftButton && e->button() != TQt::MidButton) {
WaWidget::mousePressEvent(e);
return;
}
diff --git a/noatun/modules/winskin/waTitleBar.cpp b/noatun/modules/winskin/waTitleBar.cpp
index 9570dac0..fa1e0e7c 100644
--- a/noatun/modules/winskin/waTitleBar.cpp
+++ b/noatun/modules/winskin/waTitleBar.cpp
@@ -34,7 +34,7 @@ WaTitleBar::~WaTitleBar()
void WaTitleBar::mousePressEvent(TQMouseEvent * e)
{
- if (e->button() != Qt::RightButton) {
+ if (e->button() != TQt::RightButton) {
if (!moving) {
moving = true;
mDragStart = e->pos();
@@ -55,7 +55,7 @@ void WaTitleBar::mouseDoubleClickEvent(TQMouseEvent *) {
void WaTitleBar::mouseReleaseEvent(TQMouseEvent * e)
{
- if (e->button() != Qt::RightButton) {
+ if (e->button() != TQt::RightButton) {
moving = false;
update();
return;
diff --git a/noatun/modules/winskin/waWidget.cpp b/noatun/modules/winskin/waWidget.cpp
index 4a44f252..69f797f5 100644
--- a/noatun/modules/winskin/waWidget.cpp
+++ b/noatun/modules/winskin/waWidget.cpp
@@ -46,7 +46,7 @@ TQSize WaWidget::sizeHint() {
}
void WaWidget::mousePressEvent(TQMouseEvent *e) {
- if (e->button() == Qt::RightButton)
+ if (e->button() == TQt::RightButton)
NoatunStdAction::ContextMenu::showContextMenu();
}
diff --git a/noatun/modules/winskin/winSkinConfig.cpp b/noatun/modules/winskin/winSkinConfig.cpp
index c7dad1ae..961ed457 100644
--- a/noatun/modules/winskin/winSkinConfig.cpp
+++ b/noatun/modules/winskin/winSkinConfig.cpp
@@ -55,7 +55,7 @@ WinSkinConfig::WinSkinConfig(TQWidget * parent, WaSkinManager *waSkinManager) :
mWaSkinManager = waSkinManager;
- TQGroupBox *settingsBox = new TQGroupBox( 1,Qt::Vertical, i18n("Settings"), this );
+ TQGroupBox *settingsBox = new TQGroupBox( 1,TQt::Vertical, i18n("Settings"), this );
vbox->addWidget(settingsBox);
TQHBox *box = new TQHBox(settingsBox);
@@ -68,7 +68,7 @@ WinSkinConfig::WinSkinConfig(TQWidget * parent, WaSkinManager *waSkinManager) :
scrollSpeed->setMinValue( 0 );
scrollSpeed->setMaxValue( 50 );
scrollSpeed->setPageStep( 1 );
- scrollSpeed->setOrientation( Qt::Horizontal );
+ scrollSpeed->setOrientation( TQt::Horizontal );
scrollSpeed->setTickmarks( TQSlider::NoMarks );
label = new TQLabel(i18n("Fast"), box);
diff --git a/tdeioslave/audiocd/plugins/flac/encoderflac.cpp b/tdeioslave/audiocd/plugins/flac/encoderflac.cpp
index ed1c5dde..f8a839c5 100644
--- a/tdeioslave/audiocd/plugins/flac/encoderflac.cpp
+++ b/tdeioslave/audiocd/plugins/flac/encoderflac.cpp
@@ -187,7 +187,7 @@ void EncoderFLAC::fillSongInfo( KCDDB::CDInfo info, int track, const TQString &c
Comment("Date", TQString() )};
if (info.get("Year").toInt() > 0) {
TQDateTime dt(TQDate(info.get("Year").toInt(), 1, 1));
- comments[6] = Comment("Date", dt.toString(Qt::ISODate));
+ comments[6] = Comment("Date", dt.toString(TQt::ISODate));
}
FLAC__StreamMetadata_VorbisComment_Entry entry;
diff --git a/tdeioslave/audiocd/plugins/vorbis/encodervorbis.cpp b/tdeioslave/audiocd/plugins/vorbis/encodervorbis.cpp
index 5507b6f2..ca9e0294 100644
--- a/tdeioslave/audiocd/plugins/vorbis/encodervorbis.cpp
+++ b/tdeioslave/audiocd/plugins/vorbis/encodervorbis.cpp
@@ -313,7 +313,7 @@ void EncoderVorbis::fillSongInfo( KCDDB::CDInfo info, int track, const TQString
if (info.get("year").toInt() > 0) {
TQDateTime dt(TQDate(info.get("year").toInt(), 1, 1));
- commentFields.append(CommentField("date", dt.toString(Qt::ISODate).utf8().data()));
+ commentFields.append(CommentField("date", dt.toString(TQt::ISODate).utf8().data()));
}
for(TQValueListIterator<CommentField> it = commentFields.begin(); it != commentFields.end(); ++it) {
diff --git a/tdemid/channelview.cpp b/tdemid/channelview.cpp
index 50a88f24..27410baa 100644
--- a/tdemid/channelview.cpp
+++ b/tdemid/channelview.cpp
@@ -44,7 +44,7 @@ ChannelView::ChannelView(void) : TDEMainWindow(0, "ChannelView")
Channel[i]->setGeometry(5,5+i*CHANNELHEIGHT,width()-20,CHANNELHEIGHT);
Channel[i]->show();
}
- scrollbar=new TQScrollBar(1,16,1,1,1,Qt::Vertical,this,"Channelscrollbar");
+ scrollbar=new TQScrollBar(1,16,1,1,1,TQt::Vertical,this,"Channelscrollbar");
connect(scrollbar,TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(ScrollChn(int)));
setScrollBarRange();
}
diff --git a/tdemid/tdemidclient.cpp b/tdemid/tdemidclient.cpp
index b05411bc..cc6cce2d 100644
--- a/tdemid/tdemidclient.cpp
+++ b/tdemid/tdemidclient.cpp
@@ -90,7 +90,7 @@ tdemidClient::tdemidClient(TQWidget *parent, TDEActionCollection *ac, const char
// currentsl=slman->getCollection(activecollection);
itsme=0;
m_kMid.pid=0;
- timebar = new TQSlider(0,240000,30000,60000,Qt::Horizontal, this);
+ timebar = new TQSlider(0,240000,30000,60000,TQt::Horizontal, this);
timebar->setSteps(30000,60000);
timebar->setValue(0);
connect (timebar,TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(slotSeek(int)));
@@ -125,7 +125,7 @@ tdemidClient::tdemidClient(TQWidget *parent, TDEActionCollection *ac, const char
rhythmview->setMaximumHeight(7);
rhythmview->setMinimumHeight(7);
- volumebar = new TQSlider(0,200,10,100,Qt::Vertical, this );
+ volumebar = new TQSlider(0,200,10,100,TQt::Vertical, this );
volumebar->setSteps(10,20);
volumebar->setValue(100);
volumebar->setTickmarks(TQSlider::NoMarks);