Compatibility Members for QWorkspace

以下成员源于类 QWorkspace are part of the Qt compatibility layer. We advise against using them in new code.

公共函数

QWorkspace (QWidget * parent , const char * name )
void setPaletteBackgroundColor (const QColor & c )
void setPaletteBackgroundPixmap (const QPixmap & pm )

成员函数文档编制

QWorkspace:: QWorkspace ( QWidget * parent , const char * name )

Use one of the constructors that doesn't take the name argument and then use setObjectName () 代替。

void QWorkspace:: setPaletteBackgroundColor (const QColor & c )

Sets the background color to c 。使用 setBackground () 代替。

void QWorkspace:: setPaletteBackgroundPixmap (const QPixmap & pm )

Sets the background pixmap to pm 。使用 setBackground () 代替。