diff --git a/sflphone-client-kde/src/SFLPhoneView.cpp b/sflphone-client-kde/src/SFLPhoneView.cpp index e176af63e..00e77279a 100644 --- a/sflphone-client-kde/src/SFLPhoneView.cpp +++ b/sflphone-client-kde/src/SFLPhoneView.cpp @@ -21,7 +21,6 @@ #include "SFLPhoneView.h" -#include #include #include #include @@ -29,6 +28,7 @@ #include #include +#include #include #include #include @@ -602,7 +602,6 @@ void SFLPhoneView::updateCallHistory() while(listWidget_callHistory->count() > 0) { QListWidgetItem * item = listWidget_callHistory->takeItem(0); - qDebug() << "take item " << item->text() << " ; widget = " << callList->findCallByHistoryItem(item); } QString textSearched = lineEdit_searchHistory->text(); for(int i = callList->size() - 1 ; i >= 0 ; i--) @@ -628,7 +627,6 @@ void SFLPhoneView::updateAddressBook() while(listWidget_addressBook->count() > 0) { QListWidgetItem * item = listWidget_addressBook->takeItem(0); - qDebug() << "take item " << item->text(); delete item; } if(isAddressBookEnabled()) @@ -1040,7 +1038,8 @@ void SFLPhoneView::on_stackedWidget_screen_currentChanged(int index) void SFLPhoneView::contextMenuEvent(QContextMenuEvent *event) { QMenu menu(this); - if(stackedWidget_screen->currentWidget() == page_callHistory || stackedWidget_screen->currentWidget() == page_addressBook) + if( ( stackedWidget_screen->currentWidget() == page_callHistory && listWidget_callHistory->currentItem() ) || + ( stackedWidget_screen->currentWidget() == page_addressBook && listWidget_addressBook->currentItem() ) ) { QAction * action_edit = new QAction(&menu); action_edit->setText(i18n("Edit before call")); diff --git a/sflphone-client-kde/src/conf/dlgaccountsbase.ui b/sflphone-client-kde/src/conf/dlgaccountsbase.ui index 3b15ea53a..099fd3255 100644 --- a/sflphone-client-kde/src/conf/dlgaccountsbase.ui +++ b/sflphone-client-kde/src/conf/dlgaccountsbase.ui @@ -7,7 +7,7 @@ 0 0 603 - 314 + 455 @@ -229,151 +229,263 @@ - + 1 0 - - QFrame::StyledPanel + + 0 - - QFrame::Raised - - - - QFormLayout::ExpandingFieldsGrow - - - - - Alias - - - edit1_alias - - - - - - - - 0 - 0 - - - - - 0 - 0 - - - - - - - - Protocol - - - edit2_protocol - - - - - - + + + Basic + + + + - SIP + Alias - - + + edit1_alias + + + + + + + + 0 + 0 + + + + + 0 + 0 + + + + + + - IAX + Protocol - - - - - - - Server - - - edit3_server - - - - - - - - 0 - 0 - - - - - - - - Username - - - edit4_user - - - - - - - - - - Password - - - edit5_password - - - - - - - QLineEdit::Password - - - - - - - Voicemail - - - edit6_mailbox - - - - - - - - - - Status - - - - - - - - - - - + + edit2_protocol + + + + + + + + SIP + + + + + IAX + + + + + + + + Server + + + edit3_server + + + + + + + + 0 + 0 + + + + + + + + Username + + + edit4_user + + + + + + + + + + Password + + + edit5_password + + + + + + + QLineEdit::Password + + + + + + + Voicemail + + + edit6_mailbox + + + + + + + + + + Status + + + + + + + + 0 + 0 + + + + + + + + + + + + Security + + + + + + Use SRTP + + + + + + + false + + + + 0 + + + + + + 0 + 0 + + + + + -1 + + + 0 + + + + + + 0 + 0 + + + + Key exchange + + + combo_keyExchange + + + + + + + + + + + + + Send hello hash in SDP + + + + + + + Ask user to confirm SAS + + + + + + + Warn if ZRTP is not supported + + + + + + + Display SAS once for hold events + + + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 20 + 1 + + + + + + @@ -434,6 +546,11 @@ + + KComboBox + QComboBox +
kcombobox.h
+
KLineEdit QLineEdit @@ -452,11 +569,27 @@ 71 - 273 + 414 167 - 278 + 419 + + + + + checkBox_useSRTP + toggled(bool) + widget + setEnabled(bool) + + + 377 + 61 + + + 380 + 70