diff options
Diffstat (limited to 'umbrello/umbrello/codegenerators/cppcodegenerationpolicypage.cpp')
-rw-r--r-- | umbrello/umbrello/codegenerators/cppcodegenerationpolicypage.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/umbrello/umbrello/codegenerators/cppcodegenerationpolicypage.cpp b/umbrello/umbrello/codegenerators/cppcodegenerationpolicypage.cpp index a008daab..60d37bac 100644 --- a/umbrello/umbrello/codegenerators/cppcodegenerationpolicypage.cpp +++ b/umbrello/umbrello/codegenerators/cppcodegenerationpolicypage.cpp @@ -26,8 +26,8 @@ #include "cppcodegenerationformbase.h" #include "../uml.h" -CPPCodeGenerationPolicyPage::CPPCodeGenerationPolicyPage( TQWidget *tqparent, const char *name, CPPCodeGenerationPolicy * policy ) - : CodeGenerationPolicyPage(tqparent, name, policy) +CPPCodeGenerationPolicyPage::CPPCodeGenerationPolicyPage( TQWidget *parent, const char *name, CPPCodeGenerationPolicy * policy ) + : CodeGenerationPolicyPage(parent, name, policy) { CodeGenerationPolicy *common = UMLApp::app()->getCommonPolicy(); form = new CPPCodeGenerationForm(this); @@ -59,31 +59,31 @@ void CPPCodeGenerationPolicyPage::apply() CodeGenerationPolicy *common = UMLApp::app()->getCommonPolicy(); // now do our cpp-specific configs - CPPCodeGenerationPolicy * tqparent = (CPPCodeGenerationPolicy*) m_parentPolicy; + CPPCodeGenerationPolicy * parent = (CPPCodeGenerationPolicy*) m_parentPolicy; // block signals so that we don't generate too many sync signals for child code // documents - tqparent->blockSignals(true); + parent->blockSignals(true); common->setCommentStyle((CodeGenerationPolicy::CommentStyle ) form->m_SelectCommentStyle->currentItem()); common->setAutoGenerateConstructors(form->getGenerateEmptyConstructors()); - tqparent->setAutoGenerateAccessors(form->getGenerateAccessorMethods()); + parent->setAutoGenerateAccessors(form->getGenerateAccessorMethods()); - tqparent->setDestructorsAreVirtual(form->getVirtualDestructors()); - tqparent->setPackageIsNamespace(form->getPackageIsANamespace()); - tqparent->setAccessorsAreInline(form->getAccessorsAreInline()); - tqparent->setOperationsAreInline(form->getOperationsAreInline()); - tqparent->setAccessorsArePublic(form->getAccessorsArePublic()); + parent->setDestructorsAreVirtual(form->getVirtualDestructors()); + parent->setPackageIsNamespace(form->getPackageIsANamespace()); + parent->setAccessorsAreInline(form->getAccessorsAreInline()); + parent->setOperationsAreInline(form->getOperationsAreInline()); + parent->setAccessorsArePublic(form->getAccessorsArePublic()); - tqparent->setStringClassName(form->m_stringClassHCombo->currentText()); - tqparent->setStringClassNameInclude(form->m_stringIncludeFileHistoryCombo->currentText()); - tqparent->setStringIncludeIsGlobal(form->m_globalStringCheckBox->isChecked()); + parent->setStringClassName(form->m_stringClassHCombo->currentText()); + parent->setStringClassNameInclude(form->m_stringIncludeFileHistoryCombo->currentText()); + parent->setStringIncludeIsGlobal(form->m_globalStringCheckBox->isChecked()); - tqparent->setVectorClassName(form->m_listClassHCombo->currentText()); - tqparent->setVectorClassNameInclude(form->m_listIncludeFileHistoryCombo->currentText()); - tqparent->setVectorIncludeIsGlobal(form->m_globalListCheckBox->isChecked()); + parent->setVectorClassName(form->m_listClassHCombo->currentText()); + parent->setVectorClassNameInclude(form->m_listIncludeFileHistoryCombo->currentText()); + parent->setVectorIncludeIsGlobal(form->m_globalListCheckBox->isChecked()); - tqparent->blockSignals(false); + parent->blockSignals(false); // now send out modified code content signal common->emitModifiedCodeContentSig(); |