diff options
Diffstat (limited to 'kpackage/updateLoc.cpp')
-rw-r--r-- | kpackage/updateLoc.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kpackage/updateLoc.cpp b/kpackage/updateLoc.cpp index 4bee494..d89a177 100644 --- a/kpackage/updateLoc.cpp +++ b/kpackage/updateLoc.cpp @@ -114,7 +114,7 @@ dpanel::dpanel( TQWidget *parent, const char * name ) pbut = new TQPushButton("...",this); pack->addWidget(pbut,0); - connect(pbut, TQT_SIGNAL(clicked()), this, TQT_SLOT(dirOpen())); + connect(pbut, TQ_SIGNAL(clicked()), this, TQ_SLOT(dirOpen())); } } @@ -148,9 +148,9 @@ dpanel::dpanel(dpanel *basep, const TQString &Pfilter, bool bsubdirs, pack->addWidget(pbut,0); if (base) - connect(pbut, TQT_SIGNAL(clicked()), this, TQT_SLOT(fileOpen())); + connect(pbut, TQ_SIGNAL(clicked()), this, TQ_SLOT(fileOpen())); else - connect(pbut, TQT_SIGNAL(clicked()), this, TQT_SLOT(dirOpen())); + connect(pbut, TQ_SIGNAL(clicked()), this, TQ_SLOT(dirOpen())); } } @@ -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); @@ -432,7 +432,7 @@ void pdUpdateLoc::applyS(LcacheObj *slist) { TQString t,pn,cn,pv,prev,opts; cacheObj *CObj; - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup(interName); cn = interface->head; @@ -466,7 +466,7 @@ void pdUpdateLoc::readSettings() { TQString pv, pn; - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup(interName); @@ -489,7 +489,7 @@ void pdUpdateLoc::writeSettings() { TQString pv, pn; - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup(interName); if (haveBase) { @@ -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); @@ -554,8 +554,8 @@ cUpdateLoc::cUpdateLoc(TQWidget *p, int panelNumber, pkgInterface *inter, const combo[i] = new KComboBox( true, floc); TDECompletion *comp = combo[i]->completionObject(); - connect(combo[i],TQT_SIGNAL(returnPressed(const TQString&)) - ,comp,TQT_SLOT(addItem(const TQString&))); + connect(combo[i],TQ_SIGNAL(returnPressed(const TQString&)) + ,comp,TQ_SLOT(addItem(const TQString&))); combo[i]->insertStringList(TQStringList::split(' ',*ocIt)); vloc->addWidget(combo[i]); if (kcIt != kc.end()) { @@ -577,7 +577,7 @@ cUpdateLoc::~cUpdateLoc() { TQString t,pn,cn,pv,prev,opts; cacheObj *CObj; - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup(interName); cn = interface->head; @@ -601,7 +601,7 @@ void cUpdateLoc::readSettings() { TQString pv, pn; - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup(interName); @@ -623,7 +623,7 @@ void cUpdateLoc::writeSettings() { TQString pv, pn; - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup(interName); @@ -647,7 +647,7 @@ Locations::Locations(const TQString &msg) { numPanels = 0; - connect( this, TQT_SIGNAL(okClicked()), TQT_SLOT(write_slot()) ); + connect( this, TQ_SIGNAL(okClicked()), TQ_SLOT(write_slot()) ); } void Locations::dLocations(int numberDirs, int numberLines, |