|
|
|
@ -52,7 +52,7 @@ ToolBar::ToolBar(TQWidget* parent)
|
|
|
|
|
m_playBtn->setToggleButton(true);
|
|
|
|
|
|
|
|
|
|
TDEIconLoader* loader = kapp->iconLoader();
|
|
|
|
|
m_playBtn->setIconSet(loader->loadIcon("player_pause", TDEIcon::NoGroup, 22));
|
|
|
|
|
m_playBtn->setIconSet(loader->loadIcon("media-playback-pause", TDEIcon::NoGroup, 22));
|
|
|
|
|
m_prevBtn->setIconSet(loader->loadIcon("back", TDEIcon::NoGroup, 22));
|
|
|
|
|
m_nextBtn->setIconSet(loader->loadIcon("forward", TDEIcon::NoGroup, 22));
|
|
|
|
|
m_stopBtn->setIconSet(loader->loadIcon("process-stop", TDEIcon::NoGroup, 22));
|
|
|
|
@ -130,14 +130,14 @@ void ToolBar::slotPlayBtnToggled()
|
|
|
|
|
{
|
|
|
|
|
m_canHide = false;
|
|
|
|
|
TDEIconLoader* loader = kapp->iconLoader();
|
|
|
|
|
m_playBtn->setIconSet(loader->loadIcon("player_play", TDEIcon::NoGroup, 22));
|
|
|
|
|
m_playBtn->setIconSet(loader->loadIcon("media-playback-start", TDEIcon::NoGroup, 22));
|
|
|
|
|
emit signalPause();
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
m_canHide = true;
|
|
|
|
|
TDEIconLoader* loader = kapp->iconLoader();
|
|
|
|
|
m_playBtn->setIconSet(loader->loadIcon("player_pause", TDEIcon::NoGroup, 22));
|
|
|
|
|
m_playBtn->setIconSet(loader->loadIcon("media-playback-pause", TDEIcon::NoGroup, 22));
|
|
|
|
|
emit signalPlay();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -149,7 +149,7 @@ void ToolBar::slotNexPrevClicked()
|
|
|
|
|
m_playBtn->setOn(true);
|
|
|
|
|
m_canHide = false;
|
|
|
|
|
TDEIconLoader* loader = kapp->iconLoader();
|
|
|
|
|
m_playBtn->setIconSet(loader->loadIcon("player_play", TDEIcon::NoGroup, 22));
|
|
|
|
|
m_playBtn->setIconSet(loader->loadIcon("media-playback-start", TDEIcon::NoGroup, 22));
|
|
|
|
|
emit signalPause();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|