summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmsor.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpovmodeler/pmsor.h')
-rw-r--r--kpovmodeler/pmsor.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kpovmodeler/pmsor.h b/kpovmodeler/pmsor.h
index c15b305d..46db677e 100644
--- a/kpovmodeler/pmsor.h
+++ b/kpovmodeler/pmsor.h
@@ -27,8 +27,8 @@
#include "pmsolidobject.h"
#include "pmvector.h"
#include "pmsorcontrolpoint.h"
-#include <qptrlist.h>
-#include <qvaluelist.h>
+#include <tqptrlist.h>
+#include <tqvaluelist.h>
#include <math.h>
class PMViewStructure;
@@ -57,7 +57,7 @@ public:
/** */
virtual PMObject* copy( ) const { return new PMSurfaceOfRevolution( *this ); }
/** */
- virtual QString description( ) const;
+ virtual TQString description( ) const;
/** */
virtual PMMetaObject* metaObject( ) const;
@@ -65,18 +65,18 @@ public:
virtual void cleanUp( ) const;
/** */
- virtual void serialize( QDomElement& e, QDomDocument& doc ) const;
+ virtual void serialize( TQDomElement& e, TQDomDocument& doc ) const;
/** */
virtual void readAttributes( const PMXMLHelper& h );
/**
* Returns a new @ref PMSurfaceOfRevolutionEdit
*/
- virtual PMDialogEditBase* editWidget( QWidget* parent ) const;
+ virtual PMDialogEditBase* editWidget( TQWidget* parent ) const;
/**
* Returns the name of the pixmap that is displayed in the tree view
* and dialog view
*/
- virtual QString pixmap( ) const { return QString( "pmsor" ); }
+ virtual TQString pixmap( ) const { return TQString( "pmsor" ); }
/** */
virtual void createMemento( );
@@ -92,21 +92,21 @@ public:
virtual bool hasDisplayDetail( ) const { return true; }
/** */
virtual void addObjectActions( const PMControlPointList&,
- QPtrList<PMObjectAction>& );
+ TQPtrList<PMObjectAction>& );
/** */
virtual void objectActionCalled( const PMObjectAction*,
const PMControlPointList&,
- const QPtrList<PMVector>&,
+ const TQPtrList<PMVector>&,
const PMVector& );
/**
* Returns the sor points
*/
- QValueList<PMVector> points( ) const { return m_points; }
+ TQValueList<PMVector> points( ) const { return m_points; }
/**
* Sets the spline points
*/
- void setPoints( const QValueList<PMVector>& points );
+ void setPoints( const TQValueList<PMVector>& points );
/**
* Returns the number of spline points
*/
@@ -156,17 +156,17 @@ private:
* Object action. Adds a spline point
*/
void splitSegment( const PMControlPointList& cp,
- const QPtrList<PMVector>& cpViewPosition,
+ const TQPtrList<PMVector>& cpViewPosition,
const PMVector& clickPosition );
/**
* Object action. Removes a spline point
*/
void joinSegments( const PMControlPointList& cp,
- const QPtrList<PMVector>& cpViewPosition,
+ const TQPtrList<PMVector>& cpViewPosition,
const PMVector& clickPosition );
- void stringToValues( const QString& str );
- QString valuesToString( ) const;
+ void stringToValues( const TQString& str );
+ TQString valuesToString( ) const;
/**
* IDs for @ref PMMementoData
@@ -177,7 +177,7 @@ private:
*/
enum PMSurfaceOfRevolutionActionID { PMSplitSegmentID, PMJoinSegmentsID };
- QValueList<PMVector> m_points;
+ TQValueList<PMVector> m_points;
bool m_sturm;
bool m_open;