[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:15 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=9b198d4
The following commit has been merged in the master branch:
commit 9b198d4fb44f0d6dc082786129d8f9728a02df24
Author: George Goldberg <grundleborg at googlemail.com>
Date: Wed Jul 22 13:10:05 2009 +0000
Add the ProtocolSelectWidget as the first page of the add account wizard.
svn path=/trunk/playground/network/telepathy-accounts-kcm/; revision=1001011
---
src/add-account-wizard.cpp | 37 ++++++++++++++++++++++++++++++++++++-
src/add-account-wizard.h | 3 +++
src/protocol-select-widget.cpp | 3 +++
3 files changed, 42 insertions(+), 1 deletion(-)
diff --git a/src/add-account-wizard.cpp b/src/add-account-wizard.cpp
index eec3129..8f94c6a 100644
--- a/src/add-account-wizard.cpp
+++ b/src/add-account-wizard.cpp
@@ -20,34 +20,69 @@
#include "add-account-wizard.h"
+#include "protocol-select-widget.h"
+
+#include <KDebug>
+#include <KLocale>
+#include <KPageWidgetItem>
+
+class AddAccountWizard::Private
+{
+public:
+ Private()
+ : pageOne(0)
+ { }
+
+ ProtocolSelectWidget *widgetOne;
+ KPageWidgetItem *pageOne;
+};
+
AddAccountWizard::AddAccountWizard(QWidget *parent)
- : KAssistantDialog(parent)
+ : KAssistantDialog(parent),
+ d(new Private)
{
+ kDebug();
+ // Set up the pages of the Wizard.
+ d->widgetOne = new ProtocolSelectWidget(this);
+ d->pageOne = new KPageWidgetItem(d->widgetOne);
+ d->pageOne->setHeader(i18n("Step 1: Select an Instant Messaging Network."));
+
+ addPage(d->pageOne);
}
AddAccountWizard::~AddAccountWizard()
{
+ kDebug();
+ delete d;
}
void AddAccountWizard::back()
{
+ kDebug();
+
// TODO: Implement me!
}
void AddAccountWizard::next()
{
+ kDebug();
+
// TODO: Implement me!
}
void AddAccountWizard::accept()
{
+ kDebug();
+
// TODO: Implement me!
}
void AddAccountWizard::reject()
{
+ kDebug();
+
// TODO: Implement me!
}
diff --git a/src/add-account-wizard.h b/src/add-account-wizard.h
index 413ce86..8b65da8 100644
--- a/src/add-account-wizard.h
+++ b/src/add-account-wizard.h
@@ -37,6 +37,9 @@ protected Q_SLOTS:
virtual void accept();
virtual void reject();
+private:
+ class Private;
+ Private * const d;
};
diff --git a/src/protocol-select-widget.cpp b/src/protocol-select-widget.cpp
index 1009a67..5e65ea8 100644
--- a/src/protocol-select-widget.cpp
+++ b/src/protocol-select-widget.cpp
@@ -39,6 +39,9 @@ ProtocolSelectWidget::ProtocolSelectWidget(QWidget *parent)
d(new Private)
{
kDebug();
+
+ // Set up the widget
+ d->ui = new Ui::ProtocolSelectWidget;
d->ui->setupUi(this);
}
--
ktp-accounts-kcm packaging
More information about the pkg-kde-commits
mailing list