File indexing completed on 2024-04-14 14:27:10
0001 /*************************************************************************** 0002 * object.cpp 0003 * This file is part of the KDE project 0004 * copyright (C)2004-2006 by Sebastian Sauer (mail@dipe.org) 0005 * 0006 * This program is free software; you can redistribute it and/or 0007 * modify it under the terms of the GNU Library General Public 0008 * License as published by the Free Software Foundation; either 0009 * version 2 of the License, or (at your option) any later version. 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 GNU 0013 * Library General Public License for more details. 0014 * You should have received a copy of the GNU Library General Public License 0015 * along with this program; see the file COPYING. If not, write to 0016 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0017 * Boston, MA 02110-1301, USA. 0018 ***************************************************************************/ 0019 0020 #include "object.h" 0021 0022 using namespace Kross; 0023 0024 class Object::Private 0025 { 0026 public: 0027 }; 0028 0029 Object::Object() 0030 : QSharedData() 0031 , ErrorInterface() 0032 , d(new Private) 0033 { 0034 } 0035 0036 Object::Object(const Object &other) 0037 : QSharedData() 0038 , ErrorInterface() 0039 , d(new Private) 0040 { 0041 Q_UNUSED(other); 0042 } 0043 0044 Object::~Object() 0045 { 0046 delete d; 0047 } 0048 0049 QVariant Object::callMethod(const QString &name, const QVariantList &args) 0050 { 0051 Q_UNUSED(name); 0052 Q_UNUSED(args); 0053 return QVariant(); 0054 } 0055 0056 QStringList Object::methodNames() 0057 { 0058 return QStringList(); 0059 } 0060 0061 void Object::virtual_hook(int id, void *ptr) 0062 { 0063 Q_UNUSED(id); 0064 Q_UNUSED(ptr); 0065 }