File indexing completed on 2024-05-05 04:41:02
0001 /* 0002 SPDX-FileCopyrightText: 2010 Aleix Pol Gonzalez <aleixpol@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "svnlocationwidget.h" 0008 #include <vcs/vcslocation.h> 0009 0010 SvnLocationWidget::SvnLocationWidget(QWidget* parent) 0011 : StandardVcsLocationWidget(parent) 0012 {} 0013 0014 KDevelop::VcsLocation SvnLocationWidget::location() const 0015 { 0016 QUrl loc =url(); 0017 return KDevelop::VcsLocation(loc.toDisplayString()); 0018 } 0019 0020 bool SvnLocationWidget::isCorrect() const 0021 { 0022 return !url().isRelative(); 0023 } 0024 0025 #include "moc_svnlocationwidget.cpp"