summaryrefslogtreecommitdiffstats
path: root/kate/snippets/plugin_katesnippets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/snippets/plugin_katesnippets.cpp')
-rw-r--r--kate/snippets/plugin_katesnippets.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kate/snippets/plugin_katesnippets.cpp b/kate/snippets/plugin_katesnippets.cpp
index d895989..856cfbc 100644
--- a/kate/snippets/plugin_katesnippets.cpp
+++ b/kate/snippets/plugin_katesnippets.cpp
@@ -171,8 +171,8 @@ void KatePluginSnippetsView::slot_lvSnippetsClicked (TQListViewItem * item) {
}
sText.replace( TQRegExp("<mark/>"), sSelection );
- sText.replace( TQRegExp("<date/>"), TQDate::currentDate().toString(Qt::LocalDate) );
- sText.replace( TQRegExp("<time/>"), TQTime::currentTime().toString(Qt::LocalDate) );
+ sText.replace( TQRegExp("<date/>"), TQDate::currentDate().toString(TQt::LocalDate) );
+ sText.replace( TQRegExp("<time/>"), TQTime::currentTime().toString(TQt::LocalDate) );
kv->insertText ( sText );
}
kv->setFocus();