diff options
Diffstat (limited to 'kpackage/pkgOptions.cpp')
-rw-r--r-- | kpackage/pkgOptions.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kpackage/pkgOptions.cpp b/kpackage/pkgOptions.cpp index 04516dc..9d62f2f 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 tqlayout - vtqlayout = new TQBoxLayout(this, TQBoxLayout::TopToBottom, marginHint(), spacingHint()); - vtqlayout->addWidget(title,0); + // Do the layout + vlayout = new TQBoxLayout(this, TQBoxLayout::TopToBottom, marginHint(), spacingHint()); + vlayout->addWidget(title,0); { - htqlayout = new TQBoxLayout(vtqlayout,TQBoxLayout::LeftToRight, spacingHint()); + hlayout = new TQBoxLayout(vlayout,TQBoxLayout::LeftToRight, spacingHint()); { - tqlayout = new TQBoxLayout(htqlayout,TQBoxLayout::TopToBottom, spacingHint()); + layout = new TQBoxLayout(hlayout,TQBoxLayout::TopToBottom, spacingHint()); packages = new KListView(this); - tqlayout->addWidget(packages,20); + layout->addWidget(packages,20); packages->addColumn(i18n("PACKAGES"),200); connect(packages, TQT_SIGNAL(selectionChanged ( TQListViewItem * )), this, TQT_SLOT(slotSearch( TQListViewItem * ))); - tqlayout->addStretch(1); + layout->addStretch(1); for (i = 0; i < bnumber; i++) { - tqlayout->addWidget(Boxs[i],1); + layout->addWidget(Boxs[i],1); } - tqlayout->addWidget(new KSeparator(KSeparator::HLine, this), 2); + layout->addWidget(new KSeparator(KSeparator::HLine, this), 2); - TQBoxLayout *stqlayout = new TQBoxLayout(tqlayout, TQBoxLayout::LeftToRight); - stqlayout->addStretch(1); - stqlayout->addWidget(Keep, 1); - stqlayout->addStretch(1); + TQBoxLayout *slayout = new TQBoxLayout(layout, TQBoxLayout::LeftToRight); + slayout->addStretch(1); + slayout->addWidget(Keep, 1); + slayout->addStretch(1); - tqlayout->addWidget(new KSeparator(KSeparator::HLine, this), 2); + layout->addWidget(new KSeparator(KSeparator::HLine, this), 2); TQBoxLayout *buttons = new TQBoxLayout(TQBoxLayout::LeftToRight); - tqlayout->addLayout(buttons); + layout->addLayout(buttons); buttons->addWidget(installButton,2); buttons->addStretch(1); @@ -141,7 +141,7 @@ void pkgOptions::setupWidgets(TQPtrList<param> &pars) } { term = new kpTerm(kpty,this); - htqlayout->addWidget(term, 1000); + hlayout->addWidget(term, 1000); } } resize(800, 400); |