diff options
Diffstat (limited to 'doc/man/man3/tqdesktopwidget.3qt')
-rw-r--r-- | doc/man/man3/tqdesktopwidget.3qt | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/man/man3/tqdesktopwidget.3qt b/doc/man/man3/tqdesktopwidget.3qt index 7dd8d13eb..348ef05ed 100644 --- a/doc/man/man3/tqdesktopwidget.3qt +++ b/doc/man/man3/tqdesktopwidget.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDesktopWidget 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDesktopWidget 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,19 +7,19 @@ .ad l .nh .SH NAME -QDesktopWidget \- Access to screen information on multi-head systems +TQDesktopWidget \- Access to screen information on multi-head systems .SH SYNOPSIS -\fC#include <ntqdesktopwidget.h>\fR +\fC#include <tqdesktopwidget.h>\fR .PP Inherits TQWidget. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDesktopWidget\fR ()" +.BI "\fBTQDesktopWidget\fR ()" .br .ti -1c -.BI "\fB~QDesktopWidget\fR ()" +.BI "\fB~TQDesktopWidget\fR ()" .br .ti -1c .BI "bool \fBisVirtualDesktop\fR () const" @@ -65,11 +65,11 @@ Inherits TQWidget. .br .in -1c .SH DESCRIPTION -The QDesktopWidget class provides access to screen information on multi-head systems. +The TQDesktopWidget class provides access to screen information on multi-head systems. .PP Systems with more than one graphics card and monitor can manage the physical screen space available either as multiple desktops, or as a large virtual desktop, which usually has the size of the bounding rectangle of all the screens (see isVirtualDesktop()). For an application, one of the available screens is the primary screen, i.e. the screen where the main widget resides (see primaryScreen()). All windows opened in the context of the application must be constrained to the boundaries of the primary screen; for example, it would be inconvenient if a dialog box popped up on a different screen, or split over two screens. .PP -The QDesktopWidget provides information about the geometry of the available screens with screenGeometry(). The number of screens available is returned by numScreens(). The screen number that a particular point or widget is located in is returned by screenNumber(). +The TQDesktopWidget provides information about the geometry of the available screens with screenGeometry(). The number of screens available is returned by numScreens(). The screen number that a particular point or widget is located in is returned by screenNumber(). .PP Widgets provided by TQt use this class, for example, to place tooltips, menus and dialog boxes according to the parent or application widget. .PP @@ -85,45 +85,45 @@ In the illustration above, Application One's primary screen is screen 0, and App .PP See also Advanced Widgets and Environment Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDesktopWidget::QDesktopWidget ()" +.SH "TQDesktopWidget::TQDesktopWidget ()" Creates the desktop widget. .PP If the system supports a virtual desktop, this widget will have the size of the virtual desktop; otherwise this widget will have the size of the primary screen. .PP -Instead of using QDesktopWidget directly, use QApplication::desktop(). -.SH "QDesktopWidget::~QDesktopWidget ()" +Instead of using TQDesktopWidget directly, use QApplication::desktop(). +.SH "TQDesktopWidget::~TQDesktopWidget ()" Destroy the object and free allocated resources. -.SH "const TQRect & QDesktopWidget::availableGeometry ( int screen = -1 ) const" +.SH "const TQRect & TQDesktopWidget::availableGeometry ( int screen = -1 ) const" Returns the available geometry of the screen with index \fIscreen\fR. What is available will be subrect of screenGeometry() based on what the platform decides is available (for example excludes the Dock and Menubar on Mac OS X, or the taskbar on Windows). .PP See also screenNumber() and screenGeometry(). -.SH "const TQRect & QDesktopWidget::availableGeometry ( TQWidget * widget ) const" +.SH "const TQRect & TQDesktopWidget::availableGeometry ( TQWidget * widget ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the available geometry of the screen which contains \fIwidget\fR. .PP See also screenGeometry(). -.SH "const TQRect & QDesktopWidget::availableGeometry ( const TQPoint & p ) const" +.SH "const TQRect & TQDesktopWidget::availableGeometry ( const TQPoint & p ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the available geometry of the screen which contains \fIp\fR. .PP See also screenGeometry(). -.SH "bool QDesktopWidget::isVirtualDesktop () const" +.SH "bool TQDesktopWidget::isVirtualDesktop () const" Returns TRUE if the system manages the available screens in a virtual desktop; otherwise returns FALSE. .PP For virtual desktops, screen() will always return the same widget. The size of the virtual desktop is the size of this desktop widget. -.SH "int QDesktopWidget::numScreens () const" +.SH "int TQDesktopWidget::numScreens () const" Returns the number of available screens. .PP See also primaryScreen(). -.SH "int QDesktopWidget::primaryScreen () const" +.SH "int TQDesktopWidget::primaryScreen () const" Returns the index of the primary screen. .PP See also numScreens(). -.SH "void QDesktopWidget::resized ( int screen )\fC [signal]\fR" +.SH "void TQDesktopWidget::resized ( int screen )\fC [signal]\fR" This signal is emitted when the size of \fIscreen\fR changes. -.SH "TQWidget * QDesktopWidget::screen ( int screen = -1 )" +.SH "TQWidget * TQDesktopWidget::screen ( int screen = -1 )" Returns a widget that represents the screen with index \fIscreen\fR. This widget can be used to draw directly on the desktop, using an unclipped painter like this: .PP .nf @@ -141,23 +141,23 @@ Returns a widget that represents the screen with index \fIscreen\fR. This widget If the system uses a virtual desktop, the returned widget will have the geometry of the entire virtual desktop i.e. bounding every \fIscreen\fR. .PP See also primaryScreen(), numScreens(), and isVirtualDesktop(). -.SH "const TQRect & QDesktopWidget::screenGeometry ( int screen = -1 ) const" +.SH "const TQRect & TQDesktopWidget::screenGeometry ( int screen = -1 ) const" Returns the geometry of the screen with index \fIscreen\fR. .PP See also screenNumber(). -.SH "const TQRect & QDesktopWidget::screenGeometry ( TQWidget * widget ) const" +.SH "const TQRect & TQDesktopWidget::screenGeometry ( TQWidget * widget ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the geometry of the screen which contains \fIwidget\fR. -.SH "const TQRect & QDesktopWidget::screenGeometry ( const TQPoint & p ) const" +.SH "const TQRect & TQDesktopWidget::screenGeometry ( const TQPoint & p ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the geometry of the screen which contains \fIp\fR. -.SH "int QDesktopWidget::screenNumber ( TQWidget * widget = 0 ) const" +.SH "int TQDesktopWidget::screenNumber ( TQWidget * widget = 0 ) const" Returns the index of the screen that contains the largest part of \fIwidget\fR, or -1 if the widget not on a screen. .PP See also primaryScreen(). -.SH "int QDesktopWidget::screenNumber ( const TQPoint & point ) const" +.SH "int TQDesktopWidget::screenNumber ( const TQPoint & point ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the index of the screen that contains \fIpoint\fR, or -1 if no screen contains the point. @@ -165,7 +165,7 @@ Returns the index of the screen that contains \fIpoint\fR, or -1 if no screen co See also primaryScreen(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqdesktopwidget.html +.BR http://doc.trolltech.com/tqdesktopwidget.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |