[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/kpilot/kpilot
From:       Reinhold Kainhofer <reinhold () kainhofer ! com>
Date:       2004-08-21 20:28:23
Message-ID: 20040821202823.430112E8D () office ! kde ! org
[Download RAW message or body]

CVS commit by kainhofe: 

Add a dcop function addInstallFiles(QStringList) to the kpilotDaemon dcop interface \
(actually that method was already existent, it was just not included in the dcop \
interface). As arguments it takes a string list of all pathes (actually KURLs) to be \
installed to the device during the next sync. The pdb or prc files are copied to \
kpilot's own dir, so it's possible to erase / recreate these files after calling the \
dcop method. Also, if the files are not prc or pdb files, a warning dialog is shown, \
and the file is not attempted to be installed.

CCMAIL:geiseri@kde.org


  M +1 -1      pilotDaemon.h   1.57
  M +6 -0      pilotDaemonDCOP.h   1.23


--- kdepim/kpilot/kpilot/pilotDaemon.h  #1.56:1.57
@@ -148,5 +148,5 @@ public:
         */
         void showTray();
-        void addInstallFiles(const QStringList &);
+        virtual void addInstallFiles(const QStringList &);
 
         // The next few functions are the DCOP interface.

--- kdepim/kpilot/kpilot/pilotDaemonDCOP.h  #1.22:1.23
@@ -80,4 +80,10 @@ k_dcop:
         virtual bool killDaemonOnExit() = 0;
 
+        /**
+        * Some other useful functionality
+        */
+        virtual void addInstallFiles(const QStringList &) = 0;
+
+
 k_dcop_signals:
         void kpilotDaemonStatusChanged();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic