[SCM] ktp-contact-list packaging branch, master, updated. debian/15.12.1-2-1070-g6c56f91

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:08:09 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=091a73c

The following commit has been merged in the master branch:
commit 091a73c9d6a035e41d518f1b3cd113b6d8e28188
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Tue Nov 29 17:46:29 2011 +0100

    Normalize signal/slots signatures
---
 contact-delegate-overlay.cpp | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/contact-delegate-overlay.cpp b/contact-delegate-overlay.cpp
index 032dd38..2cae71f 100644
--- a/contact-delegate-overlay.cpp
+++ b/contact-delegate-overlay.cpp
@@ -58,15 +58,15 @@ void ContactDelegateOverlay::paint(QPainter*, const QStyleOptionViewItem&, const
 void ContactDelegateOverlay::setView(QAbstractItemView* view)
 {
     if (m_view) {
-        disconnect(this, SIGNAL(update(const QModelIndex&)),
-                   m_view, SLOT(update(const QModelIndex&)));
+        disconnect(this, SIGNAL(update(QModelIndex)),
+                   m_view, SLOT(update(QModelIndex)));
     }
 
     m_view = view;
 
     if (m_view) {
-        connect(this, SIGNAL(update(const QModelIndex&)),
-                m_view, SLOT(update(const QModelIndex&)));
+        connect(this, SIGNAL(update(QModelIndex)),
+                m_view, SLOT(update(QModelIndex)));
     }
 }
 
@@ -124,8 +124,8 @@ void AbstractWidgetDelegateOverlay::setActive(bool active)
         m_widget.data()->installEventFilter(this);
 
         if (view()->model()) {
-            connect(m_view->model(), SIGNAL(rowsRemoved(const QModelIndex&, int, int)),
-                    this, SLOT(slotRowsRemoved(const QModelIndex&, int, int)));
+            connect(m_view->model(), SIGNAL(rowsRemoved(QModelIndex, int, int)),
+                    this, SLOT(slotRowsRemoved(QModelIndex, int, int)));
 
             connect(m_view->model(), SIGNAL(layoutChanged()),
                     this, SLOT(slotLayoutChanged()));
@@ -134,8 +134,8 @@ void AbstractWidgetDelegateOverlay::setActive(bool active)
                     this, SLOT(slotReset()));
         }
 
-        connect(m_view, SIGNAL(entered(const QModelIndex&)),
-                this, SLOT(slotEntered(const QModelIndex&)));
+        connect(m_view, SIGNAL(entered(QModelIndex)),
+                this, SLOT(slotEntered(QModelIndex)));
 
         connect(m_view, SIGNAL(viewportEntered()),
                 this, SLOT(slotViewportEntered()));
@@ -149,8 +149,8 @@ void AbstractWidgetDelegateOverlay::setActive(bool active)
                 disconnect(m_view->model(), 0, this, 0);
             }
 
-            disconnect(m_view, SIGNAL(entered(const QModelIndex&)),
-                       this, SLOT(slotEntered(const QModelIndex&)));
+            disconnect(m_view, SIGNAL(entered(QModelIndex)),
+                       this, SLOT(slotEntered(QModelIndex)));
 
             disconnect(m_view, SIGNAL(viewportEntered()),
                        this, SLOT(slotViewportEntered()));

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list