![]() |
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 ColorSpec instead.
Use colorSpec() instead, and use ColorSpec as the enum type.
See also setColorMode().
Use flush() instead.
This feature does not exist anymore. This function always returns true in Qt 4.
Strips out vertical alignment flags and transforms an alignment align of Qt::AlignLeft into Qt::AlignLeft or Qt::AlignRight according to the language used.
Use QSysInfo::MacintoshVersion instead.
See also setMainWidget().
Use layoutDirection() instead.
See also setReverseLayout().
Use setColorSpec() instead, and pass a ColorSpec value instead.
See also colorMode().
This is an overloaded member function, provided for convenience.
Use the two-argument overload instead.
This function does nothing in Qt 4. The dummy parameter is ignored.
See also hasGlobalMouseTracking().
See also mainWidget().
This is an overloaded member function, provided for convenience.
Use changeOverrideCursor(cursor) (if replace is true) or setOverrideCursor(cursor) (if replace is false).
This is an overloaded member function, provided for convenience.
Use the two-argument overload instead.
Use setLayoutDirection() instead.
See also reverseLayout().
Use the palette instead.
For example, if you have code like
app.setWinStyleHighlightColor(color);
you can rewrite it as
QPalette palette(qApp->palette()); palette.setColor(QPalette::Highlight, color); qApp->setPalette(palette);
See also winStyleHighlightColor().
This is an overloaded member function, provided for convenience.
Use the two-argument widgetAt() overload to get the child widget. To get the top-level widget do this:
QWidget *widget = qApp->widgetAt(x, y); if (widget) widget = widget->window();
This is an overloaded member function, provided for convenience.
Use the single-argument widgetAt() overload to get the child widget. To get the top-level widget do this:
QWidget *widget = qApp->widgetAt(point); if (widget) widget = widget->window();
Use qApp->palette().color(QPalette::Active, QPalette::Highlight) instead.
See also setWinStyleHighlightColor().
Use QSysInfo::WindowsVersion instead.
Use CustomColor instead.
Use NormalColor instead.
Copyright © 2008 Trolltech | Trademarks | Qt 4.4.0 |