20 #ifndef __tdehtmlimage_h__
21 #define __tdehtmlimage_h__
23 #include "tdehtml_part.h"
24 #include <tdeparts/factory.h>
25 #include <tdeparts/browserextension.h>
27 #include "misc/loader_client.h"
44 TDEHTMLImageFactory();
45 virtual ~TDEHTMLImageFactory();
48 TQObject *parent,
const char *name,
49 const char *className,
const TQStringList &args );
64 TDEHTMLImage( TQWidget *parentWidget,
const char *widgetName,
65 TQObject *parent,
const char *name, TDEHTMLPart::GUIProfile prof );
66 virtual ~TDEHTMLImage();
68 virtual bool openFile() {
return true; }
76 virtual void notifyFinished( tdehtml::CachedObject *o );
80 virtual bool eventFilter( TQObject *filterTarget, TQEvent *e );
83 void restoreScrollPosition();
91 TQGuardedPtr<TDEHTMLPart> m_tdehtml;
94 tdehtml::CachedImage *m_image;
95 int m_xOffset, m_yOffset;
105 TDEHTMLImageBrowserExtension( TDEHTMLImage *parent,
const char *name = 0 );
112 void reparseConfiguration();
113 void disableScrolling();
116 TDEHTMLImage *m_imgPart;
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
virtual bool openURL(const KURL &url)
virtual void guiActivateEvent(GUIActivateEvent *event)
virtual bool openFile()=0
This class is tdehtml's main class.
const TDEShortcut & print()