From 3768653a2aed91290e05dd3fd42d5af2006c7ed4 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 26 Mar 2010 07:19:43 +0000 Subject: Fixed up rsync and dirfilter plugins git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1107600 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- konq-plugins/rsync/rsyncplugin.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'konq-plugins/rsync/rsyncplugin.h') diff --git a/konq-plugins/rsync/rsyncplugin.h b/konq-plugins/rsync/rsyncplugin.h index 0e8c22d..4deb2b3 100644 --- a/konq-plugins/rsync/rsyncplugin.h +++ b/konq-plugins/rsync/rsyncplugin.h @@ -62,11 +62,14 @@ protected: void saveSettings(); QString findLocalFolderByName(QString folderurl); int deleteLocalFolderByName(QString folderurl); - int addLocalFolderByName(QString folderurl, QString remoteurl); + int addLocalFolderByName(QString folderurl, QString remoteurl, QString syncmethod, QString excludelist); + QString findSyncMethodByName(QString folderurl); /** manages initial communication setup including password queries */ int establishConnection(char *buffer, KIO::fileoffset_t len); - /** creates the subprocess */ - bool connectionStart(QString localfolder, QString remotepath); + /** creates the unidirectional sync subprocess */ + bool syncUnidirectional(QString synccommand, QString syncflags, int parameter_order, QString localfolder, QString remotepath); + /** creates the bidirectional sync subprocess */ + bool syncBidirectional(QString localfolder, QString remotepath); /** writes one chunk of data to stdin of child process */ void writeChild(const char *buf, KIO::fileoffset_t len); /** AuthInfo object used for logging in */ -- cgit v1.2.1