diff options
Diffstat (limited to 'kaffeine/src/player-parts/dummy-part')
-rw-r--r-- | kaffeine/src/player-parts/dummy-part/dummy_part.cpp | 12 | ||||
-rw-r--r-- | kaffeine/src/player-parts/dummy-part/dummy_part.h | 3 |
2 files changed, 8 insertions, 7 deletions
diff --git a/kaffeine/src/player-parts/dummy-part/dummy_part.cpp b/kaffeine/src/player-parts/dummy-part/dummy_part.cpp index 7c52cf7..caf4e7b 100644 --- a/kaffeine/src/player-parts/dummy-part/dummy_part.cpp +++ b/kaffeine/src/player-parts/dummy-part/dummy_part.cpp @@ -27,14 +27,14 @@ typedef KParts::GenericFactory<DummyPart> DummyPartFactory; K_EXPORT_COMPONENT_FACTORY (libdummypart, DummyPartFactory); -DummyPart::DummyPart(QWidget* parentWidget, const char* widgetName, QObject* parent, const char* name, const QStringList& /*args*/) -: KaffeinePart(parent, name ? name : "DummyPart") +DummyPart::DummyPart(TQWidget* tqparentWidget, const char* widgetName, TQObject* tqparent, const char* name, const TQStringList& /*args*/) +: KaffeinePart(tqparent, name ? name : "DummyPart") { // we need an instance setInstance(DummyPartFactory::instance()); // m_player = new Player(this); - // m_player->setFocusPolicy(QWidget::ClickFocus); + // m_player->setFocusPolicy(TQ_ClickFocus); // setWidget(m_player); setXMLFile("dummy_part.rc"); @@ -114,7 +114,7 @@ void DummyPart::slotMute() void DummyPart::initActions() { - new KAction(i18n("Play"), "player_play", 0, this, SLOT(slotPlay()), actionCollection(), "player_play"); - new KAction(i18n("Pause"), "player_pause", Key_Space, this, SLOT(slotTogglePause()), actionCollection(), "player_pause"); - new KAction(i18n("Stop"), "player_stop", Key_Backspace, this, SLOT(slotStop()), actionCollection(), "player_stop"); + new KAction(i18n("Play"), "player_play", 0, this, TQT_SLOT(slotPlay()), actionCollection(), "player_play"); + new KAction(i18n("Pause"), "player_pause", Key_Space, this, TQT_SLOT(slotTogglePause()), actionCollection(), "player_pause"); + new KAction(i18n("Stop"), "player_stop", Key_Backspace, this, TQT_SLOT(slotStop()), actionCollection(), "player_stop"); } diff --git a/kaffeine/src/player-parts/dummy-part/dummy_part.h b/kaffeine/src/player-parts/dummy-part/dummy_part.h index 8f9a568..413d327 100644 --- a/kaffeine/src/player-parts/dummy-part/dummy_part.h +++ b/kaffeine/src/player-parts/dummy-part/dummy_part.h @@ -35,8 +35,9 @@ class DummyPart : public KaffeinePart { Q_OBJECT + TQ_OBJECT public: - DummyPart(QWidget*, const char*, QObject*, const char*, const QStringList&); + DummyPart(TQWidget*, const char*, TQObject*, const char*, const TQStringList&); virtual ~DummyPart(); /* |