[SCM] ktp-kded-integration-module packaging branch, master, updated. debian/15.12.1-2-382-gbd961c2

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


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-kded-module.git;a=commitdiff;h=3ff1537

The following commit has been merged in the master branch:
commit 3ff1537b90a73a961d2e88da7258cdf81029e520
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Wed Sep 28 13:28:46 2011 +0100

    Enable xa spinbox when checkbox is clicked
    
    Reviewed-by: Martin Klapetek <martin.klapetek at gmail.com>
---
 config/telepathy-kded-config.cpp | 9 +++++++++
 config/telepathy-kded-config.h   | 1 +
 2 files changed, 10 insertions(+)

diff --git a/config/telepathy-kded-config.cpp b/config/telepathy-kded-config.cpp
index 871fcf1..863008c 100644
--- a/config/telepathy-kded-config.cpp
+++ b/config/telepathy-kded-config.cpp
@@ -46,6 +46,9 @@ TelepathyKDEDConfig::TelepathyKDEDConfig(QWidget *parent, const QVariantList& ar
     connect(ui->m_awayCheckBox, SIGNAL(clicked(bool)),
             this, SLOT(autoAwayChecked(bool)));
 
+    connect(ui->m_xaCheckBox, SIGNAL(clicked(bool)),
+            this, SLOT(autoXAChecked(bool)));
+
     connect(ui->m_xaCheckBox, SIGNAL(stateChanged(int)),
             this, SLOT(settingsHasChanged()));
 
@@ -125,6 +128,12 @@ void TelepathyKDEDConfig::autoAwayChecked(bool checked)
     Q_EMIT changed(true);
 }
 
+void TelepathyKDEDConfig::autoXAChecked(bool checked)
+{
+    ui->m_xaMins->setEnabled(checked);
+    Q_EMIT changed(true);
+}
+
 void TelepathyKDEDConfig::settingsHasChanged()
 {
     Q_EMIT changed(true);
diff --git a/config/telepathy-kded-config.h b/config/telepathy-kded-config.h
index a2f3a7d..bd82cbd 100644
--- a/config/telepathy-kded-config.h
+++ b/config/telepathy-kded-config.h
@@ -41,6 +41,7 @@ public Q_SLOTS:
 
 private Q_SLOTS:
     void autoAwayChecked(bool checked);
+    void autoXAChecked(bool checked);
     void settingsHasChanged();
 
 private:

-- 
ktp-kded-integration-module packaging



More information about the pkg-kde-commits mailing list