#include "qpaintdevice.h"
#include "qpainter.h"
#include "qwidget.h"
#include "qbitmap.h"
#include "qapplication.h"
Go to the source code of this file.
◆ qt_painter_removePaintDevice()
Definition at line 8419 of file qpainter.cpp.
8421 if (!globalRedirectionAtomic() || *globalRedirectionAtomic() == 0)
8426 mutex = globalRedirectionsMutex();
8434 redirections = globalRedirections();
8439 for (
int i = 0; i < redirections->
size(); ) {
8440 if(redirections->
at(i) == dev || redirections->
at(i).replacement == dev)
The QMutex class provides access serialization between threads.
const T & at(int i) const
Returns the item at index position i in the list.
The QMutexLocker class is a convenience class that simplifies locking and unlocking mutexes...
int size() const
Returns the number of items in the list.
The QList class is a template class that provides lists.
void removeAt(int i)
Removes the item at index position i.