diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmdialogview.h | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip |
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
Diffstat (limited to 'kpovmodeler/pmdialogview.h')
-rw-r--r-- | kpovmodeler/pmdialogview.h | 12 |
1 files changed, 7 insertions, 5 deletions
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 ); } }; |