• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • 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::URLArgs &args, bool hideErrorDialog );
00044 
00045   virtual void foundMimeType( const QString &mimetype );
00046 
00047   //KHTMLPart *htmlPart() const;
00048 
00049 protected:
00050   virtual void handleError( KIO::Job * job );
00051 
00052   virtual void save( const KURL & url, const QString & suggestedFilename );
00053   bool askSave( const KURL & url, KService::Ptr offer, const QString & mimeType, const QString & suggestedFilename );
00054 
00055 private:
00056   khtml::ChildFrame *m_child;
00057 };
00058 
00059 #endif

KHTML

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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