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 () 代替。