[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5
Maximiliano Curia
maxy at moszumanska.debian.org
Fri May 27 23:57:16 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=37f149e
The following commit has been merged in the master branch:
commit 37f149e278a98856c49cdd8fd83ddee1c230c2ae
Author: George Goldberg <grundleborg at googlemail.com>
Date: Wed Jul 22 13:10:17 2009 +0000
Add some extra kDebug()'s and some comments.
svn path=/trunk/playground/network/telepathy-accounts-kcm/; revision=1001013
---
src/add-account-wizard.cpp | 4 +++-
src/kcm-telepathy-accounts.cpp | 10 ++++++++++
src/protocol-select-widget.cpp | 5 ++++-
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/src/add-account-wizard.cpp b/src/add-account-wizard.cpp
index 8f94c6a..e851263 100644
--- a/src/add-account-wizard.cpp
+++ b/src/add-account-wizard.cpp
@@ -31,7 +31,9 @@ class AddAccountWizard::Private
public:
Private()
: pageOne(0)
- { }
+ {
+ kDebug();
+ }
ProtocolSelectWidget *widgetOne;
KPageWidgetItem *pageOne;
diff --git a/src/kcm-telepathy-accounts.cpp b/src/kcm-telepathy-accounts.cpp
index 5362014..14a3f2f 100644
--- a/src/kcm-telepathy-accounts.cpp
+++ b/src/kcm-telepathy-accounts.cpp
@@ -42,6 +42,8 @@ KCMTelepathyAccounts::KCMTelepathyAccounts(QWidget *parent, const QVariantList&
m_accountsListModel(0),
m_addAccountWizard(0)
{
+ kDebug();
+
// Start setting up the Telepathy AccountManager.
m_accountManager = Tp::AccountManager::create();
@@ -67,11 +69,15 @@ KCMTelepathyAccounts::KCMTelepathyAccounts(QWidget *parent, const QVariantList&
KCMTelepathyAccounts::~KCMTelepathyAccounts()
{
+ kDebug();
+
// TODO: Implement me!
}
void KCMTelepathyAccounts::load()
{
+ kDebug();
+
// This slot is called whenever the configuration data in this KCM should
// be reloaded from the store. We will not actually do anything here since
// all changes that are made in this KCM are, at the moment, saved
@@ -98,7 +104,11 @@ void KCMTelepathyAccounts::onAccountManagerReady(Tp::PendingOperation *op)
void KCMTelepathyAccounts::onAddAccountClicked()
{
+ kDebug();
+
+ // Ensure that there is not already an instance of the AddAccountWizard before we create one.";
if (!m_addAccountWizard) {
+ // Create an AddAccountWizard instance and show it.
m_addAccountWizard = new AddAccountWizard(this);
m_addAccountWizard->show();
return;
diff --git a/src/protocol-select-widget.cpp b/src/protocol-select-widget.cpp
index 5e65ea8..5ab6fc1 100644
--- a/src/protocol-select-widget.cpp
+++ b/src/protocol-select-widget.cpp
@@ -29,7 +29,9 @@ class ProtocolSelectWidget::Private
public:
Private()
: ui(0)
- { }
+ {
+ kDebug();
+ }
Ui::ProtocolSelectWidget *ui;
};
@@ -48,6 +50,7 @@ ProtocolSelectWidget::ProtocolSelectWidget(QWidget *parent)
ProtocolSelectWidget::~ProtocolSelectWidget()
{
kDebug();
+
delete d;
}
--
ktp-accounts-kcm packaging
More information about the pkg-kde-commits
mailing list