File indexing completed on 2024-05-12 05:44:24

0001 /***************************************************************************
0002  *   Copyright (C) 2005-2009 by Rajko Albrecht                             *
0003  *   ral@alwins-world.de                                                   *
0004  *                                                                         *
0005  *   This program is free software; you can redistribute it and/or modify  *
0006  *   it under the terms of the GNU General Public License as published by  *
0007  *   the Free Software Foundation; either version 2 of the License, or     *
0008  *   (at your option) any later version.                                   *
0009  *                                                                         *
0010  *   This program is distributed in the hope that it will be useful,       *
0011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
0012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
0013  *   GNU General Public License for more details.                          *
0014  *                                                                         *
0015  *   You should have received a copy of the GNU General Public License     *
0016  *   along with this program; if not, write to the                         *
0017  *   Free Software Foundation, Inc.,                                       *
0018  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.         *
0019  ***************************************************************************/
0020 #ifndef CHECKOUTINFO_IMPL_H
0021 #define CHECKOUTINFO_IMPL_H
0022 
0023 #include "svnqt/revision.h"
0024 #include "svnqt/svnqttypes.h"
0025 #include "ui_checkoutinfo.h"
0026 
0027 class CheckoutInfo_impl : public QWidget, public Ui::CheckoutInfo
0028 {
0029     Q_OBJECT
0030 public:
0031     explicit CheckoutInfo_impl(QWidget *parent = nullptr);
0032     ~CheckoutInfo_impl() override;
0033 
0034     svn::Revision toRevision() const;
0035     QUrl reposURL() const;
0036     QString targetDir() const;
0037 
0038     bool overwrite() const;
0039     svn::Depth getDepth() const;
0040     void setStartUrl(const QUrl &);
0041 
0042     void disableForce(bool how);
0043     void disableTargetDir(bool how);
0044     void disableAppend(bool how);
0045     void disableOpen(bool how);
0046     bool openAfterJob() const;
0047     void disableRange(bool how);
0048     void setTargetUrl(const QUrl &);
0049     bool ignoreExternals() const;
0050     void hideDepth(bool hide);
0051     void hideOverwrite(bool hide);
0052     void hideIgnoreKeywords(bool hide);
0053     bool ignoreKeywords() const;
0054 protected slots:
0055     void urlChanged(const QString &);
0056 };
0057 
0058 #endif