Qt logo

qsemimodal.h


This is the verbatim text of the qsemimodal.h include file. It is is provided only for illustration; the copyright remains with Troll Tech.
/****************************************************************************
** $Id: qsemimodal.h,v 2.4.2.2 1998/08/21 19:13:23 hanord Exp $
**
** Definition of QSemiModal class
**
** Created : 970627
**
** 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 QSEMIMODAL_H
#define QSEMIMODAL_H

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


class Q_EXPORT QSemiModal : public QWidget
{
    Q_OBJECT
public:
    QSemiModal( QWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags f=0 );
   ~QSemiModal();

    void        show();

    void        move( int x, int y );
    void        move( const QPoint &p );
    void        resize( int w, int h );
    void        resize( const QSize & );
    void        setGeometry( int x, int y, int w, int h );
    void        setGeometry( const QRect & );

private:
    uint        did_move   : 1;
    uint        did_resize : 1;

private:        // Disabled copy constructor and operator=
#if defined(Q_DISABLE_COPY)
    QSemiModal( const QSemiModal & );
    QSemiModal &operator=( const QSemiModal & );
#endif
};


#endif // QSEMIMODAL_H


Copyright © 1998 Troll TechTrademarks
Qt version 1.41