diff options
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 */ |