summaryrefslogtreecommitdiffstats
path: root/interfaces/ktexteditor/templateinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/ktexteditor/templateinterface.cpp')
-rw-r--r--interfaces/ktexteditor/templateinterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/interfaces/ktexteditor/templateinterface.cpp b/interfaces/ktexteditor/templateinterface.cpp
index b19b1d10a..10576fe15 100644
--- a/interfaces/ktexteditor/templateinterface.cpp
+++ b/interfaces/ktexteditor/templateinterface.cpp
@@ -75,8 +75,8 @@ bool TemplateInterface::expandMacros( TQMap<TQString, TQString> &map, TQWidget *
KABC::StdAddressBook *addrBook = 0;
KABC::Addressee userAddress;
TQDateTime datetime = TQDateTime::tqcurrentDateTime();
- TQDate date = datetime.date();
- TQTime time = datetime.time();
+ TQDate date = TQT_TQDATE_OBJECT(datetime.date());
+ TQTime time = TQT_TQTIME_OBJECT(datetime.time());
TQMap<TQString,TQString>::Iterator it;
for ( it = map.begin(); it != map.end(); ++it )
@@ -173,7 +173,7 @@ bool TemplateInterface::insertTemplateText ( uint line, uint column, const TQStr
}
}
TQString placeholder = rx.cap( 1 );
- if ( ! enhancedInitValues.contains( placeholder ) )
+ if ( ! enhancedInitValues.tqcontains( placeholder ) )
enhancedInitValues[ placeholder ] = "";
pos += rx.matchedLength();