|
|
|
@ -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;
|
|
|
|
|