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 | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /kspread/dialogs/link.cc | |
parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
download | koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspread/dialogs/link.cc')
-rw-r--r-- | kspread/dialogs/link.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kspread/dialogs/link.cc b/kspread/dialogs/link.cc index 0e115e01..aba1a170 100644 --- a/kspread/dialogs/link.cc +++ b/kspread/dialogs/link.cc @@ -165,23 +165,23 @@ TQString LinkDialog::link() const case 0: str = d->internetLink->text(); if( !str.isEmpty() ) - if( str.tqfind( "http://" )==-1 ) - if( str.tqfind( "https://" )==-1 ) - if( str.tqfind( "ftp://" )==-1 ) + if( str.find( "http://" )==-1 ) + if( str.find( "https://" )==-1 ) + if( str.find( "ftp://" )==-1 ) str.prepend( "http://" ); break; case 1: str = d->mailLink->text(); if( !str.isEmpty() ) - if( str.tqfind( "mailto:" )==-1 ) + if( str.find( "mailto:" )==-1 ) str.prepend( "mailto:" ); break; case 2: str = d->fileLink->lineEdit()->text(); if( !str.isEmpty() ) - if( str.tqfind( "file:/" )==-1 ) + if( str.find( "file:/" )==-1 ) str.prepend( "file://" ); break; |