summaryrefslogtreecommitdiffstats
path: root/kpackage
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 11:29:21 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 09:56:56 +0900
commit16c7639b7aa81b924da8b4edc1d4212860b8f00d (patch)
tree64c03f99f28faf0fdc74e420a6a48cfc7b95a07f /kpackage
parent7dede5a42269fdc0139308cd28343ece65c52b8e (diff)
downloadtdeadmin-16c7639b7aa81b924da8b4edc1d4212860b8f00d.tar.gz
tdeadmin-16c7639b7aa81b924da8b4edc1d4212860b8f00d.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 65a06ba9047c5b3bbe201d2e453f30868bd3fad3)
Diffstat (limited to 'kpackage')
-rw-r--r--kpackage/kplview.cpp2
-rw-r--r--kpackage/managementWidget.cpp2
-rw-r--r--kpackage/options.cpp8
-rw-r--r--kpackage/updateLoc.cpp8
4 files changed, 10 insertions, 10 deletions
diff --git a/kpackage/kplview.cpp b/kpackage/kplview.cpp
index 3c38fa6..27bfe72 100644
--- a/kpackage/kplview.cpp
+++ b/kpackage/kplview.cpp
@@ -97,7 +97,7 @@ void KpTreeList::contentsMousePressEvent ( TQMouseEvent * e )
{
bool markUpdate = false;
- if (e->button() == Qt::LeftButton) {
+ if (e->button() == TQt::LeftButton) {
if (inMark(e->x())) {
TQPoint vp = contentsToViewport(e->pos());
KpTreeListItem *i = ( KpTreeListItem *)itemAt( vp );
diff --git a/kpackage/managementWidget.cpp b/kpackage/managementWidget.cpp
index 649d24e..55293b5 100644
--- a/kpackage/managementWidget.cpp
+++ b/kpackage/managementWidget.cpp
@@ -114,7 +114,7 @@ void managementWidget::setupWidgets()
TQTab t;
top = new TQBoxLayout(this,TQBoxLayout::TopToBottom);
- vPan = new TQSplitter(Qt::Horizontal, this);
+ vPan = new TQSplitter(TQt::Horizontal, this);
top->addWidget(vPan);
// the left panel
diff --git a/kpackage/options.cpp b/kpackage/options.cpp
index 3edf36f..3f86743 100644
--- a/kpackage/options.cpp
+++ b/kpackage/options.cpp
@@ -72,9 +72,9 @@ Options::Options(TQWidget *parent)
{
TQVBox *page = addVBoxPage(i18n("&Types"));
- framet = new TQGroupBox(1,Qt::Horizontal,i18n("Handle Package Type"), page);
+ framet = new TQGroupBox(1,TQt::Horizontal,i18n("Handle Package Type"), page);
- hh = new TQGroupBox(1,Qt::Horizontal,i18n("Remote Host"),framet);
+ hh = new TQGroupBox(1,TQt::Horizontal,i18n("Remote Host"),framet);
huse = new TQCheckBox(i18n("Use remote host (Debian APT only):"),hh);
connect(huse, TQT_SIGNAL(clicked()), this, TQT_SLOT(useRemote()));
hosts = new KComboBox( true, hh, "combo" );
@@ -99,7 +99,7 @@ Options::Options(TQWidget *parent)
.arg(kpinterface[i]->name)
.arg(kpinterface[i]->errExe);
}
- packageBox[i] = new TQGroupBox(2,Qt::Horizontal,msgStr, framet, "box");
+ packageBox[i] = new TQGroupBox(2,TQt::Horizontal,msgStr, framet, "box");
packageHandle[i] = new TQCheckBox(i18n("Enable"), packageBox[i]);
connect(packageHandle[i], TQT_SIGNAL(clicked()), this, TQT_SLOT(scanLocates()));
locate[i] = new TQPushButton(i18n("Location of Packages"),packageBox[i]);
@@ -145,7 +145,7 @@ Options::Options(TQWidget *parent)
pcache[2] = new TQRadioButton(i18n("Never"),bp);
vp->addWidget(pcache[2]);
- TQGroupBox* cd = new TQGroupBox (1, Qt::Horizontal, i18n("Cache Folder"), page) ;
+ TQGroupBox* cd = new TQGroupBox (1, TQt::Horizontal, i18n("Cache Folder"), page) ;
cd->setSizePolicy (TQSizePolicy::Expanding, TQSizePolicy::Fixed) ;
cachedir = new KURLRequester("", cd, "cachedir");
diff --git a/kpackage/updateLoc.cpp b/kpackage/updateLoc.cpp
index 4bee494..5f125db 100644
--- a/kpackage/updateLoc.cpp
+++ b/kpackage/updateLoc.cpp
@@ -271,7 +271,7 @@ void updateLoc::doBase(const TQString & bmsg)
base = 0;
if (haveBase) {
fbase = new TQGroupBox(bmsg, this);
- fbase->setColumnLayout(0, Qt::Vertical );
+ fbase->setColumnLayout(0, TQt::Vertical );
fbase->layout()->setSpacing( KDialog::spacingHint() );
fbase->layout()->setMargin( KDialog::marginHint() );
vbase = new TQVBoxLayout(fbase->layout());
@@ -297,7 +297,7 @@ aUpdateLoc::aUpdateLoc(TQWidget *p, int panelNumber, pkgInterface *inter, const
ap[0] = 0;
- TQGroupBox *floc = new TQGroupBox(1,Qt::Vertical, label, this);
+ TQGroupBox *floc = new TQGroupBox(1,TQt::Vertical, label, this);
vf->addWidget(floc,1);
TQScrollView* sv = new TQScrollView(floc);
sv->setHScrollBarMode(TQScrollView::AlwaysOff);
@@ -409,7 +409,7 @@ pdUpdateLoc::pdUpdateLoc(TQWidget *p, int panelNumber, pkgInterface *inter, cons
doBase(bmsg);
TQGroupBox *floc = new TQGroupBox(lmsg, this);
- floc->setColumnLayout(0, Qt::Vertical );
+ floc->setColumnLayout(0, TQt::Vertical );
floc->layout()->setSpacing( KDialog::spacingHint() );
floc->layout()->setMargin( KDialog::marginHint() );
vf->addWidget(floc,1);
@@ -546,7 +546,7 @@ cUpdateLoc::cUpdateLoc(TQWidget *p, int panelNumber, pkgInterface *inter, const
for (int i = 0; i < numLines; i++) {
TQGroupBox *floc = new TQGroupBox(*kcIt, this);
- floc->setColumnLayout(0, Qt::Vertical );
+ floc->setColumnLayout(0, TQt::Vertical );
floc->layout()->setSpacing( KDialog::spacingHint() );
floc->layout()->setMargin( KDialog::marginHint() );
vf->addWidget(floc,1);