summaryrefslogtreecommitdiffstats
path: root/src/tools.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:20 -0600
commit882bcd26b3d60be72ea2b35921969a9850c52db9 (patch)
tree8d0a6902c5de4632c4e73e35c4d86404fa75f470 /src/tools.cpp
parentc82058b2b64334c10d7e547cb81ac64efe09f516 (diff)
downloadbasket-882bcd26b3d60be72ea2b35921969a9850c52db9.tar.gz
basket-882bcd26b3d60be72ea2b35921969a9850c52db9.zip
Rename a number of old tq methods that are no longer tq specific
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 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;