# khtml Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# khtml_run.h

    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., 59 Temple Place - Suite 330,
    00021  * Boston, MA 02111-1307, 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   struct 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

This file is part of the documentation for khtml Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:33:15 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003