summaryrefslogtreecommitdiffstats
path: root/kcontrol/kfontinst/kfontinst
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/kfontinst/kfontinst')
-rw-r--r--kcontrol/kfontinst/kfontinst/FontEngine.cpp4
-rw-r--r--kcontrol/kfontinst/kfontinst/Fontmap.cpp4
-rw-r--r--kcontrol/kfontinst/kfontinst/GetPid.c2
-rw-r--r--kcontrol/kfontinst/kfontinst/XConfig.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/kcontrol/kfontinst/kfontinst/FontEngine.cpp b/kcontrol/kfontinst/kfontinst/FontEngine.cpp
index 7f14d556f..4fe823c23 100644
--- a/kcontrol/kfontinst/kfontinst/FontEngine.cpp
+++ b/kcontrol/kfontinst/kfontinst/FontEngine.cpp
@@ -157,13 +157,13 @@ CFontEngine::EWeight CFontEngine::strToWeight(const char *str)
static void removeSymbols(TQString &str)
{
- str.tqreplace(TQRegExp("[\\-\\[\\]()]"), " ");
+ str.replace(TQRegExp("[\\-\\[\\]()]"), " ");
int len=str.length();
TQChar space(' ');
for(int c=0; c<len; ++c)
- if(str[c].tqunicode()<0x20 || str[c].tqunicode()>0x7E)
+ if(str[c].unicode()<0x20 || str[c].unicode()>0x7E)
str[c]=space;
str=str.simplifyWhiteSpace();
diff --git a/kcontrol/kfontinst/kfontinst/Fontmap.cpp b/kcontrol/kfontinst/kfontinst/Fontmap.cpp
index a63efeb5d..476b422bd 100644
--- a/kcontrol/kfontinst/kfontinst/Fontmap.cpp
+++ b/kcontrol/kfontinst/kfontinst/Fontmap.cpp
@@ -113,7 +113,7 @@ static TQString createX11PsName(const TQString &font)
unsigned int ch;
bool newWord=true;
- newName.tqreplace(TQRegExp("\\-"), "_");
+ newName.replace(TQRegExp("\\-"), "_");
for(ch=0; ch<newName.length(); ++ch)
{
@@ -136,7 +136,7 @@ static TQString createX11PsName(const TQString &font)
}
}
- newName.tqreplace(" ", TQString::null);
+ newName.replace(" ", TQString::null);
return newName;
}
diff --git a/kcontrol/kfontinst/kfontinst/GetPid.c b/kcontrol/kfontinst/kfontinst/GetPid.c
index 1251c030c..015ea7ce9 100644
--- a/kcontrol/kfontinst/kfontinst/GetPid.c
+++ b/kcontrol/kfontinst/kfontinst/GetPid.c
@@ -71,7 +71,7 @@
gcc GetPid.c -DTEST_GETPID -DOS_Linux -o tst
- ...tqreplace OS_Linux with your particular OS type: OS_FreeBSD, OS_NetBSD, OS_Irix, OS_Solaris,
+ ...replace OS_Linux with your particular OS type: OS_FreeBSD, OS_NetBSD, OS_Irix, OS_Solaris,
OS_HPUX, or OS_AIX
2. Start a program - such as "vi"
diff --git a/kcontrol/kfontinst/kfontinst/XConfig.cpp b/kcontrol/kfontinst/kfontinst/XConfig.cpp
index 6b0b54340..112ab3d3c 100644
--- a/kcontrol/kfontinst/kfontinst/XConfig.cpp
+++ b/kcontrol/kfontinst/kfontinst/XConfig.cpp
@@ -748,7 +748,7 @@ CXConfig::TPath::EType CXConfig::TPath::getType(const TQString &d)
{
TQString str(d);
- str.tqreplace(TQRegExp("\\s*"), "");
+ str.replace(TQRegExp("\\s*"), "");
return 0==str.find("unix/:")
? FONT_SERVER