Qt logo

qwhatsthis.h


This is the verbatim text of the qwhatsthis.h include file. It is is provided only for illustration; the copyright remains with Troll Tech.
/****************************************************************************
** $Id: qwhatsthis.h,v 2.5.2.1 1998/08/19 16:02:44 agulbra Exp $
**
** Definition of QWhatsThis class
**
** Copyright (C) 1992-1998 Troll Tech AS.  All rights reserved.
**
** This file is part of Troll Tech's internal development tree for Qt.
**
** This header text will be replaced by an appropriate text by the
** mkdist script which generates external distributions.
**
** If you are using the Qt Professional Edition or the Qt Free Edition,
** please notify Troll Tech at <info@troll.no> if you see this text.
**
** To Troll Tech developers: This header was generated by the script
** fixcopyright-int. It has the same number of text lines as the free
** and professional editions to avoid line number inconsistency.
**
*****************************************************************************/

#ifndef QWHATSTHIS_H
#define QWHATSTHIS_H

#ifndef QT_H
#include "qobject.h"
#endif // QT_H

class QToolButton;
class QPopupMenu;

// it's a class! it's a struct! it's a namespace! IT'S WHATS THIS?!
class Q_EXPORT QWhatsThis
{
public:
    static void add( QWidget *, const char *, bool deepCopy = TRUE );
    static void add( QWidget *, const QPixmap &,
                     const char *, const char *, bool deepCopy = TRUE );
    static void remove( QWidget * );
    static const char * textFor( QWidget * );

    static QToolButton * whatsThisButton( QWidget * parent );
    //static void enterWhatsThisMode();

    //static void say( const char *, QWidget * near );

    //static int addMenuEntry( QPopupMenu *, QWidget *, const char * = 0 );
};

#endif


Copyright © 1998 Troll TechTrademarks
Qt version 1.41