summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrDocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrDocument.cpp')
-rw-r--r--kpresenter/KPrDocument.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/KPrDocument.cpp b/kpresenter/KPrDocument.cpp
index 7a880406b..d7cb13cf6 100644
--- a/kpresenter/KPrDocument.cpp
+++ b/kpresenter/KPrDocument.cpp
@@ -490,7 +490,7 @@ TQDomDocument KPrDocument::saveXML()
emit sigProgress( 0 );
}
- m_varColl->variableSetting()->setModificationDate(TQDateTime::tqcurrentDateTime());
+ m_varColl->variableSetting()->setModificationDate(TQDateTime::currentDateTime());
recalcVariables( VT_DATE );
recalcVariables( VT_TIME );
recalcVariables( VT_STATISTIC );
@@ -1006,7 +1006,7 @@ bool KPrDocument::saveOasis( KoStore* store, KoXmlWriter* manifestWriter )
KoXmlWriter* contentWriter = createOasisXmlWriter( &contentDev, "office:document-content" );
- m_varColl->variableSetting()->setModificationDate(TQDateTime::tqcurrentDateTime());
+ m_varColl->variableSetting()->setModificationDate(TQDateTime::currentDateTime());
recalcVariables( VT_DATE );
recalcVariables( VT_TIME );
recalcVariables( VT_STATISTIC );
@@ -3386,7 +3386,7 @@ void KPrDocument::setEmpty()
{
KoDocument::setEmpty();
// Whether loaded from template or from empty doc: this is a new one -> set creation date
- m_varColl->variableSetting()->setCreationDate(TQDateTime::tqcurrentDateTime());
+ m_varColl->variableSetting()->setCreationDate(TQDateTime::currentDateTime());
recalcVariables( VT_DATE ); // , VST_CREATION_DATE ...
// If we then load a document, it will override that date.
}