summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/winskin')
-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
8 files changed, 11 insertions, 11 deletions
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);