20#ifndef KPRLOADINGINFO_H
21#define KPRLOADINGINFO_H
25 TQDomElement *element;
37 , m_headerFooterByPage( false )
38 , m_oldFormat( oldFormat )
40 m_animationsShowDict.setAutoDelete( true );
41 m_animationsHideDict.setAutoDelete( true );
45 lstAnimation* animationShowById( const TQString& id ) const {
46 return m_animationsShowDict[id];
48 void storePresentationShowAnimation( lstAnimation * element, const TQString& id ) {
49 m_animationsShowDict.insert( id , element );
51 void clearAnimationShowDict() {
52 TQDictIterator<lstAnimation> it( m_animationsShowDict );
53 for( ; it.current(); ++it )
55 delete it.current()->element;
57 m_animationsShowDict.clear();
60 lstAnimation* animationHideById( const TQString& id ) const {
61 return m_animationsHideDict[id];
63 void storePresentationHideAnimation( lstAnimation * element, const TQString& id ) {
64 m_animationsHideDict.insert( id , element );
66 void clearAnimationHideDict() {
67 TQDictIterator<lstAnimation> it( m_animationsHideDict );
68 for( ; it.current(); ++it )
70 delete it.current()->element;
72 m_animationsHideDict.clear();
74 bool oldFormat() const { return m_oldFormat; }
76 TQMap<TQString, KPrPage *> m_name2page;
79 bool m_headerFooterByPage;
81 TQDict<lstAnimation> m_animationsShowDict;
82 TQDict<lstAnimation> m_animationsHideDict;
Temporary information used only during loading.
|