diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kpresenter/KPrGradientCollection.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpresenter/KPrGradientCollection.h')
-rw-r--r-- | kpresenter/KPrGradientCollection.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kpresenter/KPrGradientCollection.h b/kpresenter/KPrGradientCollection.h index 49993fe6..7eed29d0 100644 --- a/kpresenter/KPrGradientCollection.h +++ b/kpresenter/KPrGradientCollection.h @@ -21,11 +21,11 @@ #ifndef kpgradientcollection_h #define kpgradientcollection_h -#include <qptrlist.h> +#include <tqptrlist.h> #include "global.h" #include "KPrGradient.h" -class QPixmap; +class TQPixmap; /** * Class: KPrGradientCollection @@ -45,19 +45,19 @@ public: { gradientList.clear(); } /** Retrieve or create gradient for the given parameters */ - const QPixmap& getGradient( const QColor &_color1, const QColor &_color2, BCType _bcType, const QSize &_size, + const TQPixmap& getGradient( const TQColor &_color1, const TQColor &_color2, BCType _bcType, const TQSize &_size, bool _unbalanced, int _xfactor, int _yfactor, bool addref = true ); /** Remove reference to gradient with the given parameters */ - void removeRef( const QColor &_color1, const QColor &_color2, BCType _bcType, const QSize &_size, + void removeRef( const TQColor &_color1, const TQColor &_color2, BCType _bcType, const TQSize &_size, bool _unbalanced, int _xfactor, int _yfactor ); protected: - KPrGradient* inGradientList( const QColor &_color1, const QColor &_color2, BCType _bcType, const QSize &_size, + KPrGradient* inGradientList( const TQColor &_color1, const TQColor &_color2, BCType _bcType, const TQSize &_size, bool _unbalanced, int _xfactor, int _yfactor ) const; private: - QPtrList<KPrGradient> gradientList; + TQPtrList<KPrGradient> gradientList; }; #endif |