diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:47:39 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 18:53:37 +0900 |
commit | dba614b5da2e38e284ba72c8a68556bac7e3fc1d (patch) | |
tree | 339b16afabbbdf679f1e7504d8b663f36d8c9a19 /kmouth | |
parent | fefa0a04e3304082860194db6cbfbdec5e09d258 (diff) | |
download | tdeaccessibility-dba614b5da2e38e284ba72c8a68556bac7e3fc1d.tar.gz tdeaccessibility-dba614b5da2e38e284ba72c8a68556bac7e3fc1d.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmouth')
-rw-r--r-- | kmouth/phrasebook/phrasebook.cpp | 2 | ||||
-rw-r--r-- | kmouth/wordcompletion/wordlist.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kmouth/phrasebook/phrasebook.cpp b/kmouth/phrasebook/phrasebook.cpp index c095e6d..1fc4f9f 100644 --- a/kmouth/phrasebook/phrasebook.cpp +++ b/kmouth/phrasebook/phrasebook.cpp @@ -339,7 +339,7 @@ bool PhraseBook::open (const KURL &url) { // First: try to load it as a normal phrase book TQFile file(tempFile); - TQXmlInputSource source (TQT_TQIODEVICE(&file)); + TQXmlInputSource source (&file); bool error = !decode (source); // Second: if the file does not contain a phrase book, load it as diff --git a/kmouth/wordcompletion/wordlist.cpp b/kmouth/wordcompletion/wordlist.cpp index adf73cb..2031c8e 100644 --- a/kmouth/wordcompletion/wordlist.cpp +++ b/kmouth/wordcompletion/wordlist.cpp @@ -160,7 +160,7 @@ void addWords (WordMap &map, WordMap add) { void addWordsFromFile (WordMap &map, TQString filename, TQTextStream::Encoding encoding, TQTextCodec *codec) { TQFile xmlfile(filename); - TQXmlInputSource source (TQT_TQIODEVICE(&xmlfile)); + TQXmlInputSource source (&xmlfile); XMLParser parser; TQXmlSimpleReader reader; reader.setFeature ("http://trolltech.com/xml/features/report-start-end-entity", true); |