From 36842ec5f5507efba80d8ab692a4bc16ff8712ea Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 17 Jan 2011 22:47:21 +0000 Subject: TQt compilation fix git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1215178 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/kaccelgen.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kdeui/kaccelgen.h') diff --git a/kdeui/kaccelgen.h b/kdeui/kaccelgen.h index 382320a15..696f85cda 100644 --- a/kdeui/kaccelgen.h +++ b/kdeui/kaccelgen.h @@ -187,7 +187,7 @@ generate(Iter begin, Iter end, TQStringList& target) // Check word-starting letters first. for( j=0; j < item.length(); ++j ) { if( isLegalAccelerator(item, j) - && !used_accels.contains(item[j]) + && !used_accels.tqcontains(item[j]) && (0 == j || (j > 0 && item[j-1].isSpace())) ) { found = true; found_idx = j; @@ -199,7 +199,7 @@ generate(Iter begin, Iter end, TQStringList& target) // No word-starting letter; search for any letter. for( j=0; j < item.length(); ++j ) { if( isLegalAccelerator(item, j) - && !used_accels.contains(item[j]) ) { + && !used_accels.tqcontains(item[j]) ) { found = true; found_idx = j; break; -- cgit v1.2.1