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

KHTML

khtml_childframe_p.h

Go to the documentation of this file.
00001 /* This file is part of the KDE project
00002  *
00003  * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
00004  *                     1999-2001 Lars Knoll <knoll@kde.org>
00005  *                     1999-2001 Antti Koivisto <koivisto@kde.org>
00006  *                     2000-2001 Simon Hausmann <hausmann@kde.org>
00007  *                     2000-2001 Dirk Mueller <mueller@kde.org>
00008  *                     2000 Stefan Schimanski <1Stein@gmx.de>
00009  *                     2001-2005 George Staikos <staikos@kde.org>
00010  *                     2010 Maksim Orlovich <maksim@kde.org>
00011  *
00012  * This library is free software; you can redistribute it and/or
00013  * modify it under the terms of the GNU Library General Public
00014  * License as published by the Free Software Foundation; either
00015  * version 2 of the License, or (at your option) any later version.
00016  *
00017  * This library is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00020  * Library General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU Library General Public License
00023  * along with this library; see the file COPYING.LIB.  If not, write to
00024  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00025  * Boston, MA 02110-1301, USA.
00026  */
00027 #ifndef khtml_childframe_p_h
00028 #define khtml_childframe_p_h
00029 
00030 #include <kparts/partmanager.h>
00031 #include <kparts/statusbarextension.h>
00032 #include <kparts/browserextension.h>
00033 #include <kparts/scriptableextension.h>
00034 
00035 #include "html/html_objectimpl.h"
00036 #include "khtml_run.h"
00037 #include "ecma/kjs_proxy.h"
00038 
00039 namespace khtml {
00040 class KHTML_EXPORT ChildFrame : public QObject
00041 {
00042     Q_OBJECT
00043 public:
00044     enum Type { Frame, IFrame, Object };
00045 
00046     ChildFrame();
00047     ~ChildFrame();
00048 
00049     QWeakPointer<DOM::HTMLPartContainerElementImpl> m_partContainerElement;
00050     QWeakPointer<KParts::BrowserExtension> m_extension;
00051     QWeakPointer<KParts::ScriptableExtension> m_scriptable;
00052 
00053     // Despite QPointer's shortcomings, we actually want it and not QPointer
00054     // here, since Window::getOwnPropertySlot needs to access it, and
00055     // QPointer's access path is cheaper
00056     QPointer<KParts::ReadOnlyPart> m_part;    
00057     
00058     QString m_serviceName;
00059     QString m_serviceType;
00060     KJSProxy *m_jscript;
00061     bool m_bCompleted;
00062     QString m_name;
00063     KParts::OpenUrlArguments m_args;
00064     KParts::BrowserArguments m_browserArgs;
00065     QWeakPointer<KHTMLRun> m_run;
00066     KUrl m_workingURL;
00067     Type m_type;
00068     QStringList m_params;
00069     bool m_bPreloaded;
00070     bool m_bNotify;
00071     bool m_bPendingRedirection;
00072 
00073     // Debug stuff
00074     const char* typeString() const;
00075     void dump(int indent);
00076     static void dumpFrameTree(KHTMLPart* part);
00077 }; // ChildFrame
00078 
00079 } // namespace khtml
00080 
00081 struct KHTMLFrameList : public QList<khtml::ChildFrame*>
00082 {
00083     Iterator find( const QString &name ) KDE_NO_EXPORT;
00084 };
00085 
00086 typedef KHTMLFrameList::ConstIterator ConstFrameIt;
00087 typedef KHTMLFrameList::Iterator FrameIt;
00088 
00089 #endif

KHTML

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • 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
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal