/***************************************************************************
 *   Copyright 2007 Dukju Ahn <dukjuahn@gmail.com>                         *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef SVN_MOVEWIDGETS_H
#define SVN_MOVEWIDGETS_H

#include <kdialog.h>
#include "svnmodels.h"
#include "ui_moveoptiondlg.h"

class KUrl;

class SvnMoveOptionDlg : public KDialog
{
    Q_OBJECT
public:
    explicit SvnMoveOptionDlg( const KUrl &reqUrl, SvnInfoHolder *info, QWidget *parent );
    ~SvnMoveOptionDlg();

    KUrl source();
    KUrl dest();
    bool force();

private Q_SLOTS:
    void srcAsUrlClicked();
    void srcAsPathClicked();

private:
    Ui::SvnMoveOptionDlg ui;
    KUrl m_reqUrl;
    SvnInfoHolder *m_info;
};

#endif
