Store database icons as QImage instead of QIcon.

This has the advantage that they can be used without a running X server.
Add methods to retrieve QPixmaps that are converted from the stored QImages
and cached by QPixmapCache.
This commit is contained in:
Felix Geyer
2012-01-01 21:52:54 +01:00
parent fdf600e09a
commit 00aafa69f5
15 changed files with 137 additions and 60 deletions

View File

@@ -20,7 +20,6 @@
#include <QtCore/QDateTime>
#include <QtCore/QHash>
#include <QtGui/QIcon>
#include "core/Uuid.h"
#include "keys/CompositeKey.h"