summaryrefslogtreecommitdiffstats
path: root/kpackage/pkgOptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/pkgOptions.cpp')
-rw-r--r--kpackage/pkgOptions.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kpackage/pkgOptions.cpp b/kpackage/pkgOptions.cpp
index 4775fce..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);
@@ -202,7 +202,7 @@ bool pkgOptions::setup(TQPtrList<packageInfo> *pl, const TQString &)
}
}
- s = i18n("%1: 1 %2 Package","%1: %n %2 Packages",plist.count()).tqarg(insType,pkgInt->name);
+ s = i18n("%1: 1 %2 Package","%1: %n %2 Packages",plist.count()).arg(insType,pkgInt->name);
title->setText(s);
for (TQStringList::Iterator pit = plist.begin(); pit != plist.end(); ++pit ) {