[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/network/telepathy-accounts-kcm-plugins/gabble
From:       George Goldberg <grundleborg () googlemail ! com>
Date:       2009-08-10 13:48:58
Message-ID: 1249912138.429199.13977.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1009623 by gberg:

Add a widget for the optional server-related parameters.

 M  +2 -0      CMakeLists.txt  
 M  +8 -0      gabble-account-ui.cpp  
 A             server-settings-widget.cpp   [License: LGPL (v2.1+)]
 A             server-settings-widget.h   [License: LGPL (v2.1+)]
 A             server-settings-widget.ui  


--- trunk/playground/network/telepathy-accounts-kcm-plugins/gabble/CMakeLists.txt #1009622:1009623
@@ -8,10 +8,12 @@
      gabble-account-ui-plugin.cpp
      gabble-account-ui.cpp
      mandatory-parameters-widget.cpp
+     server-settings-widget.cpp
 )
 
 kde4_add_ui_files (kcmtelepathyaccounts_plugin_gabble_SRCS
                    mandatory-parameters-widget.ui
+                   server-settings-widget.ui
 )
 
 kde4_add_plugin (kcmtelepathyaccounts_plugin_gabble
--- trunk/playground/network/telepathy-accounts-kcm-plugins/gabble/gabble-account-ui.cpp #1009622:1009623
@@ -44,6 +44,14 @@
     // Register supported parameters
     registerSupportedMandatoryParameter("account", QVariant::String);
     registerSupportedMandatoryParameter("password", QVariant::String);
+
+    registerSupportedOptionalParameter("port", QVariant::UInt);
+    registerSupportedOptionalParameter("server", QVariant::String);
+    registerSupportedOptionalParameter("require-encryption", QVariant::Bool);
+    registerSupportedOptionalParameter("old-ssl", QVariant::Bool);
+    registerSupportedOptionalParameter("low-bandwidth", QVariant::Bool);
+    registerSupportedOptionalParameter("ignore-ssl-errors", QVariant::Bool);
+    registerSupportedOptionalParameter("keepalive-interval", QVariant::UInt);
 }
 
 GabbleAccountUi::~GabbleAccountUi()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic