summaryrefslogtreecommitdiffstats
path: root/lib/util/filetemplate.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:25 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:25 -0600
commit1623fe64102c18ab098b79656b80f28cef840756 (patch)
tree78f35fef11ea3dbbca1ba4c99937736a1a0894cf /lib/util/filetemplate.cpp
parentb6ba5d642f3fc7d320e3d6f4650eb259a3a52b04 (diff)
downloadtdevelop-1623fe64102c18ab098b79656b80f28cef840756.tar.gz
tdevelop-1623fe64102c18ab098b79656b80f28cef840756.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.
Diffstat (limited to 'lib/util/filetemplate.cpp')
-rw-r--r--lib/util/filetemplate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/util/filetemplate.cpp b/lib/util/filetemplate.cpp
index 34165e84..e0425614 100644
--- a/lib/util/filetemplate.cpp
+++ b/lib/util/filetemplate.cpp
@@ -23,7 +23,7 @@
#include <tqfile.h>
#include <tqfileinfo.h>
#include <tqregexp.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <kstandarddirs.h>
@@ -69,8 +69,8 @@ TQString FileTemplate::makeSubstitutions( TQDomDocument & dom, const TQString &
TQString email = DomUtil::readEntry(dom, "/general/email");
TQString version = DomUtil::readEntry(dom, "/general/version");
TQString appname = DomUtil::readEntry(dom, "/general/projectname");
- TQString date = TQDate::currentDate().toString();
- TQString year = TQString::number(TQDate::currentDate().year());
+ TQString date = TQDate::tqcurrentDate().toString();
+ TQString year = TQString::number(TQDate::tqcurrentDate().year());
TQString str = text;
str.replace(TQRegExp("\\$EMAIL\\$"),email);