#include <kis_cursor_cache.h>
|
| QHash< QString, QPair< QPoint, QCursor > > | cursorHash |
| |
Definition at line 20 of file kis_cursor_cache.h.
◆ KisCursorCache()
| KisCursorCache::KisCursorCache |
( |
| ) |
|
◆ instance()
◆ load()
| QCursor KisCursorCache::load |
( |
const QString & | cursorName, |
|
|
int | hotspotX, |
|
|
int | hotspotY ) |
Definition at line 46 of file kis_cursor_cache.cpp.
47{
50 }
51
52
53 QCursor newCursor = loadImpl(cursorName, hotspotX, hotspotY);
54 cursorHash.insert(cursorName, QPair<QPoint, QCursor>(QPoint(hotspotX, hotspotY), newCursor));
55 return newCursor;
56}
QHash< QString, QPair< QPoint, QCursor > > cursorHash
References cursorHash.
◆ cursorHash
| QHash<QString, QPair<QPoint, QCursor> > KisCursorCache::cursorHash |
|
private |
The documentation for this class was generated from the following files: