summaryrefslogtreecommitdiffstats
path: root/src/modules/aliaseditor/aliaseditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/aliaseditor/aliaseditor.cpp')
-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 a8c8c6f..70fc661 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,