Add media functions to UtilityTabController
This commit is contained in:
@@ -88,6 +88,23 @@ void UtilitiesTabController::sendKeyboardBackspace( const int count )
|
|||||||
keyboardInput->sendKeyboardBackspace( 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
|
bool UtilitiesTabController::alarmEnabled() const
|
||||||
{
|
{
|
||||||
return m_alarmEnabled;
|
return m_alarmEnabled;
|
||||||
|
|||||||
@@ -70,6 +70,10 @@ public slots:
|
|||||||
void sendKeyboardEnter();
|
void sendKeyboardEnter();
|
||||||
void sendKeyboardAltTab();
|
void sendKeyboardAltTab();
|
||||||
void sendKeyboardBackspace( const int count );
|
void sendKeyboardBackspace( const int count );
|
||||||
|
void sendMediaNextSong();
|
||||||
|
void sendMediaPreviousSong();
|
||||||
|
void sendMediaPausePlay();
|
||||||
|
void sendMediaStopSong();
|
||||||
|
|
||||||
void setAlarmEnabled( bool enabled, bool notify = true );
|
void setAlarmEnabled( bool enabled, bool notify = true );
|
||||||
void setAlarmIsModal( bool modal, bool notify = true );
|
void setAlarmIsModal( bool modal, bool notify = true );
|
||||||
|
|||||||
Reference in New Issue
Block a user