[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kopete/protocols/jabber
From: Till Gerken <till () tantalo ! net>
Date: 2002-12-08 23:36:37
[Download RAW message or body]
CVS commit by gerken:
Fixing up version reporting, added OS name
M +6 -0 jabberprotocol.cpp 1.108
--- kdenonbeta/kopete/protocols/jabber/jabberprotocol.cpp #1.107:1.108
@@ -38,4 +38,6 @@
#include <psi/vcard.h>
+#include <sys/utsname.h>
+
#include "kopete.h"
#include "systemtray.h" // I believe that this belongs into kopete.h
@@ -221,6 +223,10 @@ void JabberProtocol::Connect()
connect(jabberClient, SIGNAL(debugText(const QString &)), this, \
SLOT(slotPsiDebug(const QString &)));
+ utsname utsBuf;
+ uname(&utsBuf);
+
jabberClient->setClientName("Kopete Jabber Plugin");
jabberClient->setClientVersion("0.5.1");
+ jabberClient->setOSName(QString("%1 %2").arg(utsBuf.sysname, \
1).arg(utsBuf.release, 2));
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic