summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/ps
diff options
context:
space:
mode:
Diffstat (limited to 'tdefile-plugins/ps')
-rw-r--r--tdefile-plugins/ps/gscreator.cpp4
-rw-r--r--tdefile-plugins/ps/tdefile_ps.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/tdefile-plugins/ps/gscreator.cpp b/tdefile-plugins/ps/gscreator.cpp
index c664947b..e654efeb 100644
--- a/tdefile-plugins/ps/gscreator.cpp
+++ b/tdefile-plugins/ps/gscreator.cpp
@@ -81,7 +81,7 @@
extern "C"
{
- KDE_EXPORT ThumbCreator *new_creator()
+ TDE_EXPORT ThumbCreator *new_creator()
{
return new GSCreator;
}
@@ -241,7 +241,7 @@ bool GSCreator::create(const TQString &path, int width, int height, TQImage &img
char translation[64] = "";
char pagesize[32] = "";
char resopt[32] = "";
- std::auto_ptr<KDSCBBOX> bbox = dsc.bbox();
+ std::unique_ptr<KDSCBBOX> bbox = dsc.bbox();
if (is_encapsulated) {
// GhostScript's rendering at the extremely low resolutions
// required for thumbnails leaves something to be desired. To
diff --git a/tdefile-plugins/ps/tdefile_ps.h b/tdefile-plugins/ps/tdefile_ps.h
index 16f3c56a..4beff5ba 100644
--- a/tdefile-plugins/ps/tdefile_ps.h
+++ b/tdefile-plugins/ps/tdefile_ps.h
@@ -29,7 +29,7 @@ class TQStringList;
class KPSPlugin: public KFilePlugin, public KDSCCommentHandler
{
- Q_OBJECT
+ TQ_OBJECT
public:
KPSPlugin( TQObject *parent, const char *name,