summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmlathe.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmlathe.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmlathe.h')
-rw-r--r--kpovmodeler/pmlathe.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kpovmodeler/pmlathe.h b/kpovmodeler/pmlathe.h
index 99986a6f..20fa55b3 100644
--- a/kpovmodeler/pmlathe.h
+++ b/kpovmodeler/pmlathe.h
@@ -26,8 +26,8 @@
#include "pmsolidobject.h"
#include "pmvector.h"
-#include <qptrlist.h>
-#include <qvaluelist.h>
+#include <tqptrlist.h>
+#include <tqvaluelist.h>
#include <math.h>
class PMViewStructure;
@@ -60,7 +60,7 @@ public:
/** */
virtual PMObject* copy( ) const { return new PMLathe( *this ); }
/** */
- virtual QString description( ) const;
+ virtual TQString description( ) const;
/** */
virtual PMMetaObject* metaObject( ) const;
@@ -68,18 +68,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 PMLatheEdit
*/
- 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( "pmlathe" ); }
+ virtual TQString pixmap( ) const { return TQString( "pmlathe" ); }
/** */
virtual void createMemento( );
@@ -95,21 +95,21 @@ public:
virtual bool multipleSelectControlPoints( ) 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 spline 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
*/
@@ -159,17 +159,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
@@ -180,7 +180,7 @@ private:
*/
enum PMLatheActionID { PMSplitSegmentID, PMJoinSegmentsID };
SplineType m_splineType;
- QValueList<PMVector> m_points;
+ TQValueList<PMVector> m_points;
bool m_sturm;
static int s_rSteps;