summaryrefslogtreecommitdiffstats
path: root/kghostview/kpswidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kghostview/kpswidget.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kghostview/kpswidget.h')
-rw-r--r--kghostview/kpswidget.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kghostview/kpswidget.h b/kghostview/kpswidget.h
index 66ef0b14..c2ca49cb 100644
--- a/kghostview/kpswidget.h
+++ b/kghostview/kpswidget.h
@@ -20,10 +20,10 @@
#define __KPSWIDGET_H__
#include <queue>
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qwidget.h>
-#include <qpixmap.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqwidget.h>
+#include <tqpixmap.h>
#include "dscparse_adapter.h"
#include "configuration.h"
@@ -48,7 +48,7 @@ class KPSWidget : public QWidget
Q_OBJECT
public:
- KPSWidget( QWidget* parent = 0, const char* name = 0 );
+ KPSWidget( TQWidget* parent = 0, const char* name = 0 );
~KPSWidget();
/**
@@ -100,7 +100,7 @@ public:
* @p usePipe indicates whether we use a pipe for
* communication or let ghoscript read the file itself.
*/
- void setFileName( const QString&, bool usePipe );
+ void setFileName( const TQString&, bool usePipe );
/**
* Set the bounding box of the drawable. See my comment in the source
@@ -154,7 +154,7 @@ signals:
*
* Don't change the pixmap or bad things will happen. This is the backing pixmap of the display.
*/
- void newPageImage( QPixmap image );
+ void newPageImage( TQPixmap image );
/**
* This signal is emitted whenever the ghostscript process has
@@ -167,7 +167,7 @@ signals:
*
* @param msg a <strong>translated</strong> error message to display the user which may be null if we cannot tell anything important
*/
- void ghostscriptError( const QString& mgs );
+ void ghostscriptError( const TQString& mgs );
protected:
struct Record
@@ -180,7 +180,7 @@ protected:
unsigned int len;
};
- // void resizeEvent( QResizeEvent* );
+ // void resizeEvent( TQResizeEvent* );
bool x11Event( XEvent* );
/**
@@ -195,8 +195,8 @@ protected:
*/
void setupWidget();
- void setGhostscriptPath( const QString& );
- void setGhostscriptArguments( const QStringList& );
+ void setGhostscriptPath( const TQString& );
+ void setGhostscriptArguments( const TQStringList& );
void setPalette( Configuration::EnumPalette::type );
protected slots:
@@ -211,15 +211,15 @@ private:
enum AtomName { GHOSTVIEW = 0, GHOSTVIEW_COLORS, NEXT, PAGE, DONE };
Atom _atoms[5];
- QPixmap _backgroundPixmap;
+ TQPixmap _backgroundPixmap;
/**
* The following properties determine how Ghostscript is started.
* If any of these is changed, Ghostscript needs to be restarted.
*/
- QString _ghostscriptPath;
- QStringList _ghostscriptArguments;
- QString _fileName;
+ TQString _ghostscriptPath;
+ TQStringList _ghostscriptArguments;
+ TQString _fileName;
bool _usePipe;
bool _doubleBuffer;