diff options
Diffstat (limited to 'kpackage/managementWidget.cpp')
-rw-r--r-- | kpackage/managementWidget.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kpackage/managementWidget.cpp b/kpackage/managementWidget.cpp index 55293b5..9c515d4 100644 --- a/kpackage/managementWidget.cpp +++ b/kpackage/managementWidget.cpp @@ -91,8 +91,8 @@ managementWidget::managementWidget(TQWidget *parent) setupWidgets(); - connect(treeList,TQT_SIGNAL(updateMarked()), - this, TQT_SLOT( checkMarked())); + connect(treeList,TQ_SIGNAL(updateMarked()), + this, TQ_SLOT( checkMarked())); } managementWidget::~managementWidget() @@ -142,15 +142,15 @@ void managementWidget::setupWidgets() searchLine = new KpListViewSearchLine(searchToolBar, treeList); // searchLine->setKeepParentsVisible(false); - connect( clearSearch, TQT_SIGNAL( pressed() ), searchLine, TQT_SLOT( clear() )); + connect( clearSearch, TQ_SIGNAL( pressed() ), searchLine, TQ_SLOT( clear() )); TQValueList<int> clist; clist.append(0); clist.append(2); searchLine->setSearchColumns(clist); searchToolBar->setStretchableWidget( searchLine ); - connect( treeList, TQT_SIGNAL( cleared() ), searchLine, TQT_SLOT( clear() )); + connect( treeList, TQ_SIGNAL( cleared() ), searchLine, TQ_SLOT( clear() )); - connect(ltab,TQT_SIGNAL(selected (int)),TQT_SLOT(tabChanged(int))); + connect(ltab,TQ_SIGNAL(selected (int)),TQ_SLOT(tabChanged(int))); ltab->setCurrentTab(treeList->treeType); leftbox->addWidget(ltab,10); @@ -163,12 +163,12 @@ void managementWidget::setupWidgets() luinstButton = new TQPushButton(i18n("Uninstall Marked"),leftpanel); luinstButton->setEnabled(FALSE); - connect(luinstButton,TQT_SIGNAL(clicked()), - TQT_SLOT(uninstallMultClicked())); + connect(luinstButton,TQ_SIGNAL(clicked()), + TQ_SLOT(uninstallMultClicked())); linstButton = new TQPushButton(i18n("Install Marked"),leftpanel); linstButton->setEnabled(FALSE); - connect(linstButton,TQT_SIGNAL(clicked()), - TQT_SLOT(installMultClicked())); + connect(linstButton,TQ_SIGNAL(clicked()), + TQ_SLOT(installMultClicked())); leftbox->addLayout(lbuttons,0); // top level layout as child @@ -177,27 +177,27 @@ void managementWidget::setupWidgets() lbuttons->addWidget(luinstButton,1,AlignBottom); lbuttons->addStretch(1); - connect(treeList, TQT_SIGNAL(selectionChanged(TQListViewItem *)), - TQT_SLOT(packageHighlighted(TQListViewItem *))); + connect(treeList, TQ_SIGNAL(selectionChanged(TQListViewItem *)), + TQ_SLOT(packageHighlighted(TQListViewItem *))); // the right panel rightpanel = new TQFrame(vPan); rightbox = new TQBoxLayout(rightpanel,TQBoxLayout::TopToBottom); packageDisplay = new packageDisplayWidget(rightpanel); - // connect(this, TQT_SIGNAL(changePackage(packageInfo *)), - // packageDisplay, TQT_SLOT(changePackage(packageInfo *))); + // connect(this, TQ_SIGNAL(changePackage(packageInfo *)), + // packageDisplay, TQ_SLOT(changePackage(packageInfo *))); rbuttons = new TQBoxLayout(TQBoxLayout::LeftToRight); uinstButton = new TQPushButton(i18n("Uninstall"),rightpanel); uinstButton->setEnabled(FALSE); - connect(uinstButton,TQT_SIGNAL(clicked()), - TQT_SLOT(uninstallSingleClicked())); + connect(uinstButton,TQ_SIGNAL(clicked()), + TQ_SLOT(uninstallSingleClicked())); instButton = new TQPushButton(i18n("Install"),rightpanel); instButton->setEnabled(FALSE); - connect(instButton,TQT_SIGNAL(clicked()), - TQT_SLOT(installSingleClicked())); + connect(instButton,TQ_SIGNAL(clicked()), + TQ_SLOT(installSingleClicked())); // Setup the `right panel' layout @@ -312,12 +312,12 @@ void managementWidget::collectData(bool refresh) TQApplication::setOverrideCursor( waitCursor ); // stop clear() sending selectionChanged signal - disconnect(treeList, TQT_SIGNAL(selectionChanged(TQListViewItem *)), - this, TQT_SLOT(packageHighlighted(TQListViewItem *))); + disconnect(treeList, TQ_SIGNAL(selectionChanged(TQListViewItem *)), + this, TQ_SLOT(packageHighlighted(TQListViewItem *))); treeList->hide(); // hide list tree treeList->clear(); // empty it - connect(treeList, TQT_SIGNAL(selectionChanged(TQListViewItem *)), - TQT_SLOT(packageHighlighted(TQListViewItem *))); + connect(treeList, TQ_SIGNAL(selectionChanged(TQListViewItem *)), + TQ_SLOT(packageHighlighted(TQListViewItem *))); packageDisplay->changePackage(0); |