Hello community,

here is the log from the commit of package ktp-text-ui for openSUSE:Factory 
checked in at 2016-01-10 13:06:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ktp-text-ui (Old)
 and      /work/SRC/openSUSE:Factory/.ktp-text-ui.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ktp-text-ui"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ktp-text-ui/ktp-text-ui.changes  2015-11-15 
12:41:21.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ktp-text-ui.new/ktp-text-ui.changes     
2016-01-10 13:06:46.000000000 +0100
@@ -1,0 +2,9 @@
+Sun Dec 13 13:29:29 UTC 2015 - [email protected]
+
+- Update to KDE Applications 15.12.0
+   * KDE Applications 15.12.0 
+   * https://www.kde.org/announcements/announce-applications-15.12.0.php
+   * boo#958887
+
+
+-------------------------------------------------------------------

Old:
----
  ktp-text-ui-15.08.3.tar.xz

New:
----
  ktp-text-ui-15.12.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ktp-text-ui.spec ++++++
--- /var/tmp/diff_new_pack.VU03u9/_old  2016-01-10 13:06:48.000000000 +0100
+++ /var/tmp/diff_new_pack.VU03u9/_new  2016-01-10 13:06:48.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           ktp-text-ui
-Version:        15.08.3
+Version:        15.12.0
 Release:        0
 Summary:        Telepathy chat handler for KDE
 License:        GPL-2.0+

++++++ ktp-text-ui-15.08.3.tar.xz -> ktp-text-ui-15.12.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktp-text-ui-15.08.3/CMakeLists.txt 
new/ktp-text-ui-15.12.0/CMakeLists.txt
--- old/ktp-text-ui-15.08.3/CMakeLists.txt      2015-11-04 23:47:25.000000000 
+0100
+++ new/ktp-text-ui-15.12.0/CMakeLists.txt      2015-12-08 17:08:39.000000000 
+0100
@@ -4,8 +4,8 @@
 
 # KDE Application Version, managed by release script
 set(KDE_APPLICATIONS_VERSION_MAJOR "15")
-set(KDE_APPLICATIONS_VERSION_MINOR "08")
-set(KDE_APPLICATIONS_VERSION_MICRO "3")
+set(KDE_APPLICATIONS_VERSION_MINOR "12")
+set(KDE_APPLICATIONS_VERSION_MICRO "0")
 set(KTP_TEXT_UI_VERSION 
"${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}")
 set(KTP_MESSAGE_FILTER_FRAMEWORK_VERSION "5")
 set(IS_KTP_INTERNAL_MODULE TRUE)
@@ -18,6 +18,10 @@
                                       WebKit WindowSystem XmlGui ItemViews 
TextWidgets
                                       IconThemes DBusAddons)
 find_package (Qt5 REQUIRED COMPONENTS WebKitWidgets)
+find_package(Qt5 ${QT_REQUIRED_VERSION} OPTIONAL_COMPONENTS TextToSpeech)
+if (NOT Qt5TextToSpeech_FOUND)
+    message(STATUS "Qt5TextToSpeech not found, speech features will be 
disabled")
+endif()
 find_package (KTp REQUIRED)
 
 find_package (KF5People)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktp-text-ui-15.08.3/app/chat-window.cpp 
new/ktp-text-ui-15.12.0/app/chat-window.cpp
--- old/ktp-text-ui-15.08.3/app/chat-window.cpp 2015-11-04 23:47:25.000000000 
+0100
+++ new/ktp-text-ui-15.12.0/app/chat-window.cpp 2015-12-08 17:08:39.000000000 
+0100
@@ -1221,7 +1221,7 @@
 
 void ChatWindow::restoreKeyboardLayout(ChatTab *chatTab)
 {
-    if (!chatTab) {
+    if (!chatTab || !TextChatConfig::instance()->rememberTabKeyboardLayout()) {
         return;
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ktp-text-ui-15.08.3/config/appearance/kcm_ktp_chat_appearance.desktop 
new/ktp-text-ui-15.12.0/config/appearance/kcm_ktp_chat_appearance.desktop
--- old/ktp-text-ui-15.08.3/config/appearance/kcm_ktp_chat_appearance.desktop   
2015-11-04 23:47:25.000000000 +0100
+++ new/ktp-text-ui-15.12.0/config/appearance/kcm_ktp_chat_appearance.desktop   
2015-12-08 17:08:39.000000000 +0100
@@ -61,8 +61,8 @@
 Comment[ar]=اختر نمطًا لنافذة الدّردشة وخصّصه
 Comment[ast]=Escueyi un estilu pa la to ventana de charra y personalízalu
 Comment[bs]=Izaberite stil za prozor ćaskanja i prilagodite ga
-Comment[ca]=Seleccioneu un estil per la finestra de xat i personalitzeu-la
-Comment[ca@valencia]=Seleccioneu un estil per la finestra de xat i 
personalitzeu-la
+Comment[ca]=Seleccioneu un estil per a la finestra de xat i personalitzeu-la
+Comment[ca@valencia]=Seleccioneu un estil per a la finestra de xat i 
personalitzeu-la
 Comment[cs]=Vyberte styl pro okno rozhovoru a upravte jej
 Comment[da]=Vælg chatvinduestil og tilpas den
 Comment[de]=Wählen Sie einen Stil für Ihr Chat-Fenster und passen Sie ihn an
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ktp-text-ui-15.08.3/config/behavior/behavior-config.cpp 
new/ktp-text-ui-15.12.0/config/behavior/behavior-config.cpp
--- old/ktp-text-ui-15.08.3/config/behavior/behavior-config.cpp 2015-11-04 
23:47:25.000000000 +0100
+++ new/ktp-text-ui-15.12.0/config/behavior/behavior-config.cpp 2015-12-08 
17:08:39.000000000 +0100
@@ -60,6 +60,9 @@
     ui->dontLeaveGroupChats->setChecked(m_dontLeaveGroupChats);
     connect(ui->dontLeaveGroupChats, SIGNAL(toggled(bool)), this, 
SLOT(onDontLeaveGroupChatsChanged(bool)));
 
+    ui->rememberTabKeyboardLayout->setChecked(m_rememberTabKeyboardLayout);
+    connect(ui->rememberTabKeyboardLayout, SIGNAL(toggled(bool)), this, 
SLOT(onRememberTabKeyboardLayoutChanged(bool)));
+
     QStringList nicknameCompletionStyles;
     const QString namePlaceholder = ki18nc("Placeholder for contact name in 
completion suffix selector", "Nickname").toString();
     Q_FOREACH(const QString &suffix, 
BehaviorConfig::nicknameCompletionSuffixes) {
@@ -96,6 +99,7 @@
     m_nicknameCompletionSuffix = 
TextChatConfig::instance()->nicknameCompletionSuffix();
     m_imageShareServiceType = 
TextChatConfig::instance()->imageShareServiceType();
     m_dontLeaveGroupChats = TextChatConfig::instance()->dontLeaveGroupChats();
+    m_rememberTabKeyboardLayout = 
TextChatConfig::instance()->rememberTabKeyboardLayout();
 }
 
 void BehaviorConfig::save()
@@ -107,6 +111,7 @@
     
TextChatConfig::instance()->setNicknameCompletionSuffix(m_nicknameCompletionSuffix);
     
TextChatConfig::instance()->setImageShareServiceName(m_imageShareServiceType);
     TextChatConfig::instance()->setDontLeaveGroupChats(m_dontLeaveGroupChats);
+    
TextChatConfig::instance()->setRememberTabKeyboardLayout(m_rememberTabKeyboardLayout);
     TextChatConfig::instance()->sync();
 }
 
@@ -167,4 +172,10 @@
     Q_EMIT changed(true);
 }
 
+void BehaviorConfig::onRememberTabKeyboardLayoutChanged(bool state)
+{
+    m_rememberTabKeyboardLayout = state;
+    Q_EMIT changed(true);
+}
+
 #include "behavior-config.moc"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ktp-text-ui-15.08.3/config/behavior/behavior-config.h 
new/ktp-text-ui-15.12.0/config/behavior/behavior-config.h
--- old/ktp-text-ui-15.08.3/config/behavior/behavior-config.h   2015-11-04 
23:47:25.000000000 +0100
+++ new/ktp-text-ui-15.12.0/config/behavior/behavior-config.h   2015-12-08 
17:08:39.000000000 +0100
@@ -53,6 +53,7 @@
     void onNicknameCompletionStyleChanged(int index);
     void onImageSharingServiceChanged(int index);
     void onDontLeaveGroupChatsChanged(bool state);
+    void onRememberTabKeyboardLayoutChanged(bool state);
 
 private:
     TextChatConfig::TabOpenMode m_openMode;
@@ -60,6 +61,7 @@
     bool m_showMeTyping; // show others I am typing
     bool m_showOthersTyping; // show me others are typing
     bool m_dontLeaveGroupChats;
+    bool m_rememberTabKeyboardLayout;
     QString m_nicknameCompletionSuffix;
     ShareProvider::ShareService m_imageShareServiceType;
     Ui::BehaviorConfigUi *ui;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ktp-text-ui-15.08.3/config/behavior/behavior-config.ui 
new/ktp-text-ui-15.12.0/config/behavior/behavior-config.ui
--- old/ktp-text-ui-15.08.3/config/behavior/behavior-config.ui  2015-11-04 
23:47:25.000000000 +0100
+++ new/ktp-text-ui-15.12.0/config/behavior/behavior-config.ui  2015-12-08 
17:08:39.000000000 +0100
@@ -7,12 +7,12 @@
     <x>0</x>
     <y>0</y>
     <width>583</width>
-    <height>403</height>
+    <height>585</height>
    </rect>
   </property>
   <layout class="QVBoxLayout" name="verticalLayout">
    <item>
-     <widget class="QGroupBox" name="newTabGroupBox">
+    <widget class="QGroupBox" name="newTabGroupBox">
      <property name="title">
       <string>Tabs</string>
      </property>
@@ -45,7 +45,7 @@
        </widget>
       </item>
      </layout>
-     </widget>
+    </widget>
    </item>
    <item>
     <widget class="QGroupBox" name="scrollbackGroupBox">
@@ -80,7 +80,7 @@
     </widget>
    </item>
    <item>
-     <widget class="QGroupBox" name="typingGroupBox">
+    <widget class="QGroupBox" name="typingGroupBox">
      <property name="title">
       <string>User Is Typing</string>
      </property>
@@ -208,6 +208,22 @@
         </property>
        </widget>
       </item>
+     </layout>
+    </widget>
+   </item>
+   <item>
+    <widget class="QGroupBox" name="groupBox">
+     <property name="title">
+      <string>Keyboard Layouts</string>
+     </property>
+     <layout class="QFormLayout" name="formLayout_2">
+      <item row="0" column="0">
+       <widget class="QCheckBox" name="rememberTabKeyboardLayout">
+        <property name="text">
+         <string>Remember keyboard layout for each tab</string>
+        </property>
+       </widget>
+      </item>
      </layout>
     </widget>
    </item>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktp-text-ui-15.08.3/filters/CMakeLists.txt 
new/ktp-text-ui-15.12.0/filters/CMakeLists.txt
--- old/ktp-text-ui-15.08.3/filters/CMakeLists.txt      2015-11-04 
23:47:25.000000000 +0100
+++ new/ktp-text-ui-15.12.0/filters/CMakeLists.txt      2015-12-08 
17:08:39.000000000 +0100
@@ -9,11 +9,6 @@
 add_subdirectory(urlexpansion)
 add_subdirectory(otr)
 
-# TODO: is that a framework now?
-# IF (EXISTS "${KDE4_DBUS_INTERFACES_DIR}/org.kde.KSpeech.xml")
-#     set (HAS_KTTS TRUE)
-#     add_subdirectory(texttospeech)
-# ENDIF ()
-# macro_log_feature(HAS_KTTS "KTTSD" "KDE Text to Speech Deamon" "" FALSE "" 
"Needed for optional tts message plugin")
-
-
+if (Qt5TextToSpeech_FOUND)
+   add_subdirectory(texttospeech)
+endif()
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ktp-text-ui-15.08.3/filters/bugzilla/ktptextui_message_filter_bugzilla.desktop.cmake
 
new/ktp-text-ui-15.12.0/filters/bugzilla/ktptextui_message_filter_bugzilla.desktop.cmake
--- 
old/ktp-text-ui-15.08.3/filters/bugzilla/ktptextui_message_filter_bugzilla.desktop.cmake
    2015-11-04 23:47:25.000000000 +0100
+++ 
new/ktp-text-ui-15.12.0/filters/bugzilla/ktptextui_message_filter_bugzilla.desktop.cmake
    2015-12-08 17:08:39.000000000 +0100
@@ -46,6 +46,7 @@
 Name[zh_TW]=Bugzilla 資訊
 Comment=When receiving a link to a bug on bugzilla show additional information 
such as the title and status
 Comment[ar]=عند استقبال وصلة لعلّة في بغ‌زيلّا، أظهر معلومات إضافيّة كالعنوان 
والحالة
+Comment[ast]=Al recibise un enllaz a un fallu en bugzilla amuésase información 
adicional como'l títulu y l'estáu
 Comment[bs]=Kada primite link na grešku na bugzilla, prikažite dodatnu 
informaciju kao što su naslov i status
 Comment[ca]=En rebre un enllaç a un error del Bugzilla mostra informació 
addicional com el títol i l'estat
 Comment[ca@valencia]=En rebre un enllaç a un error del Bugzilla mostra 
informació addicional com el títol i l'estat
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ktp-text-ui-15.08.3/filters/emoticons/emoticon-config.cpp 
new/ktp-text-ui-15.12.0/filters/emoticons/emoticon-config.cpp
--- old/ktp-text-ui-15.08.3/filters/emoticons/emoticon-config.cpp       
2015-11-04 23:47:25.000000000 +0100
+++ new/ktp-text-ui-15.12.0/filters/emoticons/emoticon-config.cpp       
2015-12-08 17:08:39.000000000 +0100
@@ -190,7 +190,9 @@
 
 void EmoticonFilterConfig::addClicked()
 {
-    const QString account = QInputDialog::getItem(this, i18n("Add account"), 
i18n("Select account:"), accountsNotInList(), 0, false);
+    const QString account = QInputDialog::getItem(
+        this, i18nc("@title:window", "Add account"),
+        i18nc("@label:listbox", "Select account:"), accountsNotInList(), 0, 
false);
     if (account.isEmpty()) {
         return;
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ktp-text-ui-15.08.3/filters/emoticons/emoticon-config.ui 
new/ktp-text-ui-15.12.0/filters/emoticons/emoticon-config.ui
--- old/ktp-text-ui-15.08.3/filters/emoticons/emoticon-config.ui        
2015-11-04 23:47:25.000000000 +0100
+++ new/ktp-text-ui-15.12.0/filters/emoticons/emoticon-config.ui        
2015-12-08 17:08:39.000000000 +0100
@@ -17,7 +17,7 @@
    <item>
     <widget class="QLabel" name="label">
      <property name="text">
-      <string>Custom emoticons for account:</string>
+      <string>Custom emoticons per account:</string>
      </property>
     </widget>
    </item>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ktp-text-ui-15.08.3/filters/emoticons/ktptextui_message_filter_emoticons.desktop.cmake
 
new/ktp-text-ui-15.12.0/filters/emoticons/ktptextui_message_filter_emoticons.desktop.cmake
--- 
old/ktp-text-ui-15.08.3/filters/emoticons/ktptextui_message_filter_emoticons.desktop.cmake
  2015-11-04 23:47:25.000000000 +0100
+++ 
new/ktp-text-ui-15.12.0/filters/emoticons/ktptextui_message_filter_emoticons.desktop.cmake
  2015-12-08 17:08:39.000000000 +0100
@@ -49,6 +49,7 @@
 Name[zh_TW]=表情圖示
 Encoding=UTF-8
 Comment=Show emoticons (smiley faces) inside the chat
+Comment[ast]=Amuesa fustaxes dientro la charra
 Comment[bs]=Prikaži emotikone (izraze osjećanja znakovima) u ćaskanju
 Comment[ca]=Mostra les emoticones (cares somrients) dins del xat
 Comment[ca@valencia]=Mostra les emoticones (cares somrients) dins del xat
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ktp-text-ui-15.08.3/filters/latex/ktptextui_message_filter_latex.desktop.cmake
 
new/ktp-text-ui-15.12.0/filters/latex/ktptextui_message_filter_latex.desktop.cmake
--- 
old/ktp-text-ui-15.08.3/filters/latex/ktptextui_message_filter_latex.desktop.cmake
  2015-11-04 23:47:25.000000000 +0100
+++ 
new/ktp-text-ui-15.12.0/filters/latex/ktptextui_message_filter_latex.desktop.cmake
  2015-12-08 17:08:39.000000000 +0100
@@ -16,6 +16,7 @@
 
 Name=LaTeX Renderer
 Name[ar]=مصيّر لاتخ
+Name[ast]=Renderizador LaTeX
 Name[bs]=LaTeX Obrađivač
 Name[ca]=Renderitzador LaTeX
 Name[ca@valencia]=Renderitzador LaTeX
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ktp-text-ui-15.08.3/filters/texttospeech/CMakeLists.txt 
new/ktp-text-ui-15.12.0/filters/texttospeech/CMakeLists.txt
--- old/ktp-text-ui-15.08.3/filters/texttospeech/CMakeLists.txt 2015-11-04 
23:47:25.000000000 +0100
+++ new/ktp-text-ui-15.12.0/filters/texttospeech/CMakeLists.txt 2015-12-08 
17:08:39.000000000 +0100
@@ -1,11 +1,10 @@
-qt5_add_dbus_interfaces(ktptextui_message_filter_tts_SRCS 
${KDE4_DBUS_INTERFACES_DIR}/org.kde.KSpeech.xml)
-
 add_library (ktptextui_message_filter_tts MODULE tts-filter.cpp)
 
 target_link_libraries (ktptextui_message_filter_tts
     KF5::CoreAddons
     KF5::I18n
     KTp::CommonInternals
+    Qt5::TextToSpeech
 )
 
 # Install:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ktp-text-ui-15.08.3/filters/texttospeech/tts-filter.cpp 
new/ktp-text-ui-15.12.0/filters/texttospeech/tts-filter.cpp
--- old/ktp-text-ui-15.08.3/filters/texttospeech/tts-filter.cpp 2015-11-04 
23:47:25.000000000 +0100
+++ new/ktp-text-ui-15.12.0/filters/texttospeech/tts-filter.cpp 2015-12-08 
17:08:39.000000000 +0100
@@ -18,32 +18,26 @@
 
 #include "tts-filter.h"
 
-
 #include <KPluginFactory>
 #include <KLocalizedString>
 
-#include <kspeech.h>
-#include <kspeechinterface.h>
-
+#include <QTextToSpeech>
 
 class TTSFilter::Private {
 public:
-    org::kde::KSpeech *kspeech;
+    QTextToSpeech *speech;
 };
 
-static const KCatalogLoader loader(QLatin1String("ktp-filters"));
-
 TTSFilter::TTSFilter(QObject *parent, const QVariantList &)
     : KTp::AbstractMessageFilter(parent),
       d(new Private)
 {
-    d->kspeech = new org::kde::KSpeech(QLatin1String("org.kde.kttsd"), 
QLatin1String("/KSpeech"), QDBusConnection::sessionBus());
-    d->kspeech->setApplicationName(i18n("KDE Instant Messaging"));
+    d->speech = new QTextToSpeech();
 }
 
 TTSFilter::~TTSFilter()
 {
-    delete d->kspeech;
+    delete d->speech;
     delete d;
 }
 
@@ -59,11 +53,13 @@
     }
 
     if (message.type() == Tp::ChannelTextMessageTypeNormal) {
-        d->kspeech->say(i18nc("Text to Speech - text message %1 is name, %2 is 
message", "%1 says %2", message.mainMessagePart(), message.senderAlias()), 
KSpeech::soHtml);
+        d->speech->say(i18nc("Text to Speech - text message %1 is name, %2 is 
message", "%1 says %2", message.mainMessagePart(), message.senderAlias()));
     }
     else if (message.type() == Tp::ChannelTextMessageTypeAction) {
-        d->kspeech->say(i18nc("Text to Speech - text message %1 is name, %2 is 
message", "%1 %2", message.mainMessagePart(), message.senderAlias()), 
KSpeech::soHtml);
+        d->speech->say(i18nc("Text to Speech - text message %1 is name, %2 is 
message", "%1 %2", message.mainMessagePart(), message.senderAlias()));
     }
 }
 
 K_PLUGIN_FACTORY(MessageFilterFactory, registerPlugin<TTSFilter>();)
+
+#include "tts-filter.moc"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ktp-text-ui-15.08.3/filters/youtube/ktptextui_message_filter_youtube.desktop.cmake
 
new/ktp-text-ui-15.12.0/filters/youtube/ktptextui_message_filter_youtube.desktop.cmake
--- 
old/ktp-text-ui-15.08.3/filters/youtube/ktptextui_message_filter_youtube.desktop.cmake
      2015-11-04 23:47:25.000000000 +0100
+++ 
new/ktp-text-ui-15.12.0/filters/youtube/ktptextui_message_filter_youtube.desktop.cmake
      2015-12-08 17:08:39.000000000 +0100
@@ -45,6 +45,7 @@
 Name[zh_TW]=YouTube 預覽
 Comment=If any messages contains a link to a YouTube video, it will embed a 
preview in the chat
 Comment[ar]=إن احتوت أيّ رسالة وصلة إلى فيديو يوتيوب، ستُضمّن معاينة في 
الدّردشة.
+Comment[ast]=Si cualesquier mensaxe contién un enllaz a un videu de Youtube, 
empotraráse una previsualización na charra
 Comment[bs]=Ako poruka sadrži vezu na YouTube video, oma će se ugraditi u 
pregled ćaskanja
 Comment[ca]=Si qualsevol missatge conté un enllaç a un vídeo de YouTube, 
s'incrustarà una vista prèvia en el xat
 Comment[ca@valencia]=Si qualsevol missatge conté un enllaç a un vídeo de 
YouTube, s'incrustarà una vista prèvia en el xat
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktp-text-ui-15.08.3/lib/text-chat-config.cpp 
new/ktp-text-ui-15.12.0/lib/text-chat-config.cpp
--- old/ktp-text-ui-15.08.3/lib/text-chat-config.cpp    2015-11-04 
23:47:25.000000000 +0100
+++ new/ktp-text-ui-15.12.0/lib/text-chat-config.cpp    2015-12-08 
17:08:39.000000000 +0100
@@ -38,6 +38,7 @@
     bool m_showMeTyping;
     bool m_showOthersTyping;
     bool m_dontLeaveGroupChats;
+    bool m_rememberTabKeyboardLayout;
     QString m_nicknameCompletionSuffix;
     ShareProvider::ShareService m_imageShareServiceType;
 };
@@ -90,6 +91,8 @@
 
     behaviorConfig.writeEntry("dontLeaveGroupChats", d->m_dontLeaveGroupChats);
 
+    behaviorConfig.writeEntry("rememberTabKeyboardLayout", 
d->m_rememberTabKeyboardLayout);
+
     behaviorConfig.sync();
 
     mutex.unlock();
@@ -211,6 +214,18 @@
     mutex.unlock();
 }
 
+bool TextChatConfig::rememberTabKeyboardLayout() const
+{
+    return d->m_rememberTabKeyboardLayout;
+}
+
+void TextChatConfig::setRememberTabKeyboardLayout(bool change)
+{
+    mutex.lock();
+    d->m_rememberTabKeyboardLayout = change;
+    mutex.unlock();
+}
+
 TextChatConfig::TextChatConfig() :
     d(new TextChatConfigPrivate())
 {
@@ -237,6 +252,8 @@
 
     d->m_dontLeaveGroupChats = behaviorConfig.readEntry("dontLeaveGroupChats", 
false);
 
+    d->m_rememberTabKeyboardLayout = 
behaviorConfig.readEntry("rememberTabKeyboardLayout", false);
+
     // Imgur is the default image sharing service
     int shareServiceType = behaviorConfig.readEntry("imageShareServiceType", 
static_cast<int>(ShareProvider::Imgur));
     d->m_imageShareServiceType = 
static_cast<ShareProvider::ShareService>(shareServiceType);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ktp-text-ui-15.08.3/lib/text-chat-config.h 
new/ktp-text-ui-15.12.0/lib/text-chat-config.h
--- old/ktp-text-ui-15.08.3/lib/text-chat-config.h      2015-11-04 
23:47:25.000000000 +0100
+++ new/ktp-text-ui-15.12.0/lib/text-chat-config.h      2015-12-08 
17:08:39.000000000 +0100
@@ -67,6 +67,9 @@
     bool dontLeaveGroupChats() const;
     void setDontLeaveGroupChats(bool dontLeaveGroupChats);
 
+    bool rememberTabKeyboardLayout() const;
+    void setRememberTabKeyboardLayout(bool change);
+
 private:
     TextChatConfig();
 


Reply via email to