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


/****************************************************************************
** $Id: qfontinf.h,v 1.1 1995/02/01 17:15:26 eiriken Exp $
**
** Definition of QFontInfo class
**
** Author  : Eirik Eng
** Created : 940131
**
** Copyright (C) 1995 by Troll Tech AS.  All rights reserved.
**
*****************************************************************************/

#ifndef QFONTINF_H
#define QFONTINF_H

#include "qfont.h"


class QFontInfo
{
public:
    QFontInfo( const QFont & );

    const char         *family()        const;
    int                 pointSize()     const;
    bool                italic()        const;
    int                 weight()        const;
    bool                underline()     const;
    bool                strikeOut()     const;
    bool                fixedPitch()    const;
    QFont::StyleHint    styleHint()     const;
    QFont::CharSet      charSet()       const;
    bool                exactMatch()    const;
    bool                rawMode()       const;

    void                setFont( const QFont & );
    const QFont        &font() const;
private:
    void  updateData();
    QFont f;
};


#endif // QFONTINF_H


Generated at 16:17, 1995/06/30 by the webmaster at Troll Tech