• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KHTML

  • khtml
khtml_childframe_p.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 *
3 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
4 * 1999-2001 Lars Knoll <knoll@kde.org>
5 * 1999-2001 Antti Koivisto <koivisto@kde.org>
6 * 2000-2001 Simon Hausmann <hausmann@kde.org>
7 * 2000-2001 Dirk Mueller <mueller@kde.org>
8 * 2000 Stefan Schimanski <1Stein@gmx.de>
9 * 2001-2005 George Staikos <staikos@kde.org>
10 * 2010 Maksim Orlovich <maksim@kde.org>
11 *
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Library General Public
14 * License as published by the Free Software Foundation; either
15 * version 2 of the License, or (at your option) any later version.
16 *
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Library General Public License for more details.
21 *
22 * You should have received a copy of the GNU Library General Public License
23 * along with this library; see the file COPYING.LIB. If not, write to
24 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
25 * Boston, MA 02110-1301, USA.
26 */
27#ifndef khtml_childframe_p_h
28#define khtml_childframe_p_h
29
30#include <kparts/partmanager.h>
31#include <kparts/statusbarextension.h>
32#include <kparts/browserextension.h>
33#include <kparts/scriptableextension.h>
34
35#include "html/html_objectimpl.h"
36#include "khtml_run.h"
37#include "ecma/kjs_proxy.h"
38
39namespace khtml {
40class KHTML_EXPORT ChildFrame : public QObject
41{
42 Q_OBJECT
43public:
44 enum Type { Frame, IFrame, Object };
45
46 ChildFrame();
47 ~ChildFrame();
48
49 QWeakPointer<DOM::HTMLPartContainerElementImpl> m_partContainerElement;
50 QWeakPointer<KParts::BrowserExtension> m_extension;
51 QWeakPointer<KParts::ScriptableExtension> m_scriptable;
52
53 // Despite QPointer's shortcomings, we actually want it and not QPointer
54 // here, since Window::getOwnPropertySlot needs to access it, and
55 // QPointer's access path is cheaper
56 QPointer<KParts::ReadOnlyPart> m_part;
57
58 QString m_serviceName;
59 QString m_serviceType;
60 KJSProxy *m_jscript;
61 bool m_bCompleted;
62 QString m_name;
63 KParts::OpenUrlArguments m_args;
64 KParts::BrowserArguments m_browserArgs;
65 QWeakPointer<KHTMLRun> m_run;
66 KUrl m_workingURL;
67 Type m_type;
68 QStringList m_params;
69 bool m_bPreloaded;
70 bool m_bNotify;
71 bool m_bPendingRedirection;
72
73 // Debug stuff
74 const char* typeString() const;
75 void dump(int indent);
76 static void dumpFrameTree(KHTMLPart* part);
77}; // ChildFrame
78
79} // namespace khtml
80
81struct KHTMLFrameList : public QList<khtml::ChildFrame*>
82{
83 Iterator find( const QString &name ) KDE_NO_EXPORT;
84};
85
86typedef KHTMLFrameList::ConstIterator ConstFrameIt;
87typedef KHTMLFrameList::Iterator FrameIt;
88
89#endif
browserextension.h
KHTMLPart
This class is khtml's main class.
Definition: khtml_part.h:207
KParts::OpenUrlArguments
KUrl
QList
QObject
khtml::ChildFrame
Definition: khtml_childframe_p.h:41
khtml::ChildFrame::m_bCompleted
bool m_bCompleted
Definition: khtml_childframe_p.h:61
khtml::ChildFrame::m_args
KParts::OpenUrlArguments m_args
Definition: khtml_childframe_p.h:63
khtml::ChildFrame::m_jscript
KJSProxy * m_jscript
Definition: khtml_childframe_p.h:60
khtml::ChildFrame::m_serviceType
QString m_serviceType
Definition: khtml_childframe_p.h:59
khtml::ChildFrame::m_part
QPointer< KParts::ReadOnlyPart > m_part
Definition: khtml_childframe_p.h:56
khtml::ChildFrame::m_partContainerElement
QWeakPointer< DOM::HTMLPartContainerElementImpl > m_partContainerElement
Definition: khtml_childframe_p.h:49
khtml::ChildFrame::m_run
QWeakPointer< KHTMLRun > m_run
Definition: khtml_childframe_p.h:65
khtml::ChildFrame::m_bPendingRedirection
bool m_bPendingRedirection
Definition: khtml_childframe_p.h:71
khtml::ChildFrame::m_extension
QWeakPointer< KParts::BrowserExtension > m_extension
Definition: khtml_childframe_p.h:50
khtml::ChildFrame::m_bPreloaded
bool m_bPreloaded
Definition: khtml_childframe_p.h:69
khtml::ChildFrame::m_serviceName
QString m_serviceName
Definition: khtml_childframe_p.h:58
khtml::ChildFrame::m_scriptable
QWeakPointer< KParts::ScriptableExtension > m_scriptable
Definition: khtml_childframe_p.h:51
khtml::ChildFrame::m_params
QStringList m_params
Definition: khtml_childframe_p.h:68
khtml::ChildFrame::Type
Type
Definition: khtml_childframe_p.h:44
khtml::ChildFrame::Frame
@ Frame
Definition: khtml_childframe_p.h:44
khtml::ChildFrame::m_type
Type m_type
Definition: khtml_childframe_p.h:67
khtml::ChildFrame::m_workingURL
KUrl m_workingURL
Definition: khtml_childframe_p.h:66
khtml::ChildFrame::m_browserArgs
KParts::BrowserArguments m_browserArgs
Definition: khtml_childframe_p.h:64
khtml::ChildFrame::m_name
QString m_name
Definition: khtml_childframe_p.h:62
khtml::ChildFrame::m_bNotify
bool m_bNotify
Definition: khtml_childframe_p.h:70
Object
Object()
ConstFrameIt
KHTMLFrameList::ConstIterator ConstFrameIt
Definition: khtml_childframe_p.h:86
FrameIt
KHTMLFrameList::Iterator FrameIt
Definition: khtml_childframe_p.h:87
khtml_run.h
name
const char * name(StandardAction id)
khtml
partmanager.h
scriptableextension.h
statusbarextension.h
KHTMLFrameList
Definition: khtml_childframe_p.h:82
KHTMLFrameList::find
Iterator find(const QString &name) KDE_NO_EXPORT
Definition: khtml_childframe.cpp:126
KParts::BrowserArguments
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal