This is the verbatim text of the qpart.h include file. It is is provided only for illustration; the copyright remains with Troll Tech.
/**************************************************************************** ** $Id: qpart.h,v 1.2 1994/11/16 12:15:41 hanord Exp $ ** ** Definition of QPart class ** ** Author : Haavard Nord ** Created : 930418 ** ** Copyright (C) 1993,1994 by Troll Tech AS. All rights reserved. ** *****************************************************************************/ #ifndef QPART_H #define QPART_H #include "qobject.h" class QPart : public QObject // base class for parts { friend class QObject; Q_OBJECT public: QPart( QPart *parent=0, const char *name=0 ); ~QPart(); bool event( QEvent * ); // handle event bool dispatch( QEvent * ); // dispatch event QObjectList *children() const { return objectList; } protected: void insertObject( QObject * ); // insert object into part void removeObject( QObject * ); // remove object from part bool connect( QObject *, const char *, const char * ); bool connect( QObject *, const char *, const QObject*, const char*); bool disconnect( QObject *, const char * ); private: QObjectList *objectList; // list of objects QObject *curEvtObj; // object that got last event }; #endif // QPART_H