From 4a25ca5c80d9b88fdc1a0d44d1db47da47206899 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- lilo-config/kde-qt-common/general.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lilo-config/kde-qt-common/general.cpp') 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; icount(); i++) { - if(vga->text(i).tqcontains("(" + mode + ")")) { + if(vga->text(i).contains("(" + mode + ")")) { vga->setCurrentItem(i); break; } -- cgit v1.2.3