Diffstat (limited to 'inputmethods/handwriting/qimpenprofile.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/handwriting/qimpenprofile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inputmethods/handwriting/qimpenprofile.cpp b/inputmethods/handwriting/qimpenprofile.cpp index 4b5bb83..3b1b5e9 100644 --- a/inputmethods/handwriting/qimpenprofile.cpp +++ b/inputmethods/handwriting/qimpenprofile.cpp | |||
@@ -1,16 +1,16 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
@@ -85,25 +85,25 @@ void QIMPenProfile::setMultiStrokeTimeout( int t ) | |||
85 | } | 85 | } |
86 | 86 | ||
87 | QString QIMPenProfile::userConfig() | 87 | QString QIMPenProfile::userConfig() |
88 | { | 88 | { |
89 | QString un = filename; | 89 | QString un = filename; |
90 | int pos = un.findRev( '/' ); | 90 | int pos = un.findRev( '/' ); |
91 | if ( pos >= 0 ) | 91 | if ( pos >= 0 ) |
92 | un = un.mid( pos + 1 ); | 92 | un = un.mid( pos + 1 ); |
93 | pos = un.find( '.' ); | 93 | pos = un.find( '.' ); |
94 | if ( pos > 0 ) | 94 | if ( pos > 0 ) |
95 | un.truncate( pos ); | 95 | un.truncate( pos ); |
96 | 96 | ||
97 | un = "handwriting-" + un; | 97 | un = "handwriting-" + un; // No tr |
98 | 98 | ||
99 | return un; | 99 | return un; |
100 | } | 100 | } |
101 | 101 | ||
102 | void QIMPenProfile::loadData() | 102 | void QIMPenProfile::loadData() |
103 | { | 103 | { |
104 | Config config( filename, Config::File ); | 104 | Config config( filename, Config::File ); |
105 | config.setGroup( "CharSets" ); | 105 | config.setGroup( "CharSets" ); |
106 | 106 | ||
107 | QString baseDir = QPEApplication::qpeDir(); | 107 | QString baseDir = QPEApplication::qpeDir(); |
108 | baseDir += "/etc/"; | 108 | baseDir += "/etc/"; |
109 | // accents | 109 | // accents |