summaryrefslogtreecommitdiffstats
path: root/kbabel
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-25 18:15:15 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-31 09:47:02 +0900
commit4a1cc838f1df08deb28074f7c161e7b59ac3f3a5 (patch)
tree1d6344c2c2454e32a8f76cc761d812ea9794e503 /kbabel
parent3c1e2ceb3aac4f825a4774f05dc7316ac85b92f2 (diff)
downloadtdesdk-4a1cc838f1df08deb28074f7c161e7b59ac3f3a5.tar.gz
tdesdk-4a1cc838f1df08deb28074f7c161e7b59ac3f3a5.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0fc9d37b2bd1bd32f3b975af0859e9dd248dc57b)
Diffstat (limited to 'kbabel')
-rw-r--r--kbabel/common/poinfo.cpp4
-rw-r--r--kbabel/filters/gettext/gettextimport.cpp1
2 files changed, 2 insertions, 3 deletions
diff --git a/kbabel/common/poinfo.cpp b/kbabel/common/poinfo.cpp
index 535292db..17d930d9 100644
--- a/kbabel/common/poinfo.cpp
+++ b/kbabel/common/poinfo.cpp
@@ -305,7 +305,7 @@ PoInfo PoInfo::headerInfo(const CatalogItem& headerItem)
TQString value=(*it).mid(res+1);
// "Chop" the \n at the end
if (value.endsWith("\\n"))
- value.remove(value.length()-2,2); // ### TQt4: use value.chop(2)
+ value.remove(value.length()-2,2);
value=value.simplifyWhiteSpace();
kdDebug(KBABEL) << "Header key: " << key << " value: " << value << endl;
if (key=="Project-Id-Version")
@@ -335,7 +335,7 @@ PoInfo PoInfo::headerInfo(const CatalogItem& headerItem)
TQString line=(*it);
if(line.right(2)=="\\n")
- line.remove(line.length()-2,2); // ### TQt4: use value.chop(2)
+ line.remove(line.length()-2,2);
if(!info.others.isEmpty())
info.others+='\n';
diff --git a/kbabel/filters/gettext/gettextimport.cpp b/kbabel/filters/gettext/gettextimport.cpp
index cf44b248..fb59fb4b 100644
--- a/kbabel/filters/gettext/gettextimport.cpp
+++ b/kbabel/filters/gettext/gettextimport.cpp
@@ -406,7 +406,6 @@ ConversionStatus GettextImportPlugin::readEntry(TQTextStream& stream)
//kdDebug() << "Parsing line: " << line << endl;
- // ### TQt4: no need of a such a check
if(line.isNull()) // file end
break;
else if ( line.startsWith( "<<<<<<<" ) || line.startsWith( "=======" ) || line.startsWith( ">>>>>>>" ) )