//
// C++ Interface: remoteimagesourcedocument
//
// Description: 
//
//
// Author: Ian Reinhart Geiser <igeiser@devonit.com>, (C) 2008
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef REMOTEIMAGESOURCEDOCUMENT_H
#define REMOTEIMAGESOURCEDOCUMENT_H

#include <QTextDocument>

/**
A QTextDocument that can load remote images from the HTML.

	@author Ian Reinhart Geiser <igeiser@devonit.com>
*/
class RemoteImageSourceDocument : public QTextDocument
{
Q_OBJECT
public:
    RemoteImageSourceDocument(QObject *parent = 0);

    ~RemoteImageSourceDocument();
    void loadImages( const QString &html, const QString &baseUrl = QString() );
};

#endif

