summaryrefslogtreecommitdiffstats
path: root/src/kvirc/ui/kvi_console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvirc/ui/kvi_console.cpp')
-rw-r--r--src/kvirc/ui/kvi_console.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kvirc/ui/kvi_console.cpp b/src/kvirc/ui/kvi_console.cpp
index f8cae84..3a1e7a6 100644
--- a/src/kvirc/ui/kvi_console.cpp
+++ b/src/kvirc/ui/kvi_console.cpp
@@ -133,20 +133,20 @@ KviConsole::KviConsole(KviFrame * lpFrm,int iFlags)
m_pAddressEdit->setMinimumHeight(24); //icon is 16px, + margins
m_pButtonBox->setStretchFactor(m_pAddressEdit,1);
KviTalToolTip::add(m_pAddressEdit,__tr2qs("Current IRC URI"));
- connect(m_pAddressEdit,TQT_SIGNAL(activated(const TQString & )),this,TQT_SLOT(ircUriChanged(const TQString & )));
- connect(g_pApp,TQT_SIGNAL(recentUrlsChanged()),this,TQT_SLOT(recentUrlsChanged()));
+ connect(m_pAddressEdit,TQ_SIGNAL(activated(const TQString & )),this,TQ_SLOT(ircUriChanged(const TQString & )));
+ connect(g_pApp,TQ_SIGNAL(recentUrlsChanged()),this,TQ_SLOT(recentUrlsChanged()));
m_pSplitter = new TQSplitter(TQt::Horizontal,this,"splitter");
m_pIrcView = new KviIrcView(m_pSplitter,lpFrm,this);
- connect(m_pIrcView,TQT_SIGNAL(rightClicked()),this,TQT_SLOT(textViewRightClicked()));
+ connect(m_pIrcView,TQ_SIGNAL(rightClicked()),this,TQ_SLOT(textViewRightClicked()));
// FIXME: #warning "If notify list is disabled avoid to show this"
// FIXME: #warning "Button to show/hide the notifyListView (NOT DELETE RE_CREATE!)"
// The userlist on the right
//m_pEditorsContainer= new KviToolWindowsContainer(m_pSplitter);
m_pNotifyViewButton = new KviWindowToolPageButton(KVI_SMALLICON_HIDELISTVIEW,KVI_SMALLICON_SHOWLISTVIEW,__tr2qs("Notify List"),buttonContainer(),true,"list_view_button");
- connect(m_pNotifyViewButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(toggleNotifyView()));
+ connect(m_pNotifyViewButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(toggleNotifyView()));
m_pNotifyListView = new KviUserListView(m_pSplitter,m_pNotifyViewButton,0,this,19,__tr2qs("Notify List"),"notify_list_view");
@@ -255,19 +255,19 @@ void KviConsole::fillContextPopup(KviTalPopupMenu * p)
cc = channelCount();
qc = queryCount();
p->insertSeparator();
- id = p->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_CHANNEL)),__tr2qs("Part All Channels"),connection(),TQT_SLOT(partAllChannels()));
+ id = p->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_CHANNEL)),__tr2qs("Part All Channels"),connection(),TQ_SLOT(partAllChannels()));
if(!cc)p->setItemEnabled(id,false);
- id = p->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUERY)),__tr2qs("Close All Queries"),connection(),TQT_SLOT(closeAllQueries()));
+ id = p->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_QUERY)),__tr2qs("Close All Queries"),connection(),TQ_SLOT(closeAllQueries()));
if(!qc)p->setItemEnabled(id,false);
}
p->insertSeparator();
- p->insertItem(__tr2qs("Unhighlight All Windows"),context(),TQT_SLOT(unhighlightAllWindows()));
+ p->insertItem(__tr2qs("Unhighlight All Windows"),context(),TQ_SLOT(unhighlightAllWindows()));
if(connection())
{
- id = p->insertItem(__tr2qs("Unhighlight All Channels"),connection(),TQT_SLOT(unhighlightAllChannels()));
+ id = p->insertItem(__tr2qs("Unhighlight All Channels"),connection(),TQ_SLOT(unhighlightAllChannels()));
if(!cc)p->setItemEnabled(id,false);
- id = p->insertItem(__tr2qs("Unhighlight All Queries"),connection(),TQT_SLOT(unhighlightAllQueries()));
+ id = p->insertItem(__tr2qs("Unhighlight All Queries"),connection(),TQ_SLOT(unhighlightAllQueries()));
if(!qc)p->setItemEnabled(id,false);
}
}
@@ -513,7 +513,7 @@ void KviConsole::updateUri()
void KviConsole::connectionAttached()
{
//need to update URI
- connect(m_pContext->connection(),TQT_SIGNAL(chanListChanged()),this,TQT_SLOT(updateUri()));
+ connect(m_pContext->connection(),TQ_SIGNAL(chanListChanged()),this,TQ_SLOT(updateUri()));
updateUri();
m_pNotifyListView->setUserDataBase(connection()->userDataBase());
}