diff options
Diffstat (limited to 'kaffeine/src/player-parts/dummy-part/dummy_part.cpp')
-rw-r--r-- | kaffeine/src/player-parts/dummy-part/dummy_part.cpp | 12 |
1 files changed, 6 insertions, 6 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"); } |