summaryrefslogtreecommitdiffstats
path: root/src/kvirc/kernel/kvi_app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvirc/kernel/kvi_app.cpp')
-rw-r--r--src/kvirc/kernel/kvi_app.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kvirc/kernel/kvi_app.cpp b/src/kvirc/kernel/kvi_app.cpp
index 3e68ec5..30f26dc 100644
--- a/src/kvirc/kernel/kvi_app.cpp
+++ b/src/kvirc/kernel/kvi_app.cpp
@@ -482,8 +482,8 @@ void KviApp::setup()
{
TQString szStyleData;
KviFileUtils::readFile(szStylesheetFile,szStyleData);
- szStyleData.tqreplace("global://",m_szGlobalKvircDir);
- szStyleData.tqreplace("local://",m_szLocalKvircDir);
+ szStyleData.replace("global://",m_szGlobalKvircDir);
+ szStyleData.replace("local://",m_szLocalKvircDir);
setStyleSheet(szStyleData);
}
#endif
@@ -703,7 +703,7 @@ void KviApp::contextSensitiveHelp()
TQMetaObject * o = w->tqmetaObject();
if(o)
{
- int i = o->tqfindProperty("contextSensitiveHelp",true);
+ int i = o->findProperty("contextSensitiveHelp",true);
if(i != -1)
{
TQVariant v = w->property("contextSensitiveHelp");
@@ -733,7 +733,7 @@ void KviApp::loadDefaultScript()
cmd.prepend("parse \"");
cmd.append("\"");
#ifdef COMPILE_ON_WINDOWS
- cmd.tqreplace("\\","\\\\");
+ cmd.replace("\\","\\\\");
#endif
KviKvsScript::run(cmd,g_pFrame->firstConsole());
// now line up the toolbars (they may get messed while loading the script)
@@ -1785,7 +1785,7 @@ KviConsole * KviApp::topmostConnectedConsole()
KviWindow * KviApp::findWindow(const char * windowId)
{
- return g_pGlobalWindowDict->tqfind(windowId);
+ return g_pGlobalWindowDict->find(windowId);
}
KviWindow * KviApp::findWindowByCaption(const TQString &windowCaption,int iContextId)
@@ -1869,10 +1869,10 @@ void KviApp::addRecentChannel(const TQString& szChan,const TQString& net)
{
if(!m_pRecentChannelsDict)
buildRecentChannels();
- TQStringList* pList=m_pRecentChannelsDict->tqfind(net.utf8().data());
+ TQStringList* pList=m_pRecentChannelsDict->find(net.utf8().data());
if(pList)
{
- if(!pList->tqcontains(szChan)) pList->append(szChan);
+ if(!pList->contains(szChan)) pList->append(szChan);
}
else
{
@@ -1900,10 +1900,10 @@ void KviApp::buildRecentChannels()
szNet = (*it).section( KVI_RECENT_CHANNELS_SEPARATOR, 1 );
if(!szNet.isEmpty())
{
- TQStringList* pList=m_pRecentChannelsDict->tqfind(szNet.utf8().data());
+ TQStringList* pList=m_pRecentChannelsDict->find(szNet.utf8().data());
if(pList)
{
- if(!pList->tqcontains(szChan)) pList->append(szChan);
+ if(!pList->contains(szChan)) pList->append(szChan);
}
else
{
@@ -1935,7 +1935,7 @@ void KviApp::saveRecentChannels()
TQStringList* KviApp::getRecentChannels(const TQString& net)
{
if(!m_pRecentChannelsDict) buildRecentChannels();
- return m_pRecentChannelsDict->tqfind(net.utf8().data());
+ return m_pRecentChannelsDict->find(net.utf8().data());
}