Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
d5ccf5b7
Commit
d5ccf5b7
authored
May 24, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ui/views/App/Calls/ConferenceManager): in progress
parent
13e4822e
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
26 deletions
+20
-26
en.ts
linphone-desktop/assets/languages/en.ts
+0
-4
fr.ts
linphone-desktop/assets/languages/fr.ts
+0
-4
ConferenceModel.cpp
...one-desktop/src/components/conference/ConferenceModel.cpp
+13
-0
ConferenceModel.hpp
...one-desktop/src/components/conference/ConferenceModel.hpp
+2
-0
CallsWindow.js
linphone-desktop/ui/views/App/Calls/CallsWindow.js
+4
-1
Conference.qml
linphone-desktop/ui/views/App/Calls/Conference.qml
+0
-16
linphone
submodules/linphone
+1
-1
No files found.
linphone-desktop/assets/languages/en.ts
View file @
d5ccf5b7
...
@@ -363,10 +363,6 @@ Server url not configured.</translation>
...
@@ -363,10 +363,6 @@ Server url not configured.</translation>
<
source
>
conferenceTitle
<
/source
>
<
source
>
conferenceTitle
<
/source
>
<
translation
>
CONFERENCE
<
/translation
>
<
translation
>
CONFERENCE
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
source
>
pendingRequestLabel
<
/source
>
<
translation
>
Please
to
wait
,
a
request
is
pending
.
<
/translation
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
context
>
<
name
>
ConferenceManager
<
/name
>
<
name
>
ConferenceManager
<
/name
>
...
...
linphone-desktop/assets/languages/fr.ts
View file @
d5ccf5b7
...
@@ -363,10 +363,6 @@ Url du serveur non configurée.</translation>
...
@@ -363,10 +363,6 @@ Url du serveur non configurée.</translation>
<
source
>
conferenceTitle
<
/source
>
<
source
>
conferenceTitle
<
/source
>
<
translation
>
CONF
É
RENCE
<
/translation
>
<
translation
>
CONF
É
RENCE
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
source
>
pendingRequestLabel
<
/source
>
<
translation
>
Merci
de
patienter
,
une
requ
ê
te
est
en
attente
.
<
/translation
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
context
>
<
name
>
ConferenceManager
<
/name
>
<
name
>
ConferenceManager
<
/name
>
...
...
linphone-desktop/src/components/conference/ConferenceModel.cpp
View file @
d5ccf5b7
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include "../../Utils.hpp"
#include "../../Utils.hpp"
#include "../core/CoreManager.hpp"
#include "../core/CoreManager.hpp"
#include "ConferenceHelperModel.hpp"
#include "ConferenceModel.hpp"
#include "ConferenceModel.hpp"
...
@@ -57,6 +58,18 @@ QVariant ConferenceModel::data (const QModelIndex &index, int role) const {
...
@@ -57,6 +58,18 @@ QVariant ConferenceModel::data (const QModelIndex &index, int role) const {
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
void
ConferenceModel
::
terminate
()
{
shared_ptr
<
linphone
::
Core
>
core
=
CoreManager
::
getInstance
()
->
getCore
();
core
->
terminateConference
();
for
(
const
auto
&
call
:
core
->
getCalls
())
{
if
(
call
->
getParams
()
->
getLocalConferenceMode
())
call
->
terminate
();
}
}
// -----------------------------------------------------------------------------
void
ConferenceModel
::
startRecording
()
{
void
ConferenceModel
::
startRecording
()
{
if
(
mRecording
)
if
(
mRecording
)
return
;
return
;
...
...
linphone-desktop/src/components/conference/ConferenceModel.hpp
View file @
d5ccf5b7
...
@@ -43,6 +43,8 @@ public:
...
@@ -43,6 +43,8 @@ public:
QHash
<
int
,
QByteArray
>
roleNames
()
const
override
;
QHash
<
int
,
QByteArray
>
roleNames
()
const
override
;
QVariant
data
(
const
QModelIndex
&
index
,
int
role
=
Qt
::
DisplayRole
)
const
override
;
QVariant
data
(
const
QModelIndex
&
index
,
int
role
=
Qt
::
DisplayRole
)
const
override
;
Q_INVOKABLE
void
terminate
();
Q_INVOKABLE
void
startRecording
();
Q_INVOKABLE
void
startRecording
();
Q_INVOKABLE
void
stopRecording
();
Q_INVOKABLE
void
stopRecording
();
...
...
linphone-desktop/ui/views/App/Calls/CallsWindow.js
View file @
d5ccf5b7
...
@@ -12,12 +12,15 @@ var forceClose = false
...
@@ -12,12 +12,15 @@ var forceClose = false
function
handleClosing
(
close
)
{
function
handleClosing
(
close
)
{
var
callsList
=
Linphone
.
CallsListModel
var
callsList
=
Linphone
.
CallsListModel
window
.
detachVirtualWindow
()
if
(
forceClose
||
callsList
.
getRunningCallsNumber
()
===
0
)
{
if
(
forceClose
||
callsList
.
getRunningCallsNumber
()
===
0
)
{
forceClose
=
false
callsList
.
terminateAllCalls
()
callsList
.
terminateAllCalls
()
return
return
}
}
window
.
detachVirtualWindow
()
window
.
attachVirtualWindow
(
Utils
.
buildDialogUri
(
'
ConfirmDialog
'
),
{
window
.
attachVirtualWindow
(
Utils
.
buildDialogUri
(
'
ConfirmDialog
'
),
{
descriptionText
:
qsTr
(
'
acceptClosingDescription
'
),
descriptionText
:
qsTr
(
'
acceptClosingDescription
'
),
},
function
(
status
)
{
},
function
(
status
)
{
...
...
linphone-desktop/ui/views/App/Calls/Conference.qml
View file @
d5ccf5b7
import
QtQuick
2.7
import
QtQuick
2.7
import
QtQuick
.
Controls
2.1
import
QtQuick
.
Layouts
1.3
import
QtQuick
.
Layouts
1.3
import
Common
1.0
import
Common
1.0
...
@@ -9,8 +8,6 @@ import Utils 1.0
...
@@ -9,8 +8,6 @@ import Utils 1.0
import
App
.
Styles
1.0
import
App
.
Styles
1.0
//import 'Conference.js' as Logic
// =============================================================================
// =============================================================================
Rectangle
{
Rectangle
{
...
@@ -192,19 +189,6 @@ Rectangle {
...
@@ -192,19 +189,6 @@ Rectangle {
}
}
iconSize
:
CallStyle
.
actionArea
.
iconSize
iconSize
:
CallStyle
.
actionArea
.
iconSize
ActionSwitch
{
enabled
:
!
conference
.
pausedByUser
icon
:
'
pause
'
updating
:
conference
.
updating
onClicked
:
conference
.
pausedByUser
=
enabled
TooltipArea
{
text
:
qsTr
(
'
pendingRequestLabel
'
)
visible
:
parent
.
updating
}
}
ActionButton
{
ActionButton
{
icon
:
'
hangup
'
icon
:
'
hangup
'
...
...
linphone
@
87ca1adf
Subproject commit
ef9a19def1bb0ac28af4f1963a248959e46dee97
Subproject commit
87ca1adf5ef967bb3876ea0c060cb9135f36718d
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment