[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/applets/presence
From: George Goldberg <grundleborg () googlemail ! com>
Date: 2009-04-03 10:52:01
Message-ID: 1238755921.342649.21254.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 948604 by gberg:
Fix to compile with latest tpqt4 API.
M +5 -2 presence.cpp
M +0 -2 presence.h
--- trunk/playground/base/plasma/applets/presence/presence.cpp #948603:948604
@@ -31,7 +31,6 @@
#include <TelepathyQt4/Types>
#include <TelepathyQt4/Constants>
-#include <TelepathyQt4/Client/PendingReadyAccountManager>
#include <TelepathyQt4/Client/PendingReady>
#include <TelepathyQt4/Client/Account>
@@ -104,7 +103,11 @@
QVariant("status-message"), Qt::DisplayRole);
//setup Telepathy Account Manager
m_accountManager = new Telepathy::Client::AccountManager(QDBusConnection::sessionBus());
- connect(m_accountManager->becomeReady(),
+
+ QSet<Telepathy::Client::Feature> features;
+ features << Telepathy::Client::AccountManager::FeatureCore;
+
+ connect(m_accountManager->becomeReady(features),
SIGNAL(finished(Telepathy::Client::PendingOperation *)), this,
SLOT(onReady(Telepathy::Client::PendingOperation *)));
--- trunk/playground/base/plasma/applets/presence/presence.h #948603:948604
@@ -32,8 +32,6 @@
#include <QtGui/QLabel>
#include <QtGui/QStandardItemModel>
-
-#include <TelepathyQt4/Client/PendingReadyAccountManager>
#include <TelepathyQt4/Client/AccountManager>
class KColorScheme;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic