summaryrefslogtreecommitdiffstats
path: root/kdeui
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-17 22:47:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-17 22:47:21 +0000
commit36842ec5f5507efba80d8ab692a4bc16ff8712ea (patch)
tree67b95fd26cfd5cc123c599db99c5d321e6a5df4a /kdeui
parentd908d37c4efd960901e2a415f79cdd47ff2b1f55 (diff)
downloadtdelibs-36842ec5f5507efba80d8ab692a4bc16ff8712ea.tar.gz
tdelibs-36842ec5f5507efba80d8ab692a4bc16ff8712ea.zip
TQt compilation fix
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1215178 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui')
-rw-r--r--kdeui/kaccelgen.h4
1 files changed, 2 insertions, 2 deletions
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;