diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:15 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:15 -0600 |
commit | 377fa3a2775cdb3194315bb83e21744dc7c97bbf (patch) | |
tree | b6f515484589d67271adb168a1ead39f1c98493d /kpackage/pkgOptions.cpp | |
parent | d1248617107f659af9d03cf1ef6d783571a0cba8 (diff) | |
download | tdeadmin-377fa3a2775cdb3194315bb83e21744dc7c97bbf.tar.gz tdeadmin-377fa3a2775cdb3194315bb83e21744dc7c97bbf.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit d1248617107f659af9d03cf1ef6d783571a0cba8.
Diffstat (limited to 'kpackage/pkgOptions.cpp')
-rw-r--r-- | kpackage/pkgOptions.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kpackage/pkgOptions.cpp b/kpackage/pkgOptions.cpp index 9d62f2f..4775fce 100644 --- a/kpackage/pkgOptions.cpp +++ b/kpackage/pkgOptions.cpp @@ -102,38 +102,38 @@ void pkgOptions::setupWidgets(TQPtrList<param> &pars) connect(cancelButton,TQT_SIGNAL(clicked()),TQT_SLOT(cancelButtonClicked())); connect(Keep, TQT_SIGNAL(toggled(bool)), TQT_SLOT(keepToggle(bool))); - // Do the layout - vlayout = new TQBoxLayout(this, TQBoxLayout::TopToBottom, marginHint(), spacingHint()); - vlayout->addWidget(title,0); + // Do the tqlayout + vtqlayout = new TQBoxLayout(this, TQBoxLayout::TopToBottom, marginHint(), spacingHint()); + vtqlayout->addWidget(title,0); { - hlayout = new TQBoxLayout(vlayout,TQBoxLayout::LeftToRight, spacingHint()); + htqlayout = new TQBoxLayout(vtqlayout,TQBoxLayout::LeftToRight, spacingHint()); { - layout = new TQBoxLayout(hlayout,TQBoxLayout::TopToBottom, spacingHint()); + tqlayout = new TQBoxLayout(htqlayout,TQBoxLayout::TopToBottom, spacingHint()); packages = new KListView(this); - layout->addWidget(packages,20); + tqlayout->addWidget(packages,20); packages->addColumn(i18n("PACKAGES"),200); connect(packages, TQT_SIGNAL(selectionChanged ( TQListViewItem * )), this, TQT_SLOT(slotSearch( TQListViewItem * ))); - layout->addStretch(1); + tqlayout->addStretch(1); for (i = 0; i < bnumber; i++) { - layout->addWidget(Boxs[i],1); + tqlayout->addWidget(Boxs[i],1); } - layout->addWidget(new KSeparator(KSeparator::HLine, this), 2); + tqlayout->addWidget(new KSeparator(KSeparator::HLine, this), 2); - TQBoxLayout *slayout = new TQBoxLayout(layout, TQBoxLayout::LeftToRight); - slayout->addStretch(1); - slayout->addWidget(Keep, 1); - slayout->addStretch(1); + TQBoxLayout *stqlayout = new TQBoxLayout(tqlayout, TQBoxLayout::LeftToRight); + stqlayout->addStretch(1); + stqlayout->addWidget(Keep, 1); + stqlayout->addStretch(1); - layout->addWidget(new KSeparator(KSeparator::HLine, this), 2); + tqlayout->addWidget(new KSeparator(KSeparator::HLine, this), 2); TQBoxLayout *buttons = new TQBoxLayout(TQBoxLayout::LeftToRight); - layout->addLayout(buttons); + tqlayout->addLayout(buttons); buttons->addWidget(installButton,2); buttons->addStretch(1); @@ -141,7 +141,7 @@ void pkgOptions::setupWidgets(TQPtrList<param> &pars) } { term = new kpTerm(kpty,this); - hlayout->addWidget(term, 1000); + htqlayout->addWidget(term, 1000); } } resize(800, 400); @@ -202,7 +202,7 @@ bool pkgOptions::setup(TQPtrList<packageInfo> *pl, const TQString &) } } - s = i18n("%1: 1 %2 Package","%1: %n %2 Packages",plist.count()).arg(insType,pkgInt->name); + s = i18n("%1: 1 %2 Package","%1: %n %2 Packages",plist.count()).tqarg(insType,pkgInt->name); title->setText(s); for (TQStringList::Iterator pit = plist.begin(); pit != plist.end(); ++pit ) { |