diff options
Diffstat (limited to 'src/drawparts/drawpart.h')
-rw-r--r-- | src/drawparts/drawpart.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/drawparts/drawpart.h b/src/drawparts/drawpart.h index 8dc9f50..e2b046e 100644 --- a/src/drawparts/drawpart.h +++ b/src/drawparts/drawpart.h @@ -41,28 +41,28 @@ class DrawPart : public Item virtual bool canResize() const { return true; } - virtual Variant * createProperty( const QString & id, Variant::Type::Value type ); + virtual Variant * createProperty( const TQString & id, Variant::Type::Value type ); - Qt::PenStyle getDataPenStyle( const QString & id ); - Qt::PenCapStyle getDataPenCapStyle( const QString & id ); + Qt::PenStyle getDataPenStyle( const TQString & id ); + Qt::PenCapStyle getDataPenCapStyle( const TQString & id ); - void setDataPenStyle( const QString & id, Qt::PenStyle value ); - void setDataPenCapStyle( const QString & id, Qt::PenCapStyle value ); + void setDataPenStyle( const TQString & id, Qt::PenStyle value ); + void setDataPenCapStyle( const TQString & id, Qt::PenCapStyle value ); virtual ItemData itemData() const; virtual void restoreFromItemData( const ItemData &itemData ); // Convention for following functions: name is i18n'd name of style, id is the english one - static QString penStyleToID( Qt::PenStyle style ); - static Qt::PenStyle idToPenStyle( const QString & id ); - static QString penCapStyleToID( Qt::PenCapStyle style ); - static Qt::PenCapStyle idToPenCapStyle( const QString & id ); + static TQString penStyleToID( Qt::PenStyle style ); + static Qt::PenStyle idToPenStyle( const TQString & id ); + static TQString penCapStyleToID( Qt::PenCapStyle style ); + static Qt::PenCapStyle idToPenCapStyle( const TQString & id ); - static QString penStyleToName( Qt::PenStyle style ); - static Qt::PenStyle nameToPenStyle( const QString & name ); - static QString penCapStyleToName( Qt::PenCapStyle style ); - static Qt::PenCapStyle nameToPenCapStyle( const QString & name ); + static TQString penStyleToName( Qt::PenStyle style ); + static Qt::PenStyle nameToPenStyle( const TQString & name ); + static TQString penCapStyleToName( Qt::PenCapStyle style ); + static Qt::PenCapStyle nameToPenCapStyle( const TQString & name ); }; #endif |