summaryrefslogtreecommitdiffstats
path: root/kpackage
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage')
-rw-r--r--kpackage/fbsdInterface.cpp10
-rw-r--r--kpackage/fbsdInterface.h4
-rw-r--r--kpackage/findf.cpp4
-rw-r--r--kpackage/findf.h2
-rw-r--r--kpackage/gentooInterface.cpp4
-rw-r--r--kpackage/kpTerm.cpp8
-rw-r--r--kpackage/kpTerm.h4
-rw-r--r--kpackage/kpackage.cpp4
-rw-r--r--kpackage/kpackage.h2
-rw-r--r--kpackage/kplview.cpp14
-rw-r--r--kpackage/kplview.h6
-rw-r--r--kpackage/managementWidget.cpp8
-rw-r--r--kpackage/managementWidget.h4
-rw-r--r--kpackage/options.cpp4
-rw-r--r--kpackage/options.h2
-rw-r--r--kpackage/packageDisplay.cpp10
-rw-r--r--kpackage/packageDisplay.h4
-rw-r--r--kpackage/packageInfo.cpp20
-rw-r--r--kpackage/packageProperties.cpp4
-rw-r--r--kpackage/packageProperties.h2
-rw-r--r--kpackage/pkgInterface.cpp4
-rw-r--r--kpackage/pkgOptions.cpp12
-rw-r--r--kpackage/pkgOptions.h6
-rw-r--r--kpackage/procbuf.cpp4
-rw-r--r--kpackage/procbuf.h2
-rw-r--r--kpackage/search.cpp4
-rw-r--r--kpackage/search.h2
-rw-r--r--kpackage/updateLoc.cpp12
-rw-r--r--kpackage/updateLoc.h6
29 files changed, 86 insertions, 86 deletions
diff --git a/kpackage/fbsdInterface.cpp b/kpackage/fbsdInterface.cpp
index 7ad7dbf..7831a5e 100644
--- a/kpackage/fbsdInterface.cpp
+++ b/kpackage/fbsdInterface.cpp
@@ -577,11 +577,11 @@ int fbsdInterface::pathInfo(TQMap<TQString, TQString> &a)
}
-bsdPortsIndexItem::bsdPortsIndexItem(fbsdInterface *tqparent, char *desc, bool binaries, const TQString &dname) : bin(binaries), port(!binaries), installed(false) {
+bsdPortsIndexItem::bsdPortsIndexItem(fbsdInterface *parent, char *desc, bool binaries, const TQString &dname) : bin(binaries), port(!binaries), installed(false) {
fields = TQStringList::split('|', desc, TRUE);
TQString name = fields[NAME];
- bsdPortsIndexItem *port = tqparent->ports[name];
+ bsdPortsIndexItem *port = parent->ports[name];
if (port) {
port->bin = port->bin || bin;
port->port = port->port || port;
@@ -600,7 +600,7 @@ bsdPortsIndexItem::bsdPortsIndexItem(fbsdInterface *tqparent, char *desc, bool b
}
-void bsdPortsIndexItem::processFile(fbsdInterface *tqparent, const TQString &fname, bool binaries, const TQString &dname) {
+void bsdPortsIndexItem::processFile(fbsdInterface *parent, const TQString &fname, bool binaries, const TQString &dname) {
// Read the file in to a buffer and null terminate it.
struct stat s;
@@ -627,11 +627,11 @@ void bsdPortsIndexItem::processFile(fbsdInterface *tqparent, const TQString &fna
// Go through each line and create a new bsdPortsIndexItem.
char *line = strtok(index, "\n");
while (line != 0) {
- bsdPortsIndexItem *i = new bsdPortsIndexItem(tqparent, line, binaries, dname + "/All");
+ bsdPortsIndexItem *i = new bsdPortsIndexItem(parent, line, binaries, dname + "/All");
if (i->fields[NAME].isEmpty()) {
delete i;
} else {
- tqparent->ports.insert(i->fields[NAME] , i);
+ parent->ports.insert(i->fields[NAME] , i);
}
line = strtok(0, "\n");
}
diff --git a/kpackage/fbsdInterface.h b/kpackage/fbsdInterface.h
index 800ef04..4b89c29 100644
--- a/kpackage/fbsdInterface.h
+++ b/kpackage/fbsdInterface.h
@@ -118,7 +118,7 @@ public:
*
* dname is the name of the base directory of this ports/packages tree.
*/
- bsdPortsIndexItem(fbsdInterface *tqparent, char *desc, bool binaries, const TQString &dname);
+ bsdPortsIndexItem(fbsdInterface *parent, char *desc, bool binaries, const TQString &dname);
/** @short true if this has a binary packages. */
bool bin;
@@ -146,7 +146,7 @@ public:
* binaries should be true if the file is an index for packages, false for ports.
* dname is the base directory.
*/
- static void processFile(fbsdInterface *tqparent, const TQString &fname, bool binaries, const TQString &dname);
+ static void processFile(fbsdInterface *parent, const TQString &fname, bool binaries, const TQString &dname);
private:
unsigned int name_hash;
diff --git a/kpackage/findf.cpp b/kpackage/findf.cpp
index 84b0d7c..877f2f3 100644
--- a/kpackage/findf.cpp
+++ b/kpackage/findf.cpp
@@ -43,8 +43,8 @@
extern pkgInterface *kpinterface[];
extern Opts *opts;
-FindF::FindF(TQWidget *tqparent)
- : KDialogBase(tqparent, "find_file", false,
+FindF::FindF(TQWidget *parent)
+ : KDialogBase(parent, "find_file", false,
i18n("Find File"),
User1 | Close, User1, true,
KGuiItem(i18n("&Find"),"filefind"))
diff --git a/kpackage/findf.h b/kpackage/findf.h
index cee118d..8abaea3 100644
--- a/kpackage/findf.h
+++ b/kpackage/findf.h
@@ -56,7 +56,7 @@ class FindF : public KDialogBase
public:
- FindF ( TQWidget *tqparent = 0);
+ FindF ( TQWidget *parent = 0);
~FindF();
void resizeEvent(TQResizeEvent *);
void dropEvent(TQDropEvent *);
diff --git a/kpackage/gentooInterface.cpp b/kpackage/gentooInterface.cpp
index 65338f4..964f21c 100644
--- a/kpackage/gentooInterface.cpp
+++ b/kpackage/gentooInterface.cpp
@@ -39,7 +39,7 @@
Should we care about the world-file?
- Read masked packages from /usr/portage/profiles/package.tqmask
+ Read masked packages from /usr/portage/profiles/package.mask
Use flags and CFLAGS?
@@ -69,7 +69,7 @@ Gentoo::Gentoo()
archesPossible << "~x86" << "x86";
portageDir="/usr/portage/";
- TQFile f(portageDir+"profiles/package.tqmask");
+ TQFile f(portageDir+"profiles/package.mask");
if (f.open(IO_ReadOnly))
{
TQTextStream stream( &f );
diff --git a/kpackage/kpTerm.cpp b/kpackage/kpTerm.cpp
index b085296..34d0a0a 100644
--- a/kpackage/kpTerm.cpp
+++ b/kpackage/kpTerm.cpp
@@ -38,8 +38,8 @@
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
-kpTerm::kpTerm(kpPty *pt, TQWidget * tqparent, const char * name ) :
- TQTextEdit(tqparent,name)
+kpTerm::kpTerm(kpPty *pt, TQWidget * parent, const char * name ) :
+ TQTextEdit(parent,name)
{
pty = pt;
setFont(KGlobalSettings::fixedFont());
@@ -169,8 +169,8 @@ void kpTerm::slotResult(TQStringList &rlist, int ret)
// Dialog window for password prompt
//
//////////////////////////////////////////////////////////////////////////////
-kpRun::kpRun( TQWidget *tqparent)
- : KDialogBase(tqparent, "kpRun", true, TQString(),
+kpRun::kpRun( TQWidget *parent)
+ : KDialogBase(parent, "kpRun", true, TQString(),
Cancel, Cancel, true )
{
TQVBox *page = makeVBoxMainWidget();
diff --git a/kpackage/kpTerm.h b/kpackage/kpTerm.h
index 5bebd02..466d7c5 100644
--- a/kpackage/kpTerm.h
+++ b/kpackage/kpTerm.h
@@ -48,7 +48,7 @@ class kpTerm: public TQTextEdit
TQ_OBJECT
public:
- kpTerm(kpPty *pt, TQWidget * tqparent=0, const char * name=0);
+ kpTerm(kpPty *pt, TQWidget * parent=0, const char * name=0);
void keyPressEvent ( TQKeyEvent * e );
bool run(const TQString &cmd, TQStringList &r);
void doConnect();
@@ -76,7 +76,7 @@ class kpRun: public KDialogBase
TQ_OBJECT
public:
- kpRun(TQWidget *tqparent = 0);
+ kpRun(TQWidget *parent = 0);
bool run(TQString cmd, TQString title);
void addText(const TQStringList &ret);
diff --git a/kpackage/kpackage.cpp b/kpackage/kpackage.cpp
index d8d7e64..17697ce 100644
--- a/kpackage/kpackage.cpp
+++ b/kpackage/kpackage.cpp
@@ -302,8 +302,8 @@ bool KPKG::queryClose() {
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
-KPACKAGE::KPACKAGE(KConfig *_config, TQWidget *tqparent)
- : TQWidget(tqparent)
+KPACKAGE::KPACKAGE(KConfig *_config, TQWidget *parent)
+ : TQWidget(parent)
{
// Save copy of config
diff --git a/kpackage/kpackage.h b/kpackage/kpackage.h
index b14b167..2b72029 100644
--- a/kpackage/kpackage.h
+++ b/kpackage/kpackage.h
@@ -67,7 +67,7 @@ class KPACKAGE : public TQWidget
///////////// METHODS ------------------------------------------------------
public:
- KPACKAGE(KConfig *_config, TQWidget *tqparent);
+ KPACKAGE(KConfig *_config, TQWidget *parent);
// Constructor
~KPACKAGE();
diff --git a/kpackage/kplview.cpp b/kpackage/kplview.cpp
index 69d68d3..f7d25cc 100644
--- a/kpackage/kplview.cpp
+++ b/kpackage/kplview.cpp
@@ -43,8 +43,8 @@
#define MPOS 1
-KpTreeList::KpTreeList( TQWidget *tqparent ) :
-KListView (tqparent)
+KpTreeList::KpTreeList( TQWidget *parent ) :
+KListView (parent)
{
markPkg = 0;
setShowSortIndicator(true);
@@ -458,7 +458,7 @@ KpTreeListItem *KpTreeList::changePack(KpTreeListItem *searchResult, bool push)
TQListViewItem *i;
i = searchResult;
- while ((i = i->tqparent())) {
+ while ((i = i->parent())) {
i->setOpen(TRUE);
}
if (push) {
@@ -571,14 +571,14 @@ void KpTreeList::readTreeConfig()
//////////////////////////////////////////////////////////////////////////////
-KpTreeListItem::KpTreeListItem( TQListViewItem *tqparent, packageInfo* pinfo,
+KpTreeListItem::KpTreeListItem( TQListViewItem *parent, packageInfo* pinfo,
const TQPixmap& thePixmap,
TQString label1, TQString label2 ,
TQString label3 , TQString label4 ,
TQString label5 , TQString label6 ,
TQString label7 , TQString label8
-) : TQListViewItem(tqparent, label1, label2, label3, label4, label5,
+) : TQListViewItem(parent, label1, label2, label3, label4, label5,
label6, label7, label8)
{
info = pinfo;
@@ -588,13 +588,13 @@ KpTreeListItem::KpTreeListItem( TQListViewItem *tqparent, packageInfo* pinfo,
setPixmap(1,info->interface->markUnInst);
}
-KpTreeListItem::KpTreeListItem( KListView *tqparent, packageInfo* pinfo,
+KpTreeListItem::KpTreeListItem( KListView *parent, packageInfo* pinfo,
const TQPixmap& thePixmap,
TQString label1, TQString label2 ,
TQString label3 , TQString label4 ,
TQString label5 , TQString label6 ,
TQString label7 , TQString label8
-) : TQListViewItem(tqparent, label1, label2, label3, label4, label5,
+) : TQListViewItem(parent, label1, label2, label3, label4, label5,
label6, label7, label8)
{
info = pinfo;
diff --git a/kpackage/kplview.h b/kpackage/kplview.h
index 3f8a7a7..7e31529 100644
--- a/kpackage/kplview.h
+++ b/kpackage/kplview.h
@@ -53,7 +53,7 @@ class KpTreeList: public KListView
TQ_OBJECT
public:
- KpTreeList ( TQWidget * tqparent = 0);
+ KpTreeList ( TQWidget * parent = 0);
void contentsMousePressEvent ( TQMouseEvent * e );
@@ -156,7 +156,7 @@ signals:
class KpTreeListItem : public TQListViewItem
{
public:
- KpTreeListItem( TQListViewItem *tqparent, packageInfo* pinfo,
+ KpTreeListItem( TQListViewItem *parent, packageInfo* pinfo,
const TQPixmap& thePixmap,
TQString label1 = 0, TQString label2 = 0,
TQString label3 = 0, TQString label4 = 0,
@@ -164,7 +164,7 @@ public:
TQString label7 = 0, TQString label8 = 0);
- KpTreeListItem( KListView *tqparent, packageInfo* pinfo,
+ KpTreeListItem( KListView *parent, packageInfo* pinfo,
const TQPixmap& thePixmap,
TQString label1 = 0, TQString label2 = 0,
TQString label3 = 0, TQString label4 = 0,
diff --git a/kpackage/managementWidget.cpp b/kpackage/managementWidget.cpp
index 16e0ad7..3ec4d07 100644
--- a/kpackage/managementWidget.cpp
+++ b/kpackage/managementWidget.cpp
@@ -52,8 +52,8 @@
extern Opts *opts;
-KpListViewSearchLine::KpListViewSearchLine(TQWidget *tqparent, KpTreeList *listView)
- :KListViewSearchLine(tqparent, listView)
+KpListViewSearchLine::KpListViewSearchLine(TQWidget *parent, KpTreeList *listView)
+ :KListViewSearchLine(parent, listView)
{
list = listView;
}
@@ -72,8 +72,8 @@ void KpListViewSearchLine::updateSearch(const TQString &s)
// constructor -- initialise variables
-managementWidget::managementWidget(TQWidget *tqparent)
- : TQFrame(tqparent)
+managementWidget::managementWidget(TQWidget *parent)
+ : TQFrame(parent)
{
install_action = 0;
uninstall_action = 0;
diff --git a/kpackage/managementWidget.h b/kpackage/managementWidget.h
index 56fcfb5..f4bd82a 100644
--- a/kpackage/managementWidget.h
+++ b/kpackage/managementWidget.h
@@ -75,7 +75,7 @@ class KpListViewSearchLine : public KListViewSearchLine
public:
- KpListViewSearchLine(TQWidget *tqparent, KpTreeList *listView);
+ KpListViewSearchLine(TQWidget *parent, KpTreeList *listView);
~KpListViewSearchLine();
@@ -94,7 +94,7 @@ class managementWidget : public TQFrame
///////////// METHODS ------------------------------------------------------
public:
- managementWidget(TQWidget *tqparent);
+ managementWidget(TQWidget *parent);
// Constructor
~managementWidget();
diff --git a/kpackage/options.cpp b/kpackage/options.cpp
index 895c75f..7594d51 100644
--- a/kpackage/options.cpp
+++ b/kpackage/options.cpp
@@ -53,8 +53,8 @@
extern Opts *opts;
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
-Options::Options(TQWidget *tqparent)
- : KDialogBase(Tabbed, i18n("Options"), Ok | Cancel, Ok, tqparent, 0, false){
+Options::Options(TQWidget *parent)
+ : KDialogBase(Tabbed, i18n("Options"), Ok | Cancel, Ok, parent, 0, false){
fRemote = false;
diff --git a/kpackage/options.h b/kpackage/options.h
index 037bb55..e15bcd3 100644
--- a/kpackage/options.h
+++ b/kpackage/options.h
@@ -66,7 +66,7 @@ class Options : public KDialogBase
public:
- Options ( TQWidget *tqparent = 0);
+ Options ( TQWidget *parent = 0);
~Options();
void restore();
diff --git a/kpackage/packageDisplay.cpp b/kpackage/packageDisplay.cpp
index 826a705..5016439 100644
--- a/kpackage/packageDisplay.cpp
+++ b/kpackage/packageDisplay.cpp
@@ -55,8 +55,8 @@
extern Opts *opts;
// constructor
-packageDisplayWidget::packageDisplayWidget(TQWidget *tqparent)
- : TQTabWidget(tqparent)
+packageDisplayWidget::packageDisplayWidget(TQWidget *parent)
+ : TQTabWidget(parent)
{
// Initially we're not dealing with any package
package=NULL;
@@ -363,7 +363,7 @@ void packageDisplayWidget::updateFileList()
kpackage->setPercent(100);
}
- kpFileList::kpFileList(TQWidget* tqparent, packageDisplayWidget* tqparent2) : KListView(tqparent)
+ kpFileList::kpFileList(TQWidget* parent, packageDisplayWidget* parent2) : KListView(parent)
{
hide();
addColumn("name");
@@ -372,9 +372,9 @@ void packageDisplayWidget::updateFileList()
this, TQT_SLOT( openContext(KListView *, TQListViewItem *, const TQPoint &)) );
FileListMenu = new KPopupMenu();
- openwith = FileListMenu->insertItem(i18n("&Open With..."),tqparent2,TQT_SLOT(__openBindingWith()));
+ openwith = FileListMenu->insertItem(i18n("&Open With..."),parent2,TQT_SLOT(__openBindingWith()));
- pkDisplay = tqparent2;
+ pkDisplay = parent2;
}
diff --git a/kpackage/packageDisplay.h b/kpackage/packageDisplay.h
index e761820..a363910 100644
--- a/kpackage/packageDisplay.h
+++ b/kpackage/packageDisplay.h
@@ -61,7 +61,7 @@ class kpFileList : public KListView
public:
- kpFileList(TQWidget* tqparent, packageDisplayWidget* tqparent2);
+ kpFileList(TQWidget* parent, packageDisplayWidget* parent2);
TQString item2Path(TQListViewItem *it);
@@ -91,7 +91,7 @@ class packageDisplayWidget : public TQTabWidget
friend class kpFileList;
///////////// METHODS ------------------------------------------------------
public:
- packageDisplayWidget(TQWidget *tqparent=0);
+ packageDisplayWidget(TQWidget *parent=0);
// Constructor
~packageDisplayWidget();
diff --git a/kpackage/packageInfo.cpp b/kpackage/packageInfo.cpp
index aab5be2..b5a3a52 100644
--- a/kpackage/packageInfo.cpp
+++ b/kpackage/packageInfo.cpp
@@ -391,7 +391,7 @@ bool packageInfo::display(int treeType)
KpTreeListItem *packageInfo::place(KpTreeList *tree, bool insertI)
{
- KpTreeListItem *search = tree->firstChild(), *tqparent=NULL, *child=NULL;
+ KpTreeListItem *search = tree->firstChild(), *parent=NULL, *child=NULL;
TQString qtmp, tmp;
bool doit = FALSE;
@@ -410,17 +410,17 @@ KpTreeListItem *packageInfo::place(KpTreeList *tree, bool insertI)
KpTreeListItem *group;
if( search && (group=findGroup(*it, search)) ) {
- tqparent = group;
- tqparent->setOpen(TRUE);
+ parent = group;
+ parent->setOpen(TRUE);
search = group->firstChild();
} else {
- if (tqparent) {
- group = new KpTreeListItem(tqparent, 0, interface->folder, *it);
+ if (parent) {
+ group = new KpTreeListItem(parent, 0, interface->folder, *it);
} else {
group = new KpTreeListItem(tree, 0, interface->folder, *it);
}
- tqparent = group;
- tqparent->setOpen(TRUE);
+ parent = group;
+ parent->setOpen(TRUE);
search = NULL;
}
cnt++;
@@ -480,13 +480,13 @@ KpTreeListItem *packageInfo::place(KpTreeList *tree, bool insertI)
if (child) {
item = new KpTreeListItem(child, this, pic, tmp, "", summary, sz, ver, over);
} else {
- item = new KpTreeListItem(tqparent, this, pic, tmp, "", summary, sz, ver, over);
+ item = new KpTreeListItem(parent, this, pic, tmp, "", summary, sz, ver, over);
}
if (insertI) {
- tqparent->setOpen(TRUE);
+ parent->setOpen(TRUE);
} else {
- tqparent->setOpen(FALSE);
+ parent->setOpen(FALSE);
}
return item;
diff --git a/kpackage/packageProperties.cpp b/kpackage/packageProperties.cpp
index 2062a79..05fd3ca 100644
--- a/kpackage/packageProperties.cpp
+++ b/kpackage/packageProperties.cpp
@@ -37,8 +37,8 @@
#include "managementWidget.h"
packagePropertiesWidget::packagePropertiesWidget
- (TQWidget *tqparent)
- : KTextBrowser(tqparent)
+ (TQWidget *parent)
+ : KTextBrowser(parent)
{
TQDict<TQString> trl(53);
TQStringList pList();
diff --git a/kpackage/packageProperties.h b/kpackage/packageProperties.h
index aca2103..c9d95a0 100644
--- a/kpackage/packageProperties.h
+++ b/kpackage/packageProperties.h
@@ -56,7 +56,7 @@ class packagePropertiesWidget : public KTextBrowser
///////////// METHODS ------------------------------------------------------
public:
- packagePropertiesWidget(TQWidget *tqparent=0);
+ packagePropertiesWidget(TQWidget *parent=0);
// constructor
~packagePropertiesWidget();
diff --git a/kpackage/pkgInterface.cpp b/kpackage/pkgInterface.cpp
index b59901d..fba9263 100644
--- a/kpackage/pkgInterface.cpp
+++ b/kpackage/pkgInterface.cpp
@@ -166,11 +166,11 @@ void pkgInterface::listDir(TQPtrList<packageInfo> *pki, const TQString &fname, c
if ( fi->fileName() != TQString::tqfromLatin1(".") &&
fi->fileName() != TQString::tqfromLatin1("..") )
{
- // not current dir and not tqparent dir
+ // not current dir and not parent dir
// -> recursive call:
listDir( pki, dir + "/" + fi->fileName(), dir + "/" + fi->fileName(), subdirs );
} else {
- // current dir or tqparent dir
+ // current dir or parent dir
// -> notihng to do
;
}
diff --git a/kpackage/pkgOptions.cpp b/kpackage/pkgOptions.cpp
index 1ed42e1..4775fce 100644
--- a/kpackage/pkgOptions.cpp
+++ b/kpackage/pkgOptions.cpp
@@ -47,8 +47,8 @@
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
-pkgOptions::pkgOptions(pkgInterface *pki, TQWidget *tqparent, const TQString &caption)
- : KDialog(tqparent,0,TRUE)
+pkgOptions::pkgOptions(pkgInterface *pki, TQWidget *parent, const TQString &caption)
+ : KDialog(parent,0,TRUE)
{
// setFrameStyle(TQFrame::Raised | TQFrame::Panel);
@@ -342,8 +342,8 @@ void pkgOptions::getKeep()
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
-pkgOptionsI::pkgOptionsI(pkgInterface *pkg, TQWidget *tqparent):
- pkgOptions(pkg, tqparent, i18n("Install"))
+pkgOptionsI::pkgOptionsI(pkgInterface *pkg, TQWidget *parent):
+ pkgOptions(pkg, parent, i18n("Install"))
{
insType = i18n("Install");
installer = TRUE;
@@ -357,8 +357,8 @@ TQString pkgOptionsI::doPackages(int installFlags, TQPtrList<packageInfo> *p, bo
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
-pkgOptionsU::pkgOptionsU(pkgInterface *pkg, TQWidget *tqparent):
- pkgOptions(pkg, tqparent, i18n("Uninstall"))
+pkgOptionsU::pkgOptionsU(pkgInterface *pkg, TQWidget *parent):
+ pkgOptions(pkg, parent, i18n("Uninstall"))
{
insType = i18n("Uninstall");
installer = FALSE;
diff --git a/kpackage/pkgOptions.h b/kpackage/pkgOptions.h
index 02a830f..becbc54 100644
--- a/kpackage/pkgOptions.h
+++ b/kpackage/pkgOptions.h
@@ -54,7 +54,7 @@ class pkgOptions : public KDialog
Q_OBJECT
TQ_OBJECT
public:
- pkgOptions( pkgInterface *pki, TQWidget *tqparent=0, const TQString &caption=TQString());
+ pkgOptions( pkgInterface *pki, TQWidget *parent=0, const TQString &caption=TQString());
~pkgOptions();
bool setup(TQPtrList<packageInfo> *pl, const TQString &type);
@@ -136,7 +136,7 @@ class pkgOptionsI: public pkgOptions
Q_OBJECT
TQ_OBJECT
public:
- pkgOptionsI(pkgInterface *pkg, TQWidget *tqparent = 0);
+ pkgOptionsI(pkgInterface *pkg, TQWidget *parent = 0);
TQString doPackages(int installFlags, TQPtrList<packageInfo> *p, bool &test);
};
@@ -147,7 +147,7 @@ class pkgOptionsU: public pkgOptions
Q_OBJECT
TQ_OBJECT
public:
- pkgOptionsU(pkgInterface *pkg, TQWidget *tqparent = 0);
+ pkgOptionsU(pkgInterface *pkg, TQWidget *parent = 0);
TQString doPackages(int installFlags, TQPtrList<packageInfo> *p, bool &test);
};
diff --git a/kpackage/procbuf.cpp b/kpackage/procbuf.cpp
index da3bc98..9017c8a 100644
--- a/kpackage/procbuf.cpp
+++ b/kpackage/procbuf.cpp
@@ -32,8 +32,8 @@
#include <tqlabel.h>
#include <kdebug.h>
-Modal::Modal(TQString msg, TQWidget *tqparent, const char * name )
- : KDialog( tqparent, name, TRUE )
+Modal::Modal(TQString msg, TQWidget *parent, const char * name )
+ : KDialog( parent, name, TRUE )
{
TQLabel *line1 = new TQLabel(msg,this);
line1->tqsetAlignment(AlignCenter);
diff --git a/kpackage/procbuf.h b/kpackage/procbuf.h
index b7dfcac..701228d 100644
--- a/kpackage/procbuf.h
+++ b/kpackage/procbuf.h
@@ -39,7 +39,7 @@ class Modal : public KDialog {
Q_OBJECT
TQ_OBJECT
public:
- Modal(TQString msg, TQWidget *tqparent, const char * name );
+ Modal(TQString msg, TQWidget *parent, const char * name );
void terminate();
};
diff --git a/kpackage/search.cpp b/kpackage/search.cpp
index a3e60ee..2a7bb25 100644
--- a/kpackage/search.cpp
+++ b/kpackage/search.cpp
@@ -35,8 +35,8 @@
#include <tqframe.h>
#include <tqgroupbox.h>
-Search::Search(TQWidget *tqparent, const char * name)
- : KDialogBase(tqparent, name, false,
+Search::Search(TQWidget *parent, const char * name)
+ : KDialogBase(parent, name, false,
i18n("Find Package"),
User1 | Close, User1, true,
KGuiItem( i18n("&Find"), "find"))
diff --git a/kpackage/search.h b/kpackage/search.h
index 8d289c0..43c9991 100644
--- a/kpackage/search.h
+++ b/kpackage/search.h
@@ -50,7 +50,7 @@ class Search : public KDialogBase
public:
- Search ( TQWidget *tqparent = 0, const char * name=0);
+ Search ( TQWidget *parent = 0, const char * name=0);
~Search();
private:
diff --git a/kpackage/updateLoc.cpp b/kpackage/updateLoc.cpp
index ba33f06..1a66446 100644
--- a/kpackage/updateLoc.cpp
+++ b/kpackage/updateLoc.cpp
@@ -40,9 +40,9 @@
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
-apanel::apanel( TQWidget *tqparent,
+apanel::apanel( TQWidget *parent,
const char * name )
- : TQWidget( tqparent, name )
+ : TQWidget( parent, name )
{
puse = 0;
@@ -99,8 +99,8 @@ void apanel::clear()
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
-dpanel::dpanel( TQWidget *tqparent, const char * name )
- : TQWidget( tqparent, name )
+dpanel::dpanel( TQWidget *parent, const char * name )
+ : TQWidget( parent, name )
{
puse = 0;
psubdirs = 0;
@@ -120,8 +120,8 @@ dpanel::dpanel( TQWidget *tqparent, const char * name )
}
dpanel::dpanel(dpanel *basep, const TQString &Pfilter, bool bsubdirs,
- TQWidget *tqparent, const char * name )
- : TQWidget( tqparent, name )
+ TQWidget *parent, const char * name )
+ : TQWidget( parent, name )
{
filter = Pfilter;
puse = 0;
diff --git a/kpackage/updateLoc.h b/kpackage/updateLoc.h
index c8ae61d..2305cb2 100644
--- a/kpackage/updateLoc.h
+++ b/kpackage/updateLoc.h
@@ -63,9 +63,9 @@ class dpanel : public TQWidget
TQ_OBJECT
public:
- dpanel(TQWidget *tqparent, const char * name = 0);
+ dpanel(TQWidget *parent, const char * name = 0);
dpanel(dpanel *basep, const TQString &Pfilter, bool bsubdirs,
- TQWidget *tqparent, const char * name = 0);
+ TQWidget *parent, const char * name = 0);
~dpanel();
@@ -101,7 +101,7 @@ class apanel : public TQWidget
TQ_OBJECT
public:
- apanel( TQWidget *tqparent, const char * name = 0 );
+ apanel( TQWidget *parent, const char * name = 0 );
~apanel();