Add media functions to UtilityTabController

This commit is contained in:
Vasily
2019-01-12 19:14:57 +01:00
parent 7da9d0e61f
commit ace455d3d3
2 changed files with 21 additions and 0 deletions
@@ -88,6 +88,23 @@ void UtilitiesTabController::sendKeyboardBackspace( const int count )
keyboardInput->sendKeyboardBackspace( count );
}
void UtilitiesTabController::sendMediaNextSong()
{
keyboardInput->sendMediaNextSong();
}
void UtilitiesTabController::sendMediaPreviousSong()
{
keyboardInput->sendMediaPreviousSong();
}
void UtilitiesTabController::sendMediaPausePlay()
{
keyboardInput->sendMediaPausePlay();
}
void UtilitiesTabController::sendMediaStopSong()
{
keyboardInput->sendMediaStopSong();
}
bool UtilitiesTabController::alarmEnabled() const
{
return m_alarmEnabled;
@@ -70,6 +70,10 @@ public slots:
void sendKeyboardEnter();
void sendKeyboardAltTab();
void sendKeyboardBackspace( const int count );
void sendMediaNextSong();
void sendMediaPreviousSong();
void sendMediaPausePlay();
void sendMediaStopSong();
void setAlarmEnabled( bool enabled, bool notify = true );
void setAlarmIsModal( bool modal, bool notify = true );