diff options
Diffstat (limited to 'juk/playermanager.cpp')
-rw-r--r-- | juk/playermanager.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/juk/playermanager.cpp b/juk/playermanager.cpp index 0ecc9e84..26fde611 100644 --- a/juk/playermanager.cpp +++ b/juk/playermanager.cpp @@ -239,10 +239,10 @@ void PlayerManager::setStatusLabel(StatusLabel *label) m_statusLabel = label; } -KSelectAction *PlayerManager::playerSelectAction(TQObject *parent) // static +TDESelectAction *PlayerManager::playerSelectAction(TQObject *parent) // static { - KSelectAction *action = 0; - action = new KSelectAction(i18n("&Output To"), 0, parent, "outputSelect"); + TDESelectAction *action = 0; + action = new TDESelectAction(i18n("&Output To"), 0, parent, "outputSelect"); TQStringList l; #if HAVE_ARTS @@ -305,7 +305,7 @@ void PlayerManager::play(const FileHandle &file) action("pause")->setEnabled(true); action("stop")->setEnabled(true); action("forward")->setEnabled(true); - if(action<KToggleAction>("albumRandomPlay")->isChecked()) + if(action<TDEToggleAction>("albumRandomPlay")->isChecked()) action("forwardAlbum")->setEnabled(true); action("back")->setEnabled(true); @@ -651,10 +651,10 @@ void PlayerManager::setup() // Call this method manually to avoid warnings. - KAction *outputAction = actions()->action("outputSelect"); + TDEAction *outputAction = actions()->action("outputSelect"); if(outputAction) { - setOutput(static_cast<KSelectAction *>(outputAction)->currentText()); + setOutput(static_cast<TDESelectAction *>(outputAction)->currentText()); connect(outputAction, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(slotSetOutput(const TQString &))); } else @@ -678,9 +678,9 @@ void PlayerManager::setup() TQString PlayerManager::randomPlayMode() const { - if(action<KToggleAction>("randomPlay")->isChecked()) + if(action<TDEToggleAction>("randomPlay")->isChecked()) return "Random"; - if(action<KToggleAction>("albumRandomPlay")->isChecked()) + if(action<TDEToggleAction>("albumRandomPlay")->isChecked()) return "AlbumRandom"; return "NoRandom"; } @@ -688,11 +688,11 @@ TQString PlayerManager::randomPlayMode() const void PlayerManager::setRandomPlayMode(const TQString &randomMode) { if(randomMode.lower() == "random") - action<KToggleAction>("randomPlay")->setChecked(true); + action<TDEToggleAction>("randomPlay")->setChecked(true); if(randomMode.lower() == "albumrandom") - action<KToggleAction>("albumRandomPlay")->setChecked(true); + action<TDEToggleAction>("albumRandomPlay")->setChecked(true); if(randomMode.lower() == "norandom") - action<KToggleAction>("disableRandomPlay")->setChecked(true); + action<TDEToggleAction>("disableRandomPlay")->setChecked(true); } #include "playermanager.moc" |