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 | 4a25ca5c80d9b88fdc1a0d44d1db47da47206899 (patch) | |
tree | 8a1d1e893a80df8ad5233802c2b0e39220b86168 /lilo-config/kde-qt-common/general.cpp | |
parent | 441266d591a9064dd619da0e1bd49b871d6a9c70 (diff) | |
download | tdeadmin-4a25ca5c80d9b88fdc1a0d44d1db47da47206899.tar.gz tdeadmin-4a25ca5c80d9b88fdc1a0d44d1db47da47206899.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lilo-config/kde-qt-common/general.cpp')
-rw-r--r-- | lilo-config/kde-qt-common/general.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lilo-config/kde-qt-common/general.cpp b/lilo-config/kde-qt-common/general.cpp index 858ba9c..bdfd12f 100644 --- a/lilo-config/kde-qt-common/general.cpp +++ b/lilo-config/kde-qt-common/general.cpp @@ -168,7 +168,7 @@ void General::saveChanges() } else { TQString mode=vga->currentText(); if(mode!="ask") { - mode=mode.mid(mode.tqfind('(')+1); + mode=mode.mid(mode.find('(')+1); mode=mode.left(mode.length()-1); } lilo->defaults.set("vga", mode.latin1()); @@ -201,7 +201,7 @@ void General::update() vga->setCurrentItem(1); else for(int i=0; i<vga->count(); i++) { - if(vga->text(i).tqcontains("(" + mode + ")")) { + if(vga->text(i).contains("(" + mode + ")")) { vga->setCurrentItem(i); break; } |