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

tdehtml

tdehtml_factory.h

00001 /* This file is part of the KDE project
00002  *
00003  * Copyright (C) 2000 Simon Hausmann <hausmann@kde.org>
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Library General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Library General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Library General Public License
00016  * along with this library; see the file COPYING.LIB.  If not, write to
00017  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018  * Boston, MA 02110-1301, USA.
00019  */
00020 #ifndef __tdehtml_factory_h__
00021 #define __tdehtml_factory_h__
00022 
00023 #include <tdeparts/factory.h>
00024 #include <tdeparts/historyprovider.h>
00025 #include <tqptrlist.h>
00026 #include <kurl.h>
00027 
00028 class TDEInstance;
00029 class TDEAboutData;
00030 class HistoryProvider;
00031 class TDEHTMLSettings;
00032 class TDEHTMLPart;
00033 
00034 namespace DOM
00035 {
00036   class DocumentImpl;
00037 }
00038 
00039 class KDE_EXPORT TDEHTMLFactory : public KParts::Factory
00040 {
00041   Q_OBJECT
00042   friend class DOM::DocumentImpl;
00043   friend class TDEHTMLViewPrivate;
00044 public:
00045   TDEHTMLFactory( bool clone = false );
00046   virtual ~TDEHTMLFactory();
00047 
00048   virtual KParts::Part *createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject *parent, const char *name, const char *className, const TQStringList &args );
00049 
00050   static void registerPart( TDEHTMLPart *part );
00051   static void deregisterPart( TDEHTMLPart *part );
00052 
00053   static TQPtrList<TDEHTMLPart> *partList() { return s_parts; }
00054 
00055   static TDEInstance *instance();
00056 
00057   static TDEHTMLSettings *defaultHTMLSettings();
00058 
00059   // list of visited URLs
00060   static KParts::HistoryProvider *vLinks() {
00061     return KParts::HistoryProvider::self();
00062   }
00063 
00064 protected:
00065   static void ref();
00066   static void deref();
00067 private:
00068   static unsigned long s_refcnt;
00069   static TDEHTMLFactory *s_self;
00070   static TDEInstance *s_instance;
00071   static TDEAboutData *s_about;
00072   static TDEHTMLSettings *s_settings;
00073   static TQPtrList<TDEHTMLPart> *s_parts;
00074 };
00075 
00076 #endif

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.7.1
This website is maintained by Timothy Pearson.