khtml_run.h Source File (khtml Library)

| # khtml Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | 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
    00028 class KHTMLPart;
    00029
    00030 namespace khtml
    00031 {
    00032   struct ChildFrame;
    00033 }
    00034
    00035 class KHTMLRun : public KParts::BrowserRun
    00036 {
    00037   Q_OBJECT
    00038 public:
    00039   KHTMLRun( KHTMLPart *part, khtml::ChildFrame *child, const KURL &url,
    00040             const KParts::URLArgs &args, bool hideErrorDialog );
    00041
    00042   virtual void foundMimeType( const QString &mimetype );
    00043
    00044   //KHTMLPart *htmlPart() const;
    00045
    00046 protected:
    00047   virtual void handleError( KIO::Job * job );
    00048
    00049   virtual void save( const KURL & url, const QString & suggestedFilename );
    00050   bool askSave( const KURL & url, KService::Ptr offer, const QString & mimeType, const QString & suggestedFilename );
    00051
    00052 private:
    00053   khtml::ChildFrame *m_child;
    00054 };
    00055
    00056 #endif

This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:34:08 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001