diff options
Diffstat (limited to 'src/tools.cpp')
-rw-r--r-- | src/tools.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools.cpp b/src/tools.cpp index 4bccb66..03a710b 100644 --- a/src/tools.cpp +++ b/src/tools.cpp @@ -22,7 +22,7 @@ #include <tqstring.h> #include <tqpixmap.h> #include <tqimage.h> -#include <tqstylesheet.h> +#include <stylesheet.h> #include <tqregexp.h> #include <tqvaluestack.h> #include <tqfileinfo.h> @@ -427,7 +427,7 @@ TQString Tools::fileNameForNewFile(const TQString &wantedName, const TQString &d bool Tools::isAFileCut(TQMimeSource *source) { if (source->provides("application/x-kde-cutselection")) { - TQByteArray array = source->tqencodedData("application/x-kde-cutselection"); + TQByteArray array = source->encodedData("application/x-kde-cutselection"); return !array.isEmpty() && TQCString(array.data(), array.size() + 1).at(0) == '1'; } else return false; |