diff options
Diffstat (limited to 'kpresenter/KPrDocument.cpp')
-rw-r--r-- | kpresenter/KPrDocument.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kpresenter/KPrDocument.cpp b/kpresenter/KPrDocument.cpp index 88f0fd3a..0b33a507 100644 --- a/kpresenter/KPrDocument.cpp +++ b/kpresenter/KPrDocument.cpp @@ -136,9 +136,9 @@ KoDocument *KPrChild::hitTest( const TQPoint &, const TQWMatrix & ) return 0; } -KPrDocument::KPrDocument( TQWidget *tqparentWidget, const char *widgetName, TQObject* tqparent, const char* name, +KPrDocument::KPrDocument( TQWidget *parentWidget, const char *widgetName, TQObject* tqparent, const char* name, bool singleViewMode ) - : KoDocument( tqparentWidget,widgetName, tqparent, name, singleViewMode ), + : KoDocument( parentWidget,widgetName, tqparent, name, singleViewMode ), _gradientCollection(), m_customListTest( 0L ), m_childCountBeforeInsert( 0 ) { @@ -3297,7 +3297,7 @@ void KPrDocument::updateHeaderFooterPosition( ) tqrepaint(_footer); } -bool KPrDocument::initDoc(InitDocFlags flags, TQWidget* tqparentWidget) +bool KPrDocument::initDoc(InitDocFlags flags, TQWidget* parentWidget) { if (flags==KoDocument::InitDocEmpty) @@ -3323,7 +3323,7 @@ bool KPrDocument::initDoc(InitDocFlags flags, TQWidget* tqparentWidget) dlgtype = KoTemplateChooseDia::OnlyTemplates; ret = KoTemplateChooseDia::choose( KPrFactory::global(), file, - dlgtype, "kpresenter_template", tqparentWidget ); + dlgtype, "kpresenter_template", parentWidget ); if ( ret == KoTemplateChooseDia::Template ) { _clean = true; //was a parameter called "clean", but unused bool ok = loadNativeFormat( file ); @@ -3605,12 +3605,12 @@ TQString KPrDocument::templateFileName( bool chooseTemplate, const TQString &the else fileName = theFile; } else { - // TODO: pass tqparentWidget as parameter to this method - TQWidget* tqparentWidget = 0; + // TODO: pass parentWidget as parameter to this method + TQWidget* parentWidget = 0; TQString _template; if ( KoTemplateChooseDia::choose( KPrFactory::global(), _template, KoTemplateChooseDia::OnlyTemplates, - "kpresenter_template", tqparentWidget ) == KoTemplateChooseDia::Cancel ) + "kpresenter_template", parentWidget ) == KoTemplateChooseDia::Cancel ) return TQString(); TQFileInfo fileInfo( _template ); fileName = fileInfo.dirPath( true ) + "/" + fileInfo.baseName() + ".kpt"; @@ -4410,11 +4410,11 @@ void KPrDocument::applyStyleChange( KoStyleChangeDefMap changed ) m_masterPage->applyStyleChange( changed ); } -void KPrDocument::saveStyle( KoParagStyle *sty, TQDomElement tqparentElem ) +void KPrDocument::saveStyle( KoParagStyle *sty, TQDomElement parentElem ) { - TQDomDocument doc = tqparentElem.ownerDocument(); + TQDomDocument doc = parentElem.ownerDocument(); TQDomElement styleElem = doc.createElement( "STYLE" ); - tqparentElem.appendChild( styleElem ); + parentElem.appendChild( styleElem ); sty->saveStyle( styleElem ); TQDomElement formatElem = doc.createElement("FORMAT"); |