summaryrefslogtreecommitdiffstats
path: root/src/notefactory.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:01:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:01:17 -0600
commit2a411f53a04f815770074b633e026a141f6fa875 (patch)
tree0408d7c0976f54b4b6d13e8fbf5d91a82cb4ff92 /src/notefactory.cpp
parentae6cafee5339716bd01aa6c66aa4f366bdc5d43b (diff)
downloadbasket-2a411f53a04f815770074b633e026a141f6fa875.tar.gz
basket-2a411f53a04f815770074b633e026a141f6fa875.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/notefactory.cpp')
-rw-r--r--src/notefactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/notefactory.cpp b/src/notefactory.cpp
index 1b8e83e..6292cef 100644
--- a/src/notefactory.cpp
+++ b/src/notefactory.cpp
@@ -399,7 +399,7 @@ Note* NoteFactory::dropNote(TQMimeSource *source, Basket *parent, bool fromDrop,
*/
if (source->provides("text/x-moz-url")) { // FOR MOZILLA
// Get the array and create a TQChar array of 1/2 of the size
- TQByteArray mozilla = source->tqencodedData("text/x-moz-url");
+ TQByteArray mozilla = source->encodedData("text/x-moz-url");
TQMemArray<TQChar> chars( mozilla.count() / 2 );
// A small debug work to know the value of each bytes
if (Global::debugWindow)
@@ -471,7 +471,7 @@ Note* NoteFactory::createNoteUnknown(TQMimeSource *source, Basket *parent/*, con
// Echo the length (in bytes) and then the data, and then same for next MIME type:
for (int i = 0; source->format(i); ++i)
if ( *(source->format(i)) ) {
- TQByteArray data = source->tqencodedData(source->format(i));
+ TQByteArray data = source->encodedData(source->format(i));
stream << (TQ_UINT32)data.count();
stream.writeRawBytes(data.data(), data.count());
}
@@ -779,7 +779,7 @@ NoteType::Id NoteFactory::typeForURL(const KURL &url, Basket */*parent*/)
if (metaInfo.isEmpty()) { // metaInfo is empty for GIF files on my machine !
if (viewText && maybeText(url)) return NoteType::Text;
else if (viewHTML && (maybeHtml(url))) return NoteType::Html;
- else if (viewImage && maybeAnimation(url)) return NoteType::Animation; // See Note::movietqStatus(int)
+ else if (viewImage && maybeAnimation(url)) return NoteType::Animation; // See Note::movieStatus(int)
else if (viewImage && maybeImageOrAnimation(url)) return NoteType::Image; // for more explanations
else if (viewSound && maybeSound(url)) return NoteType::Sound;
else if (maybeLauncher(url)) return NoteType::Launcher;