summaryrefslogtreecommitdiffstats
path: root/kmouth/phrasebook
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:28:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:28:00 -0600
commit6687cd2515bdebbd8f0c92261f3acf8777441ca6 (patch)
treec842392adc0b9d0eed2730bb756d5381b0fabc82 /kmouth/phrasebook
parentf46912a1a50c5ca06eb713e43e170f5ac47bb680 (diff)
downloadtdeaccessibility-6687cd2515bdebbd8f0c92261f3acf8777441ca6.tar.gz
tdeaccessibility-6687cd2515bdebbd8f0c92261f3acf8777441ca6.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kmouth/phrasebook')
-rw-r--r--kmouth/phrasebook/phrasebook.cpp8
-rw-r--r--kmouth/phrasebook/phrasebook.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/kmouth/phrasebook/phrasebook.cpp b/kmouth/phrasebook/phrasebook.cpp
index 2332ee6..6aa2668 100644
--- a/kmouth/phrasebook/phrasebook.cpp
+++ b/kmouth/phrasebook/phrasebook.cpp
@@ -477,15 +477,15 @@ const char *PhraseBookDrag::format (int i) const {
return xmlphrasebook.format(i/3);
}
-TQByteArray PhraseBookDrag::tqencodedData (const char* mime) const {
+TQByteArray PhraseBookDrag::encodedData (const char* mime) const {
TQCString m(mime);
m = m.lower();
if (m.contains("xml-phrasebook"))
- return xmlphrasebook.tqencodedData(mime);
+ return xmlphrasebook.encodedData(mime);
else if (m.contains("xml"))
- return xml.tqencodedData(mime);
+ return xml.encodedData(mime);
else
- return plain.tqencodedData(mime);
+ return plain.encodedData(mime);
}
bool PhraseBookDrag::canDecode (const TQMimeSource* e) {
diff --git a/kmouth/phrasebook/phrasebook.h b/kmouth/phrasebook/phrasebook.h
index 200bbae..25f1d37 100644
--- a/kmouth/phrasebook/phrasebook.h
+++ b/kmouth/phrasebook/phrasebook.h
@@ -157,7 +157,7 @@ public:
virtual void setBook (PhraseBook *book);
const char *format (int i) const;
- virtual TQByteArray tqencodedData (const char *) const;
+ virtual TQByteArray encodedData (const char *) const;
static bool canDecode (const TQMimeSource *e);
static bool decode (const TQMimeSource *e, PhraseBook *book);