diff options
Diffstat (limited to 'kpackage/packageDisplay.cpp')
-rw-r--r-- | kpackage/packageDisplay.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kpackage/packageDisplay.cpp b/kpackage/packageDisplay.cpp index 6eabc9d..707959f 100644 --- a/kpackage/packageDisplay.cpp +++ b/kpackage/packageDisplay.cpp @@ -31,7 +31,7 @@ // Standard headers #include <stdio.h> -// Qt headers +// TQt headers #include <tqapplication.h> #include <tqfileinfo.h> @@ -55,8 +55,8 @@ extern Opts *opts; // constructor -packageDisplayWidget::packageDisplayWidget(TQWidget *parent) - : TQTabWidget(parent) +packageDisplayWidget::packageDisplayWidget(TQWidget *tqparent) + : TQTabWidget(tqparent) { // Initially we're not dealing with any package package=NULL; @@ -186,7 +186,7 @@ void packageDisplayWidget::changePackage(packageInfo *p) if (package && package != p) { - if (!package->getItem() && !kpackage->management->allPackages->find(package)) { + if (!package->getItem() && !kpackage->management->allPackages->tqfind(package)) { delete package; package = 0; } @@ -203,7 +203,7 @@ void packageDisplayWidget::changePackage(packageInfo *p) if (np) { TQMap<TQString, TQString>::Iterator it; // update info entries in p for ( it = np->info.begin(); it != np->info.end(); ++it ) { - package->info.replace(it.key(),it.data()); + package->info.tqreplace(it.key(),it.data()); } package->interface = np->interface; delete np; @@ -249,7 +249,7 @@ void packageDisplayWidget::updateChangeLog() lines = package->interface->getChangeLog(package); - changeLog->setTextFormat(Qt::LogText); + changeLog->setTextFormat(TQt::LogText); changeLog->hide(); if (lines.count() > 1) { changeLog->setText(""); @@ -280,7 +280,7 @@ void packageDisplayWidget::updateFileList() TQStringList errorfiles; // set the status - kpackage->setStatus(i18n("Updating File List")); + kpackage->settqStatus(i18n("Updating File List")); // clear the file list fileList->clear(); @@ -306,7 +306,7 @@ void packageDisplayWidget::updateFileList() errorfiles = package->interface->verify(package, files); } - kpackage->setStatus(i18n("Updating File List")); + kpackage->settqStatus(i18n("Updating File List")); uint c=0, p=0; uint step = (files.count() / 100) + 1; @@ -363,7 +363,7 @@ void packageDisplayWidget::updateFileList() kpackage->setPercent(100); } - kpFileList::kpFileList(TQWidget* parent, packageDisplayWidget* parent2) : KListView(parent) + kpFileList::kpFileList(TQWidget* tqparent, packageDisplayWidget* tqparent2) : KListView(tqparent) { 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..."),parent2,TQT_SLOT(__openBindingWith())); + openwith = FileListMenu->insertItem(i18n("&Open With..."),tqparent2,TQT_SLOT(__openBindingWith())); - pkDisplay = parent2; + pkDisplay = tqparent2; } |