[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:20:56 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=4343609

The following commit has been merged in the master branch:
commit 43436097ab7f0f4e7f59470c8cdae528eca93086
Author: Lasath Fernando <kde at lasath.org>
Date:   Sun Jan 15 15:29:26 2012 +1100

    Rename TelepathyTextObserver::d to TelepathyTextObserver::observer
---
 lib/telepathy-text-observer.cpp | 9 ++++++---
 lib/telepathy-text-observer.h   | 2 +-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/lib/telepathy-text-observer.cpp b/lib/telepathy-text-observer.cpp
index 0dc9ced..29dc808 100644
--- a/lib/telepathy-text-observer.cpp
+++ b/lib/telepathy-text-observer.cpp
@@ -76,7 +76,7 @@ public:
 };
 
 TelepathyTextObserver::TelepathyTextObserver() :
-    d(new ConversationClientObserver(this))
+    observer(new ConversationClientObserver(this))
 {
     kDebug();
     Tp::registerTypes();
@@ -108,9 +108,12 @@ TelepathyTextObserver::TelepathyTextObserver() :
     );
 
     //TODO: check these to make sure I'm only requesting features I actually use.
-    d->registrar = Tp::ClientRegistrar::create(accountFactory, connectionFactory,
+    observer
+->registrar = Tp::ClientRegistrar::create(accountFactory, connectionFactory,
                                             channelFactory, contactFactory);
-    d->registrar->registerClient(d, QLatin1String("KDE.TextUi.ConversationWatcher"));
+    observer
+->registrar->registerClient(observer
+, QLatin1String("KDE.TextUi.ConversationWatcher"));
 }
 
 TelepathyTextObserver::~TelepathyTextObserver()
diff --git a/lib/telepathy-text-observer.h b/lib/telepathy-text-observer.h
index 0815750..5368875 100644
--- a/lib/telepathy-text-observer.h
+++ b/lib/telepathy-text-observer.h
@@ -38,7 +38,7 @@ Q_SIGNALS:
 	void newConversation(Conversation *con);
 private:
 	class ConversationClientObserver;
-	Tp::SharedPtr<ConversationClientObserver> d /*= Tp::SharedPtr<ConversationClientObserver>()*/;
+	Tp::SharedPtr<ConversationClientObserver> observer;
 };
 
 #endif // CONVERSATION_WATCHER_H

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list