summaryrefslogtreecommitdiffstats
path: root/vcs/subversion/svn_switchwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'vcs/subversion/svn_switchwidget.h')
-rw-r--r--vcs/subversion/svn_switchwidget.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/vcs/subversion/svn_switchwidget.h b/vcs/subversion/svn_switchwidget.h
new file mode 100644
index 00000000..643fb4b9
--- /dev/null
+++ b/vcs/subversion/svn_switchwidget.h
@@ -0,0 +1,31 @@
+#ifndef SVN_SWITCHWIDGET_H
+#define SVN_SWITCHWIDGET_H
+
+#include "svn_switchdlgbase.h"
+
+namespace SvnGlobal
+{
+ class SvnInfoHolder;
+}
+
+class SvnSwitchDlg : public SvnSwitchDlgBase
+{
+ Q_OBJECT
+public:
+ SvnSwitchDlg( const SvnGlobal::SvnInfoHolder *holder,
+ const QString &wcPath, QWidget *parent = NULL );
+ virtual ~SvnSwitchDlg();
+
+ const QString currentUrl();
+ const QString destUrl();
+ bool recursive();
+ bool switchOnly();
+ bool relocation();
+private slots:
+ void resetCurrentRepositoryUrlEdit();
+
+private:
+ const SvnGlobal::SvnInfoHolder *m_info;
+};
+
+#endif