diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 17:00:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 17:00:31 +0000 |
commit | 395a904bff7b4d6ead445c342f7ac0c5fbf29121 (patch) | |
tree | 9829cadb79d2cc7c29a940627fadb28b11e54150 /noatun-plugins/charlatan/userinterface.cpp | |
parent | 399f47c376fdf4d19192732a701ea9578d11619d (diff) | |
download | tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.tar.gz tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.zip |
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
Diffstat (limited to 'noatun-plugins/charlatan/userinterface.cpp')
-rw-r--r-- | noatun-plugins/charlatan/userinterface.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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<TQWheelEvent*>(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); |