def drawTiledPixmap(self, rect, pixmap, subRect):
     device = self.nullDevice()
     if device is None:
         return
     if device.mode() != QwtNullPaintDevice.NormalMode:
         QPaintEngine.drawTiledPixmap(rect, pixmap, subRect)
         return
     device.drawTiledPixmap(rect, pixmap, subRect)
 def drawTiledPixmap(self, rect, pixmap, subRect):
     device = self.nullDevice()
     if device is None:
         return
     if device.mode() != QwtNullPaintDevice.NormalMode:
         QPaintEngine.drawTiledPixmap(rect, pixmap, subRect)
         return
     device.drawTiledPixmap(rect, pixmap, subRect)