[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:27:14 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=e74627c

The following commit has been merged in the master branch:
commit e74627ce150ca7c33fb6f22fe46e06c1522946a4
Author: Samoilenko Yuri <kinnalru at gmail.com>
Date:   Tue Jan 7 00:59:54 2014 +0400

    dirty kcm integration
---
 kcm/kcm.cpp | 7 +++++++
 kcm/kcm.h   | 1 +
 kcm/kcm.ui  | 7 +++++++
 3 files changed, 15 insertions(+)

diff --git a/kcm/kcm.cpp b/kcm/kcm.cpp
index 9344dfd..0130670 100644
--- a/kcm/kcm.cpp
+++ b/kcm/kcm.cpp
@@ -73,6 +73,8 @@ KdeConnectKcm::KdeConnectKcm(QWidget *parent, const QVariantList&)
             this, SLOT(unpair()));
     connect(kcmUi->ping_button, SIGNAL(pressed()),
             this, SLOT(sendPing()));
+    connect(kcmUi->browse_button, SIGNAL(clicked(bool)),
+            this, SLOT(browseFilesystem()));
 
 }
 
@@ -252,3 +254,8 @@ void KdeConnectKcm::sendPing()
     currentDevice->sendPing();
 }
 
+void KdeConnectKcm::browseFilesystem()
+{
+    if (!currentDevice) return;
+    SftpDbusInterface(currentDevice->id(), this).browseFilesystem();
+}
diff --git a/kcm/kcm.h b/kcm/kcm.h
index 072c544..950460d 100644
--- a/kcm/kcm.h
+++ b/kcm/kcm.h
@@ -58,6 +58,7 @@ private Q_SLOTS:
     void requestPair();
     void pluginsConfigChanged();
     void sendPing();
+    void browseFilesystem();
     void resetSelection();
     void pairingSuccesful();
     void pairingFailed(const QString& error);
diff --git a/kcm/kcm.ui b/kcm/kcm.ui
index a92d283..8177ffa 100644
--- a/kcm/kcm.ui
+++ b/kcm/kcm.ui
@@ -169,6 +169,13 @@
               </property>
              </widget>
             </item>
+            <item>
+             <widget class="QPushButton" name="browse_button">
+              <property name="text">
+               <string>Browse</string>
+              </property>
+             </widget>
+            </item>
            </layout>
           </widget>
          </item>

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list