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 --- kpovmodeler/pmdialogview.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'kpovmodeler/pmdialogview.h') diff --git a/kpovmodeler/pmdialogview.h b/kpovmodeler/pmdialogview.h index 680cbbc9..0b6209c3 100644 --- a/kpovmodeler/pmdialogview.h +++ b/kpovmodeler/pmdialogview.h @@ -40,11 +40,12 @@ class TQLabel; /** * Helper class for @ref PMDialogView */ -class PMDialogEditContent : public QScrollView +class PMDialogEditContent : public TQScrollView { Q_OBJECT + TQ_OBJECT public: - PMDialogEditContent( TQWidget* parent, const char* name = 0 ); + PMDialogEditContent( TQWidget* tqparent, const char* name = 0 ); void setContents( TQWidget* wid ); void calculateSize( ); protected: @@ -63,11 +64,12 @@ private: class PMDialogView : public PMViewBase { Q_OBJECT + TQ_OBJECT public: /** * Creates a new PMDialogView widget */ - PMDialogView( PMPart* part, TQWidget* parent, const char* name = 0 ); + PMDialogView( PMPart* part, TQWidget* tqparent, const char* name = 0 ); /** * Deletes the widget */ @@ -154,9 +156,9 @@ public: virtual TQString viewType( ) const { return TQString( "dialogview" ); } virtual TQString description( ) const; virtual TQString iconName( ) const { return TQString( "pmdialogview" ); } - virtual PMViewBase* newInstance( TQWidget* parent, PMPart* part ) const + virtual PMViewBase* newInstance( TQWidget* tqparent, PMPart* part ) const { - return new PMDialogView( part, parent ); + return new PMDialogView( part, tqparent ); } }; -- cgit v1.2.1