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

List:       kde-commits
Subject:    =?utf-8?q?=5Bnetworkmanagement=5D_libs/service=3A_I_have_just_st?=
From:       "Lamarque V.Souza" <lamarque () gmail ! com>
Date:       2011-03-01 1:28:39
Message-ID: 20110301012839.E83AAA60C9 () git ! kde ! org
[Download RAW message or body]

Git commit ce8bc72b899d447b98109ec52ce1133a2be2c6d8 by Lamarque V. Souza.
Committed on 01/03/2011 at 02:26.
Pushed by lvsouza into branch 'master'.

I have just stumbled across this warning about GsmInterfaceConnection. Fixing it.

M  +6    -0    libs/service/activatabledebug.cpp     

http://commits.kde.org/networkmanagement/ce8bc72b899d447b98109ec52ce1133a2be2c6d8

diff --git a/libs/service/activatabledebug.cpp b/libs/service/activatabledebug.cpp
index 1f141f3..8b82b45 100644
--- a/libs/service/activatabledebug.cpp
+++ b/libs/service/activatabledebug.cpp
@@ -30,6 +30,7 @@ License along with this library.  If not, see \
<http://www.gnu.org/licenses/>.  #include <hiddenwirelessinterfaceconnection.h>
 #include <wirelessinterfaceconnection.h>
 #include <wirelessnetwork.h>
+#include <gsminterfaceconnection.h>
 
 ActivatableDebug::ActivatableDebug()
 {
@@ -45,6 +46,7 @@ QString ActivatableDebug::activatableToString(Knm::Activatable* \
activatable)  Knm::WirelessInterfaceConnection * wic;
     Knm::WirelessNetwork * wni;
     Knm::VpnInterfaceConnection * vpn;
+    Knm::GsmInterfaceConnection * gsm;
 
     QString string;
 
@@ -80,6 +82,10 @@ QString ActivatableDebug::activatableToString(Knm::Activatable* \
                activatable)
             vpn = qobject_cast<Knm::VpnInterfaceConnection*>(activatable);
             string = QString::fromLatin1("VpnInterfaceConnection %1 (%2) on \
%3").arg(vpn->connectionName(), vpn->connectionUuid(), identifier);  break;
+        case Knm::Activatable::GsmInterfaceConnection:
+            gsm = qobject_cast<Knm::GsmInterfaceConnection*>(activatable);
+            string = QString::fromLatin1("GsmInterfaceConnection %1 (%2) on %3 with \
state %4 with signal quality %5").arg(gsm->connectionName(), gsm->connectionUuid(), \
identifier, QString::number(gsm->activationState()), \
QString::number(gsm->getSignalQuality())); +            break;
     }
 
     return string;


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

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