KParts

liveconnectextension.cpp
1 /*
2  This file is part of the KDE project
3  SPDX-FileCopyrightText: 1999 Simon Hausmann <[email protected]>
4  SPDX-FileCopyrightText: 1999 David Faure <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
9 #include "liveconnectextension.h"
10 
11 #include "readonlypart.h"
12 
13 using namespace KParts;
14 
15 class KParts::LiveConnectExtensionPrivate
16 {
17 };
18 
19 LiveConnectExtension::LiveConnectExtension(KParts::ReadOnlyPart *parent)
20  : QObject(parent)
21  , d(nullptr)
22 {
23 }
24 
25 LiveConnectExtension::~LiveConnectExtension()
26 {
27 }
28 
29 bool LiveConnectExtension::get(const unsigned long, const QString &, Type &, unsigned long &, QString &)
30 {
31  return false;
32 }
33 
34 bool LiveConnectExtension::put(const unsigned long, const QString &, const QString &)
35 {
36  return false;
37 }
38 
39 bool LiveConnectExtension::call(const unsigned long, const QString &, const QStringList &, Type &, unsigned long &, QString &)
40 {
41  return false;
42 }
43 
44 void LiveConnectExtension::unregister(const unsigned long)
45 {
46 }
47 
48 LiveConnectExtension *LiveConnectExtension::childObject(QObject *obj)
49 {
51 }
FindDirectChildrenOnly
virtual bool call(const unsigned long objid, const QString &func, const QStringList &args, Type &type, unsigned long &retobjid, QString &value)
calls a function of objid, return true on success
An extension class for LiveConnect, i.e.
virtual void unregister(const unsigned long objid)
notifies the part that there is no reference anymore to objid
virtual bool put(const unsigned long objid, const QString &field, const QString &value)
put a field value in objid, return true on success
The KParts namespace,.
Base class for any "viewer" part.
Definition: readonlypart.h:51
virtual bool get(const unsigned long objid, const QString &field, Type &type, unsigned long &retobjid, QString &value)
get a field value from objid, return true on success
T findChild(const QString &name, Qt::FindChildOptions options) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jan 20 2022 22:49:44 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.