KHtml

khtml_run.h
1 /* This file is part of the KDE project
2  *
3  * Copyright (C) 1998, 1999 Torben Weis <[email protected]>
4  * 1999 Lars Knoll <[email protected]>
5  * 1999 Antti Koivisto <[email protected]>
6  * 2000 Simon Hausmann <[email protected]>
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 <kservice.h>
28 #include <kparts/browserextension.h>
29 
30 #include <QUrl>
31 
32 class KHTMLPart;
33 
34 namespace khtml
35 {
36 class ChildFrame;
37 }
38 
39 class KHTMLRun : public KParts::BrowserRun
40 {
41  Q_OBJECT
42 public:
43  KHTMLRun(KHTMLPart *part, khtml::ChildFrame *child, const QUrl &url,
44  const KParts::OpenUrlArguments &args,
45  const KParts::BrowserArguments &browserArgs,
46  bool hideErrorDialog);
47 
48  void foundMimeType(const QString &mimetype) override;
49  void handleError(KJob *job) override;
50 
51  //KHTMLPart *htmlPart() const;
52 
53 protected:
54  void save(const QUrl &url, const QString &suggestedFilename) override;
55 
56 private:
57  khtml::ChildFrame *m_child;
58 };
59 
60 #endif
This file is part of the HTML rendering engine for KDE.
This class is khtml&#39;s main class.
Definition: khtml_part.h:208
const QList< QKeySequence > & save()
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Oct 26 2021 22:48:04 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.