• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdehtml
 

tdehtml

  • tdehtml
tdehtml_factory.h
1/* This file is part of the KDE project
2 *
3 * Copyright (C) 2000 Simon Hausmann <hausmann@kde.org>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 */
20#ifndef __tdehtml_factory_h__
21#define __tdehtml_factory_h__
22
23#include <tdeparts/factory.h>
24#include <tdeparts/historyprovider.h>
25#include <tqptrlist.h>
26#include <kurl.h>
27
28class TDEInstance;
29class TDEAboutData;
30class HistoryProvider;
31class TDEHTMLSettings;
32class TDEHTMLPart;
33
34namespace DOM
35{
36 class DocumentImpl;
37}
38
39class TDE_EXPORT TDEHTMLFactory : public KParts::Factory
40{
41 TQ_OBJECT
42 friend class DOM::DocumentImpl;
43 friend class TDEHTMLViewPrivate;
44public:
45 TDEHTMLFactory( bool clone = false );
46 virtual ~TDEHTMLFactory();
47
48 virtual KParts::Part *createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject *parent, const char *name, const char *className, const TQStringList &args );
49
50 static void registerPart( TDEHTMLPart *part );
51 static void deregisterPart( TDEHTMLPart *part );
52
53 static TQPtrList<TDEHTMLPart> *partList() { return s_parts; }
54
55 static TDEInstance *instance();
56
57 static TDEHTMLSettings *defaultHTMLSettings();
58
59 // list of visited URLs
60 static KParts::HistoryProvider *vLinks() {
61 return KParts::HistoryProvider::self();
62 }
63
64protected:
65 static void ref();
66 static void deref();
67private:
68 static unsigned long s_refcnt;
69 static TDEHTMLFactory *s_self;
70 static TDEInstance *s_instance;
71 static TDEAboutData *s_about;
72 static TDEHTMLSettings *s_settings;
73 static TQPtrList<TDEHTMLPart> *s_parts;
74};
75
76#endif
KParts::Factory
KParts::Factory::createPartObject
virtual Part * createPartObject(TQWidget *parentWidget=0, const char *widgetName=0, TQObject *parent=0, const char *name=0, const char *classname="KParts::Part", const TQStringList &args=TQStringList())=0
KParts::HistoryProvider
KParts::Part
TDEAboutData
TDEHTMLPart
This class is tdehtml's main class.
Definition: tdehtml_part.h:184
TDEHTMLSettings
Settings for the HTML view.
Definition: tdehtml_settings.h:39
TDEInstance
DOM
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition: design.h:57
KNotifyClient::instance
TDEInstance * instance()

tdehtml

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

tdehtml

Skip menu "tdehtml"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdehtml by doxygen 1.9.4
This website is maintained by Timothy Pearson.