[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:22:29 UTC 2016


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

The following commit has been merged in the master branch:
commit c84f24cb6c10c7be492a34cc8510f386c96fcad7
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Mon Aug 27 16:13:58 2012 +0200

    Small cleanup
---
 app/chat-window.cpp | 20 ++++++++++----------
 app/chat-window.h   |  6 +++---
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/app/chat-window.cpp b/app/chat-window.cpp
index 048632c..57cc33f 100644
--- a/app/chat-window.cpp
+++ b/app/chat-window.cpp
@@ -151,7 +151,7 @@ void ChatWindow::tabBarContextMenu(int index, const QPoint& globalPos)
     }
 }
 
-void ChatWindow::focusChat(ChatTab* tab)
+void ChatWindow::focusChat(ChatTab *tab)
 {
     kDebug();
     m_tabWidget->setCurrentWidget(tab);
@@ -159,7 +159,7 @@ void ChatWindow::focusChat(ChatTab* tab)
 
 ChatTab* ChatWindow::getTab(const Tp::TextChannelPtr& incomingTextChannel)
 {
-    ChatTab* match = 0;
+    ChatTab *match = 0;
 
     // if targetHandle is None, targetId is also "", therefore we won't be able to find it.
     if (!incomingTextChannel->targetHandleType() == Tp::HandleTypeNone) {
@@ -182,7 +182,7 @@ ChatTab* ChatWindow::getTab(const Tp::TextChannelPtr& incomingTextChannel)
     return match;
 }
 
-void ChatWindow::removeTab(ChatTab* tab)
+void ChatWindow::removeTab(ChatTab *tab)
 {
     kDebug();
 
@@ -197,7 +197,7 @@ void ChatWindow::removeTab(ChatTab* tab)
     }
 }
 
-void ChatWindow::addTab(ChatTab* tab)
+void ChatWindow::addTab(ChatTab *tab)
 {
     kDebug();
 
@@ -217,7 +217,7 @@ void ChatWindow::destroyTab(QWidget* chatWidget)
 {
     kDebug();
 
-    ChatTab* tab = qobject_cast<ChatTab*>(chatWidget);
+    ChatTab *tab = qobject_cast<ChatTab*>(chatWidget);
     Q_ASSERT(tab);
 
     tab->setChatWindow(0);
@@ -289,7 +289,7 @@ void ChatWindow::onCurrentIndexChanged(int index)
         return;
     }
 
-    ChatTab* currentChatTab = qobject_cast<ChatTab*>(m_tabWidget->widget(index));
+    ChatTab *currentChatTab = qobject_cast<ChatTab*>(m_tabWidget->widget(index));
     currentChatTab->acknowledgeMessages();
     setWindowTitle(currentChatTab->title());
     setWindowIcon(currentChatTab->icon());
@@ -431,7 +431,7 @@ void ChatWindow::onTabStateChanged()
 {
     kDebug();
 
-    ChatTab* sender = qobject_cast<ChatTab*>(QObject::sender());
+    ChatTab *sender = qobject_cast<ChatTab*>(QObject::sender());
     if (sender) {
         int tabIndex = m_tabWidget->indexOf(sender);
         setTabTextColor(tabIndex, sender->titleColor());
@@ -497,7 +497,7 @@ void ChatWindow::onShareDesktopTriggered()
 void ChatWindow::onOpenLogTriggered()
 {
     int index = m_tabWidget->currentIndex();
-    ChatTab* currentChatTab = qobject_cast<ChatTab*>(m_tabWidget->widget(index));
+    ChatTab *currentChatTab = qobject_cast<ChatTab*>(m_tabWidget->widget(index));
     Q_ASSERT(currentChatTab);
 
     Tp::AccountPtr account = currentChatTab->account();
@@ -532,7 +532,7 @@ void ChatWindow::showNotificationsDialog()
     KNotifyConfigWidget::configure(this, QLatin1String("ktelepathy"));
 }
 
-void ChatWindow::removeChatTabSignals(ChatTab* chatTab)
+void ChatWindow::removeChatTabSignals(ChatTab *chatTab)
 {
     disconnect(chatTab, SIGNAL(titleChanged(QString)), this, SLOT(onTabTextChanged(QString)));
     disconnect(chatTab, SIGNAL(iconChanged(KIcon)), this, SLOT(onTabIconChanged(KIcon)));
@@ -806,7 +806,7 @@ bool ChatWindow::event(QEvent *e)
 void ChatWindow::setTabSpellDictionary(const QString &dict)
 {
     int index = m_tabWidget->currentIndex();
-    ChatTab* currentChatTab=qobject_cast<ChatTab*>(m_tabWidget->widget(index));
+    ChatTab *currentChatTab=qobject_cast<ChatTab*>(m_tabWidget->widget(index));
     currentChatTab->setSpellDictionary(dict);
 }
 
diff --git a/app/chat-window.h b/app/chat-window.h
index 837a404..a722105 100644
--- a/app/chat-window.h
+++ b/app/chat-window.h
@@ -57,10 +57,10 @@ public:
      */
     ChatTab* getTab(const Tp::TextChannelPtr &incomingTextChannel);
 
-    void focusChat(ChatTab* tab);
+    void focusChat(ChatTab *tab);
 
-    void addTab(ChatTab* tab);
-    void removeTab(ChatTab* tab);
+    void addTab(ChatTab *tab);
+    void removeTab(ChatTab *tab);
 
 Q_SIGNALS:
     /** to emit before closing a window. This signal tells telepathyChatUi to remove the closed

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list