diff options
Diffstat (limited to 'noatun/modules/winskin/waSkinModel.cpp')
-rw-r--r-- | noatun/modules/winskin/waSkinModel.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/noatun/modules/winskin/waSkinModel.cpp b/noatun/modules/winskin/waSkinModel.cpp index b2cdb0c2..e7562c04 100644 --- a/noatun/modules/winskin/waSkinModel.cpp +++ b/noatun/modules/winskin/waSkinModel.cpp @@ -419,37 +419,37 @@ void WaSkinModel::resetSkinModel() { TQChar WaSkinModel::deaccent(TQChar input) { - if (TQString("Á").tqcontains(input)) + if (TQString("Á").contains(input)) return 'A'; - if (TQString("ÉË").tqcontains(input)) + if (TQString("ÉË").contains(input)) return 'E'; - if (TQString("ÍÎ").tqcontains(input)) + if (TQString("ÍÎ").contains(input)) return 'I'; - if (TQString("ÔÓ").tqcontains(input)) + if (TQString("ÔÓ").contains(input)) return 'O'; - if (TQString("ÚÜ").tqcontains(input)) + if (TQString("ÚÜ").contains(input)) return 'U'; if (input == 'Ý') return 'Y'; - if (TQString("áâ").tqcontains(input)) + if (TQString("áâ").contains(input)) return 'a'; - if (TQString("éë").tqcontains(input)) + if (TQString("éë").contains(input)) return 'e'; - if (TQString("îí").tqcontains(input)) + if (TQString("îí").contains(input)) return 'i'; - if (TQString("ôó").tqcontains(input)) + if (TQString("ôó").contains(input)) return 'o'; - if (TQString("úü").tqcontains(input)) + if (TQString("úü").contains(input)) return 'u'; return input; |