diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-06 14:57:59 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-06 15:04:08 +0900 |
| commit | 850f01569f0dc9cad2cf960fd82e56ec99fb5015 (patch) | |
| tree | d8ba05c08addbf2e7d2eea0f7146e7e3b95bbe91 /src/notedrag.cpp | |
| parent | 18ae943ddec7911d7644864c7e250bce9e8d0fcb (diff) | |
| download | basket-850f01569f0dc9cad2cf960fd82e56ec99fb5015.tar.gz basket-850f01569f0dc9cad2cf960fd82e56ec99fb5015.zip | |
Remove use of KDE_IS_VERSION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/notedrag.cpp')
| -rw-r--r-- | src/notedrag.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/notedrag.cpp b/src/notedrag.cpp index 37e2337..227c108 100644 --- a/src/notedrag.cpp +++ b/src/notedrag.cpp @@ -224,19 +224,10 @@ void NoteDrag::serializeLinks(NoteSelection *noteList, KMultipleDrag *multipleDr } if (!urls.isEmpty()) { // First, the standard text/uri-list MIME format: -#if KDE_IS_VERSION( 3, 3, 90 ) KURLDrag *urlsDrag = new KURLDrag(urls); // ONLY export as text/uri-list, and not as text/plain* as we wil do that better ourself urlsDrag->setExportAsText(false); multipleDrag->addDragObject(urlsDrag); -#else - KURLDrag2 *urlsDrag = new KURLDrag2(urls); - TQByteArray byteArray = urlsDrag->encodedData2("text/uri-list"); - TQStoredDrag *uriListDrag = new TQStoredDrag("text/uri-list"); - uriListDrag->setEncodedData(byteArray); - multipleDrag->addDragObject(uriListDrag); - delete urlsDrag; -#endif // Then, also provide it in the Mozilla proprietary format (that also allow to add titles to URLs): // A version for Mozilla applications (convert to "theUrl\ntheTitle", into UTF-16): // FIXME: Does Mozilla support the drag of several URLs at once? |
