Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |

# Compatibility Members for Qt

The following class members are part of the Qt 3 compatibility layer. They are provided to help you port old code to Qt 4. We strongly advise against using them in new code.

Qt class reference

### Types

- enum BackgroundMode { FixedColor, FixedPixmap, NoBackground, PaletteForeground, PaletteButton, ..., X11ParentRelative }
- enum GUIStyle { MacStyle, WindowsStyle, Win3Style, PMStyle, MotifStyle }
- enum PaintUnit { PixelUnit, LoMetricUnit, HiMetricUnit, LoEnglishUnit, HiEnglishUnit, TwipsUnit }
- typedef ScaleMode

## Type Documentation

### enum Qt::BackgroundMode

`Qt::FixedColor` |
`Qt::FixedPixmap` |
`Qt::NoBackground` |
`Qt::PaletteForeground` |
`Qt::PaletteButton` |
`Qt::PaletteLight` |
`Qt::PaletteMidlight` |
`Qt::PaletteDark` |
`Qt::PaletteMid` |
`Qt::PaletteText` |
`Qt::PaletteBrightText` |
`Qt::PaletteBase` |
`Qt::PaletteBackground` |
`Qt::PaletteShadow` |
`Qt::PaletteHighlight` |
`Qt::PaletteHighlightedText` |
`Qt::PaletteButtonText` |
`Qt::PaletteLink` |
`Qt::PaletteLinkVisited` |
`Qt::X11ParentRelative` |

### enum Qt::GUIStyle

### enum Qt::PaintUnit

`Qt::PixelUnit` |
`Qt::LoMetricUnit` | Obsolete
`Qt::HiMetricUnit` | Obsolete
`Qt::LoEnglishUnit` | Obsolete
`Qt::HiEnglishUnit` | Obsolete
`Qt::TwipsUnit` | Obsolete

### typedef Qt::ScaleMode

Use Qt::AspectRatioMode instead.