summaryrefslogtreecommitdiffstats
path: root/kscd/docking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kscd/docking.cpp')
-rw-r--r--kscd/docking.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/kscd/docking.cpp b/kscd/docking.cpp
index 821e626d..705c2ca8 100644
--- a/kscd/docking.cpp
+++ b/kscd/docking.cpp
@@ -24,8 +24,8 @@
#include "docking.h"
#include "kscd.h"
-#include <qhbox.h>
-#include <qtooltip.h>
+#include <tqhbox.h>
+#include <tqtooltip.h>
#include <kaboutdata.h>
#include <kactioncollection.h>
@@ -51,22 +51,22 @@ DockWidget::DockWidget( KSCD* parent, const char *name)
m_forwardPix = loadIcon("player_end");
// popup menu for right mouse button
- QPopupMenu* popup = contextMenu();
+ TQPopupMenu* popup = contextMenu();
- popup->insertItem(KGlobal::iconLoader()->loadIconSet("player_play", KIcon::Small), i18n("Play/Pause"), parent, SLOT(playClicked()));
- popup->insertItem(KGlobal::iconLoader()->loadIconSet("player_stop", KIcon::Small), i18n("Stop"), parent, SLOT(stopClicked()));
- popup->insertItem(KGlobal::iconLoader()->loadIconSet("player_end", KIcon::Small), i18n("Next"), parent, SLOT(nextClicked()));
- popup->insertItem(KGlobal::iconLoader()->loadIconSet("player_start", KIcon::Small), i18n("Previous"), parent, SLOT(prevClicked()));
- popup->insertItem(KGlobal::iconLoader()->loadIconSet("player_eject", KIcon::Small), i18n("Eject"), parent, SLOT(ejectClicked()));
+ popup->insertItem(KGlobal::iconLoader()->loadIconSet("player_play", KIcon::Small), i18n("Play/Pause"), parent, TQT_SLOT(playClicked()));
+ popup->insertItem(KGlobal::iconLoader()->loadIconSet("player_stop", KIcon::Small), i18n("Stop"), parent, TQT_SLOT(stopClicked()));
+ popup->insertItem(KGlobal::iconLoader()->loadIconSet("player_end", KIcon::Small), i18n("Next"), parent, TQT_SLOT(nextClicked()));
+ popup->insertItem(KGlobal::iconLoader()->loadIconSet("player_start", KIcon::Small), i18n("Previous"), parent, TQT_SLOT(prevClicked()));
+ popup->insertItem(KGlobal::iconLoader()->loadIconSet("player_eject", KIcon::Small), i18n("Eject"), parent, TQT_SLOT(ejectClicked()));
- QToolTip::add(this, kapp->aboutData()->programName());
+ TQToolTip::add(this, kapp->aboutData()->programName());
}
DockWidget::~DockWidget()
{
}
-void DockWidget::createPopup(const QString &songName, bool addButtons)
+void DockWidget::createPopup(const TQString &songName, bool addButtons)
{
if (!Prefs::trackAnnouncement())
return;
@@ -74,23 +74,23 @@ void DockWidget::createPopup(const QString &songName, bool addButtons)
delete m_popup;
m_popup = new KPassivePopup(this);
- QHBox* box = new QHBox(m_popup);
+ TQHBox* box = new TQHBox(m_popup);
if (addButtons)
{
- QPushButton* backButton = new QPushButton(m_backPix, 0, box, "popup_back");
+ TQPushButton* backButton = new TQPushButton(m_backPix, 0, box, "popup_back");
backButton->setFlat(true);
- connect(backButton, SIGNAL(clicked()), m_backAction, SLOT(activate()));
+ connect(backButton, TQT_SIGNAL(clicked()), m_backAction, TQT_SLOT(activate()));
}
- QLabel* l = new QLabel(songName, box);
+ TQLabel* l = new TQLabel(songName, box);
l->setMargin(3);
if (addButtons)
{
- QPushButton* forwardButton = new QPushButton(m_forwardPix, 0, box, "popup_forward");
+ TQPushButton* forwardButton = new TQPushButton(m_forwardPix, 0, box, "popup_forward");
forwardButton->setFlat(true);
- connect(forwardButton, SIGNAL(clicked()), m_forwardAction, SLOT(activate()));
+ connect(forwardButton, TQT_SIGNAL(clicked()), m_forwardAction, TQT_SLOT(activate()));
}
m_popup->setView(box);
@@ -98,7 +98,7 @@ void DockWidget::createPopup(const QString &songName, bool addButtons)
m_popup->show();
}
-void DockWidget::setToolTip(const QString& text)
+void DockWidget::setToolTip(const TQString& text)
{
if (tip == text)
{
@@ -106,19 +106,19 @@ void DockWidget::setToolTip(const QString& text)
}
tip = text;
- QToolTip::remove(this);
+ TQToolTip::remove(this);
if (text.isEmpty())
{
- QToolTip::add(this, kapp->aboutData()->programName());
+ TQToolTip::add(this, kapp->aboutData()->programName());
}
else
{
- QToolTip::add(this, text);
+ TQToolTip::add(this, text);
}
}
-void DockWidget::wheelEvent(QWheelEvent *e)
+void DockWidget::wheelEvent(TQWheelEvent *e)
{
if (e->orientation() == Horizontal)
return;