summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoDocumentInfo.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:54:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-16 23:40:13 +0900
commitc8c5e11f05f023849896d09cf06917e9a2c016ca (patch)
treea62f00b0249b967528e115e2123b56d40633c17a /lib/kofficecore/KoDocumentInfo.cpp
parentc9973bfbf1091ef91f30b5ab456015676123aa47 (diff)
downloadkoffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.tar.gz
koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'lib/kofficecore/KoDocumentInfo.cpp')
-rw-r--r--lib/kofficecore/KoDocumentInfo.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/kofficecore/KoDocumentInfo.cpp b/lib/kofficecore/KoDocumentInfo.cpp
index d50c256d..ae50ba28 100644
--- a/lib/kofficecore/KoDocumentInfo.cpp
+++ b/lib/kofficecore/KoDocumentInfo.cpp
@@ -682,14 +682,14 @@ bool KoDocumentInfoAbout::saveOasis( KoXmlWriter &xmlWriter )
if ( m_creationDate.isValid() )
{
xmlWriter.startElement( "meta:creation-date" );
- xmlWriter.addTextNode( m_creationDate.toString( Qt::ISODate ) );
+ xmlWriter.addTextNode( m_creationDate.toString( TQt::ISODate ) );
xmlWriter.endElement();
}
if ( m_modificationDate.isValid() )
{
xmlWriter.startElement( "dc:date" );
- xmlWriter.addTextNode( m_modificationDate.toString( Qt::ISODate ) );
+ xmlWriter.addTextNode( m_modificationDate.toString( TQt::ISODate ) );
xmlWriter.endElement();
}
return true;
@@ -729,13 +729,13 @@ bool KoDocumentInfoAbout::loadOasis( const TQDomNode& metaDoc )
e = KoDom::namedItemNS( metaDoc, KoXmlNS::meta, "creation-date" );
if ( !e.isNull() && !e.text().isEmpty() )
- m_creationDate = TQDateTime::fromString( e.text(), Qt::ISODate );
+ m_creationDate = TQDateTime::fromString( e.text(), TQt::ISODate );
else
m_creationDate = TQDateTime();
e = KoDom::namedItemNS( metaDoc, KoXmlNS::dc, "date" );
if ( !e.isNull() && !e.text().isEmpty() )
- m_modificationDate = TQDateTime::fromString( e.text(), Qt::ISODate );
+ m_modificationDate = TQDateTime::fromString( e.text(), TQt::ISODate );
return true;
}
@@ -760,9 +760,9 @@ bool KoDocumentInfoAbout::load( const TQDomElement& e )
else if ( e.tagName() == "editing-cycles" )
m_editingCycles = e.text().toInt();
else if ( e.tagName() == "creation-date" )
- m_creationDate = TQDateTime::fromString( e.text(), Qt::ISODate );
+ m_creationDate = TQDateTime::fromString( e.text(), TQt::ISODate );
else if ( e.tagName() == "date" )
- m_modificationDate = TQDateTime::fromString( e.text(), Qt::ISODate );
+ m_modificationDate = TQDateTime::fromString( e.text(), TQt::ISODate );
}
return true;
@@ -800,11 +800,11 @@ TQDomElement KoDocumentInfoAbout::save( TQDomDocument& doc )
t = doc.createElement( "creation-date" );
e.appendChild( t );
- t.appendChild( doc.createTextNode( m_creationDate.toString( Qt::ISODate ) ) );
+ t.appendChild( doc.createTextNode( m_creationDate.toString( TQt::ISODate ) ) );
t = doc.createElement( "date" );
e.appendChild( t );
- t.appendChild( doc.createTextNode( m_modificationDate.toString( Qt::ISODate ) ) );
+ t.appendChild( doc.createTextNode( m_modificationDate.toString( TQt::ISODate ) ) );
return e;
}