From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: TQt4 port kdegraphics This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksvg/impl/SVGLangSpaceImpl.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ksvg/impl/SVGLangSpaceImpl.cc') diff --git a/ksvg/impl/SVGLangSpaceImpl.cc b/ksvg/impl/SVGLangSpaceImpl.cc index 92919698..5a55ef15 100644 --- a/ksvg/impl/SVGLangSpaceImpl.cc +++ b/ksvg/impl/SVGLangSpaceImpl.cc @@ -67,19 +67,19 @@ TQString SVGLangSpaceImpl::handleText(const TQString &data) const { // Spec: What to do here? // It will convert all newline and tab characters into space characters - result.replace("\n\r", TQString(" ")); - result.replace("\r\n", TQString(" ")); - result.replace('\t', ' '); + result.tqreplace("\n\r", TQString(" ")); + result.tqreplace("\r\n", TQString(" ")); + result.tqreplace('\t', ' '); } else if(xmlspace() == "default") { // Spec: What to do here? - // First, it will remove all newline characters (replace) + // First, it will remove all newline characters (tqreplace) // Then it will convert all tab characters into space characters (simplifyWhiteSpace) // Then, it will strip off all leading and trailing space characters (stripWhiteSpace) // Then, all contiguous space characters will be consolidated. (simplifyWhiteSpace) - result.replace('\n', TQString::null); - result.replace('\r', TQString::null); + result.tqreplace('\n', TQString()); + result.tqreplace('\r', TQString()); result = result.stripWhiteSpace().simplifyWhiteSpace(); } -- cgit v1.2.3