summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrDocument.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit7c71ab86d1f7e387fc3df63b48df07231f111862 (patch)
tree30ba2d2f840ff5fd458b6113e9c3f2e8a71d510d /kpresenter/KPrDocument.cpp
parentafbfdc507bfaafc8824a9808311d57a9ece87510 (diff)
downloadkoffice-7c71ab86d1f7e387fc3df63b48df07231f111862.tar.gz
koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpresenter/KPrDocument.cpp')
-rw-r--r--kpresenter/KPrDocument.cpp20
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");