Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

qaxobject.h

This is the verbatim text of the qaxobject.h include file. It is provided only for illustration; the copyright remains with Trolltech.


/****************************************************************************
** $Id: qt/qaxobject.h   3.3.8   edited Jan 11 14:46 $
**
** Declaration of the TQAxObject class
**
** Copyright (C) 2001-2007 Trolltech ASA.  All rights reserved.
**
** This file is part of the Active TQt integration.
**
** Licensees holding valid TQt Enterprise Edition
** licenses for Windows may use this file in accordance with the TQt Commercial
** License Agreement provided with the Software.
**
** This file is not available for use under any other license without
** express written permission from the copyright holder.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
**   information about TQt Commercial License Agreements.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/

#ifndef UNICODE
#define UNICODE
#endif

#ifndef TQAXOBJECT_H
#define TQAXOBJECT_H

#include "qaxbase.h"
#include <ntqobject.h>

class TQAxObject : public TQObject, public TQAxBase
{
    friend class TQAxEventSink;
public:
    TQMetaObject *metaObject() const;
    const char *className() const;
    void* qt_cast( const char* );
    bool qt_invoke( int, TQUObject* );
    bool qt_emit( int, TQUObject* );
    bool qt_property( int, int, TQVariant* );
    TQObject* qObject() { return (TQObject*)this; }

    TQAxObject( TQObject *parent = 0, const char *name = 0 );
    TQAxObject( const TQString &c, TQObject *parent = 0, const char *name = 0 );
    TQAxObject( IUnknown *iface, TQObject *parent = 0, const char *name = 0 );
    ~TQAxObject();

private:
    TQMetaObject *parentMetaObject() const;
};

#endif //TQAXOBJECT_H


Copyright © 2007 TrolltechTrademarks
TQt 3.3.8