2 kopetetproperties.cpp - Kopete Properties
4 Copyright (c) 2004 by Richard Smith <kde@metafoo.co.uk>
5 Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
7 *************************************************************************
9 * This library is free software; you can redistribute it and/or *
10 * modify it under the terms of the GNU Lesser General Public *
11 * License as published by the Free Software Foundation; either *
12 * version 2 of the License, or (at your option) any later version. *
14 *************************************************************************
17 #include "kopeteproperties.h"
26 namespace Properties
{
28 // Keep as much type-independent code out of the templated stuff as we can
29 // FIXME: shouldn't be inline
30 void customPropertyDataIncorrectType( const char *name
, const std::type_info
&found
, const std::type_info
&expected
)
32 kWarning(14010) << "data time mismatch for property data name " << name
33 << ". found: " << found
.name() << ", expected: " << expected
.name() << endl
;
37 int variantTo
<int>(QVariant
) { return 0; }
40 QVariant
variantFromXML(const QDomElement
&)
45 void variantToXML(QVariant v
, QDomElement
&)
50 } // namespace Properties