diff options
Diffstat (limited to 'src/kile/previewwidget.h')
-rw-r--r-- | src/kile/previewwidget.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/kile/previewwidget.h b/src/kile/previewwidget.h index 5eeb1b0..313d611 100644 --- a/src/kile/previewwidget.h +++ b/src/kile/previewwidget.h @@ -12,10 +12,10 @@ #ifndef PREVIEWWIDGET_H #define PREVIEWWIDGET_H -#include <qwidget.h> +#include <tqwidget.h> -class QImage; -class QPaintEvent; +class TQImage; +class TQPaintEvent; class KileInfo; @@ -46,12 +46,13 @@ namespace KileWidget * @author Mathias Soeken <msoeken@informatik.uni-bremen.de> */ -class PreviewWidget : public QWidget +class PreviewWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: - PreviewWidget(KileInfo *info, QWidget *parent = 0, const char *name = 0); + PreviewWidget(KileInfo *info, TQWidget *tqparent = 0, const char *name = 0); ~PreviewWidget(); /** @@ -65,19 +66,19 @@ public: * This PNG image is then displayed on the * widget. */ - void showActivePreview(const QString &text,const QString &textfilename,int startrow,int previewtype); + void showActivePreview(const TQString &text,const TQString &textfilename,int startrow,int previewtype); private: enum { pwDvipng=0, pwDvipsConvert, pwConvert }; KileInfo *m_info; - QImage *m_previewImage; + TQImage *m_previewImage; bool m_running; - QString m_conversionTool; + TQString m_conversionTool; protected: - void paintEvent (QPaintEvent*); - void showError(const QString &text); + void paintEvent (TQPaintEvent*); + void showError(const TQString &text); public slots: /** |