summaryrefslogtreecommitdiffstats
path: root/src/modules/aliaseditor
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit72aaee9802d447ee21340b011856b9b355a58f1a (patch)
treef97a68e4f75e6c25c8492e03fdfe6983fb0aa199 /src/modules/aliaseditor
parent5d03948cd3558c613fae1fad109635f860babcbb (diff)
downloadkvirc-72aaee9802d447ee21340b011856b9b355a58f1a.tar.gz
kvirc-72aaee9802d447ee21340b011856b9b355a58f1a.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/aliaseditor')
-rw-r--r--src/modules/aliaseditor/aliaseditor.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/modules/aliaseditor/aliaseditor.cpp b/src/modules/aliaseditor/aliaseditor.cpp
index a8c8c6fe..70fc661b 100644
--- a/src/modules/aliaseditor/aliaseditor.cpp
+++ b/src/modules/aliaseditor/aliaseditor.cpp
@@ -236,7 +236,7 @@ KviAliasEditor::KviAliasEditor(TQWidget * par)
TQToolTip::add(m_pRenameButton,__tr2qs("Edit the alias or namespace name"));
m_pEditor = KviScriptEditor::createInstance(box);
m_pEditor->setFocus();
- connect(m_pEditor,TQT_SIGNAL(tqfind(const TQString &)),this,TQT_SLOT(slotFindWord(const TQString &)));
+ connect(m_pEditor,TQT_SIGNAL(find(const TQString &)),this,TQT_SLOT(slotFindWord(const TQString &)));
connect(m_pEditor,TQT_SIGNAL(replaceAll(const TQString &,const TQString &)),this,TQT_SLOT(slotReplaceAll(const TQString &,const TQString &)));
m_pContextPopup = new KviTalPopupMenu(this);
@@ -487,10 +487,10 @@ void KviAliasEditor::recursiveSearchReplace(const TQString &szSearch,KviAliasEdi
if(!it)return;
if(it->isAlias())
{
- if(((KviAliasListViewItem *)it)->buffer().tqfind(szSearch,0,false) != -1)
+ if(((KviAliasListViewItem *)it)->buffer().find(szSearch,0,false) != -1)
{
it->setPixmap(0,*(g_pIconManager->getSmallIcon(KVI_SMALLICON_ALIASHIGHLIGHTED)));
- if (bReplace) ((TQString &)((KviAliasListViewItem *)it)->buffer()).tqreplace(szSearch,szReplace,false);
+ if (bReplace) ((TQString &)((KviAliasListViewItem *)it)->buffer()).replace(szSearch,szReplace,false);
openParentItems(it);
} else
it->setPixmap(0,*(g_pIconManager->getSmallIcon(KVI_SMALLICON_ALIAS)));
@@ -606,7 +606,7 @@ void KviAliasEditor::exportSelectionInSinglesFiles(KviPointerList<KviAliasListVi
getExportAliasBuffer(tmp,it);
TQString szFileName=buildFullItemName(it);
szFileName += ".kvs";
- szFileName.tqreplace("::","_");
+ szFileName.replace("::","_");
TQString szCompletePath=m_szDir+szFileName;
if (KviFileUtils::fileExists(szCompletePath) && !bReplaceAll)
@@ -672,7 +672,7 @@ void KviAliasEditor::exportAliases(bool bSelectedOnly,bool bSingleFiles)
if (count==1)
{
TQString tmp=buildFullItemName(tempitem);
- szNameFile = tmp.tqreplace("::","_");
+ szNameFile = tmp.replace("::","_");
}
else szNameFile="aliases";
szName += szNameFile;
@@ -894,8 +894,8 @@ TQString KviAliasEditor::askForAliasName(const TQString &szAction,const TQString
}
// make sure that we have only doubled "::" and not ":" or ":::..."
TQString tmp = szNewName;
- tmp.tqreplace("::","@"); // @ is not allowed by the rule above
- if(tmp.tqfind(":") != -1)
+ tmp.replace("::","@"); // @ is not allowed by the rule above
+ if(tmp.find(":") != -1)
{
g_pAliasEditorModule->lock();
TQMessageBox::information(this,
@@ -906,7 +906,7 @@ TQString KviAliasEditor::askForAliasName(const TQString &szAction,const TQString
szNewName = "";
continue;
}
- if(tmp.tqfind("@@") != -1)
+ if(tmp.find("@@") != -1)
{
g_pAliasEditorModule->lock();
TQMessageBox::information(this,
@@ -963,8 +963,8 @@ TQString KviAliasEditor::askForNamespaceName(const TQString &szAction,const TQSt
}
// make sure that we have only doubled "::" and not ":" or ":::..."
TQString tmp = szNewName;
- tmp.tqreplace("::","@"); // @ is not allowed by the rule above
- if(tmp.tqfind(":") != -1)
+ tmp.replace("::","@"); // @ is not allowed by the rule above
+ if(tmp.find(":") != -1)
{
g_pAliasEditorModule->lock();
TQMessageBox::information(this,
@@ -975,7 +975,7 @@ TQString KviAliasEditor::askForNamespaceName(const TQString &szAction,const TQSt
szNewName = "";
continue;
}
- if(tmp.tqfind("@@") != -1)
+ if(tmp.find("@@") != -1)
{
g_pAliasEditorModule->lock();
TQMessageBox::information(this,