@ -67,7 +67,7 @@ class TilesManager::Private
int width;
int height;
int pageNumber;
long totalPixels;
qulonglong totalPixels;
Rotation rotation;
NormalizedRect visibleRect;
NormalizedRect requestRect;
@ -377,7 +377,7 @@ void TilesManager::Private::tilesAt( const NormalizedRect &rect, TileNode &tile,
}
long TilesManager::totalMemory() const
qulonglong TilesManager::totalMemory() const
{
return 4*d->totalPixels;
@ -142,7 +142,7 @@ class OKULAR_EXPORT TilesManager
/**
* The total memory consumed by the tiles manager
*/
long totalMemory() const;
qulonglong totalMemory() const;
* Removes at least @p numberOfBytes bytes worth of tiles (least ranked