summaryrefslogtreecommitdiffstats
path: root/src/tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools.cpp')
-rw-r--r--src/tools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools.cpp b/src/tools.cpp
index 03a710b..4bccb66 100644
--- a/src/tools.cpp
+++ b/src/tools.cpp
@@ -22,7 +22,7 @@
#include <tqstring.h>
#include <tqpixmap.h>
#include <tqimage.h>
-#include <stylesheet.h>
+#include <tqstylesheet.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->encodedData("application/x-kde-cutselection");
+ TQByteArray array = source->tqencodedData("application/x-kde-cutselection");
return !array.isEmpty() && TQCString(array.data(), array.size() + 1).at(0) == '1';
} else
return false;