summaryrefslogtreecommitdiffstats
path: root/src/kvirc/ui/kvi_query.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvirc/ui/kvi_query.cpp')
-rw-r--r--src/kvirc/ui/kvi_query.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/kvirc/ui/kvi_query.cpp b/src/kvirc/ui/kvi_query.cpp
index ce26661..0d133bd 100644
--- a/src/kvirc/ui/kvi_query.cpp
+++ b/src/kvirc/ui/kvi_query.cpp
@@ -167,9 +167,9 @@ TQString KviQuery::getInfoLabelTipText()
txt += "<tr><td>";
if(e->hasRealName())
- tmp=__tr2qs("%1 is %2 (%3)").tqarg(m_szName).tqarg(szMask).tqarg(KviMircCntrl::stripControlBytes(e->realName()));
+ tmp=__tr2qs("%1 is %2 (%3)").arg(m_szName).arg(szMask).arg(KviMircCntrl::stripControlBytes(e->realName()));
else
- tmp=__tr2qs("%1 is %2").tqarg(m_szName).tqarg(szMask);
+ tmp=__tr2qs("%1 is %2").arg(m_szName).arg(szMask);
tmp.replace('&',"&amp;");
tmp.replace('<',"&lt;");
@@ -183,21 +183,21 @@ TQString KviQuery::getInfoLabelTipText()
{
txt+="<tr><td>";
if(e->hasHops())
- txt+=__tr2qs("%1 is using irc server: %2 (%3 hops)").tqarg(m_szName).tqarg(e->server()).tqarg(e->hops());
+ txt+=__tr2qs("%1 is using irc server: %2 (%3 hops)").arg(m_szName).arg(e->server()).arg(e->hops());
else
- txt+=__tr2qs("%1 is using irc server: %2").tqarg(m_szName).tqarg(e->server());
+ txt+=__tr2qs("%1 is using irc server: %2").arg(m_szName).arg(e->server());
txt+="</td></tr>";
}
if(e->isAway())
{
txt+="<tr><td>";
- txt+=__tr2qs("%1 is probably away").tqarg(m_szName);
+ txt+=__tr2qs("%1 is probably away").arg(m_szName);
txt+="</td></tr>";
}
txt+="<tr><td>";
- tmp=__tr2qs("Common channels with %1: %2").tqarg(m_szName).tqarg(szChans);
+ tmp=__tr2qs("Common channels with %1: %2").arg(m_szName).arg(szChans);
tmp.replace('&',"&amp;");
tmp.replace('<',"&lt;");
@@ -237,19 +237,19 @@ TQString KviQuery::getInfoLabelText()
else
szMask+="*";
if(e->hasRealName())
- tmp=__tr2qs("Query with %1!%2 (%3)").tqarg(m_szName).tqarg(szMask).tqarg(KviMircCntrl::stripControlBytes(e->realName()));
+ tmp=__tr2qs("Query with %1!%2 (%3)").arg(m_szName).arg(szMask).arg(KviMircCntrl::stripControlBytes(e->realName()));
else
- tmp=__tr2qs("Query with %1!%2").tqarg(m_szName).tqarg(szMask);
+ tmp=__tr2qs("Query with %1!%2").arg(m_szName).arg(szMask);
if(e->hasServer())
- tmp+=__tr2qs(", using server %1").tqarg(e->server());
+ tmp+=__tr2qs(", using server %1").arg(e->server());
if(e->hasHops())
- tmp+=__tr2qs(" (%1 hops)").tqarg(e->hops());
+ tmp+=__tr2qs(" (%1 hops)").arg(e->hops());
if(e->isAway())
tmp+=__tr2qs(", probably away");
tmp+="\n";
TQString szChans;
connection()->getCommonChannels(m_szName,szChans,0);
- tmp+=__tr2qs("Common channels: %2").tqarg(szChans);
+ tmp+=__tr2qs("Common channels: %2").arg(szChans);
} else {
tmp=__tr2qs("[Dead Query]");
}
@@ -547,7 +547,7 @@ void KviQuery::applyOptions()
{
m_pUserListView->applyOptions();
updateLabelText();
- // this applies options for IrcView and Input and forces the window to retqlayout
+ // this applies options for IrcView and Input and forces the window to relayout
KviWindow::applyOptions();
}
@@ -559,15 +559,15 @@ TQPixmap * KviQuery::myIconPtr()
void KviQuery::resizeEvent(TQResizeEvent *e)
{
int hght = m_pInput->heightHint();
- int hght2 = m_pButtonBox->tqsizeHint().height();
+ int hght2 = m_pButtonBox->sizeHint().height();
m_pButtonBox->setGeometry(0,0,width(),hght2);
m_pSplitter->setGeometry(0,hght2,width(),height() - (hght + hght2));
m_pInput->setGeometry(0,height() - hght,width(),hght);
}
-TQSize KviQuery::tqsizeHint() const
+TQSize KviQuery::sizeHint() const
{
- TQSize ret(m_pSplitter->tqsizeHint().width(),m_pIrcView->tqsizeHint().height() + m_pInput->heightHint());
+ TQSize ret(m_pSplitter->sizeHint().width(),m_pIrcView->sizeHint().height() + m_pInput->heightHint());
return ret;
}