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/KPrLoadingInfo.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/KPrLoadingInfo.h')
-rw-r--r-- | kpresenter/KPrLoadingInfo.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kpresenter/KPrLoadingInfo.h b/kpresenter/KPrLoadingInfo.h index 3bfea0b9..af17f2b5 100644 --- a/kpresenter/KPrLoadingInfo.h +++ b/kpresenter/KPrLoadingInfo.h @@ -22,7 +22,7 @@ struct lstAnimation { - QDomElement *element; + TQDomElement *element; int order; }; @@ -42,14 +42,14 @@ public: } ~KPrLoadingInfo() {} - lstAnimation* animationShowById( const QString& id ) const { + lstAnimation* animationShowById( const TQString& id ) const { return m_animationsShowDict[id]; // returns 0 if not found } - void storePresentationShowAnimation( lstAnimation * element, const QString& id ) { + void storePresentationShowAnimation( lstAnimation * element, const TQString& id ) { m_animationsShowDict.insert( id , element ); } void clearAnimationShowDict() { - QDictIterator<lstAnimation> it( m_animationsShowDict ); // See QDictIterator + TQDictIterator<lstAnimation> it( m_animationsShowDict ); // See TQDictIterator for( ; it.current(); ++it ) { delete it.current()->element; @@ -57,14 +57,14 @@ public: m_animationsShowDict.clear(); } - lstAnimation* animationHideById( const QString& id ) const { + lstAnimation* animationHideById( const TQString& id ) const { return m_animationsHideDict[id]; // returns 0 if not found } - void storePresentationHideAnimation( lstAnimation * element, const QString& id ) { + void storePresentationHideAnimation( lstAnimation * element, const TQString& id ) { m_animationsHideDict.insert( id , element ); } void clearAnimationHideDict() { - QDictIterator<lstAnimation> it( m_animationsHideDict ); // See QDictIterator + TQDictIterator<lstAnimation> it( m_animationsHideDict ); // See TQDictIterator for( ; it.current(); ++it ) { delete it.current()->element; @@ -73,13 +73,13 @@ public: } bool oldFormat() const { return m_oldFormat; } int presSpeed; - QMap<QString, KPrPage *> m_name2page; + TQMap<TQString, KPrPage *> m_name2page; bool m_header; bool m_footer; bool m_headerFooterByPage; private: - QDict<lstAnimation> m_animationsShowDict; - QDict<lstAnimation> m_animationsHideDict; + TQDict<lstAnimation> m_animationsShowDict; + TQDict<lstAnimation> m_animationsHideDict; bool m_oldFormat; }; |