summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kpselectiondrag.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:39 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 19:30:02 +0200
commita84302cc767bcabbf01b8c76f61419f4a2ab4ff0 (patch)
treeac5486dd6d994b05268976cb64e7ef1450d353bc /kolourpaint/kpselectiondrag.cpp
parentcbf5be374069885933bdc8a3ede2cbf9c2ffdb5f (diff)
downloadtdegraphics-a84302cc767bcabbf01b8c76f61419f4a2ab4ff0.tar.gz
tdegraphics-a84302cc767bcabbf01b8c76f61419f4a2ab4ff0.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 45f529de247fc4b3662f6b474abe03fe904306ec)
Diffstat (limited to 'kolourpaint/kpselectiondrag.cpp')
-rw-r--r--kolourpaint/kpselectiondrag.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kolourpaint/kpselectiondrag.cpp b/kolourpaint/kpselectiondrag.cpp
index 22cdeb4a..9c680abb 100644
--- a/kolourpaint/kpselectiondrag.cpp
+++ b/kolourpaint/kpselectiondrag.cpp
@@ -143,10 +143,10 @@ bool kpSelectionDrag::provides (const char *mimeType) const
}
// public virtual [base TQMimeSource]
-TQByteArray kpSelectionDrag::tqencodedData (const char *mimeType) const
+TQByteArray kpSelectionDrag::encodedData (const char *mimeType) const
{
#if DEBUG_KP_SELECTION_DRAG
- kdDebug () << "kpSelectionDrag::tqencodedData(" << mimeType << ")" << endl;
+ kdDebug () << "kpSelectionDrag::encodedData(" << mimeType << ")" << endl;
#endif
if (!mimeType)
@@ -192,7 +192,7 @@ TQByteArray kpSelectionDrag::tqencodedData (const char *mimeType) const
}
else
{
- kdError () << "kpSelectionDrag::tqencodedData(" << mimeType << ")"
+ kdError () << "kpSelectionDrag::encodedData(" << mimeType << ")"
<< " kpSelectionDrag(TQImage) could not decode data into TQImage"
<< endl;
stream << kpSelection ();
@@ -207,7 +207,7 @@ TQByteArray kpSelectionDrag::tqencodedData (const char *mimeType) const
kdDebug () << "\twant it as TQImage in TQByteArray" << endl;
#endif
- return TQImageDrag::tqencodedData (mimeType);
+ return TQImageDrag::encodedData (mimeType);
}
}
@@ -255,7 +255,7 @@ bool kpSelectionDrag::decode (const TQMimeSource *e, kpSelection &sel,
#if DEBUG_KP_SELECTION_DRAG
kdDebug () << "\tmimeSource provides selection - just return it in TQByteArray" << endl;
#endif
- TQByteArray data = e->tqencodedData (kpSelectionDrag::selectionMimeType);
+ TQByteArray data = e->encodedData (kpSelectionDrag::selectionMimeType);
TQDataStream stream (data, IO_ReadOnly);
// (no need for wali as kpSelection's by definition only support TQPixmap's)