diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /ksirc/dccManager.cpp | |
parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
download | tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'ksirc/dccManager.cpp')
-rw-r--r-- | ksirc/dccManager.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ksirc/dccManager.cpp b/ksirc/dccManager.cpp index a7576c7f..9ac46b7f 100644 --- a/ksirc/dccManager.cpp +++ b/ksirc/dccManager.cpp @@ -215,10 +215,10 @@ dccManager::dccManager( TQWidget *parent, const char *name ) : dccManagerbase( p m_sendit->setSelectable(false); m_chatit->setSelectable(false); -// connect(klvBox, TQT_SIGNAL(clicked(TQListViewItem *)), -// this, TQT_SLOT(getSelChange(TQListViewItem *))); - connect(klvBox, TQT_SIGNAL(currentChanged(TQListViewItem *)), - this, TQT_SLOT(getSelChange(TQListViewItem *))); +// connect(klvBox, TQ_SIGNAL(clicked(TQListViewItem *)), +// this, TQ_SLOT(getSelChange(TQListViewItem *))); + connect(klvBox, TQ_SIGNAL(currentChanged(TQListViewItem *)), + this, TQ_SLOT(getSelChange(TQListViewItem *))); klvBox->setCurrentItem(m_chatit); getSelChange(klvBox->currentItem()); @@ -232,8 +232,8 @@ dccItem *dccManager::newSendItem(TQString file, TQString who, enum dccItem::dccS { emit changed(false, i18n("dcc activity")); dccItem *it = new dccItem(m_sendit, this, dccItem::dccSend, file, who, status, size); - connect(it, TQT_SIGNAL(statusChanged(TQListViewItem *)), - this, TQT_SLOT(getSelChange(TQListViewItem *))); + connect(it, TQ_SIGNAL(statusChanged(TQListViewItem *)), + this, TQ_SLOT(getSelChange(TQListViewItem *))); return it; } @@ -241,8 +241,8 @@ dccItem *dccManager::newGetItem(TQString file, TQString who, enum dccItem::dccSt { emit changed(false, i18n("dcc activity")); dccItem *it = new dccItem(m_getit, this, dccItem::dccGet, file, who, status, size); - connect(it, TQT_SIGNAL(statusChanged(TQListViewItem *)), - this, TQT_SLOT(getSelChange(TQListViewItem *))); + connect(it, TQ_SIGNAL(statusChanged(TQListViewItem *)), + this, TQ_SLOT(getSelChange(TQListViewItem *))); return it; } @@ -251,8 +251,8 @@ dccItem *dccManager::newChatItem(TQString who, enum dccItem::dccStatus status) { emit changed(false, i18n("dcc activity")); dccItem *it = new dccItem(m_chatit, this, dccItem::dccChat, "", who, status, 0); - connect(it, TQT_SIGNAL(statusChanged(TQListViewItem *)), - this, TQT_SLOT(getSelChange(TQListViewItem *))); + connect(it, TQ_SIGNAL(statusChanged(TQListViewItem *)), + this, TQ_SLOT(getSelChange(TQListViewItem *))); return it; } @@ -268,8 +268,8 @@ void dccManager::kpbNew_clicked() dccNewDialog = new dccNew(); dccNewDialog->show(); - connect(dccNewDialog, TQT_SIGNAL(accepted(int, TQString, TQString)), - this, TQT_SLOT(dccNewAccepted(int, TQString, TQString))); + connect(dccNewDialog, TQ_SIGNAL(accepted(int, TQString, TQString)), + this, TQ_SLOT(dccNewAccepted(int, TQString, TQString))); } |