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 2.1 1997/08/06 15:05:46 hanord Exp $
**
** Definition of QSignal class
**
** Created : 941201
**
** Copyright (C) 1994-1997 by Troll Tech AS.  All rights reserved.
**
*****************************************************************************/

#ifndef QSIGNAL_H
#define QSIGNAL_H

#include "qobject.h"


class QSignal : private QObject                 // signal class
{
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();
    Q_OBJECT_FAKE

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


#endif // QSIGNAL_H


Generated at 19:08, 1997/10/09 for Qt version 1.31 by the webmaster at Troll Tech