From 40def4cf87bb1b5730aeea660ab6ab0a1bfd825e Mon Sep 17 00:00:00 2001
From: Edric Milaret <edric.ladent-milaret@savoirfairelinux.com>
Date: Mon, 10 Aug 2015 14:52:49 -0400
Subject: [PATCH] turn: add turn settings accesor

Issue: #78300
Change-Id: Ibc44514c45b01e79e64c0dacaf3fa4ac2589599d
---
 accountdetails.ui | 979 ++++++++++++++++++++++++++--------------------
 1 file changed, 544 insertions(+), 435 deletions(-)

diff --git a/accountdetails.ui b/accountdetails.ui
index 94d5086..beefc5a 100644
--- a/accountdetails.ui
+++ b/accountdetails.ui
@@ -7,7 +7,7 @@
     <x>0</x>
     <y>0</y>
     <width>748</width>
-    <height>657</height>
+    <height>677</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -470,449 +470,510 @@
       </attribute>
       <layout class="QVBoxLayout" name="verticalLayout_7">
        <item>
-        <widget class="QLabel" name="label_2">
-         <property name="font">
-          <font>
-           <weight>75</weight>
-           <bold>true</bold>
-          </font>
-         </property>
-         <property name="text">
-          <string>Registration</string>
-         </property>
-         <property name="buddy">
-          <cstring>lrcfg_registrationExpire</cstring>
-         </property>
-        </widget>
-       </item>
-       <item>
-        <layout class="QFormLayout" name="formLayout_3">
-         <item row="0" column="0">
-          <widget class="QLabel" name="label_9">
-           <property name="text">
-            <string>Registration expire timeout (seconds):</string>
-           </property>
-           <property name="buddy">
-            <cstring>lrcfg_registrationExpire</cstring>
-           </property>
-          </widget>
-         </item>
-         <item row="0" column="1">
-          <widget class="QSpinBox" name="lrcfg_registrationExpire">
-           <property name="maximumSize">
-            <size>
-             <width>150</width>
-             <height>16777215</height>
-            </size>
-           </property>
-          </widget>
-         </item>
-        </layout>
-       </item>
-       <item>
-        <widget class="QLabel" name="label_3">
-         <property name="font">
-          <font>
-           <weight>75</weight>
-           <bold>true</bold>
-          </font>
-         </property>
-         <property name="text">
-          <string>Network Interface</string>
+        <widget class="QScrollArea" name="scrollArea">
+         <property name="widgetResizable">
+          <bool>true</bool>
          </property>
-        </widget>
-       </item>
-       <item>
-        <layout class="QFormLayout" name="formLayout_4">
-         <item row="0" column="0">
-          <widget class="QLabel" name="label_10">
-           <property name="text">
-            <string>Local Port:</string>
-           </property>
-           <property name="buddy">
-            <cstring>lrcfg_localPort</cstring>
-           </property>
-          </widget>
-         </item>
-         <item row="0" column="1">
-          <layout class="QHBoxLayout" name="horizontalLayout_7">
+         <widget class="QWidget" name="scrollAreaWidgetContents">
+          <property name="geometry">
+           <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>693</width>
+            <height>685</height>
+           </rect>
+          </property>
+          <layout class="QVBoxLayout" name="verticalLayout_11">
            <item>
-            <widget class="QSpinBox" name="lrcfg_localPort">
-             <property name="minimumSize">
-              <size>
-               <width>100</width>
-               <height>0</height>
-              </size>
+            <widget class="QLabel" name="label_2">
+             <property name="font">
+              <font>
+               <weight>75</weight>
+               <bold>true</bold>
+              </font>
              </property>
-             <property name="maximum">
-              <number>65535</number>
+             <property name="text">
+              <string>Registration</string>
+             </property>
+             <property name="buddy">
+              <cstring>lrcfg_registrationExpire</cstring>
              </property>
             </widget>
            </item>
            <item>
-            <spacer name="horizontalSpacer_4">
-             <property name="orientation">
-              <enum>Qt::Horizontal</enum>
-             </property>
-             <property name="sizeHint" stdset="0">
-              <size>
-               <width>40</width>
-               <height>20</height>
-              </size>
-             </property>
-            </spacer>
+            <layout class="QFormLayout" name="formLayout_3">
+             <item row="0" column="0">
+              <widget class="QLabel" name="label_9">
+               <property name="text">
+                <string>Registration expire timeout (seconds):</string>
+               </property>
+               <property name="buddy">
+                <cstring>lrcfg_registrationExpire</cstring>
+               </property>
+              </widget>
+             </item>
+             <item row="0" column="1">
+              <widget class="QSpinBox" name="lrcfg_registrationExpire">
+               <property name="maximumSize">
+                <size>
+                 <width>150</width>
+                 <height>16777215</height>
+                </size>
+               </property>
+              </widget>
+             </item>
+            </layout>
            </item>
-          </layout>
-         </item>
-        </layout>
-       </item>
-       <item>
-        <widget class="QLabel" name="label_4">
-         <property name="font">
-          <font>
-           <weight>75</weight>
-           <bold>true</bold>
-          </font>
-         </property>
-         <property name="text">
-          <string>Published Adress</string>
-         </property>
-        </widget>
-       </item>
-       <item>
-        <layout class="QVBoxLayout" name="verticalLayout_8">
-         <property name="topMargin">
-          <number>0</number>
-         </property>
-         <property name="bottomMargin">
-          <number>0</number>
-         </property>
-         <item>
-          <widget class="QRadioButton" name="puslishedSameAsLocalRadio">
-           <property name="text">
-            <string>Same as local parameters</string>
-           </property>
-           <property name="checked">
-            <bool>true</bool>
-           </property>
-           <attribute name="buttonGroup">
-            <string notr="true">publishGroup</string>
-           </attribute>
-          </widget>
-         </item>
-         <item>
-          <widget class="QRadioButton" name="customPublishedRadio">
-           <property name="text">
-            <string>Set published address and port:</string>
-           </property>
-           <attribute name="buttonGroup">
-            <string notr="true">publishGroup</string>
-           </attribute>
-          </widget>
-         </item>
-         <item>
-          <layout class="QHBoxLayout" name="publishAdressLayout">
-           <property name="leftMargin">
-            <number>30</number>
-           </property>
-           <property name="topMargin">
-            <number>0</number>
-           </property>
            <item>
-            <widget class="QLabel" name="label_12">
-             <property name="text">
-              <string>Adress</string>
+            <widget class="QLabel" name="label_3">
+             <property name="font">
+              <font>
+               <weight>75</weight>
+               <bold>true</bold>
+              </font>
              </property>
-             <property name="buddy">
-              <cstring>lrcfg_publishedAddress</cstring>
+             <property name="text">
+              <string>Network Interface</string>
              </property>
             </widget>
            </item>
            <item>
-            <widget class="QLineEdit" name="lrcfg_publishedAddress">
-             <property name="enabled">
-              <bool>false</bool>
+            <layout class="QFormLayout" name="formLayout_4">
+             <item row="0" column="0">
+              <widget class="QLabel" name="label_10">
+               <property name="text">
+                <string>Local Port:</string>
+               </property>
+               <property name="buddy">
+                <cstring>lrcfg_localPort</cstring>
+               </property>
+              </widget>
+             </item>
+             <item row="0" column="1">
+              <layout class="QHBoxLayout" name="horizontalLayout_7">
+               <item>
+                <widget class="QSpinBox" name="lrcfg_localPort">
+                 <property name="minimumSize">
+                  <size>
+                   <width>100</width>
+                   <height>0</height>
+                  </size>
+                 </property>
+                 <property name="maximum">
+                  <number>65535</number>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <spacer name="horizontalSpacer_4">
+                 <property name="orientation">
+                  <enum>Qt::Horizontal</enum>
+                 </property>
+                 <property name="sizeHint" stdset="0">
+                  <size>
+                   <width>40</width>
+                   <height>20</height>
+                  </size>
+                 </property>
+                </spacer>
+               </item>
+              </layout>
+             </item>
+            </layout>
+           </item>
+           <item>
+            <widget class="QLabel" name="label_4">
+             <property name="font">
+              <font>
+               <weight>75</weight>
+               <bold>true</bold>
+              </font>
              </property>
-             <property name="maximumSize">
-              <size>
-               <width>200</width>
-               <height>16777215</height>
-              </size>
+             <property name="text">
+              <string>Published Adress</string>
              </property>
             </widget>
            </item>
            <item>
-            <widget class="QLabel" name="label_11">
-             <property name="text">
-              <string>Port</string>
+            <layout class="QVBoxLayout" name="verticalLayout_8">
+             <property name="topMargin">
+              <number>0</number>
              </property>
-             <property name="buddy">
-              <cstring>lrcfg_publishedPort</cstring>
+             <property name="bottomMargin">
+              <number>0</number>
              </property>
-            </widget>
+             <item>
+              <widget class="QRadioButton" name="puslishedSameAsLocalRadio">
+               <property name="text">
+                <string>Same as local parameters</string>
+               </property>
+               <property name="checked">
+                <bool>true</bool>
+               </property>
+               <attribute name="buttonGroup">
+                <string notr="true">publishGroup</string>
+               </attribute>
+              </widget>
+             </item>
+             <item>
+              <widget class="QRadioButton" name="customPublishedRadio">
+               <property name="text">
+                <string>Set published address and port:</string>
+               </property>
+               <attribute name="buttonGroup">
+                <string notr="true">publishGroup</string>
+               </attribute>
+              </widget>
+             </item>
+             <item>
+              <layout class="QHBoxLayout" name="publishAdressLayout">
+               <property name="leftMargin">
+                <number>30</number>
+               </property>
+               <property name="topMargin">
+                <number>0</number>
+               </property>
+               <item>
+                <widget class="QLabel" name="label_12">
+                 <property name="text">
+                  <string>Adress</string>
+                 </property>
+                 <property name="buddy">
+                  <cstring>lrcfg_publishedAddress</cstring>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QLineEdit" name="lrcfg_publishedAddress">
+                 <property name="enabled">
+                  <bool>false</bool>
+                 </property>
+                 <property name="maximumSize">
+                  <size>
+                   <width>200</width>
+                   <height>16777215</height>
+                  </size>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QLabel" name="label_11">
+                 <property name="text">
+                  <string>Port</string>
+                 </property>
+                 <property name="buddy">
+                  <cstring>lrcfg_publishedPort</cstring>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QSpinBox" name="lrcfg_publishedPort">
+                 <property name="enabled">
+                  <bool>false</bool>
+                 </property>
+                 <property name="minimumSize">
+                  <size>
+                   <width>100</width>
+                   <height>0</height>
+                  </size>
+                 </property>
+                 <property name="maximum">
+                  <number>65535</number>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <spacer name="horizontalSpacer_5">
+                 <property name="orientation">
+                  <enum>Qt::Horizontal</enum>
+                 </property>
+                 <property name="sizeHint" stdset="0">
+                  <size>
+                   <width>40</width>
+                   <height>20</height>
+                  </size>
+                 </property>
+                </spacer>
+               </item>
+              </layout>
+             </item>
+             <item>
+              <layout class="QHBoxLayout" name="horizontalLayout_8">
+               <property name="topMargin">
+                <number>0</number>
+               </property>
+               <item>
+                <widget class="QCheckBox" name="lrcfg_sipStunEnabled">
+                 <property name="text">
+                  <string>Use STUN</string>
+                 </property>
+                </widget>
+               </item>
+               <item>
+                <widget class="QLineEdit" name="lrcfg_sipStunServer">
+                 <property name="enabled">
+                  <bool>false</bool>
+                 </property>
+                 <property name="placeholderText">
+                  <string>Server URL</string>
+                 </property>
+                </widget>
+               </item>
+              </layout>
+             </item>
+             <item>
+              <layout class="QFormLayout" name="formLayout_6">
+               <property name="topMargin">
+                <number>0</number>
+               </property>
+               <property name="bottomMargin">
+                <number>0</number>
+               </property>
+               <item row="0" column="0">
+                <widget class="QCheckBox" name="lrcfg_turnEnabled">
+                 <property name="text">
+                  <string>Use TURN</string>
+                 </property>
+                </widget>
+               </item>
+               <item row="0" column="1">
+                <widget class="QLineEdit" name="lrcfg_turnServer">
+                 <property name="enabled">
+                  <bool>false</bool>
+                 </property>
+                 <property name="placeholderText">
+                  <string>Server URL</string>
+                 </property>
+                </widget>
+               </item>
+               <item row="1" column="1">
+                <widget class="QLineEdit" name="lrcfg_turnServerUsername">
+                 <property name="enabled">
+                  <bool>false</bool>
+                 </property>
+                 <property name="placeholderText">
+                  <string>Username</string>
+                 </property>
+                </widget>
+               </item>
+               <item row="2" column="1">
+                <widget class="QLineEdit" name="lrcfg_turnServerPassword">
+                 <property name="enabled">
+                  <bool>false</bool>
+                 </property>
+                 <property name="echoMode">
+                  <enum>QLineEdit::Password</enum>
+                 </property>
+                 <property name="placeholderText">
+                  <string>Password</string>
+                 </property>
+                </widget>
+               </item>
+               <item row="3" column="1">
+                <widget class="QLineEdit" name="lrcfg_turnServerRealm">
+                 <property name="enabled">
+                  <bool>false</bool>
+                 </property>
+                 <property name="placeholderText">
+                  <string>Realm</string>
+                 </property>
+                </widget>
+               </item>
+              </layout>
+             </item>
+            </layout>
            </item>
            <item>
-            <widget class="QSpinBox" name="lrcfg_publishedPort">
-             <property name="enabled">
-              <bool>false</bool>
-             </property>
-             <property name="minimumSize">
-              <size>
-               <width>100</width>
-               <height>0</height>
-              </size>
+            <widget class="QLabel" name="label_5">
+             <property name="font">
+              <font>
+               <weight>75</weight>
+               <bold>true</bold>
+              </font>
              </property>
-             <property name="maximum">
-              <number>65535</number>
+             <property name="text">
+              <string>SDP Session Negotiation (ICE Fallback)</string>
              </property>
             </widget>
            </item>
            <item>
-            <spacer name="horizontalSpacer_5">
-             <property name="orientation">
-              <enum>Qt::Horizontal</enum>
+            <widget class="QLabel" name="label_6">
+             <property name="text">
+              <string>These settings are only used during SDP session negotiation in case ICE is not supported by the server or peer.</string>
              </property>
-             <property name="sizeHint" stdset="0">
-              <size>
-               <width>40</width>
-               <height>20</height>
-              </size>
+             <property name="wordWrap">
+              <bool>true</bool>
              </property>
-            </spacer>
+            </widget>
            </item>
-          </layout>
-         </item>
-         <item>
-          <layout class="QHBoxLayout" name="horizontalLayout_8">
-           <property name="topMargin">
-            <number>0</number>
-           </property>
            <item>
-            <widget class="QCheckBox" name="lrcfg_sipStunEnabled">
+            <widget class="QLabel" name="label_8">
+             <property name="font">
+              <font>
+               <weight>75</weight>
+               <bold>true</bold>
+              </font>
+             </property>
              <property name="text">
-              <string>Use STUN</string>
+              <string>Audio RTP Port Range</string>
              </property>
             </widget>
            </item>
            <item>
-            <widget class="QLineEdit" name="lrcfg_sipStunServer">
-             <property name="enabled">
-              <bool>false</bool>
+            <layout class="QHBoxLayout" name="horizontalLayout_5">
+             <property name="leftMargin">
+              <number>30</number>
              </property>
-            </widget>
+             <property name="topMargin">
+              <number>0</number>
+             </property>
+             <item>
+              <widget class="QLabel" name="label_13">
+               <property name="text">
+                <string>Min</string>
+               </property>
+               <property name="buddy">
+                <cstring>lrcfg_audioPortMin</cstring>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QSpinBox" name="lrcfg_audioPortMin">
+               <property name="minimumSize">
+                <size>
+                 <width>100</width>
+                 <height>0</height>
+                </size>
+               </property>
+               <property name="maximum">
+                <number>65535</number>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QLabel" name="label_14">
+               <property name="text">
+                <string>Max</string>
+               </property>
+               <property name="buddy">
+                <cstring>lrcfg_audioPortMax</cstring>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QSpinBox" name="lrcfg_audioPortMax">
+               <property name="minimumSize">
+                <size>
+                 <width>100</width>
+                 <height>0</height>
+                </size>
+               </property>
+               <property name="maximum">
+                <number>65535</number>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <spacer name="horizontalSpacer_2">
+               <property name="orientation">
+                <enum>Qt::Horizontal</enum>
+               </property>
+               <property name="sizeHint" stdset="0">
+                <size>
+                 <width>40</width>
+                 <height>20</height>
+                </size>
+               </property>
+              </spacer>
+             </item>
+            </layout>
            </item>
-          </layout>
-         </item>
-         <item>
-          <layout class="QHBoxLayout" name="horizontalLayout_11">
-           <property name="topMargin">
-            <number>0</number>
-           </property>
            <item>
-            <widget class="QCheckBox" name="lrcfg_turnEnabled">
+            <widget class="QLabel" name="label_7">
+             <property name="font">
+              <font>
+               <weight>75</weight>
+               <bold>true</bold>
+              </font>
+             </property>
              <property name="text">
-              <string>Use TURN</string>
+              <string>Video RTP Port Range</string>
              </property>
             </widget>
            </item>
            <item>
-            <widget class="QLineEdit" name="lrcfg_sipTurnServer">
-             <property name="enabled">
-              <bool>false</bool>
+            <layout class="QHBoxLayout" name="horizontalLayout_6">
+             <property name="leftMargin">
+              <number>30</number>
              </property>
-            </widget>
+             <property name="topMargin">
+              <number>0</number>
+             </property>
+             <item>
+              <widget class="QLabel" name="label_15">
+               <property name="text">
+                <string>Min</string>
+               </property>
+               <property name="buddy">
+                <cstring>lrcfg_videoPortMin</cstring>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QSpinBox" name="lrcfg_videoPortMin">
+               <property name="minimumSize">
+                <size>
+                 <width>100</width>
+                 <height>0</height>
+                </size>
+               </property>
+               <property name="maximum">
+                <number>65535</number>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QLabel" name="label_16">
+               <property name="text">
+                <string>Max</string>
+               </property>
+               <property name="buddy">
+                <cstring>lrcfg_videoPortMax</cstring>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <widget class="QSpinBox" name="lrcfg_videoPortMax">
+               <property name="minimumSize">
+                <size>
+                 <width>100</width>
+                 <height>0</height>
+                </size>
+               </property>
+               <property name="maximum">
+                <number>65535</number>
+               </property>
+              </widget>
+             </item>
+             <item>
+              <spacer name="horizontalSpacer_3">
+               <property name="orientation">
+                <enum>Qt::Horizontal</enum>
+               </property>
+               <property name="sizeHint" stdset="0">
+                <size>
+                 <width>40</width>
+                 <height>20</height>
+                </size>
+               </property>
+              </spacer>
+             </item>
+            </layout>
            </item>
           </layout>
-         </item>
-        </layout>
-       </item>
-       <item>
-        <widget class="QLabel" name="label_5">
-         <property name="font">
-          <font>
-           <weight>75</weight>
-           <bold>true</bold>
-          </font>
-         </property>
-         <property name="text">
-          <string>SDP Session Negotiation (ICE Fallback)</string>
-         </property>
-        </widget>
-       </item>
-       <item>
-        <widget class="QLabel" name="label_6">
-         <property name="text">
-          <string>These settings are only used during SDP session negotiation in case ICE is not supported by the server or peer.</string>
-         </property>
-         <property name="wordWrap">
-          <bool>true</bool>
-         </property>
-        </widget>
-       </item>
-       <item>
-        <widget class="QLabel" name="label_8">
-         <property name="font">
-          <font>
-           <weight>75</weight>
-           <bold>true</bold>
-          </font>
-         </property>
-         <property name="text">
-          <string>Audio RTP Port Range</string>
-         </property>
-        </widget>
-       </item>
-       <item>
-        <layout class="QHBoxLayout" name="horizontalLayout_5">
-         <property name="leftMargin">
-          <number>30</number>
-         </property>
-         <property name="topMargin">
-          <number>0</number>
-         </property>
-         <item>
-          <widget class="QLabel" name="label_13">
-           <property name="text">
-            <string>Min</string>
-           </property>
-           <property name="buddy">
-            <cstring>lrcfg_audioPortMin</cstring>
-           </property>
-          </widget>
-         </item>
-         <item>
-          <widget class="QSpinBox" name="lrcfg_audioPortMin">
-           <property name="minimumSize">
-            <size>
-             <width>100</width>
-             <height>0</height>
-            </size>
-           </property>
-           <property name="maximum">
-            <number>65535</number>
-           </property>
-          </widget>
-         </item>
-         <item>
-          <widget class="QLabel" name="label_14">
-           <property name="text">
-            <string>Max</string>
-           </property>
-           <property name="buddy">
-            <cstring>lrcfg_audioPortMax</cstring>
-           </property>
-          </widget>
-         </item>
-         <item>
-          <widget class="QSpinBox" name="lrcfg_audioPortMax">
-           <property name="minimumSize">
-            <size>
-             <width>100</width>
-             <height>0</height>
-            </size>
-           </property>
-           <property name="maximum">
-            <number>65535</number>
-           </property>
-          </widget>
-         </item>
-         <item>
-          <spacer name="horizontalSpacer_2">
-           <property name="orientation">
-            <enum>Qt::Horizontal</enum>
-           </property>
-           <property name="sizeHint" stdset="0">
-            <size>
-             <width>40</width>
-             <height>20</height>
-            </size>
-           </property>
-          </spacer>
-         </item>
-        </layout>
-       </item>
-       <item>
-        <widget class="QLabel" name="label_7">
-         <property name="font">
-          <font>
-           <weight>75</weight>
-           <bold>true</bold>
-          </font>
-         </property>
-         <property name="text">
-          <string>Video RTP Port Range</string>
-         </property>
+         </widget>
         </widget>
        </item>
-       <item>
-        <layout class="QHBoxLayout" name="horizontalLayout_6">
-         <property name="leftMargin">
-          <number>30</number>
-         </property>
-         <property name="topMargin">
-          <number>0</number>
-         </property>
-         <item>
-          <widget class="QLabel" name="label_15">
-           <property name="text">
-            <string>Min</string>
-           </property>
-           <property name="buddy">
-            <cstring>lrcfg_videoPortMin</cstring>
-           </property>
-          </widget>
-         </item>
-         <item>
-          <widget class="QSpinBox" name="lrcfg_videoPortMin">
-           <property name="minimumSize">
-            <size>
-             <width>100</width>
-             <height>0</height>
-            </size>
-           </property>
-           <property name="maximum">
-            <number>65535</number>
-           </property>
-          </widget>
-         </item>
-         <item>
-          <widget class="QLabel" name="label_16">
-           <property name="text">
-            <string>Max</string>
-           </property>
-           <property name="buddy">
-            <cstring>lrcfg_videoPortMax</cstring>
-           </property>
-          </widget>
-         </item>
-         <item>
-          <widget class="QSpinBox" name="lrcfg_videoPortMax">
-           <property name="minimumSize">
-            <size>
-             <width>100</width>
-             <height>0</height>
-            </size>
-           </property>
-           <property name="maximum">
-            <number>65535</number>
-           </property>
-          </widget>
-         </item>
-         <item>
-          <spacer name="horizontalSpacer_3">
-           <property name="orientation">
-            <enum>Qt::Horizontal</enum>
-           </property>
-           <property name="sizeHint" stdset="0">
-            <size>
-             <width>40</width>
-             <height>20</height>
-            </size>
-           </property>
-          </spacer>
-         </item>
-        </layout>
-       </item>
       </layout>
      </widget>
      <widget class="QWidget" name="securityTab">
@@ -1281,7 +1342,7 @@
   <connection>
    <sender>lrcfg_turnEnabled</sender>
    <signal>toggled(bool)</signal>
-   <receiver>lrcfg_sipTurnServer</receiver>
+   <receiver>lrcfg_turnServer</receiver>
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
@@ -1317,8 +1378,8 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>143</x>
-     <y>257</y>
+     <x>154</x>
+     <y>288</y>
     </hint>
     <hint type="destinationlabel">
      <x>327</x>
@@ -1333,8 +1394,8 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>88</x>
-     <y>260</y>
+     <x>99</x>
+     <y>288</y>
     </hint>
     <hint type="destinationlabel">
      <x>289</x>
@@ -1365,12 +1426,12 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>188</x>
-     <y>259</y>
+     <x>199</x>
+     <y>288</y>
     </hint>
     <hint type="destinationlabel">
-     <x>257</x>
-     <y>415</y>
+     <x>474</x>
+     <y>448</y>
     </hint>
    </hints>
   </connection>
@@ -1381,8 +1442,8 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>115</x>
-     <y>258</y>
+     <x>126</x>
+     <y>288</y>
     </hint>
     <hint type="destinationlabel">
      <x>261</x>
@@ -1397,8 +1458,8 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>217</x>
-     <y>257</y>
+     <x>228</x>
+     <y>288</y>
     </hint>
     <hint type="destinationlabel">
      <x>244</x>
@@ -1413,12 +1474,12 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>52</x>
-     <y>261</y>
+     <x>63</x>
+     <y>288</y>
     </hint>
     <hint type="destinationlabel">
-     <x>259</x>
-     <y>523</y>
+     <x>476</x>
+     <y>559</y>
     </hint>
    </hints>
   </connection>
@@ -1429,12 +1490,12 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>240</x>
-     <y>261</y>
+     <x>251</x>
+     <y>288</y>
     </hint>
     <hint type="destinationlabel">
-     <x>180</x>
-     <y>565</y>
+     <x>191</x>
+     <y>592</y>
     </hint>
    </hints>
   </connection>
@@ -1445,12 +1506,12 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>333</x>
-     <y>258</y>
+     <x>344</x>
+     <y>288</y>
     </hint>
     <hint type="destinationlabel">
-     <x>288</x>
-     <y>584</y>
+     <x>299</x>
+     <y>624</y>
     </hint>
    </hints>
   </connection>
@@ -1461,12 +1522,12 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>369</x>
-     <y>262</y>
+     <x>380</x>
+     <y>288</y>
     </hint>
     <hint type="destinationlabel">
-     <x>375</x>
-     <y>625</y>
+     <x>386</x>
+     <y>656</y>
     </hint>
    </hints>
   </connection>
@@ -1477,8 +1538,8 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>373</x>
-     <y>255</y>
+     <x>384</x>
+     <y>288</y>
     </hint>
     <hint type="destinationlabel">
      <x>195</x>
@@ -1493,8 +1554,8 @@
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>373</x>
-     <y>255</y>
+     <x>384</x>
+     <y>288</y>
     </hint>
     <hint type="destinationlabel">
      <x>551</x>
@@ -1525,12 +1586,12 @@
    <slot>setDisabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>156</x>
-     <y>544</y>
+     <x>169</x>
+     <y>584</y>
     </hint>
     <hint type="destinationlabel">
-     <x>158</x>
-     <y>578</y>
+     <x>171</x>
+     <y>616</y>
     </hint>
    </hints>
   </connection>
@@ -1541,12 +1602,60 @@
    <slot>setDisabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>102</x>
-     <y>548</y>
+     <x>115</x>
+     <y>584</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>117</x>
+     <y>648</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>lrcfg_turnEnabled</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>lrcfg_turnServerUsername</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>90</x>
+     <y>380</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>187</x>
+     <y>432</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>lrcfg_turnEnabled</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>lrcfg_turnServerPassword</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>51</x>
+     <y>375</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>164</x>
+     <y>468</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>lrcfg_turnEnabled</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>lrcfg_turnServerRealm</receiver>
+   <slot>setEnabled(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>39</x>
+     <y>378</y>
     </hint>
     <hint type="destinationlabel">
-     <x>104</x>
-     <y>608</y>
+     <x>170</x>
+     <y>503</y>
     </hint>
    </hints>
   </connection>
-- 
GitLab