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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/snippets/plugin_katesnippets.cpp b/kate/snippets/plugin_katesnippets.cpp
index 8e0d6cb..018faf8 100644
--- a/kate/snippets/plugin_katesnippets.cpp
+++ b/kate/snippets/plugin_katesnippets.cpp
@@ -170,9 +170,9 @@ void KatePluginSnippetsView::slot_lvSnippetsClicked (TQListViewItem * item) {
kv->keyDelete();
}
- sText.tqreplace( TQRegExp("<mark/>"), sSelection );
- sText.tqreplace( TQRegExp("<date/>"), TQDate::tqcurrentDate().toString(Qt::LocalDate) );
- sText.tqreplace( TQRegExp("<time/>"), TQTime::currentTime().toString(Qt::LocalDate) );
+ sText.replace( TQRegExp("<mark/>"), sSelection );
+ sText.replace( TQRegExp("<date/>"), TQDate::tqcurrentDate().toString(Qt::LocalDate) );
+ sText.replace( TQRegExp("<time/>"), TQTime::currentTime().toString(Qt::LocalDate) );
kv->insertText ( sText );
}
kv->setFocus();