summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kivio_doc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kivio_doc.cpp')
-rw-r--r--kivio/kiviopart/kivio_doc.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kivio/kiviopart/kivio_doc.cpp b/kivio/kiviopart/kivio_doc.cpp
index cf0327ab..f30b256e 100644
--- a/kivio/kiviopart/kivio_doc.cpp
+++ b/kivio/kiviopart/kivio_doc.cpp
@@ -99,8 +99,8 @@
TQPtrList<KivioDoc>* KivioDoc::s_docs = 0;
int KivioDoc::s_docId = 0;
-KivioDoc::KivioDoc( TQWidget *tqparentWidget, const char* widgetName, TQObject* tqparent, const char* name, bool singleViewMode )
-: KoDocument( tqparentWidget, widgetName, tqparent, name, singleViewMode )
+KivioDoc::KivioDoc( TQWidget *parentWidget, const char* widgetName, TQObject* tqparent, const char* name, bool singleViewMode )
+: KoDocument( parentWidget, widgetName, tqparent, name, singleViewMode )
{
dcop = 0;
if (!s_docs)
@@ -172,7 +172,7 @@ TQPtrList<KivioDoc>& KivioDoc::documents()
return *s_docs;
}
-bool KivioDoc::initDoc(InitDocFlags flags, TQWidget* tqparentWidget)
+bool KivioDoc::initDoc(InitDocFlags flags, TQWidget* parentWidget)
{
KivioPage *t = createPage();
m_pMap->addPage( t );
@@ -196,7 +196,7 @@ bool KivioDoc::initDoc(InitDocFlags flags, TQWidget* tqparentWidget)
}
ret = KoTemplateChooseDia::choose( KivioFactory::global(), f,
- dlgtype, "kivio_template", tqparentWidget );
+ dlgtype, "kivio_template", parentWidget );
if( ret == KoTemplateChooseDia::File ) {
KURL url(f);
@@ -305,9 +305,9 @@ bool KivioDoc::saveOasis(KoStore* store, KoXmlWriter* manifestWriter)
KoGenStyles styles;
KoGenStyle pageLayout = Kivio::Config::defaultPageLayout().saveOasis();
- TQString tqlayoutName = styles.lookup(pageLayout, "PL");
+ TQString layoutName = styles.lookup(pageLayout, "PL");
KoGenStyle masterPage(KoGenStyle::STYLE_MASTER);
- masterPage.addAttribute("style:page-tqlayout-name", tqlayoutName);
+ masterPage.addAttribute("style:page-tqlayout-name", layoutName);
styles.lookup(masterPage, "Standard", false);
if(!store->open("content.xml")) {