[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:48 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=07c4e82
The following commit has been merged in the master branch:
commit 07c4e829e4d73ac0e5c1a58a7650183377b33e97
Author: George Goldberg <grundleborg at googlemail.com>
Date: Mon Aug 3 13:16:38 2009 +0000
Add a method to AbstractAccountParametersWidget to check if the current input state of the widgets will provide valid (to the best of the UI's knowledge) values, and to alert the user if not.
svn path=/trunk/playground/network/telepathy-accounts-kcm/; revision=1006302
---
src/libkcmtelepathyaccounts/abstract-account-parameters-widget.cpp | 5 +++++
src/libkcmtelepathyaccounts/abstract-account-parameters-widget.h | 1 +
2 files changed, 6 insertions(+)
diff --git a/src/libkcmtelepathyaccounts/abstract-account-parameters-widget.cpp b/src/libkcmtelepathyaccounts/abstract-account-parameters-widget.cpp
index dae3764..d85b50e 100644
--- a/src/libkcmtelepathyaccounts/abstract-account-parameters-widget.cpp
+++ b/src/libkcmtelepathyaccounts/abstract-account-parameters-widget.cpp
@@ -55,6 +55,11 @@ Tp::ProtocolParameterList AbstractAccountParametersWidget::parameters() const
return d->parameters;
}
+bool AbstractAccountParametersWidget::validateParameterValues()
+{
+ return true;
+}
+
#include "abstract-account-parameters-widget.moc"
diff --git a/src/libkcmtelepathyaccounts/abstract-account-parameters-widget.h b/src/libkcmtelepathyaccounts/abstract-account-parameters-widget.h
index a0bcff1..00dd584 100644
--- a/src/libkcmtelepathyaccounts/abstract-account-parameters-widget.h
+++ b/src/libkcmtelepathyaccounts/abstract-account-parameters-widget.h
@@ -40,6 +40,7 @@ public:
virtual QMap<Tp::ProtocolParameter*, QVariant> parameterValues() const = 0;
virtual Tp::ProtocolParameterList parameters() const;
+ virtual bool validateParameterValues();
protected:
--
ktp-accounts-kcm packaging
More information about the pkg-kde-commits
mailing list