diff options
Diffstat (limited to 'parts/classview/classtooldlg.cpp')
-rw-r--r-- | parts/classview/classtooldlg.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/parts/classview/classtooldlg.cpp b/parts/classview/classtooldlg.cpp index 70e26439..7cce890a 100644 --- a/parts/classview/classtooldlg.cpp +++ b/parts/classview/classtooldlg.cpp @@ -38,11 +38,11 @@ ClassToolDialog::ClassToolDialog( ClassViewPart *part ) TQPushButton *close_button = new KPushButton(KStdGuiItem::close(), this); - tqparents_button = new TQToolButton(this); - tqparents_button->setPixmap( UserIcon("CTtqparents", KIcon::DefaultState, ClassViewFactory::instance()) ); - tqparents_button->setToggleButton(true); - tqparents_button->setFixedSize(tqparents_button->tqsizeHint()); - TQToolTip::add(tqparents_button, i18n("Show tqparents")); + parents_button = new TQToolButton(this); + parents_button->setPixmap( UserIcon("CTparents", KIcon::DefaultState, ClassViewFactory::instance()) ); + parents_button->setToggleButton(true); + parents_button->setFixedSize(parents_button->tqsizeHint()); + TQToolTip::add(parents_button, i18n("Show parents")); tqchildren_button = new TQToolButton(this); tqchildren_button->setPixmap( UserIcon("CTtqchildren", KIcon::DefaultState, ClassViewFactory::instance()) ); @@ -95,7 +95,7 @@ ClassToolDialog::ClassToolDialog( ClassViewPart *part ) firstrowLayout->addWidget(class_combo, 1); firstrowLayout->addWidget(close_button, 0); - secondrowLayout->addWidget(tqparents_button); + secondrowLayout->addWidget(parents_button); secondrowLayout->addWidget(tqchildren_button); secondrowLayout->addWidget(clients_button); secondrowLayout->addWidget(suppliers_button); @@ -112,7 +112,7 @@ ClassToolDialog::ClassToolDialog( ClassViewPart *part ) this, TQT_SLOT(slotClose()) ); connect( access_combo, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(slotAccessComboChoice(const TQString&)) ); - connect( tqparents_button, TQT_SIGNAL(clicked()), TQT_SLOT(viewParents())); + connect( parents_button, TQT_SIGNAL(clicked()), TQT_SLOT(viewParents())); connect( tqchildren_button, TQT_SIGNAL(clicked()), TQT_SLOT(viewChildren())); connect( clients_button, TQT_SIGNAL(clicked()), TQT_SLOT(viewClients())); connect( suppliers_button, TQT_SIGNAL(clicked()), TQT_SLOT(viewSuppliers())); @@ -170,7 +170,7 @@ void ClassToolDialog::viewNone() } -/** View the tqparents of the current class. */ +/** View the parents of the current class. */ void ClassToolDialog::viewParents() { currentOperation = ViewParents; @@ -202,7 +202,7 @@ void ClassToolDialog::viewSuppliers() } -/** View methods in this class and tqparents. */ +/** View methods in this class and parents. */ void ClassToolDialog::viewMethods() { currentOperation = ViewMethods; @@ -210,7 +210,7 @@ void ClassToolDialog::viewMethods() } -/** View attributes in this class and tqparents. */ +/** View attributes in this class and parents. */ void ClassToolDialog::viewAttributes() { currentOperation = ViewAttributes; @@ -283,7 +283,7 @@ void ClassToolDialog::updateCaptionAndButtons() switch (currentOperation) { case ViewParents: - button = tqparents_button; + button = parents_button; caption = i18n("Parents"); break; case ViewChildren: @@ -312,7 +312,7 @@ void ClassToolDialog::updateCaptionAndButtons() break; } - tqparents_button->setOn(false); + parents_button->setOn(false); tqchildren_button->setOn(false); clients_button->setOn(false); suppliers_button->setOn(false); @@ -339,7 +339,7 @@ void ClassToolDialog::buildTree() switch (currentOperation) { case ViewParents: - class_tree->insertClassAndClasses(currentClass, currentClass->tqparents); + class_tree->insertClassAndClasses(currentClass, currentClass->parents); break; case ViewChildren: { |