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/rsyncconfigdialog.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/rsyncconfigdialog.h')
-rw-r--r-- | konq-plugins/rsync/rsyncconfigdialog.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/konq-plugins/rsync/rsyncconfigdialog.h b/konq-plugins/rsync/rsyncconfigdialog.h index 83314e8..9099ad3 100644 --- a/konq-plugins/rsync/rsyncconfigdialog.h +++ b/konq-plugins/rsync/rsyncconfigdialog.h @@ -22,6 +22,7 @@ #include <qmap.h> #include <qstringlist.h> #include <qlineedit.h> +#include <qradiobutton.h> #include <kurl.h> #include <kprocess.h> @@ -39,7 +40,7 @@ class RsyncConfigDialog : public KDialogBase const QString& text = QString::null, const QString& localfolder = QString::null, const QString& remotefolder = QString::null, - bool modal = false); + int syncmode = 1, bool modal = false); ~RsyncConfigDialog() {} // @@ -183,6 +184,14 @@ class RsyncConfigDialog : public KDialogBase bool wasCancelled() const; /** + * Returns index of selected synchronization mode + * 1: Upload + * 2: Download + * 3: Bidirectional + */ + int getSyncMode(); + + /** * Ignores the last cancel action if the cancel button was * pressed. Useful for kdialog when combined with a KMessageBox * to display a message like "Are you sure you want to cancel?" @@ -249,6 +258,9 @@ class RsyncConfigDialog : public KDialogBase KTextEdit* mTextBox; QTimer* mShowTimer; QLineEdit* m_rsync_txt; + QRadioButton *rsync_rb1; + QRadioButton *rsync_rb2; + QRadioButton *rsync_rb3; // protected: // virtual void virtual_hook( int id, void* data ); }; |