diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 21:15:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-01 18:03:34 +0900 |
commit | 209ac1e561619ff446be4b3411ed74e59fff168e (patch) | |
tree | 83b384cf0c4dfb918b3a4c39b4333f33e0f2f387 /src/kvilib | |
parent | 44846083311d49d75e8376326d29f7f34e1dae52 (diff) | |
download | kvirc-209ac1e561619ff446be4b3411ed74e59fff168e.tar.gz kvirc-209ac1e561619ff446be4b3411ed74e59fff168e.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kvilib')
-rw-r--r-- | src/kvilib/ext/kvi_garbage.cpp | 6 | ||||
-rw-r--r-- | src/kvilib/ext/kvi_sharedfiles.cpp | 2 | ||||
-rw-r--r-- | src/kvilib/irc/kvi_ircuserdb.cpp | 8 | ||||
-rw-r--r-- | src/kvilib/net/kvi_http.cpp | 4 | ||||
-rw-r--r-- | src/kvilib/net/kvi_http.h | 2 | ||||
-rw-r--r-- | src/kvilib/system/kvi_thread.cpp | 2 | ||||
-rw-r--r-- | src/kvilib/tal/kvi_tal_iconview.cpp | 28 | ||||
-rw-r--r-- | src/kvilib/tal/kvi_tal_listbox.cpp | 32 | ||||
-rw-r--r-- | src/kvilib/tal/kvi_tal_listview.cpp | 36 | ||||
-rw-r--r-- | src/kvilib/tal/kvi_tal_wizard.cpp | 20 |
10 files changed, 70 insertions, 70 deletions
diff --git a/src/kvilib/ext/kvi_garbage.cpp b/src/kvilib/ext/kvi_garbage.cpp index 17c2afb9..4d79b488 100644 --- a/src/kvilib/ext/kvi_garbage.cpp +++ b/src/kvilib/ext/kvi_garbage.cpp @@ -51,7 +51,7 @@ void KviGarbageCollector::collect(TQObject * g) //tqDebug("COLLECTING GARBAGE %s",g->className()); m_pGarbageList->append(g); // tqDebug("Registering garbage object %d (%s:%s)",g,g->className(),g->name()); - connect(g,TQT_SIGNAL(destroyed()),this,TQT_SLOT(garbageSuicide())); + connect(g,TQ_SIGNAL(destroyed()),this,TQ_SLOT(garbageSuicide())); triggerCleanup(0); } @@ -83,7 +83,7 @@ void KviGarbageCollector::triggerCleanup(int iTimeout) m_pCleanupTimer->stop(); } else { m_pCleanupTimer = new TQTimer(this); - connect(m_pCleanupTimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(cleanup())); + connect(m_pCleanupTimer,TQ_SIGNAL(timeout()),this,TQ_SLOT(cleanup())); } m_pCleanupTimer->start(iTimeout); } @@ -118,7 +118,7 @@ void KviGarbageCollector::cleanup() for(TQObject * o2 = dying.first();o2;o2 = dying.next()) { //tqDebug("KILLING GARBAGE CLASS %s",o2->className()); - disconnect(o2,TQT_SIGNAL(destroyed()),this,TQT_SLOT(garbageSuicide())); + disconnect(o2,TQ_SIGNAL(destroyed()),this,TQ_SLOT(garbageSuicide())); m_pGarbageList->removeRef(o2); } diff --git a/src/kvilib/ext/kvi_sharedfiles.cpp b/src/kvilib/ext/kvi_sharedfiles.cpp index 4651a3c6..69a25250 100644 --- a/src/kvilib/ext/kvi_sharedfiles.cpp +++ b/src/kvilib/ext/kvi_sharedfiles.cpp @@ -101,7 +101,7 @@ KviSharedFilesManager::KviSharedFilesManager() m_pSharedListDict = new KviPointerHashTable<TQString,KviSharedFileList>(); m_pSharedListDict->setAutoDelete(true); m_pCleanupTimer = new TQTimer(); - connect(m_pCleanupTimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(cleanup())); + connect(m_pCleanupTimer,TQ_SIGNAL(timeout()),this,TQ_SLOT(cleanup())); } KviSharedFilesManager::~KviSharedFilesManager() diff --git a/src/kvilib/irc/kvi_ircuserdb.cpp b/src/kvilib/irc/kvi_ircuserdb.cpp index 7aaa5f25..beb4ed38 100644 --- a/src/kvilib/irc/kvi_ircuserdb.cpp +++ b/src/kvilib/irc/kvi_ircuserdb.cpp @@ -227,10 +227,10 @@ void KviIrcUserDataBase::removeUser(const TQString &nick,KviIrcUserEntry * e) void KviIrcUserDataBase::setupConnectionWithReguserDb() { - connect(g_pRegisteredUserDataBase,TQT_SIGNAL(userRemoved(const TQString&)),this,TQT_SLOT(registeredUserRemoved(const TQString&))); - connect(g_pRegisteredUserDataBase,TQT_SIGNAL(userChanged(const TQString&)),this,TQT_SLOT(registeredUserChanged(const TQString&))); - connect(g_pRegisteredUserDataBase,TQT_SIGNAL(userAdded(const TQString&)),this,TQT_SLOT(registeredUserAdded(const TQString&))); - connect(g_pRegisteredUserDataBase,TQT_SIGNAL(databaseCleared()),this,TQT_SLOT(registeredDatabaseCleared())); + connect(g_pRegisteredUserDataBase,TQ_SIGNAL(userRemoved(const TQString&)),this,TQ_SLOT(registeredUserRemoved(const TQString&))); + connect(g_pRegisteredUserDataBase,TQ_SIGNAL(userChanged(const TQString&)),this,TQ_SLOT(registeredUserChanged(const TQString&))); + connect(g_pRegisteredUserDataBase,TQ_SIGNAL(userAdded(const TQString&)),this,TQ_SLOT(registeredUserAdded(const TQString&))); + connect(g_pRegisteredUserDataBase,TQ_SIGNAL(databaseCleared()),this,TQ_SLOT(registeredDatabaseCleared())); } diff --git a/src/kvilib/net/kvi_http.cpp b/src/kvilib/net/kvi_http.cpp index a8045f82..4e5f3ff3 100644 --- a/src/kvilib/net/kvi_http.cpp +++ b/src/kvilib/net/kvi_http.cpp @@ -171,7 +171,7 @@ bool KviHttpRequest::start() if(kvi_isValidStringIp(m_url.host().ptr())) { m_szIp = m_url.host(); - TQTimer::singleShot(10,this,TQT_SLOT(haveServerIp())); + TQTimer::singleShot(10,this,TQ_SLOT(haveServerIp())); return true; } @@ -181,7 +181,7 @@ bool KviHttpRequest::start() bool KviHttpRequest::startDnsLookup() { m_pDns = new KviDns(); - connect(m_pDns,TQT_SIGNAL(lookupDone(KviDns *)),this,TQT_SLOT(dnsLookupDone(KviDns *))); + connect(m_pDns,TQ_SIGNAL(lookupDone(KviDns *)),this,TQ_SLOT(dnsLookupDone(KviDns *))); if(!m_pDns->lookup(m_url.host().ptr(),KviDns::IpV4)) { diff --git a/src/kvilib/net/kvi_http.h b/src/kvilib/net/kvi_http.h index 6f8e5c4c..39d71b3f 100644 --- a/src/kvilib/net/kvi_http.h +++ b/src/kvilib/net/kvi_http.h @@ -45,7 +45,7 @@ class KviHttpRequestThread; // // This class implements a HTTP protocol client. // It's able to send GET, POST and HEAD requests, -// download stuff to a file or to a qt TQT_SLOT(). +// download stuff to a file or to a qt TQ_SLOT(). // class KVILIB_API KviHttpRequest : public TQObject, public KviHeapObject diff --git a/src/kvilib/system/kvi_thread.cpp b/src/kvilib/system/kvi_thread.cpp index 306f6c75..f8404bb4 100644 --- a/src/kvilib/system/kvi_thread.cpp +++ b/src/kvilib/system/kvi_thread.cpp @@ -203,7 +203,7 @@ KviThreadManager::KviThreadManager() } m_pSn = new TQSocketNotifier(m_fd[KVI_THREAD_PIPE_SIDE_MASTER],TQSocketNotifier::Read); - connect(m_pSn,TQT_SIGNAL(activated(int)),this,TQT_SLOT(eventsPending(int))); + connect(m_pSn,TQ_SIGNAL(activated(int)),this,TQ_SLOT(eventsPending(int))); m_pSn->setEnabled(true); #endif } diff --git a/src/kvilib/tal/kvi_tal_iconview.cpp b/src/kvilib/tal/kvi_tal_iconview.cpp index 9abe0f64..5a5e40ee 100644 --- a/src/kvilib/tal/kvi_tal_iconview.cpp +++ b/src/kvilib/tal/kvi_tal_iconview.cpp @@ -29,20 +29,20 @@ KviTalIconView::KviTalIconView(TQWidget * pParent,TQt::WFlags f) : TQIconView(pParent,0,f) { - connect(this,TQT_SIGNAL(selectionChanged(TQIconViewItem *)),this,TQT_SLOT(redirect_selectionChanged(TQIconViewItem *))); - connect(this,TQT_SIGNAL(currentChanged(TQIconViewItem *)),this,TQT_SLOT(redirect_currentChanged(TQIconViewItem *))); - connect(this,TQT_SIGNAL(clicked(TQIconViewItem *)),this,TQT_SLOT(redirect_clicked(TQIconViewItem *))); - connect(this,TQT_SIGNAL(clicked(TQIconViewItem *,const TQPoint &)),this,TQT_SLOT(redirect_clicked(TQIconViewItem *,const TQPoint &))); - connect(this,TQT_SIGNAL(pressed(TQIconViewItem *)),this,TQT_SLOT(redirect_pressed(TQIconViewItem *))); - connect(this,TQT_SIGNAL(pressed(TQIconViewItem *,const TQPoint &)),this,TQT_SLOT(redirect_pressed(TQIconViewItem *,const TQPoint &))); - connect(this,TQT_SIGNAL(doubleClicked(TQIconViewItem *)),this,TQT_SLOT(redirect_doubleClicked(TQIconViewItem *))); - connect(this,TQT_SIGNAL(returnPressed(TQIconViewItem *)),this,TQT_SLOT(redirect_returnPressed(TQIconViewItem *))); - connect(this,TQT_SIGNAL(rightButtonClicked(TQIconViewItem *,const TQPoint &)),this,TQT_SLOT(redirect_rightButtonClicked(TQIconViewItem *,const TQPoint &))); - connect(this,TQT_SIGNAL(rightButtonPressed(TQIconViewItem *,const TQPoint &)),this,TQT_SLOT(redirect_rightButtonPressed(TQIconViewItem *,const TQPoint &))); - connect(this,TQT_SIGNAL(mouseButtonClicked(int,TQIconViewItem *,const TQPoint &)),this,TQT_SLOT(redirect_mouseButtonClicked(int,TQIconViewItem *,const TQPoint &))); - connect(this,TQT_SIGNAL(mouseButtonPressed(int,TQIconViewItem *,const TQPoint &)),this,TQT_SLOT(redirect_mouseButtonPressed(int,TQIconViewItem *,const TQPoint &))); - connect(this,TQT_SIGNAL(contextMenuRequested(TQIconViewItem *,const TQPoint &)),this,TQT_SLOT(redirect_contextMenuRequested(TQIconViewItem *,const TQPoint &))); - connect(this,TQT_SIGNAL(onItem(TQIconViewItem *)),this,TQT_SLOT(redirect_onItem(TQIconViewItem *))); + connect(this,TQ_SIGNAL(selectionChanged(TQIconViewItem *)),this,TQ_SLOT(redirect_selectionChanged(TQIconViewItem *))); + connect(this,TQ_SIGNAL(currentChanged(TQIconViewItem *)),this,TQ_SLOT(redirect_currentChanged(TQIconViewItem *))); + connect(this,TQ_SIGNAL(clicked(TQIconViewItem *)),this,TQ_SLOT(redirect_clicked(TQIconViewItem *))); + connect(this,TQ_SIGNAL(clicked(TQIconViewItem *,const TQPoint &)),this,TQ_SLOT(redirect_clicked(TQIconViewItem *,const TQPoint &))); + connect(this,TQ_SIGNAL(pressed(TQIconViewItem *)),this,TQ_SLOT(redirect_pressed(TQIconViewItem *))); + connect(this,TQ_SIGNAL(pressed(TQIconViewItem *,const TQPoint &)),this,TQ_SLOT(redirect_pressed(TQIconViewItem *,const TQPoint &))); + connect(this,TQ_SIGNAL(doubleClicked(TQIconViewItem *)),this,TQ_SLOT(redirect_doubleClicked(TQIconViewItem *))); + connect(this,TQ_SIGNAL(returnPressed(TQIconViewItem *)),this,TQ_SLOT(redirect_returnPressed(TQIconViewItem *))); + connect(this,TQ_SIGNAL(rightButtonClicked(TQIconViewItem *,const TQPoint &)),this,TQ_SLOT(redirect_rightButtonClicked(TQIconViewItem *,const TQPoint &))); + connect(this,TQ_SIGNAL(rightButtonPressed(TQIconViewItem *,const TQPoint &)),this,TQ_SLOT(redirect_rightButtonPressed(TQIconViewItem *,const TQPoint &))); + connect(this,TQ_SIGNAL(mouseButtonClicked(int,TQIconViewItem *,const TQPoint &)),this,TQ_SLOT(redirect_mouseButtonClicked(int,TQIconViewItem *,const TQPoint &))); + connect(this,TQ_SIGNAL(mouseButtonPressed(int,TQIconViewItem *,const TQPoint &)),this,TQ_SLOT(redirect_mouseButtonPressed(int,TQIconViewItem *,const TQPoint &))); + connect(this,TQ_SIGNAL(contextMenuRequested(TQIconViewItem *,const TQPoint &)),this,TQ_SLOT(redirect_contextMenuRequested(TQIconViewItem *,const TQPoint &))); + connect(this,TQ_SIGNAL(onItem(TQIconViewItem *)),this,TQ_SLOT(redirect_onItem(TQIconViewItem *))); } void KviTalIconView::redirect_selectionChanged(TQIconViewItem * pItem) diff --git a/src/kvilib/tal/kvi_tal_listbox.cpp b/src/kvilib/tal/kvi_tal_listbox.cpp index 72a0cf28..b6107e2c 100644 --- a/src/kvilib/tal/kvi_tal_listbox.cpp +++ b/src/kvilib/tal/kvi_tal_listbox.cpp @@ -33,22 +33,22 @@ KviTalListBox::KviTalListBox(TQWidget * pParent,TQt::WFlags f) : TQListBox(pParent,0,f) { - connect(this,TQT_SIGNAL(highlighted(TQListBoxItem *)),this,TQT_SLOT(redirect_highlighted(TQListBoxItem *))); - connect(this,TQT_SIGNAL(selected(TQListBoxItem *)),this,TQT_SLOT(redirect_selected(TQListBoxItem *))); - connect(this,TQT_SIGNAL(selectionChanged(TQListBoxItem *)),this,TQT_SLOT(redirect_selectionChanged(TQListBoxItem *))); - connect(this,TQT_SIGNAL(currentChanged(TQListBoxItem *)),this,TQT_SLOT(redirect_currentChanged(TQListBoxItem *))); - connect(this,TQT_SIGNAL(clicked(TQListBoxItem *)),this,TQT_SLOT(redirect_clicked(TQListBoxItem *))); - connect(this,TQT_SIGNAL(clicked(TQListBoxItem *,const TQPoint &)),this,TQT_SLOT(redirect_clicked(TQListBoxItem *,const TQPoint &))); - connect(this,TQT_SIGNAL(pressed(TQListBoxItem *)),this,TQT_SLOT(redirect_pressed(TQListBoxItem *))); - connect(this,TQT_SIGNAL(pressed(TQListBoxItem *,const TQPoint &)),this,TQT_SLOT(redirect_pressed(TQListBoxItem *,const TQPoint &))); - connect(this,TQT_SIGNAL(doubleClicked(TQListBoxItem *)),this,TQT_SLOT(redirect_doubleClicked(TQListBoxItem *))); - connect(this,TQT_SIGNAL(returnPressed(TQListBoxItem *)),this,TQT_SLOT(redirect_returnPressed(TQListBoxItem *))); - connect(this,TQT_SIGNAL(rightButtonClicked(TQListBoxItem *, const TQPoint &)),this,TQT_SLOT(redirect_rightButtonClicked(TQListBoxItem *, const TQPoint &))); - connect(this,TQT_SIGNAL(rightButtonPressed(TQListBoxItem *, const TQPoint &)),this,TQT_SLOT(redirect_rightButtonPressed(TQListBoxItem *, const TQPoint &))); - connect(this,TQT_SIGNAL(mouseButtonPressed(int,TQListBoxItem *,const TQPoint &)),this,TQT_SLOT(redirect_mouseButtonPressed(int,TQListBoxItem *,const TQPoint &))); - connect(this,TQT_SIGNAL(mouseButtonClicked(int,TQListBoxItem *,const TQPoint &)),this,TQT_SLOT(redirect_mouseButtonClicked(int,TQListBoxItem *,const TQPoint &))); - connect(this,TQT_SIGNAL(contextMenuRequested(TQListBoxItem *,const TQPoint &)),this,TQT_SLOT(redirect_contextMenuRequested(TQListBoxItem *,const TQPoint &))); - connect(this,TQT_SIGNAL(onItem(TQListBoxItem *)),this,TQT_SLOT(redirect_onItem(TQListBoxItem *))); + connect(this,TQ_SIGNAL(highlighted(TQListBoxItem *)),this,TQ_SLOT(redirect_highlighted(TQListBoxItem *))); + connect(this,TQ_SIGNAL(selected(TQListBoxItem *)),this,TQ_SLOT(redirect_selected(TQListBoxItem *))); + connect(this,TQ_SIGNAL(selectionChanged(TQListBoxItem *)),this,TQ_SLOT(redirect_selectionChanged(TQListBoxItem *))); + connect(this,TQ_SIGNAL(currentChanged(TQListBoxItem *)),this,TQ_SLOT(redirect_currentChanged(TQListBoxItem *))); + connect(this,TQ_SIGNAL(clicked(TQListBoxItem *)),this,TQ_SLOT(redirect_clicked(TQListBoxItem *))); + connect(this,TQ_SIGNAL(clicked(TQListBoxItem *,const TQPoint &)),this,TQ_SLOT(redirect_clicked(TQListBoxItem *,const TQPoint &))); + connect(this,TQ_SIGNAL(pressed(TQListBoxItem *)),this,TQ_SLOT(redirect_pressed(TQListBoxItem *))); + connect(this,TQ_SIGNAL(pressed(TQListBoxItem *,const TQPoint &)),this,TQ_SLOT(redirect_pressed(TQListBoxItem *,const TQPoint &))); + connect(this,TQ_SIGNAL(doubleClicked(TQListBoxItem *)),this,TQ_SLOT(redirect_doubleClicked(TQListBoxItem *))); + connect(this,TQ_SIGNAL(returnPressed(TQListBoxItem *)),this,TQ_SLOT(redirect_returnPressed(TQListBoxItem *))); + connect(this,TQ_SIGNAL(rightButtonClicked(TQListBoxItem *, const TQPoint &)),this,TQ_SLOT(redirect_rightButtonClicked(TQListBoxItem *, const TQPoint &))); + connect(this,TQ_SIGNAL(rightButtonPressed(TQListBoxItem *, const TQPoint &)),this,TQ_SLOT(redirect_rightButtonPressed(TQListBoxItem *, const TQPoint &))); + connect(this,TQ_SIGNAL(mouseButtonPressed(int,TQListBoxItem *,const TQPoint &)),this,TQ_SLOT(redirect_mouseButtonPressed(int,TQListBoxItem *,const TQPoint &))); + connect(this,TQ_SIGNAL(mouseButtonClicked(int,TQListBoxItem *,const TQPoint &)),this,TQ_SLOT(redirect_mouseButtonClicked(int,TQListBoxItem *,const TQPoint &))); + connect(this,TQ_SIGNAL(contextMenuRequested(TQListBoxItem *,const TQPoint &)),this,TQ_SLOT(redirect_contextMenuRequested(TQListBoxItem *,const TQPoint &))); + connect(this,TQ_SIGNAL(onItem(TQListBoxItem *)),this,TQ_SLOT(redirect_onItem(TQListBoxItem *))); } void KviTalListBox::redirect_highlighted(TQListBoxItem *item) diff --git a/src/kvilib/tal/kvi_tal_listview.cpp b/src/kvilib/tal/kvi_tal_listview.cpp index 1bb6bdc9..ce54641b 100644 --- a/src/kvilib/tal/kvi_tal_listview.cpp +++ b/src/kvilib/tal/kvi_tal_listview.cpp @@ -36,24 +36,24 @@ KviTalListView::KviTalListView(TQWidget * pParent) : TQListView(pParent) { - connect(this,TQT_SIGNAL(selectionChanged(TQListViewItem *)),this,TQT_SLOT(redirect_selectionChanged(TQListViewItem *))); - connect(this,TQT_SIGNAL(currentChanged(TQListViewItem *)),this,TQT_SLOT(redirect_currentChanged(TQListViewItem *))); - connect(this,TQT_SIGNAL(clicked(TQListViewItem *)),this,TQT_SLOT(redirect_clicked(TQListViewItem *))); - connect(this,TQT_SIGNAL(clicked(TQListViewItem *,const TQPoint &,int)),this,TQT_SLOT(redirect_clicked(TQListViewItem *,const TQPoint &,int))); - connect(this,TQT_SIGNAL(pressed(TQListViewItem *)),this,TQT_SLOT(redirect_pressed(TQListViewItem *))); - connect(this,TQT_SIGNAL(pressed(TQListViewItem *,const TQPoint &,int)),this,TQT_SLOT(redirect_pressed(TQListViewItem *,const TQPoint &,int))); - connect(this,TQT_SIGNAL(doubleClicked(TQListViewItem *)),this,TQT_SLOT(redirect_doubleClicked(TQListViewItem *))); - connect(this,TQT_SIGNAL(doubleClicked(TQListViewItem *,const TQPoint &,int)),this,TQT_SLOT(redirect_doubleClicked(TQListViewItem *,const TQPoint &,int))); - connect(this,TQT_SIGNAL(returnPressed(TQListViewItem *)),this,TQT_SLOT(redirect_returnPressed(TQListViewItem *))); - connect(this,TQT_SIGNAL(spacePressed(TQListViewItem *)),this,TQT_SLOT(redirect_spacePressed(TQListViewItem *))); - connect(this,TQT_SIGNAL(rightButtonClicked(TQListViewItem *,const TQPoint &,int)),this,TQT_SLOT(redirect_rightButtonClicked(TQListViewItem *,const TQPoint &,int))); - connect(this,TQT_SIGNAL(rightButtonPressed(TQListViewItem *,const TQPoint &,int)),this,TQT_SLOT(redirect_rightButtonPressed(TQListViewItem *,const TQPoint &,int))); - connect(this,TQT_SIGNAL(mouseButtonClicked(int,TQListViewItem *,const TQPoint &,int)),this,TQT_SLOT(redirect_mouseButtonClicked(int,TQListViewItem *,const TQPoint &,int))); - connect(this,TQT_SIGNAL(mouseButtonPressed(int,TQListViewItem *,const TQPoint &,int)),this,TQT_SLOT(redirect_mouseButtonPressed(int,TQListViewItem *,const TQPoint &,int))); - connect(this,TQT_SIGNAL(contextMenuRequested(TQListViewItem *,const TQPoint &,int)),this,TQT_SLOT(redirect_contextMenuRequested(TQListViewItem *,const TQPoint &,int))); - connect(this,TQT_SIGNAL(onItem(TQListViewItem *)),this,TQT_SLOT(redirect_onItem(TQListViewItem *))); - connect(this,TQT_SIGNAL(expanded(TQListViewItem *)),this,TQT_SLOT(redirect_expanded(TQListViewItem *))); - connect(this,TQT_SIGNAL(collapsed(TQListViewItem *)),this,TQT_SLOT(redirect_collapsed(TQListViewItem *))); + connect(this,TQ_SIGNAL(selectionChanged(TQListViewItem *)),this,TQ_SLOT(redirect_selectionChanged(TQListViewItem *))); + connect(this,TQ_SIGNAL(currentChanged(TQListViewItem *)),this,TQ_SLOT(redirect_currentChanged(TQListViewItem *))); + connect(this,TQ_SIGNAL(clicked(TQListViewItem *)),this,TQ_SLOT(redirect_clicked(TQListViewItem *))); + connect(this,TQ_SIGNAL(clicked(TQListViewItem *,const TQPoint &,int)),this,TQ_SLOT(redirect_clicked(TQListViewItem *,const TQPoint &,int))); + connect(this,TQ_SIGNAL(pressed(TQListViewItem *)),this,TQ_SLOT(redirect_pressed(TQListViewItem *))); + connect(this,TQ_SIGNAL(pressed(TQListViewItem *,const TQPoint &,int)),this,TQ_SLOT(redirect_pressed(TQListViewItem *,const TQPoint &,int))); + connect(this,TQ_SIGNAL(doubleClicked(TQListViewItem *)),this,TQ_SLOT(redirect_doubleClicked(TQListViewItem *))); + connect(this,TQ_SIGNAL(doubleClicked(TQListViewItem *,const TQPoint &,int)),this,TQ_SLOT(redirect_doubleClicked(TQListViewItem *,const TQPoint &,int))); + connect(this,TQ_SIGNAL(returnPressed(TQListViewItem *)),this,TQ_SLOT(redirect_returnPressed(TQListViewItem *))); + connect(this,TQ_SIGNAL(spacePressed(TQListViewItem *)),this,TQ_SLOT(redirect_spacePressed(TQListViewItem *))); + connect(this,TQ_SIGNAL(rightButtonClicked(TQListViewItem *,const TQPoint &,int)),this,TQ_SLOT(redirect_rightButtonClicked(TQListViewItem *,const TQPoint &,int))); + connect(this,TQ_SIGNAL(rightButtonPressed(TQListViewItem *,const TQPoint &,int)),this,TQ_SLOT(redirect_rightButtonPressed(TQListViewItem *,const TQPoint &,int))); + connect(this,TQ_SIGNAL(mouseButtonClicked(int,TQListViewItem *,const TQPoint &,int)),this,TQ_SLOT(redirect_mouseButtonClicked(int,TQListViewItem *,const TQPoint &,int))); + connect(this,TQ_SIGNAL(mouseButtonPressed(int,TQListViewItem *,const TQPoint &,int)),this,TQ_SLOT(redirect_mouseButtonPressed(int,TQListViewItem *,const TQPoint &,int))); + connect(this,TQ_SIGNAL(contextMenuRequested(TQListViewItem *,const TQPoint &,int)),this,TQ_SLOT(redirect_contextMenuRequested(TQListViewItem *,const TQPoint &,int))); + connect(this,TQ_SIGNAL(onItem(TQListViewItem *)),this,TQ_SLOT(redirect_onItem(TQListViewItem *))); + connect(this,TQ_SIGNAL(expanded(TQListViewItem *)),this,TQ_SLOT(redirect_expanded(TQListViewItem *))); + connect(this,TQ_SIGNAL(collapsed(TQListViewItem *)),this,TQ_SLOT(redirect_collapsed(TQListViewItem *))); } void KviTalListView::redirect_selectionChanged(TQListViewItem * pItem) diff --git a/src/kvilib/tal/kvi_tal_wizard.cpp b/src/kvilib/tal/kvi_tal_wizard.cpp index 4ab58566..4ea3f0e4 100644 --- a/src/kvilib/tal/kvi_tal_wizard.cpp +++ b/src/kvilib/tal/kvi_tal_wizard.cpp @@ -191,9 +191,9 @@ KviTalWizard::KviTalWizard(TQWidget * pParent) m_p->pCancelButton->setMinimumWidth(80); TQObject::connect( m_p->pCancelButton, - TQT_SIGNAL(clicked()), + TQ_SIGNAL(clicked()), this, - TQT_SLOT(cancelButtonClicked()) + TQ_SLOT(cancelButtonClicked()) ); TQWidget * pSpacer = new TQWidget(pButtonBox); @@ -203,9 +203,9 @@ KviTalWizard::KviTalWizard(TQWidget * pParent) m_p->pHelpButton->setMinimumWidth(80); TQObject::connect( m_p->pHelpButton, - TQT_SIGNAL(clicked()), + TQ_SIGNAL(clicked()), this, - TQT_SLOT(helpButtonClicked()) + TQ_SLOT(helpButtonClicked()) ); TQWidget * pLargeSpacer = new TQWidget(pButtonBox); @@ -218,9 +218,9 @@ KviTalWizard::KviTalWizard(TQWidget * pParent) m_p->pBackButton->setMinimumWidth(80); TQObject::connect( m_p->pBackButton, - TQT_SIGNAL(clicked()), + TQ_SIGNAL(clicked()), this, - TQT_SLOT(backButtonClicked()) + TQ_SLOT(backButtonClicked()) ); m_p->pNextSpacer = new TQWidget(pButtonBox); @@ -232,9 +232,9 @@ KviTalWizard::KviTalWizard(TQWidget * pParent) m_p->pNextButton->setMinimumWidth(80); TQObject::connect( m_p->pNextButton, - TQT_SIGNAL(clicked()), + TQ_SIGNAL(clicked()), this, - TQT_SLOT(nextButtonClicked()) + TQ_SLOT(nextButtonClicked()) ); m_p->pFinishSpacer = new TQWidget(pButtonBox); @@ -244,9 +244,9 @@ KviTalWizard::KviTalWizard(TQWidget * pParent) m_p->pFinishButton->setMinimumWidth(80); TQObject::connect( m_p->pFinishButton, - TQT_SIGNAL(clicked()), + TQ_SIGNAL(clicked()), this, - TQT_SLOT(finishButtonClicked()) + TQ_SLOT(finishButtonClicked()) ); m_p->pLayout->setMargin(8); |