summaryrefslogtreecommitdiffstats
path: root/kghostview
diff options
context:
space:
mode:
Diffstat (limited to 'kghostview')
-rw-r--r--kghostview/displayoptions.h2
-rw-r--r--kghostview/kgv_view.h2
-rw-r--r--kghostview/kgvdocument.cpp3
-rw-r--r--kghostview/kgvfactory.h2
-rw-r--r--kghostview/kgvshell.h2
5 files changed, 6 insertions, 5 deletions
diff --git a/kghostview/displayoptions.h b/kghostview/displayoptions.h
index 78ecc0d4..34a10588 100644
--- a/kghostview/displayoptions.h
+++ b/kghostview/displayoptions.h
@@ -24,7 +24,7 @@
class TDECmdLineArgs;
class TDEConfig;
-class KDE_EXPORT DisplayOptions
+class TDE_EXPORT DisplayOptions
{
public:
DisplayOptions();
diff --git a/kghostview/kgv_view.h b/kghostview/kgv_view.h
index 3859b675..9a1e23da 100644
--- a/kghostview/kgv_view.h
+++ b/kghostview/kgv_view.h
@@ -77,7 +77,7 @@ public:
*/
virtual bool closeURL();
- KDE_EXPORT static TDEAboutData* createAboutData();
+ TDE_EXPORT static TDEAboutData* createAboutData();
public slots:
/**
diff --git a/kghostview/kgvdocument.cpp b/kghostview/kgvdocument.cpp
index c08b68f1..8a1a6776 100644
--- a/kghostview/kgvdocument.cpp
+++ b/kghostview/kgvdocument.cpp
@@ -17,6 +17,7 @@
*/
#include <algorithm>
+#include <functional>
#include <memory>
#include <tqfileinfo.h>
@@ -618,7 +619,7 @@ bool KGVDocument::savePages( const TQString& saveFileName,
PageList normedPageList;
transform( pageList.begin(), pageList.end(),
back_inserter( normedPageList ),
- bind2nd( minus<int>(), minPage - 1 ) );
+ bind( minus<int>(), std::placeholders::_1, minPage - 1 ) );
// Finally select the desired pages from the converted file.
psCopyDoc( psSaveFile.name(), saveFileName, normedPageList );
diff --git a/kghostview/kgvfactory.h b/kghostview/kgvfactory.h
index d0ac9550..612a6d21 100644
--- a/kghostview/kgvfactory.h
+++ b/kghostview/kgvfactory.h
@@ -25,7 +25,7 @@
class TDEInstance;
class TDEAboutData;
-class KDE_EXPORT KGVFactory : public KParts::Factory
+class TDE_EXPORT KGVFactory : public KParts::Factory
{
public:
KGVFactory();
diff --git a/kghostview/kgvshell.h b/kghostview/kgvshell.h
index 98915ec6..1c90673d 100644
--- a/kghostview/kgvshell.h
+++ b/kghostview/kgvshell.h
@@ -35,7 +35,7 @@ class TDEPopupMenu;
class DisplayOptions;
class FullScreenFilter;
-class KDE_EXPORT KGVShell : public KParts::MainWindow
+class TDE_EXPORT KGVShell : public KParts::MainWindow
{
TQ_OBJECT