Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |
The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
Use QX11Info::cells() instead.
For example, if you have code like
int cells = QPaintDevice::x11AppCells(screen);
you can rewrite it as
int cells = qApp->x11Info(screen).cells();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::colormap() instead.
For example, if you have code like
unsigned long colormap = QPaintDevice::x11AppColormap(screen);
you can rewrite it as
unsigned long colormap = qApp->x11Info(screen).colormap();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::isDefaultColormap() instead.
For example, if you have code like
bool isDefault = QPaintDevice::x11AppDefaultColormap(screen);
you can rewrite it as
bool isDefault = qApp->x11Info(screen).isDefaultColormap();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::isDefaultVisual() instead.
For example, if you have code like
bool isDefault = QPaintDevice::x11AppDefaultVisual(screen);
you can rewrite it as
bool isDefault = qApp->x11Info(screen).isDefaultVisual();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::depth() instead.
For example, if you have code like
int depth = QPaintDevice::x11AppDepth(screen);
you can rewrite it as
int depth = qApp->x11Info(screen).depth();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::display() instead.
For example, if you have code like
Display *display = QPaintDevice::x11AppDisplay();
you can rewrite it as
Display *display = qApp->x11Info().display();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::dpiX() instead.
For example, if you have code like
bool isDefault = QPaintDevice::x11AppDpiX(screen);
you can rewrite it as
bool isDefault = qApp->x11Info(screen).dpiX();
See also QWidget::x11Info() and QPixmap::x11Info().
Returns the vertical DPI of the X11 display (X11 only) for screen screen. Using this function is not portable. Using this function is not portable.
See also x11AppDpiX(), x11SetAppDpiY(), and logicalDpiY().
Use QX11Info::rootWindow() instead.
For example, if you have code like
unsigned long window = QPaintDevice::x11AppRootWindow(screen);
you can rewrite it as
unsigned long window = qApp->x11Info(screen).rootWindow();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::screen() instead.
For example, if you have code like
int screen = QPaintDevice::x11AppScreen();
you can rewrite it as
int screen = qApp->x11Info().screen();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::visual() instead.
For example, if you have code like
void *visual = QPaintDevice::x11AppVisual(screen);
you can rewrite it as
void *visual = qApp->x11Info(screen).visual();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::cells() instead.
For example, if you have code like
int cells = widget->x11Cells();
you can rewrite it as
int cells = widget->x11Info().cells();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::colormap() instead.
For example, if you have code like
unsigned long screen = widget->x11Colormap();
you can rewrite it as
unsigned long screen = widget->x11Info().colormap();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::isDefaultColormap() instead.
For example, if you have code like
bool isDefault = widget->x11DefaultColormap();
you can rewrite it as
bool isDefault = widget->x11Info().isDefaultColormap();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::isDefaultVisual() instead.
For example, if you have code like
bool isDefault = widget->x11DefaultVisual();
you can rewrite it as
bool isDefault = widget->x11Info().isDefaultVisual();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::depth() instead.
For example, if you have code like
int depth = widget->x11Depth();
you can rewrite it as
int depth = widget->x11Info().depth();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::display() instead.
For example, if you have code like
Display *display = widget->x11Display();
you can rewrite it as
Display *display = widget->x11Info().display();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::screen() instead.
For example, if you have code like
int screen = widget->x11Screen();
you can rewrite it as
int screen = widget->x11Info().screen();
See also QWidget::x11Info() and QPixmap::x11Info().
Use QX11Info::setDpiX() instead.
Use QX11Info::setDpiY() instead.
Use QX11Info::visual() instead.
For example, if you have code like
void *visual = widget->x11Visual();
you can rewrite it as
void *visual = widget->x11Info().visual();
See also QWidget::x11Info() and QPixmap::x11Info().
Copyright © 2005 Trolltech | Trademarks | Qt 4.1.0 |