28 #include <tdehtml_part.h>
39 class Viewer : public TDEHTMLPart
48 static void displayInExternalBrowser( const KURL &url, const TQString& mimetype=TQString());
50 Viewer(TQWidget* parent, const char* name);
53 virtual bool closeURL();
59 void slotScrollDown();
62 void slotSetZoomFactor( int percent);
66 virtual void slotPaletteOrFontChanged() = 0;
70 void urlClicked( const KURL& url, Viewer* viewer, bool newTab, bool background);
73 int pointsToPixel( int points) const;
80 virtual void urlSelected( const TQString &url, int button, int state, const TQString &_target, KParts::URLArgs args);
83 virtual void slotOpenURLRequest( const KURL& url, const KParts::URLArgs& args);
85 virtual void slotPopupMenu(KXMLGUIClient*, const TQPoint&, const KURL&, const KParts::URLArgs&, KParts::BrowserExtension::PopupFlags, mode_t);
88 void slotCopyLinkAddress();
91 virtual void slotCopy();
94 virtual void slotOpenLinkInternal();
97 virtual void slotOpenLinkInBrowser();
100 virtual void slotOpenLinkInForegroundTab();
103 virtual void slotOpenLinkInBackgroundTab();
105 virtual void slotOpenLinkInThisTab();
107 virtual void slotSaveLinkAs();
110 void slotStarted(TDEIO::Job *);
113 void slotCompleted();
115 virtual void slotSelectionChanged();
|