blob: e8dbbeeb1915d3977c81fd5f6407b848c7db6bee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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,
|