summaryrefslogtreecommitdiffstats
path: root/graphics/kdegraphics4/files/patch-kghostview-kpswidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kdegraphics4/files/patch-kghostview-kpswidget.h')
-rw-r--r--graphics/kdegraphics4/files/patch-kghostview-kpswidget.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/graphics/kdegraphics4/files/patch-kghostview-kpswidget.h b/graphics/kdegraphics4/files/patch-kghostview-kpswidget.h
new file mode 100644
index 0000000..e8dbbee
--- /dev/null
+++ b/graphics/kdegraphics4/files/patch-kghostview-kpswidget.h
@@ -0,0 +1,25 @@
+--- kghostview/kpswidget.h.orig Sun Sep 15 23:12:40 2002
++++ kghostview/kpswidget.h Mon Apr 7 17:05:04 2003
+@@ -134,10 +134,11 @@ public:
+ bool sendPS( FILE*, unsigned int begin, unsigned int end );
+
+ /**
+- * Sets the filename of the ghostscript input. Usually we use a pipe for
+- * communication and no filename will be needed.
++ * Sets the filename of the ghostscript input.
++ * @p usePipe indicates whether we use a pipe for
++ * communication or let ghoscript read the file itself.
+ */
+- void setFileName( const QString& );
++ void setFileName( const QString&, bool usePipe );
+
+ /**
+ * Set the bounding box of the drawable. See my comment in the source
+@@ -243,6 +244,7 @@ private:
+ QString _ghostscriptPath;
+ QStringList _ghostscriptArguments;
+ QString _fileName;
++ bool _usePipe;
+
+ /**
+ * Flag set when one of the properties _ghostscriptPath,
OpenPOWER on IntegriCloud