Line 335... |
Line 335... |
335 |
* let Qt display the graphic.
|
335 |
* let Qt display the graphic.
|
336 |
* If there are some animations on a subpage defined, this is also handled by
|
336 |
* If there are some animations on a subpage defined, this is also handled by
|
337 |
* Qt. Especialy sliding and fading.
|
337 |
* Qt. Especialy sliding and fading.
|
338 |
*/
|
338 |
*/
|
339 |
MainWindow::MainWindow()
|
339 |
MainWindow::MainWindow()
|
- |
|
340 |
: mIntercom(this)
|
340 |
{
|
341 |
{
|
341 |
DECL_TRACER("MainWindow::MainWindow()");
|
342 |
DECL_TRACER("MainWindow::MainWindow()");
|
342 |
|
343 |
|
343 |
TObject::setParent(this);
|
344 |
TObject::setParent(this);
|
344 |
|
345 |
|
Line 5865... |
Line 5866... |
5865 |
{
|
5866 |
{
|
5866 |
DECL_TRACER("MainWindow::onMediaStatusChanged(QMediaPlayer::MediaStatus status)");
|
5867 |
DECL_TRACER("MainWindow::onMediaStatusChanged(QMediaPlayer::MediaStatus status)");
|
5867 |
|
5868 |
|
5868 |
switch(status)
|
5869 |
switch(status)
|
5869 |
{
|
5870 |
{
|
5870 |
case QMediaPlayer::NoMedia: MSG_WARNING("The is no current media."); break;
|
5871 |
case QMediaPlayer::NoMedia: MSG_WARNING("There is no current media."); break;
|
5871 |
case QMediaPlayer::LoadingMedia: MSG_INFO("The current media is being loaded."); break;
|
5872 |
case QMediaPlayer::LoadingMedia: MSG_INFO("The current media is being loaded."); break;
|
5872 |
case QMediaPlayer::LoadedMedia: MSG_INFO("The current media has been loaded."); break;
|
5873 |
case QMediaPlayer::LoadedMedia: MSG_INFO("The current media has been loaded."); break;
|
5873 |
case QMediaPlayer::StalledMedia: MSG_WARNING("Playback of the current media has stalled due to insufficient buffering or some other temporary interruption."); break;
|
5874 |
case QMediaPlayer::StalledMedia: MSG_WARNING("Playback of the current media has stalled due to insufficient buffering or some other temporary interruption."); break;
|
5874 |
case QMediaPlayer::BufferingMedia: MSG_INFO("The player is buffering data but has enough data buffered for playback to continue for the immediate future."); break;
|
5875 |
case QMediaPlayer::BufferingMedia: MSG_INFO("The player is buffering data but has enough data buffered for playback to continue for the immediate future."); break;
|
5875 |
case QMediaPlayer::BufferedMedia: MSG_INFO("The player has fully buffered the current media."); break;
|
5876 |
case QMediaPlayer::BufferedMedia: MSG_INFO("The player has fully buffered the current media."); break;
|
Line 5911... |
Line 5912... |
5911 |
|
5912 |
|
5912 |
void MainWindow::intercomMicLevel(int level)
|
5913 |
void MainWindow::intercomMicLevel(int level)
|
5913 |
{
|
5914 |
{
|
5914 |
DECL_TRACER("MainWindow::intercomMicLevel(int level)");
|
5915 |
DECL_TRACER("MainWindow::intercomMicLevel(int level)");
|
5915 |
|
5916 |
|
5916 |
mIntercom.setMicrophonLevel(level);
|
5917 |
mIntercom.setMicrophoneLevel(level);
|
5917 |
}
|
5918 |
}
|
5918 |
|
5919 |
|
5919 |
void MainWindow::intercomSpkLevel(int level)
|
5920 |
void MainWindow::intercomSpkLevel(int level)
|
5920 |
{
|
5921 |
{
|
5921 |
DECL_TRACER("MainWindow::intercomSpkLevel(int level)");
|
5922 |
DECL_TRACER("MainWindow::intercomSpkLevel(int level)");
|