From 395a904bff7b4d6ead445c342f7ac0c5fbf29121 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 18 Jun 2011 17:00:31 +0000 Subject: TQt4 port kdeaddons This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1237404 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- noatun-plugins/charlatan/userinterface.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'noatun-plugins/charlatan/userinterface.cpp') diff --git a/noatun-plugins/charlatan/userinterface.cpp b/noatun-plugins/charlatan/userinterface.cpp index b9bb4c1..8e67516 100644 --- a/noatun-plugins/charlatan/userinterface.cpp +++ b/noatun-plugins/charlatan/userinterface.cpp @@ -48,7 +48,7 @@ #include "seeker.h" Charlatan::Charlatan() - : QWidget (0, "Charlatan"), + : TQWidget (0, "Charlatan"), UserInterface (), previousButton_ (0L), stopButton_ (0L), @@ -189,7 +189,7 @@ Charlatan::Charlatan() connect ( - new CharlatanConfigModule(this), + new CharlatanConfigModule(TQT_TQOBJECT(this)), TQT_SIGNAL(saved()), TQT_SLOT(slotConfigChanged()) ); @@ -321,7 +321,7 @@ bool Charlatan::eventFilter(TQObject *o, TQEvent *e) switch (e->type()) { case TQEvent::Wheel: - wheelEvent(static_cast(e)); + wheelEvent(TQT_TQWHEELEVENT(e)); return true; break; @@ -344,7 +344,7 @@ void Charlatan::slotPlayListHidden() void Charlatan::mousePressEvent(TQMouseEvent * e) { - if (e->button() == RightButton) + if (e->button() == Qt::RightButton) { NoatunStdAction::ContextMenu::showContextMenu(); return; @@ -366,7 +366,7 @@ void Charlatan::slotConfigChanged() void Charlatan::slotVolumeChanged(int i) { - TQString message(i18n("Volume: %1").arg(i)); + TQString message(i18n("Volume: %1").tqarg(i)); showingVolumeTimer_->start(2000, true); titleLabel_->setText(message); -- cgit v1.2.1