diff options
Diffstat (limited to 'kvoctrain/kvoctrain/kva_clip.cpp')
-rw-r--r-- | kvoctrain/kvoctrain/kva_clip.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kvoctrain/kvoctrain/kva_clip.cpp b/kvoctrain/kvoctrain/kva_clip.cpp index 12dbc3da..9d272a4e 100644 --- a/kvoctrain/kvoctrain/kva_clip.cpp +++ b/kvoctrain/kvoctrain/kva_clip.cpp @@ -41,9 +41,9 @@ void kvoctrainApp::slotSmartSearchClip() TQString entries = TQApplication::tqclipboard()->text(); if (!entries.isEmpty()) { - int pos = entries.tqfind ('\n'); // search for a line end + int pos = entries.find ('\n'); // search for a line end if (pos < 0) - pos = entries.tqfind ('\r'); + pos = entries.find ('\r'); if (pos < 0) // just first "line" s = entries; @@ -175,9 +175,9 @@ void kvoctrainApp::slotEditPaste() TQString num; // view->setView(0, langset, gradecols); while (!entries.isEmpty()) { - int pos = entries.tqfind ('\n'); // search for a line end + int pos = entries.find ('\n'); // search for a line end if (pos < 0) { - pos = entries.tqfind ('\r'); // mac style ? + pos = entries.find ('\r'); // mac style ? } if (pos < 0) { |