diff options
Diffstat (limited to 'src/modules/url/libkviurl.cpp')
-rw-r--r-- | src/modules/url/libkviurl.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/modules/url/libkviurl.cpp b/src/modules/url/libkviurl.cpp index dfd884e8..522e4fcc 100644 --- a/src/modules/url/libkviurl.cpp +++ b/src/modules/url/libkviurl.cpp @@ -117,15 +117,15 @@ UrlDialog::UrlDialog(KviPointerList<KviUrl> *g_pList) KviTalPopupMenu *pop; pop = new KviTalPopupMenu(this); - pop->insertItem(__tr2qs("&Configure"),this,TQT_SLOT(config())); - pop->insertItem(__tr2qs("&Help"),this,TQT_SLOT(help())); - pop->insertItem(__tr2qs("Clo&se"),this,TQT_SLOT(close_slot())); + pop->insertItem(__tr2qs("&Configure"),this,TQ_SLOT(config())); + pop->insertItem(__tr2qs("&Help"),this,TQ_SLOT(help())); + pop->insertItem(__tr2qs("Clo&se"),this,TQ_SLOT(close_slot())); m_pMenuBar->insertItem(__tr2qs("&Module"),pop); pop = new KviTalPopupMenu(this); - pop->insertItem(__tr2qs("&Load"),this,TQT_SLOT(loadList())); - pop->insertItem(__tr2qs("&Save"),this,TQT_SLOT(saveList())); - pop->insertItem(__tr2qs("&Clear"),this,TQT_SLOT(clear())); + pop->insertItem(__tr2qs("&Load"),this,TQ_SLOT(loadList())); + pop->insertItem(__tr2qs("&Save"),this,TQ_SLOT(saveList())); + pop->insertItem(__tr2qs("&Clear"),this,TQ_SLOT(clear())); m_pMenuBar->insertItem(__tr2qs("&List"),pop); m_pUrlList->setShowSortIndicator(true); @@ -140,8 +140,8 @@ UrlDialog::UrlDialog(KviPointerList<KviUrl> *g_pList) m_pUrlList->setColumnWidth(2,cfg.readIntEntry("Count",70)); m_pUrlList->setColumnWidth(3,cfg.readIntEntry("Timestamp",70)); - connect(m_pUrlList,TQT_SIGNAL(doubleClicked(KviTalListViewItem *)),TQT_SLOT(dblclk_url(KviTalListViewItem *))); - connect(m_pUrlList,TQT_SIGNAL(rightButtonPressed(KviTalListViewItem *, const TQPoint &, int)),TQT_SLOT(popup(KviTalListViewItem *, const TQPoint &, int))); + connect(m_pUrlList,TQ_SIGNAL(doubleClicked(KviTalListViewItem *)),TQ_SLOT(dblclk_url(KviTalListViewItem *))); + connect(m_pUrlList,TQ_SIGNAL(rightButtonPressed(KviTalListViewItem *, const TQPoint &, int)),TQ_SLOT(popup(KviTalListViewItem *, const TQPoint &, int))); // setFocusHandlerNoChildren(m_pUrlList); m_pUrlList->setFocusPolicy(TQWidget::StrongFocus); @@ -257,15 +257,15 @@ void UrlDialog::popup(KviTalListViewItem *item, const TQPoint &point, int col) if (col == 0) { m_szUrl = item->text(0); KviTalPopupMenu p(0,"menu"); - p.insertItem(__tr2qs("&Remove"),this,TQT_SLOT(remove())); - p.insertItem(__tr2qs("&Find Text"),this,TQT_SLOT(findtext())); + p.insertItem(__tr2qs("&Remove"),this,TQ_SLOT(remove())); + p.insertItem(__tr2qs("&Find Text"),this,TQ_SLOT(findtext())); p.insertSeparator(); m_pListPopup = new KviTalPopupMenu(0,"list"); int i=0; for(KviWindow *w=g_pFrame->windowList()->first();w;w=g_pFrame->windowList()->next()){ if ((w->type() <= 2) || (w->type() == 2) || (w->type() == 6)) { // values defined in kvi_define.h (console,channel,query,chat,uwindow) m_pListPopup->insertItem(TQString(w->plainTextCaption()),i); - m_pListPopup->connectItem(i,this,TQT_SLOT(sayToWin(int))); + m_pListPopup->connectItem(i,this,TQ_SLOT(sayToWin(int))); i++; } } @@ -362,11 +362,11 @@ ConfigDialog::ConfigDialog() TQPushButton *b; // configure buttons b = new TQPushButton(__tr2qs("&Cancel"),this,"discard"); - connect(b,TQT_SIGNAL(clicked()),this,TQT_SLOT(discardbtn())); + connect(b,TQ_SIGNAL(clicked()),this,TQ_SLOT(discardbtn())); g->addWidget(b,4,0); b = new TQPushButton(__tr2qs("&OK"),this,"accept"); - connect(b,TQT_SIGNAL(clicked()),this,TQT_SLOT(acceptbtn())); + connect(b,TQ_SIGNAL(clicked()),this,TQ_SLOT(acceptbtn())); g->addWidget(b,4,1); show(); @@ -413,7 +413,7 @@ BanFrame::BanFrame(TQWidget *parent, const char *name, bool banEnabled) TQGridLayout *g = new TQGridLayout(this,2,2,10,10); m_pEnable = new KviStyledCheckBox(__tr2qs("Enable URL ban list"),this); - connect(m_pEnable,TQT_SIGNAL(clicked()),this,TQT_SLOT(enableClicked())); + connect(m_pEnable,TQ_SIGNAL(clicked()),this,TQ_SLOT(enableClicked())); m_pEnable->setChecked(banEnabled); g->addMultiCellWidget(m_pEnable,0,0,0,1); @@ -425,12 +425,12 @@ BanFrame::BanFrame(TQWidget *parent, const char *name, bool banEnabled) g->addMultiCellWidget(m_pBanList,1,1,0,1); m_pAddBtn = new TQPushButton(__tr2qs("&Add Ban"),this,"add"); - connect(m_pAddBtn,TQT_SIGNAL(clicked()),this,TQT_SLOT(addBan())); + connect(m_pAddBtn,TQ_SIGNAL(clicked()),this,TQ_SLOT(addBan())); m_pAddBtn->setEnabled(m_pEnable->isChecked()); g->addWidget(m_pAddBtn,2,0); m_pRemoveBtn = new TQPushButton(__tr2qs("&Remove Selected"),this,"remove"); - connect(m_pRemoveBtn,TQT_SIGNAL(clicked()),this,TQT_SLOT(removeBan())); + connect(m_pRemoveBtn,TQ_SIGNAL(clicked()),this,TQ_SLOT(removeBan())); m_pRemoveBtn->setEnabled(m_pEnable->isChecked()); g->addWidget(m_pRemoveBtn,2,1); } |