/*!
\internal
*/
-void QPaintDevice::init(QPainter *) const
+void QPaintDevice::initPainter(QPainter *) const
{
}
protected:
QPaintDevice();
virtual int metric(PaintDeviceMetric metric) const;
- virtual void init(QPainter *painter) const;
+ virtual void initPainter(QPainter *painter) const;
virtual QPaintDevice *redirected(QPoint *offset) const;
virtual QPainter *sharedPainter() const;
return;
}
- device->init(this);
+ device->initPainter(this);
if (d->extended) {
d->extended->penChanged();
the given widget's. This function is called automatically when the
painter is opened on a QWidget.
*/
-void QWidget::init(QPainter *painter) const
+void QWidget::initPainter(QPainter *painter) const
{
const QPalette &pal = palette();
painter->d_func()->state->pen = QPen(pal.brush(foregroundRole()), 0);
virtual void changeEvent(QEvent *);
int metric(PaintDeviceMetric) const;
- void init(QPainter *painter) const;
+ void initPainter(QPainter *painter) const;
QPaintDevice *redirected(QPoint *offset) const;
QPainter *sharedPainter() const;