This is the verbatim text of the qmsgbox.h include file. It is is provided only for illustration; the copyright remains with Troll Tech.
/****************************************************************************
** $Id: qmsgbox.h,v 1.3 1995/05/15 04:01:31 hanord Exp $
**
** Definition of QMessageBox class
**
** Author : Haavard Nord
** Created : 950503
**
** Copyright (C) 1995 by Troll Tech AS. All rights reserved.
**
*****************************************************************************/
#ifndef QMSGBOX_H
#include "qdialog.h"
class QLabel;
class QPushButton;
class QMessageBox : public QDialog
{
Q_OBJECT
public:
static int message( const char *caption,
const char *text, const char *buttonText=0,
QWidget *parent=0, const char *name=0 );
QMessageBox( QWidget *parent=0, const char *name=0 );
const char *text() const;
void setText( const char * );
const char *buttonText() const;
void setButtonText( const char * );
void adjustSize();
protected:
void resizeEvent( QResizeEvent * );
private:
QLabel *label;
QPushButton *button;
};
#endif // QMSGBOX_H