File indexing completed on 2024-05-26 05:17:01
0001 /* 0002 Copyright (c) 2009 Grégory Oestreicher <greg@kamago.net> 0003 0004 This program is free software; you can redistribute it and/or modify 0005 it under the terms of the GNU General Public License as published by 0006 the Free Software Foundation; either version 2 of the License, or 0007 (at your option) any later version. 0008 0009 This program is distributed in the hope that it will be useful, 0010 but WITHOUT ANY WARRANTY; without even the implied warranty of 0011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0012 GNU General Public License for more details. 0013 0014 You should have received a copy of the GNU General Public License 0015 along with this program; if not, write to the Free Software 0016 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 0017 */ 0018 0019 #include "davprotocolbase.h" 0020 0021 #include <QVariant> 0022 0023 using namespace KDAV2; 0024 0025 XMLQueryBuilder::~XMLQueryBuilder() 0026 { 0027 } 0028 0029 void XMLQueryBuilder::setParameter(const QString &key, const QVariant &value) 0030 { 0031 mParameters[key] = value; 0032 } 0033 0034 QVariant XMLQueryBuilder::parameter(const QString &key) const 0035 { 0036 QVariant ret; 0037 if (mParameters.contains(key)) { 0038 ret = mParameters.value(key); 0039 } 0040 return ret; 0041 } 0042 0043 DavProtocolBase::~DavProtocolBase() 0044 { 0045 } 0046 0047 QString DavProtocolBase::principalHomeSet() const 0048 { 0049 return QString(); 0050 } 0051 0052 QString DavProtocolBase::principalHomeSetNS() const 0053 { 0054 return QString(); 0055 }