diff options
author | Michele Calgaro <[email protected]> | 2024-03-09 18:58:02 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-03-22 21:28:42 +0900 |
commit | 3723148aa321530969ae4dd7472c461b94b5405e (patch) | |
tree | e5d11a855ae5ab9b409ce5f478b3a78d310f39f5 /filters | |
parent | e220a1b2b9fa4c97bbcaabf51cd259e62edd3ab3 (diff) | |
download | koffice-3723148aa321530969ae4dd7472c461b94b5405e.tar.gz koffice-3723148aa321530969ae4dd7472c461b94b5405e.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 7a7827396f90ad06945cd5a367f93d8ffd380e0f)
Diffstat (limited to 'filters')
-rw-r--r-- | filters/karbon/svg/svgimport.cpp | 4 | ||||
-rw-r--r-- | filters/kpresenter/ooimpress/ooimpressimport.cpp | 2 | ||||
-rw-r--r-- | filters/kspread/gnumeric/gnumericimport.cpp | 2 | ||||
-rw-r--r-- | filters/kspread/qpro/libqpro/README | 8 | ||||
-rw-r--r-- | filters/kspread/qpro/libqpro/TODO | 2 | ||||
-rw-r--r-- | filters/kword/abiword/ImportHelpers.h | 2 | ||||
-rw-r--r-- | filters/kword/abiword/abiwordexport.cpp | 2 | ||||
-rw-r--r-- | filters/kword/html/import/tdehtmlreader.cpp | 2 | ||||
-rw-r--r-- | filters/kword/kword1.3/import/README | 2 | ||||
-rw-r--r-- | filters/kword/msword/texthandler.cpp | 2 | ||||
-rw-r--r-- | filters/kword/oowriter/oowriterimport.cpp | 4 | ||||
-rw-r--r-- | filters/kword/pdf/README | 6 |
12 files changed, 19 insertions, 19 deletions
diff --git a/filters/karbon/svg/svgimport.cpp b/filters/karbon/svg/svgimport.cpp index 9d323d3d..a528ea75 100644 --- a/filters/karbon/svg/svgimport.cpp +++ b/filters/karbon/svg/svgimport.cpp @@ -822,8 +822,8 @@ void SvgImport::parsePA( VObject *obj, SvgGraphicsContext *gc, const TQString &c { int weight = TQFont::Normal; - // map svg weight to qt weight - // svg value qt value + // map svg weight to tqt weight + // svg value tqt value // 100,200,300 1, 17, 33 // 400 50 (normal) // 500,600 58,66 diff --git a/filters/kpresenter/ooimpress/ooimpressimport.cpp b/filters/kpresenter/ooimpress/ooimpressimport.cpp index 8223e284..d61d7381 100644 --- a/filters/kpresenter/ooimpress/ooimpressimport.cpp +++ b/filters/kpresenter/ooimpress/ooimpressimport.cpp @@ -2189,7 +2189,7 @@ void OoImpressImport::appendField(TQDomDocument& doc, TQDomElement& e, const TQD } else if (isTextNS && tag == "time") { - // Use TQDateTime to work around a possible problem of TQTime::FromString in TQt 3.2.2 + // Use TQDateTime to work around a possible problem of TQTime::FromString in Qt 3.2.2 TQDateTime dt(TQDateTime::fromString(object.attributeNS( ooNS::text, "time-value", TQString()), TQt::ISODate)); bool fixed = (object.hasAttributeNS( ooNS::text, "fixed") && object.attributeNS( ooNS::text, "fixed", TQString())=="true"); diff --git a/filters/kspread/gnumeric/gnumericimport.cpp b/filters/kspread/gnumeric/gnumericimport.cpp index 511cfb0b..4ba33281 100644 --- a/filters/kspread/gnumeric/gnumericimport.cpp +++ b/filters/kspread/gnumeric/gnumericimport.cpp @@ -1196,7 +1196,7 @@ void GNUMERICFilter::setStyleInfo(TQDomNode * sheet, Sheet * table) else if (shade == "4") { kspread_cell->format()->setBackGroundBrushStyle(TQt::Dense5Pattern); - /* This should be 25%... All qt has is 37% */ + /* This should be 25%... All tqt has is 37% */ /* 4 25% */ } diff --git a/filters/kspread/qpro/libqpro/README b/filters/kspread/qpro/libqpro/README index d8c76ef3..707acbbc 100644 --- a/filters/kspread/qpro/libqpro/README +++ b/filters/kspread/qpro/libqpro/README @@ -14,11 +14,11 @@ spreadsheet program as part of the Quattro Pro filter. I have tried to write it as a reusable set of classes so that it may used by other people, particularly those writing spreadsheet filters. -KOffice programs rely heavily on the QT set of classes. A QT interface to +KOffice programs rely heavily on the TQt set of classes. A TQt interface to the library provides a lot of advantages. However I realise that not everyone -wants to include QT in their code and so the package produces either one or -two libraries. If QT is installed on the build machine then both libraries -are built, otherwise only the non-QT library is produced. +wants to include TQt in their code and so the package produces either one or +two libraries. If TQt is installed on the build machine then both libraries +are built, otherwise only the non-TQt library is produced. Installation ------------ diff --git a/filters/kspread/qpro/libqpro/TODO b/filters/kspread/qpro/libqpro/TODO index ae0cbb8c..de50024d 100644 --- a/filters/kspread/qpro/libqpro/TODO +++ b/filters/kspread/qpro/libqpro/TODO @@ -1,4 +1,4 @@ -1. Add USE_QT option to build a QT version of the library +1. Add USE_QT option to build a TQt version of the library 2. Add options to FormulaAsText function. e.g. optionRemoveAt to make removal of leading @ on functions optional. 3. Split classes into individual files diff --git a/filters/kword/abiword/ImportHelpers.h b/filters/kword/abiword/ImportHelpers.h index 04419b90..856fcf67 100644 --- a/filters/kword/abiword/ImportHelpers.h +++ b/filters/kword/abiword/ImportHelpers.h @@ -28,7 +28,7 @@ * Helpers for the AbiWord import filter * * Rough rule for including code in this file: - * use nothing of QT except TQMap, TQValueList and TQString + * use nothing of TQt except TQMap, TQValueList and TQString */ class AbiProps diff --git a/filters/kword/abiword/abiwordexport.cpp b/filters/kword/abiword/abiwordexport.cpp index ffc04016..5bb327f1 100644 --- a/filters/kword/abiword/abiwordexport.cpp +++ b/filters/kword/abiword/abiwordexport.cpp @@ -217,7 +217,7 @@ bool AbiWordWorker::doOpenDocument(void) // Make the file header // First the XML header in UTF-8 version - // (AbiWord and QT handle UTF-8 well, so we stay with this encoding!) + // (AbiWord and TQt handle UTF-8 well, so we stay with this encoding!) *m_streamOut << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; // NOTE: AbiWord CVS 2002-02-?? has a new DOCTYPE diff --git a/filters/kword/html/import/tdehtmlreader.cpp b/filters/kword/html/import/tdehtmlreader.cpp index 523bd672..a0e0abd8 100644 --- a/filters/kword/html/import/tdehtmlreader.cpp +++ b/filters/kword/html/import/tdehtmlreader.cpp @@ -459,7 +459,7 @@ static const TQColor parsecolor(const TQString& colorstring) else { // H'm, we have still not found the color! - // Let us see if QT can do better! + // Let us see if TQt can do better! color.setNamedColor(colorstring); } } diff --git a/filters/kword/kword1.3/import/README b/filters/kword/kword1.3/import/README index 88d09ff8..feb8c54b 100644 --- a/filters/kword/kword1.3/import/README +++ b/filters/kword/kword1.3/import/README @@ -11,7 +11,7 @@ The filter is a 4 pass filter. 1. Parsing 1a parsing documentinfo,xml (done classicaly with QDom) - 1b parsing maindoc.xml (class KWord13Parser, done with Qt's SAX parser: QXml) + 1b parsing maindoc.xml (class KWord13Parser, done with TQt's SAX parser: TQXml) 2. Postprocessing of parsing (class KWord13PostParsing) * loading of pictures * grouping tables cells (currently not done) diff --git a/filters/kword/msword/texthandler.cpp b/filters/kword/msword/texthandler.cpp index d2540869..0e6dfdc4 100644 --- a/filters/kword/msword/texthandler.cpp +++ b/filters/kword/msword/texthandler.cpp @@ -531,7 +531,7 @@ TQString KWordTextHandler::getFont(unsigned fc) const TQFontInfo info( xFont ); #ifdef FONT_DEBUG - kdDebug(30513) << " QT-FONT: " << info.family() << endl; + kdDebug(30513) << " TQt-FONT: " << info.family() << endl; #endif return info.family(); diff --git a/filters/kword/oowriter/oowriterimport.cpp b/filters/kword/oowriter/oowriterimport.cpp index 19449823..46d5b169 100644 --- a/filters/kword/oowriter/oowriterimport.cpp +++ b/filters/kword/oowriter/oowriterimport.cpp @@ -792,7 +792,7 @@ void OoWriterImport::importDateTimeStyle( const TQDomElement& parent ) #endif TQString styleName = parent.attributeNS( ooNS::style, "name", TQString() ); - kdDebug(30518) << "datetime style: " << styleName << " qt format=" << format << endl; + kdDebug(30518) << "datetime style: " << styleName << " tqt format=" << format << endl; m_dateTimeFormats.insert( styleName, format ); } @@ -1989,7 +1989,7 @@ void OoWriterImport::appendField(TQDomDocument& doc, TQDomElement& outputFormats } else if (localName == "time") { - // Use TQDateTime to work around a possible problem of TQTime::FromString in TQt 3.2.2 + // Use TQDateTime to work around a possible problem of TQTime::FromString in Qt 3.2.2 TQDateTime dt(TQDateTime::fromString(object.attributeNS( ooNS::text, "time-value", TQString()), TQt::ISODate)); bool fixed = (object.hasAttributeNS( ooNS::text, "fixed") && object.attributeNS( ooNS::text, "fixed", TQString())=="true"); diff --git a/filters/kword/pdf/README b/filters/kword/pdf/README index 97e537c7..9fdeaaea 100644 --- a/filters/kword/pdf/README +++ b/filters/kword/pdf/README @@ -15,7 +15,7 @@ able to open PDF files transparently by using this module. Requirements: You need the following libraries and headers (found usually in the "devel" packages of distributions): -- Qt >= 3.0 -- KDE >= 3.0 -- KOffice >= 1.2 +- TQt +- TDE +- KOffice |