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 | 6335dc55802871b5a43492f217b6edbb420204c4 (patch) | |
tree | 50c6c8672a52687568edea475614dfe3d98e62e5 /kdf/kwikdisk.cpp | |
parent | 9b8c9f1f9e974ff0176108cfbd8852cd99ea68c8 (diff) | |
download | tdeutils-6335dc55802871b5a43492f217b6edbb420204c4.tar.gz tdeutils-6335dc55802871b5a43492f217b6edbb420204c4.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdf/kwikdisk.cpp')
-rw-r--r-- | kdf/kwikdisk.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kdf/kwikdisk.cpp b/kdf/kwikdisk.cpp index e6c4020..fb85996 100644 --- a/kdf/kwikdisk.cpp +++ b/kdf/kwikdisk.cpp @@ -190,7 +190,7 @@ void KwikDisk::updateDFDone() TQPixmap *pix = new TQPixmap(KSystemTray::loadIcon(disk->iconName())); - if( getuid() !=0 && disk->mountOptions().tqfind("user",0, false) == -1 ) + if( getuid() !=0 && disk->mountOptions().find("user",0, false) == -1 ) { // // Special root icon, normal user cant mount. @@ -264,10 +264,10 @@ void KwikDisk::toggleMount(int item) if( m_options.fileManager().isEmpty() == false ) { TQString cmd = m_options.fileManager(); - int pos = cmd.tqfind("%m"); + int pos = cmd.find("%m"); if( pos > 0 ) { - cmd = cmd.tqreplace( pos, 2, KProcess::quote(disk->mountPoint()) ) + " &"; + cmd = cmd.replace( pos, 2, KProcess::quote(disk->mountPoint()) ) + " &"; } else { |