From e985f7e545f4739493965aad69bbecb136dc9346 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Jun 2011 19:02:47 +0000 Subject: TQt4 port kdewebdev This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- quanta/src/dcopsettings.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'quanta/src/dcopsettings.cpp') diff --git a/quanta/src/dcopsettings.cpp b/quanta/src/dcopsettings.cpp index 504eca84..c640b956 100644 --- a/quanta/src/dcopsettings.cpp +++ b/quanta/src/dcopsettings.cpp @@ -28,9 +28,9 @@ DCOPSettings::DCOPSettings() : DCOPObject("SettingsIf") TQString DCOPSettings::encoding() { TQString encoding = quantaApp->defaultEncoding(); - encoding.replace("iso ", "iso-"); //it's said that "iso-8859-x" is the valid format - encoding.replace("utf", "utf-"); //it's said that "utf-x" is the valid format - encoding.replace("cp ", "windows-"); + encoding.tqreplace("iso ", "iso-"); //it's said that "iso-8859-x" is the valid format + encoding.tqreplace("utf", "utf-"); //it's said that "utf-x" is the valid format + encoding.tqreplace("cp ", "windows-"); return encoding; } -- cgit v1.2.3