diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:24:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:24:21 -0600 |
commit | abcbb684982167791304dc2fe0bc979489506b43 (patch) | |
tree | c705baa3702ffd62398873af8131525569b1af89 /parts/classview | |
parent | 7e66d7c3611d907ea28b140281b472bb1c406be6 (diff) | |
download | tdevelop-abcbb684982167791304dc2fe0bc979489506b43.tar.gz tdevelop-abcbb684982167791304dc2fe0bc979489506b43.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'parts/classview')
-rw-r--r-- | parts/classview/classtooldlg.cpp | 8 | ||||
-rw-r--r-- | parts/classview/hierarchydlg.cpp | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/parts/classview/classtooldlg.cpp b/parts/classview/classtooldlg.cpp index 0c09d02c..43ccfa18 100644 --- a/parts/classview/classtooldlg.cpp +++ b/parts/classview/classtooldlg.cpp @@ -86,11 +86,11 @@ ClassToolDialog::ClassToolDialog( ClassViewPart *part ) class_tree = new ClassToolWidget(part, this); // classTree->setMinimumSize( 500, 400 ); - TQVBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); + TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); TQHBoxLayout *firstrowLayout = new TQHBoxLayout(); TQHBoxLayout *secondrowLayout = new TQHBoxLayout(); - tqlayout->addLayout(firstrowLayout); - tqlayout->addLayout(secondrowLayout); + layout->addLayout(firstrowLayout); + layout->addLayout(secondrowLayout); firstrowLayout->addWidget(class_combo, 1); firstrowLayout->addWidget(close_button, 0); @@ -104,7 +104,7 @@ ClassToolDialog::ClassToolDialog( ClassViewPart *part ) secondrowLayout->addWidget(attributes_button); secondrowLayout->addWidget(access_combo); - tqlayout->addWidget(class_tree, 10); + layout->addWidget(class_tree, 10); connect( class_combo, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(slotClassComboChoice(const TQString&)) ); diff --git a/parts/classview/hierarchydlg.cpp b/parts/classview/hierarchydlg.cpp index 74f86a8a..e78661f9 100644 --- a/parts/classview/hierarchydlg.cpp +++ b/parts/classview/hierarchydlg.cpp @@ -55,16 +55,16 @@ HierarchyDialog::HierarchyDialog( ClassViewPart *part ) digraph = new DigraphView(splitter, "digraph view"); // member_tree = new ClassToolWidget(part, splitter); - TQBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); + TQBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); TQBoxLayout *combo_layout = new TQHBoxLayout(); - tqlayout->addLayout(combo_layout); + layout->addLayout(combo_layout); combo_layout->addWidget(namespace_combo); combo_layout->addWidget(class_combo); combo_layout->addSpacing(60); combo_layout->addWidget(refresh_button); combo_layout->addWidget(save_button); combo_layout->addWidget(close_button); - tqlayout->addWidget(splitter); + layout->addWidget(splitter); connect( namespace_combo, TQT_SIGNAL(activated(TQListViewItem*)), this, TQT_SLOT(slotNamespaceComboChoice(TQListViewItem*)) ); |