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


/****************************************************************************
** $Id: qsignal.h,v 1.3 1995/02/21 16:03:29 hanord Exp $
**
** Definition of QSignal class
**
** Author  : Haavard Nord
** Created : 941201
**
** Copyright (C) 1994,1995 by Troll Tech AS.  All rights reserved.
**
*****************************************************************************/

#ifndef QSIGNAL_H
#define QSIGNAL_H

#include "qobject.h"


class QSignal : private QObject                 // signal class
{
    Q_OBJECT
public:
    QSignal( QObject *parent=0, const char *name=0 );

    const char *name() const            { return QObject::name(); }
    void    setName( const char *name ) { QObject::setName(name); }

    bool    connect( const QObject *receiver, const char *member );
    bool    disconnect( const QObject *receiver, const char *member=0 );

    bool    isBlocked()  const          { return QObject::signalsBlocked(); }
    void    block( bool b )             { QObject::blockSignals( b ); }

    void    activate()                  { activate_signal("x()"); }

private:
    void    dummy();
};


#endif // QSIGNAL_H


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