Classes - Annotated - Tree - Functions - Home - Structure

qdesktopwidget.h

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


//depot/qt/main/src/kernel/qdesktopwidget.h#4 - edit change 33507 (text)
#ifndef QDESKTOPWIDGET_H
#define QDESKTOPWIDGET_H

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

class QDesktopWidgetPrivate; /* Don't touch! */
struct QAccessibleInterface;

class Q_EXPORT QDesktopWidget : public QWidget
{
    Q_OBJECT
public:
    QDesktopWidget();
    ~QDesktopWidget();

    bool isVirtualDesktop() const;

    int numScreens() const;
    int primaryScreen() const;

    int screenNumber( QWidget *widget = 0 ) const;
    int screenNumber( const QPoint & ) const;

    QWidget *screen( int screen = -1 );
    
    const QRect& screenGeometry( int screen = -1 ) const;

private:
    QDesktopWidgetPrivate *d;
};

#endif //QDESKTOPWIDGET_H


Copyright © 2001 TrolltechTrademarks
Qt version 3.0.0-beta1-beta1