• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KHTML

  • sources
  • kde-4.14
  • kdelibs
  • khtml
khtml_run.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  *
3  * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
4  * 1999 Lars Knoll <knoll@kde.org>
5  * 1999 Antti Koivisto <koivisto@kde.org>
6  * 2000 Simon Hausmann <hausmann@kde.org>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public License
19  * along with this library; see the file COPYING.LIB. If not, write to
20  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21  * Boston, MA 02110-1301, USA.
22  */
23 #ifndef __khtml_run_h__
24 #define __khtml_run_h__
25 
26 #include <kparts/browserrun.h>
27 #include <kurl.h>
28 #include <kservice.h>
29 #include <kparts/browserextension.h>
30 
31 class KHTMLPart;
32 
33 namespace khtml
34 {
35  class ChildFrame;
36 }
37 
38 class KHTMLRun : public KParts::BrowserRun
39 {
40  Q_OBJECT
41 public:
42  KHTMLRun( KHTMLPart *part, khtml::ChildFrame *child, const KUrl &url,
43  const KParts::OpenUrlArguments& args,
44  const KParts::BrowserArguments &browserArgs,
45  bool hideErrorDialog );
46 
47  virtual void foundMimeType( const QString &mimetype );
48  virtual void handleError( KJob* job );
49 
50  //KHTMLPart *htmlPart() const;
51 
52 protected:
53  virtual void save( const KUrl & url, const QString & suggestedFilename );
54 
55 private:
56  khtml::ChildFrame *m_child;
57 };
58 
59 #endif
QObject::child
QObject * child(const char *objName, const char *inheritsClass, bool recursiveSearch) const
KHTMLRun::save
virtual void save(const KUrl &url, const QString &suggestedFilename)
Definition: khtml_run.cpp:102
khtml::ChildFrame
Definition: khtml_childframe_p.h:40
kurl.h
mimetype
MimetypeJob * mimetype(const KUrl &url, JobFlags flags=DefaultFlags)
KParts::BrowserArguments
KParts::BrowserRun
KHTMLPart
This class is khtml's main class.
Definition: khtml_part.h:206
KHTMLRun::foundMimeType
virtual void foundMimeType(const QString &mimetype)
Definition: khtml_run.cpp:49
KUrl
KHTMLRun
Definition: khtml_run.h:38
KParts::BrowserRun::url
KUrl url() const
KHTMLRun::KHTMLRun
KHTMLRun(KHTMLPart *part, khtml::ChildFrame *child, const KUrl &url, const KParts::OpenUrlArguments &args, const KParts::BrowserArguments &browserArgs, bool hideErrorDialog)
Definition: khtml_run.cpp:31
KParts::BrowserRun::part
KParts::ReadOnlyPart * part() const
browserrun.h
KRun::job
KIO::Job * job()
QString
kservice.h
KHTMLRun::handleError
virtual void handleError(KJob *job)
Definition: khtml_run.cpp:95
browserextension.h
KParts::BrowserRun::hideErrorDialog
bool hideErrorDialog() const
KJob
KParts::OpenUrlArguments
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal