[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5

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


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=f19c198

The following commit has been merged in the master branch:
commit f19c1988a3f8248d57d9d85a25b352693097e517
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Wed Dec 28 10:44:50 2011 +0100

    Use Q_EMIT instead of emit
---
 src/KCMTelepathyAccounts/parameter-edit-model.cpp | 2 +-
 src/account-item.cpp                              | 2 +-
 src/accounts-list-delegate.cpp                    | 2 +-
 src/accounts-list-model.cpp                       | 4 ++--
 src/edit-account-dialog.cpp                       | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/KCMTelepathyAccounts/parameter-edit-model.cpp b/src/KCMTelepathyAccounts/parameter-edit-model.cpp
index 6bce9c8..2c5e16d 100644
--- a/src/KCMTelepathyAccounts/parameter-edit-model.cpp
+++ b/src/KCMTelepathyAccounts/parameter-edit-model.cpp
@@ -299,7 +299,7 @@ bool ParameterEditModel::validateParameterValues()
 {
     Q_FOREACH (ParameterItem *item, m_items) {
         if (item->validity() != QValidator::Acceptable) {
-           emit feedbackMessage(i18n("Parameter \"<b>%1</b>\" is not valid.",
+           Q_EMIT feedbackMessage(i18n("Parameter \"<b>%1</b>\" is not valid.",
                                 item->localizedName()),
                                 QString(),
                                 KMessageWidget::Error);
diff --git a/src/account-item.cpp b/src/account-item.cpp
index b5688c8..f72cabf 100644
--- a/src/account-item.cpp
+++ b/src/account-item.cpp
@@ -180,7 +180,7 @@ void AccountItem::onAccountRemoved(Tp::PendingOperation *op)
 
 void AccountItem::onTitleForCustomPages(QString mandatoryPage, QList<QString> optionalPage)
 {
-    emit setTitleForCustomPages(mandatoryPage, optionalPage);
+    Q_EMIT setTitleForCustomPages(mandatoryPage, optionalPage);
 }
 
 Tp::ConnectionStatus AccountItem::connectionStatus() const
diff --git a/src/accounts-list-delegate.cpp b/src/accounts-list-delegate.cpp
index 4feb8df..db1c942 100644
--- a/src/accounts-list-delegate.cpp
+++ b/src/accounts-list-delegate.cpp
@@ -84,7 +84,7 @@ void AccountsListDelegate::updateItemWidgets(const QList<QWidget *> widgets, con
 void AccountsListDelegate::onCheckBoxToggled(bool checked)
 {
     QModelIndex index = focusedIndex();
-    emit itemChecked(index, checked);
+    Q_EMIT itemChecked(index, checked);
 }
 
 
diff --git a/src/accounts-list-model.cpp b/src/accounts-list-model.cpp
index 0a9559d..b8f671e 100644
--- a/src/accounts-list-model.cpp
+++ b/src/accounts-list-model.cpp
@@ -244,12 +244,12 @@ void AccountsListModel::onAccountItemUpdated()
     }
 
     QModelIndex index = createIndex(m_accounts.lastIndexOf(item), 0);
-    emit dataChanged(index, index);
+    Q_EMIT dataChanged(index, index);
 }
 
 void AccountsListModel::onTitleForCustomPages(QString mandatoryPage, QList<QString> optionalPage)
 {
-    emit setTitleForCustomPages(mandatoryPage, optionalPage);
+    Q_EMIT setTitleForCustomPages(mandatoryPage, optionalPage);
 }
 
 
diff --git a/src/edit-account-dialog.cpp b/src/edit-account-dialog.cpp
index 1d1a11c..be8660e 100644
--- a/src/edit-account-dialog.cpp
+++ b/src/edit-account-dialog.cpp
@@ -171,7 +171,7 @@ void EditAccountDialog::onDisplayNameUpdated(Tp::PendingOperation *op)
         return;
     }
 
-    emit finished();
+    Q_EMIT finished();
 
     if (d->reconnectRequired) {
         d->item->account()->reconnect();

-- 
ktp-accounts-kcm packaging



More information about the pkg-kde-commits mailing list