diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:12:30 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:12:30 -0600 |
commit | 11191ef0b9908604d1d7aaca382b011ef22c454c (patch) | |
tree | d38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /kivio/kiviopart/kiviodragobject.cpp | |
parent | c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff) | |
download | koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kivio/kiviopart/kiviodragobject.cpp')
-rw-r--r-- | kivio/kiviopart/kiviodragobject.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kivio/kiviopart/kiviodragobject.cpp b/kivio/kiviopart/kiviodragobject.cpp index 35a6d7ff..9b6b9a46 100644 --- a/kivio/kiviopart/kiviodragobject.cpp +++ b/kivio/kiviopart/kiviodragobject.cpp @@ -56,7 +56,7 @@ const char* KivioDragObject::format(int i) const return id.format(i - NumEncodeFormats); } -TQByteArray KivioDragObject::tqencodedData(const char* mimetype) const +TQByteArray KivioDragObject::encodedData(const char* mimetype) const { if((m_encodeMimeList[0] == mimetype) || (m_encodeMimeList[1] == mimetype)) @@ -90,7 +90,7 @@ bool KivioDragObject::decode(TQMimeSource* e, TQPtrList<KivioStencil>& sl, Kivio if(e->provides("application/vnd.kde.kivio")) { TQDomDocument doc("KivioSelection"); - TQByteArray data = e->tqencodedData("application/vnd.kde.kivio"); + TQByteArray data = e->encodedData("application/vnd.kde.kivio"); doc.setContent( TQCString( data, data.size()+1 ) ); KivioLayer l(page); ok = l.loadXML(doc.documentElement()); @@ -178,7 +178,7 @@ TQByteArray KivioDragObject::imageEncoded(const char* mimetype) const TQImageDrag id; id.setImage(buffer.convertToImage()); - return id.tqencodedData(mimetype); + return id.encodedData(mimetype); } #include "kiviodragobject.moc" |