From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kghostview/kpswidget.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kghostview/kpswidget.h') 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 -#include -#include -#include -#include +#include +#include +#include +#include #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 translated 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; -- cgit v1.2.1