diff options
Diffstat (limited to 'qtinterface/tqt4/Qt/qpixmap.h')
-rw-r--r-- | qtinterface/tqt4/Qt/qpixmap.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qtinterface/tqt4/Qt/qpixmap.h b/qtinterface/tqt4/Qt/qpixmap.h index b973318..dc465a3 100644 --- a/qtinterface/tqt4/Qt/qpixmap.h +++ b/qtinterface/tqt4/Qt/qpixmap.h @@ -235,6 +235,13 @@ private: public: inline QT3_SUPPORT void resize(const QSize &s) { resize_helper(s); } inline QT3_SUPPORT void resize(int width, int height) { resize_helper(QSize(width, height)); } + enum Optimization { DefaultOptim, NoOptim, MemoryOptim=NoOptim, + NormalOptim, BestOptim }; + static Optimization defOptim; + Optimization optimization() const; + void setOptimization( Optimization ); + static Optimization defaultOptimization(); + static void setDefaultOptimization( Optimization ); #endif private: |