• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • khtml
 

khtml

  • khtml
khtml_run.h
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::URLArgs &args, bool hideErrorDialog );
44 
45  virtual void foundMimeType( const TQString &mimetype );
46 
47  //KHTMLPart *htmlPart() const;
48 
49 protected:
50  virtual void handleError( KIO::Job * job );
51 
52  virtual void save( const KURL & url, const TQString & suggestedFilename );
53  bool askSave( const KURL & url, KService::Ptr offer, const TQString & mimeType, const TQString & suggestedFilename );
54 
55 private:
56  khtml::ChildFrame *m_child;
57 };
58 
59 #endif
KURL
KParts::BrowserRun
KHTMLPart
This class is khtml's main class.
Definition: khtml_part.h:184
KStdAccel::save
const KShortcut & save()
KParts::BrowserRun::handleError
virtual void handleError(KIO::Job *job)
KParts::URLArgs
KParts::BrowserRun::askSave
static AskSaveResult askSave(const KURL &url, KService::Ptr offer, const TQString &mimeType, const TQString &suggestedFilename=TQString::null)

khtml

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

khtml

Skip menu "khtml"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for khtml by doxygen 1.8.6
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |