diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-03-26 07:19:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-03-26 07:19:43 +0000 |
commit | 3768653a2aed91290e05dd3fd42d5af2006c7ed4 (patch) | |
tree | 6b1ed0f81eef0053ffb13c66a9494cef478ce4f1 /konq-plugins/rsync/rsyncplugin.h | |
parent | 2f234abde8e11481a9fdccadd37ba21ad6b4b94d (diff) | |
download | tdeaddons-3768653a2aed91290e05dd3fd42d5af2006c7ed4.tar.gz tdeaddons-3768653a2aed91290e05dd3fd42d5af2006c7ed4.zip |
Fixed up rsync and dirfilter plugins
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1107600 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/rsync/rsyncplugin.h')
-rw-r--r-- | konq-plugins/rsync/rsyncplugin.h | 9 |
1 files changed, 6 insertions, 3 deletions
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 */ |