summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoVariable.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /lib/kotext/KoVariable.cpp
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'lib/kotext/KoVariable.cpp')
-rw-r--r--lib/kotext/KoVariable.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kotext/KoVariable.cpp b/lib/kotext/KoVariable.cpp
index fa1b03fe..4b744faf 100644
--- a/lib/kotext/KoVariable.cpp
+++ b/lib/kotext/KoVariable.cpp
@@ -1211,7 +1211,7 @@ void KoDateVariable::resize()
void KoDateVariable::recalc()
{
if ( m_subtype == VST_DATE_CURRENT )
- m_varValue = TQDateTime(TQDateTime::tqcurrentDateTime().addDays(m_correctDate));
+ m_varValue = TQDateTime(TQDateTime::currentDateTime().addDays(m_correctDate));
else if ( m_subtype == VST_DATE_LAST_PRINTING )
m_varValue = m_varColl->variableSetting()->lastPrintingDate();
else if ( m_subtype == VST_DATE_CREATE_FILE )
@@ -1222,7 +1222,7 @@ void KoDateVariable::recalc()
{
// Only if never set before (i.e. upon insertion)
if ( m_varValue.isNull() )
- m_varValue = TQDateTime(TQDateTime::tqcurrentDateTime().addDays(m_correctDate));
+ m_varValue = TQDateTime(TQDateTime::currentDateTime().addDays(m_correctDate));
}
resize();
}
@@ -2505,7 +2505,7 @@ void KoLinkVariable::drawCustomItem( TQPainter* p, int x, int y, int wpix, int h
/******************************************************************/
KoNoteVariable::KoNoteVariable( KoTextDocument *textdoc, const TQString & _note,KoVariableFormat *varFormat,KoVariableCollection *_varColl )
: KoVariable( textdoc, varFormat,_varColl )
- , m_createdNoteDate( TQDate::tqcurrentDate() )
+ , m_createdNoteDate( TQDate::currentDate() )
{
m_varValue = TQVariant( _note );
}