KHTML
KHTMLRun Class Reference
#include <khtml_run.h>
Inheritance diagram for KHTMLRun:
Public Member Functions | |
| KHTMLRun (KHTMLPart *part, khtml::ChildFrame *child, const KUrl &url, const KParts::OpenUrlArguments &args, const KParts::BrowserArguments &browserArgs, bool hideErrorDialog) | |
| virtual void | foundMimeType (const QString &mimetype) |
| virtual void | handleError (KJob *job) |
| Public Member Functions inherited from KParts::BrowserRun | |
| BrowserRun (const KUrl &url, const KParts::OpenUrlArguments &args, const KParts::BrowserArguments &browserArgs, KParts::ReadOnlyPart *part, QWidget *window, bool removeReferrer, bool trustedSource, bool hideErrorDialog=false) | |
| virtual | ~BrowserRun () |
| KParts::OpenUrlArguments & | arguments () |
| KParts::BrowserArguments & | browserArguments () |
| QString | contentDisposition () const |
| bool | hideErrorDialog () const |
| KParts::ReadOnlyPart * | part () const |
| bool | serverSuggestsSave () const |
| KUrl | url () const |
| Public Member Functions inherited from KRun | |
| KRun (const KUrl &url, QWidget *window, mode_t mode=0, bool isLocalFile=false, bool showProgressInfo=true, const QByteArray &asn=QByteArray()) | |
| virtual | ~KRun () |
| void | abort () |
| bool | autoDelete () const |
| bool | hasError () const |
| bool | hasFinished () const |
| void | setAutoDelete (bool b) |
| void | setEnableExternalBrowser (bool b) |
| void | setPreferredService (const QString &desktopEntryName) |
| void | setRunExecutables (bool b) |
| void | setSuggestedFileName (const QString &fileName) |
| QString | suggestedFileName () const |
| QWidget * | window () const |
Protected Member Functions | |
| virtual void | save (const KUrl &url, const QString &suggestedFilename) |
| Protected Member Functions inherited from KParts::BrowserRun | |
| NonEmbeddableResult | handleNonEmbeddable (const QString &mimeType) |
| NonEmbeddableResult | handleNonEmbeddable (const QString &mimeType, KService::Ptr *pSelectedService) |
| virtual void | init () |
| virtual void | scanFile () |
| Protected Member Functions inherited from KRun | |
| bool | doScanFile () const |
| bool | initializeNextAction () const |
| bool | isDirectory () const |
| bool | isLocalFile () const |
| KIO::Job * | job () |
| virtual void | killJob () |
| mode_t | mode () const |
| bool | progressInfo () const |
| void | setDoScanFile (bool scanFile) |
| void | setError (bool error) |
| void | setFinished (bool finished) |
| void | setInitializeNextAction (bool initialize) |
| void | setIsDirecory (bool isDirectory) |
| void | setIsLocalFile (bool isLocalFile) |
| void | setJob (KIO::Job *job) |
| void | setMode (mode_t mode) |
| void | setProgressInfo (bool progressInfo) |
| void | setUrl (const KUrl &url) |
| QTimer & | timer () |
| KUrl | url () const |
Additional Inherited Members | |
| Public Types inherited from KParts::BrowserRun | |
| enum | AskEmbedOrSaveFlags |
| enum | AskSaveResult |
| Signals inherited from KRun | |
| void | error () |
| void | finished () |
| Static Public Member Functions inherited from KParts::BrowserRun | |
| static bool | allowExecution (const QString &mimeType, const KUrl &url) |
| static AskSaveResult | askEmbedOrSave (const KUrl &url, const QString &mimeType, const QString &suggestedFileName=QString(), int flags=0) |
| static AskSaveResult | askSave (const KUrl &url, KService::Ptr offer, const QString &mimeType, const QString &suggestedFileName=QString()) |
| static bool | isTextExecutable (const QString &mimeType) |
| static KUrl | makeErrorUrl (int error, const QString &errorText, const QString &initialUrl) |
| static void | saveUrl (const KUrl &url, const QString &suggestedFileName, QWidget *window, const KParts::OpenUrlArguments &args) |
| static void | saveUrlUsingKIO (const KUrl &srcUrl, const KUrl &destUrl, QWidget *window, const QMap< QString, QString > &metaData) |
| static void | simpleSave (const KUrl &url, const QString &suggestedFileName, QWidget *window=0) |
| Static Public Member Functions inherited from KRun | |
| static QString | binaryName (const QString &execLine, bool removePath) |
| static bool | checkStartupNotify (const QString &binName, const KService *service, bool *silent_arg, QByteArray *wmclass_arg) |
| static bool | displayOpenWithDialog (const KUrl::List &lst, QWidget *window, bool tempFiles=false, const QString &suggestedFileName=QString(), const QByteArray &asn=QByteArray()) |
| static bool | isExecutable (const QString &serviceType) |
| static bool | isExecutableFile (const KUrl &url, const QString &mimetype) |
| static QStringList | processDesktopExec (const KService &_service, const KUrl::List &_urls, bool tempFiles=false, const QString &suggestedFileName=QString()) |
| static bool | run (const KService &service, const KUrl::List &urls, QWidget *window, bool tempFiles=false, const QString &suggestedFileName=QString(), const QByteArray &asn=QByteArray()) |
| static bool | run (const QString &exec, const KUrl::List &urls, QWidget *window, const QString &name=QString(), const QString &icon=QString(), const QByteArray &asn=QByteArray()) |
| static bool | runCommand (const QString &cmd, const QString &execName, const QString &icon, QWidget *window, const QByteArray &asn, const QString &workingDirectory) |
| static bool | runCommand (const QString &cmd, const QString &execName, const QString &icon, QWidget *window, const QByteArray &asn=QByteArray()) |
| static bool | runCommand (const QString &cmd, QWidget *window) |
| static bool | runCommand (const QString &cmd, QWidget *window, const QString &workingDirectory) |
| static bool | runUrl (const KUrl &url, const QString &mimetype, QWidget *window, bool tempFile=false, bool runExecutables=true, const QString &suggestedFileName=QString(), const QByteArray &asn=QByteArray()) |
| static void | shellQuote (QString &str) |
| Public Attributes inherited from KParts::BrowserRun | |
| AttachmentDisposition | |
| Cancel | |
| InlineDisposition | |
| Open | |
| Save | |
| Protected Types inherited from KParts::BrowserRun | |
| enum | NonEmbeddableResult |
| Protected Slots inherited from KParts::BrowserRun | |
| void | slotBrowserMimetype (KIO::Job *job, const QString &type) |
| void | slotBrowserScanFinished (KJob *job) |
| void | slotCopyToTempFileResult (KJob *job) |
| virtual void | slotStatResult (KJob *job) |
| Protected Slots inherited from KRun | |
| void | mimeTypeDetermined (const QString &mimeType) |
| void | slotScanFinished (KJob *) |
| void | slotScanMimeType (KIO::Job *, const QString &type) |
| virtual void | slotStatResult (KJob *) |
| void | slotTimeout () |
| Protected Attributes inherited from KParts::BrowserRun | |
| Delayed | |
| Handled | |
| NotHandled | |
Detailed Description
Definition at line 38 of file khtml_run.h.
Constructor & Destructor Documentation
◆ KHTMLRun()
| KHTMLRun::KHTMLRun | ( | KHTMLPart * | part, |
| khtml::ChildFrame * | child, | ||
| const KUrl & | url, | ||
| const KParts::OpenUrlArguments & | args, | ||
| const KParts::BrowserArguments & | browserArgs, | ||
| bool | hideErrorDialog ) |
Definition at line 31 of file khtml_run.cpp.
Member Function Documentation
◆ foundMimeType()
|
virtual |
Reimplemented from KRun.
Definition at line 49 of file khtml_run.cpp.
◆ handleError()
|
virtual |
Reimplemented from KParts::BrowserRun.
Definition at line 95 of file khtml_run.cpp.
◆ save()
|
protectedvirtual |
Reimplemented from KParts::BrowserRun.
Definition at line 102 of file khtml_run.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.16.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.16.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.