From 4c817db1ccaf48d5e32fe8ae200e8397944ac0e9 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 8 Nov 2013 17:25:01 -0600 Subject: Update XDG mimetypes. --- src/notedrag.cpp | 2 +- src/tools.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/notedrag.cpp b/src/notedrag.cpp index f7b6931..f139652 100644 --- a/src/notedrag.cpp +++ b/src/notedrag.cpp @@ -252,7 +252,7 @@ void NoteDrag::serializeLinks(NoteSelection *noteList, KMultipleDrag *multipleDr if (cutting) { TQByteArray arrayCut(2); - TQStoredDrag *storedDragCut = new TQStoredDrag("application/x-kde-cutselection"); + TQStoredDrag *storedDragCut = new TQStoredDrag("application/x-tde-cutselection"); arrayCut[0] = '1'; arrayCut[1] = 0; storedDragCut->setEncodedData(arrayCut); diff --git a/src/tools.cpp b/src/tools.cpp index 81dad55..4226b23 100644 --- a/src/tools.cpp +++ b/src/tools.cpp @@ -426,8 +426,8 @@ TQString Tools::fileNameForNewFile(const TQString &wantedName, const TQString &d bool Tools::isAFileCut(TQMimeSource *source) { - if (source->provides("application/x-kde-cutselection")) { - TQByteArray array = source->encodedData("application/x-kde-cutselection"); + if (source->provides("application/x-tde-cutselection")) { + TQByteArray array = source->encodedData("application/x-tde-cutselection"); return !array.isEmpty() && TQCString(array.data(), array.size() + 1).at(0) == '1'; } else return false; -- cgit v1.2.1