summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmglview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmglview.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-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/pmglview.h')
-rw-r--r--kpovmodeler/pmglview.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/kpovmodeler/pmglview.h b/kpovmodeler/pmglview.h
index 521d6911..48537b20 100644
--- a/kpovmodeler/pmglview.h
+++ b/kpovmodeler/pmglview.h
@@ -51,6 +51,7 @@ class TQComboBox;
class PMGLView : public PMViewBase
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Type of the view
@@ -61,7 +62,7 @@ public:
* Constructor
*/
PMGLView( PMPart* part, PMViewType t,
- TQWidget* parent = 0, const char* name = 0, WFlags f = 0 );
+ TQWidget* tqparent = 0, const char* name = 0, WFlags f = 0 );
/**
* Destructor
*/
@@ -335,7 +336,7 @@ private:
/**
* Repaints the view
*/
- void repaint( bool graphicalChange = false );
+ void tqrepaint( bool graphicalChange = false );
/**
* Starts a graphical change
*/
@@ -350,9 +351,9 @@ private:
*/
void selectControlPoint( PMControlPoint* cp, bool select, bool deselectOthers = true );
/**
- * Invalidates the projection and repaints the view
+ * Invalidates the projection and tqrepaints the view
*/
- void invalidateProjection( bool graphicaChange = false );
+ void tqinvalidateProjection( bool graphicaChange = false );
/**
* Starts multiple selection mode
@@ -558,25 +559,26 @@ public:
virtual TQString description( ) const;
virtual TQString description( PMViewOptions* ) const;
virtual TQString iconName( ) const { return TQString( "pmglview" ); }
- virtual PMViewBase* newInstance( TQWidget* parent, PMPart* part ) const
+ virtual PMViewBase* newInstance( TQWidget* tqparent, PMPart* part ) const
{
- return new PMGLView( part, PMGLView::PMViewPosX, parent );
+ return new PMGLView( part, PMGLView::PMViewPosX, tqparent );
}
virtual PMViewOptions* newOptionsInstance( ) const;
virtual PMViewOptionsWidget* newOptionsWidget( TQWidget*, PMViewOptions* );
};
/**
- * Configuration widget for the view layout settings dialog
+ * Configuration widget for the view tqlayout settings dialog
*/
class PMGLViewOptionsWidget : public PMViewOptionsWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Default constructor
*/
- PMGLViewOptionsWidget( TQWidget* parent, PMViewOptions* o );
+ PMGLViewOptionsWidget( TQWidget* tqparent, PMViewOptions* o );
protected slots:
void slotGLViewTypeChanged( int );