/usr/share/sip/PyKDE4/nepomuk/variant.sip is in python-kde4-dev 4:4.13.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | //
// Copyright 2008 Simon Edwards <simon@simonzone.com>
// Generated by twine
// This file is part of PyKDE4.
// PyKDE4 is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of
// the License, or (at your option) any later version.
// PyKDE4 is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
namespace Nepomuk
{
class Variant
{
%TypeHeaderCode
#include <nepomuk/variant.h>
%End
public:
Variant ();
Variant (const Nepomuk::Variant& other);
explicit Variant (const QVariant& other);
//ig Variant (int i);
Variant (qlonglong i);
//ig Variant (uint i);
//ig Variant (qulonglong i);
//ig Variant (bool b);
Variant (double d);
//ig Variant (const char* string);
Variant (const QString& string);
Variant (const QDate& date);
Variant (const QTime& time);
Variant (const QDateTime& datetime);
Variant (const QUrl& url);
Variant (const Nepomuk::Resource& r);
Variant (const QList<int>& i);
Variant (const QList<uint>& i);
//ig Variant (const QList<qulonglong>& i);
Variant (const QList<double>& d);
Variant (const QStringList& stringlist);
Variant (const QList<QDate>& date);
Variant (const QList<QTime>& time);
Variant (const QList<QDateTime>& datetime);
Variant (const QList<QUrl>& url);
Variant (const QList<Nepomuk::Resource>& r);
Variant (const QList<Nepomuk::Variant>& vl);
//ig void append (int i);
void append (qlonglong i);
//ig void append (uint i);
//ig void append (qulonglong i);
//ig void append (bool b);
void append (double d);
void append (const QString& string);
void append (const QDate& date);
void append (const QTime& time);
void append (const QDateTime& datetime);
void append (const QUrl& url);
void append (const Nepomuk::Resource& r);
void append (const Nepomuk::Variant& v);
bool operator == (const Nepomuk::Variant& other) const;
bool operator != (const Nepomuk::Variant& other) const;
bool isValid () const;
int type () const;
int simpleType () const;
bool isList () const;
bool isInt () const;
bool isInt64 () const;
bool isUnsignedInt () const;
bool isUnsignedInt64 () const;
bool isBool () const;
bool isDouble () const;
bool isString () const;
bool isDate () const;
bool isTime () const;
bool isDateTime () const;
bool isUrl () const;
bool isResource () const;
bool isIntList () const;
bool isInt64List () const;
bool isUnsignedIntList () const;
bool isUnsignedInt64List () const;
bool isBoolList () const;
bool isDoubleList () const;
bool isStringList () const;
bool isDateList () const;
bool isTimeList () const;
bool isDateTimeList () const;
bool isUrlList () const;
bool isResourceList () const;
QVariant variant () const;
int toInt () const;
qlonglong toInt64 () const;
uint toUnsignedInt () const;
qulonglong toUnsignedInt64 () const;
bool toBool () const;
double toDouble () const;
QString toString () const;
QDate toDate () const;
QTime toTime () const;
QDateTime toDateTime () const;
QUrl toUrl () const;
Nepomuk::Resource toResource () const;
QList<int> toIntList () const;
QList<uint> toUnsignedIntList () const;
QList<double> toDoubleList () const;
QStringList toStringList () const;
QList<QDate> toDateList () const;
QList<QTime> toTimeList () const;
QList<QDateTime> toDateTimeList () const;
QList<QUrl> toUrlList () const;
QList<Nepomuk::Resource> toResourceList () const;
QList<Nepomuk::Variant> toVariantList () const;
static Nepomuk::Variant fromString (const QString& value, int type);
~Variant ();
//ig Variant (const QList<bool>& b);
//ig QList<qlonglong> toInt64List () const;
//ig QList<qulonglong> toUnsignedInt64List () const;
//ig QList<bool> toBoolList () const;
//ig Variant (const QList<qlonglong>& i);
static Nepomuk::Variant fromNode (const Soprano::Node& node);
Soprano::Node toNode () const;
QList<Soprano::Node> toNodeList () const;
static Nepomuk::Variant fromNodeList (const QList<Soprano::Node>& node);
};
// Variant
};
// Nepomuk
//ig QDebug operator << (QDebug dbg, const Nepomuk::Variant&);
|