This is the verbatim text of the qpicture.h include file. It is is provided only for illustration; the copyright remains with Troll Tech.


/****************************************************************************
** $Id: qpicture.h,v 2.0 1996/09/24 10:15:57 agulbra Exp $
**
** Definition of QPicture class
**
** Created : 940729
**
** Copyright (C) 1994-1996 by Troll Tech AS.  All rights reserved.
**
*****************************************************************************/

#ifndef QPICTURE_H
#define QPICTURE_H

#include "qpaintd.h"
#include "qbuffer.h"


class QPicture : public QPaintDevice            // picture class
{
public:
    QPicture();
   ~QPicture();

    bool        play( QPainter * );

    bool        load( const char *fileName );
    bool        save( const char *fileName );

protected:
    bool        cmd( int, QPainter *, QPDevCmdParam * );
    int         metric( int ) const;

private:
    bool        exec( QPainter *, QDataStream &, int );
    QBuffer     pictb;
    int         trecs;
    bool        formatOk;

private:        // Disabled copy constructor and operator=
    QPicture( const QPicture & ) :QPaintDevice(0) {}
    QPicture &operator=( const QPicture & ) { return *this; }
};


#endif // QPICTURE_H


Generated at 16:51, 1996/09/24 for Qt version 1.0 by the webmaster at Troll Tech