diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 627b091fad9df13695f249588e8a58f524eda0fa (patch) | |
tree | 98ff502a8743af48d8b88996e9a494fec4110586 /kate/snippets/plugin_katesnippets.cpp | |
parent | f6e9c8d694be3d1df338b385125e13db41af0b1f (diff) | |
download | tdeaddons-627b091fad9df13695f249588e8a58f524eda0fa.tar.gz tdeaddons-627b091fad9df13695f249588e8a58f524eda0fa.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/snippets/plugin_katesnippets.cpp')
-rw-r--r-- | kate/snippets/plugin_katesnippets.cpp | 6 |
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(); |