diff options
Diffstat (limited to 'kplato/kptpart.cc')
-rw-r--r-- | kplato/kptpart.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kplato/kptpart.cc b/kplato/kptpart.cc index 459f0854..f3075f37 100644 --- a/kplato/kptpart.cc +++ b/kplato/kptpart.cc @@ -48,11 +48,11 @@ namespace KPlato { -Part::Part(TQWidget *tqparentWidget, const char *widgetName, +Part::Part(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, bool singleViewMode) - : KoDocument(tqparentWidget, widgetName, tqparent, name, singleViewMode), - m_project(0), m_projectDialog(0), m_parentWidget(tqparentWidget), m_view(0), - m_embeddedGanttView(new GanttView(tqparentWidget)), + : KoDocument(parentWidget, widgetName, tqparent, name, singleViewMode), + m_project(0), m_projectDialog(0), m_parentWidget(parentWidget), m_view(0), + m_embeddedGanttView(new GanttView(parentWidget)), m_embeddedContext(new Context()), m_embeddedContextInitialized(false), m_context(0), m_xmlLoader() { @@ -90,7 +90,7 @@ Part::~Part() { } -bool Part::initDoc(InitDocFlags flags, TQWidget* tqparentWidget) { +bool Part::initDoc(InitDocFlags flags, TQWidget* parentWidget) { bool result = true; if (flags==KoDocument::InitDocEmpty) @@ -113,7 +113,7 @@ bool Part::initDoc(InitDocFlags flags, TQWidget* tqparentWidget) { ret = KoTemplateChooseDia::choose(Factory::global(), templateDoc, dlgtype, "kplato_template", - tqparentWidget); + parentWidget); if (ret == KoTemplateChooseDia::Template) { resetURL(); result = loadNativeFormat(templateDoc); |