Classified ads
callstatus.h
Go to the documentation of this file.
1 /* -*-C++-*- -*-coding: utf-8-unix;-*-
2  Classified Ads is Copyright (c) Antti Järvinen 2015.
3 
4  This file is part of Classified Ads.
5 
6  Classified Ads is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Lesser General Public
8  License as published by the Free Software Foundation; either
9  version 2.1 of the License, or (at your option) any later version.
10 
11  Classified Ads is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Lesser General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public
17  License along with Classified Ads; if not, write to the Free Software
18  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20 
21 #ifndef CA_CALLSTATUS_DIALOG_H
22 #define CA_CALLSTATUS_DIALOG_H
23 
24 #include <QDialog>
25 #include "../mcontroller.h"
26 #include "../ui_callStatusDialog.h"
27 #include "../net/voicecallengine.h" // for call status observer
28 
29 class CallButtonDelegate ;
30 
34 class CallStatusDialog : public QDialog,
35  public VoiceCallEngine::MCallStatusObserver {
36  Q_OBJECT
37 
38 public:
42  CallStatusDialog(QWidget *aParent,
43  MController& aController );
46 
48  virtual void callStatusChanged(quint32 aCallId,
50 
51 public slots:
57  void audioInputLevel(float aInputLevel) ;
61  void audioOutputLevel(float aOutputLevel) ;
62 signals:
64  const QString& aExplanation) ;
65 private:
69 };
70 
71 #endif
void error(MController::CAErrorSituation aError, const QString &aExplanation)
CallStatusDialog(QWidget *aParent, MController &aController)
void audioOutputLevel(float aOutputLevel)
class for displaying button inside table view
Definition: callbuttondelegate.h:34
CAErrorSituation
Definition: mcontroller.h:57
MController & iController
Definition: callstatus.h:67
Pure-virtual interface class for controller. This is spammed across parties needing access to applica...
Definition: mcontroller.h:48
virtual void callStatusChanged(quint32 aCallId, VoiceCallEngine::CallState aState)
Ui_callStatusDialog ui
Definition: callstatus.h:66
class for displaying voice call controls
Definition: callstatus.h:34
CallState
Definition: mvoicecallengine.h:38
Definition: ui_callStatusDialog.h:26
CallButtonDelegate * iCallButtonDelegate
Definition: callstatus.h:68
void audioInputLevel(float aInputLevel)