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

KHTML

khtml_run.h

Go to the documentation of this file.
00001 /* This file is part of the KDE project
00002  *
00003  * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
00004  *                     1999 Lars Knoll <knoll@kde.org>
00005  *                     1999 Antti Koivisto <koivisto@kde.org>
00006  *                     2000 Simon Hausmann <hausmann@kde.org>
00007  *
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Library General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 2 of the License, or (at your option) any later version.
00012  *
00013  * This library is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * Library General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Library General Public License
00019  * along with this library; see the file COPYING.LIB.  If not, write to
00020  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00021  * Boston, MA 02110-1301, USA.
00022  */
00023 #ifndef __khtml_run_h__
00024 #define __khtml_run_h__
00025 
00026 #include <kparts/browserrun.h>
00027 #include <kurl.h>
00028 #include <kservice.h>
00029 #include <kparts/browserextension.h>
00030 
00031 class KHTMLPart;
00032 
00033 namespace khtml
00034 {
00035   class ChildFrame;
00036 }
00037 
00038 class KHTMLRun : public KParts::BrowserRun
00039 {
00040   Q_OBJECT
00041 public:
00042   KHTMLRun( KHTMLPart *part, khtml::ChildFrame *child, const KUrl &url,
00043             const KParts::OpenUrlArguments& args,
00044             const KParts::BrowserArguments &browserArgs,
00045             bool hideErrorDialog );
00046 
00047   virtual void foundMimeType( const QString &mimetype );
00048   virtual void handleError( KJob* job );
00049 
00050   //KHTMLPart *htmlPart() const;
00051 
00052 protected:
00053   virtual void save( const KUrl & url, const QString & suggestedFilename );
00054   bool askSave( const KUrl & url, KService::Ptr offer, const QString & mimeType, const QString & suggestedFilename );
00055 
00056 private:
00057   khtml::ChildFrame *m_child;
00058 };
00059 
00060 #endif

KHTML

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal