comparison widgets/IconLoader.h @ 978:64c2b3a4435a 3.0-integration

Merge from branch osx-retina
author Chris Cannam
date Fri, 26 Jun 2015 14:10:40 +0100
parents 4b5efd76a55c
children a34a2a25907c
comparison
equal deleted inserted replaced
977:f40ccbf228c2 978:64c2b3a4435a
23 public: 23 public:
24 IconLoader() { } 24 IconLoader() { }
25 virtual ~IconLoader() { } 25 virtual ~IconLoader() { }
26 26
27 QIcon load(QString name); 27 QIcon load(QString name);
28 QPixmap loadPixmap(QString name); 28
29 private:
30 bool shouldInvert() const;
31 bool shouldAutoInvert(QString) const;
32 QPixmap loadPixmap(QString, int);
33 QPixmap loadScalable(QString, int);
34 QPixmap invertPixmap(QPixmap);
35 QString makeScalableFilename(QString, bool);
36 QString makeNonScalableFilename(QString, int, bool);
29 }; 37 };
30 38
31 #endif 39 #endif
32 40
33 41