From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: TQt4 port kdegraphics This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkscan/previewer.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libkscan/previewer.h') diff --git a/libkscan/previewer.h b/libkscan/previewer.h index 6d9a7b10..45a270ea 100644 --- a/libkscan/previewer.h +++ b/libkscan/previewer.h @@ -40,11 +40,12 @@ class TQComboBox; class TQRadioButton; class TQHBoxLayout; -class Previewer : public QWidget +class Previewer : public TQWidget { Q_OBJECT + TQ_OBJECT public: - Previewer(TQWidget *parent=0, const char *name=0); + Previewer(TQWidget *tqparent=0, const char *name=0); ~Previewer(); ImageCanvas *getImageCanvas( void ){ return( img_canvas ); } @@ -88,7 +89,7 @@ private: TQPoint calcPercent( int, int ); - TQHBoxLayout *layout; + TQHBoxLayout *tqlayout; ImageCanvas *img_canvas; TQComboBox *pre_format_combo; TQMemArray format_ids; -- cgit v1.2.1