diff options
Diffstat (limited to 'src/drawparts/drawpart.h')
-rw-r--r-- | src/drawparts/drawpart.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/drawparts/drawpart.h b/src/drawparts/drawpart.h index e2b046e..71042bb 100644 --- a/src/drawparts/drawpart.h +++ b/src/drawparts/drawpart.h @@ -43,26 +43,26 @@ class DrawPart : public Item virtual Variant * createProperty( const TQString & id, Variant::Type::Value type ); - Qt::PenStyle getDataPenStyle( const TQString & id ); - Qt::PenCapStyle getDataPenCapStyle( const TQString & id ); + TQt::PenStyle getDataPenStyle( const TQString & id ); + TQt::PenCapStyle getDataPenCapStyle( const TQString & id ); - void setDataPenStyle( const TQString & id, Qt::PenStyle value ); - void setDataPenCapStyle( const TQString & id, Qt::PenCapStyle value ); + void setDataPenStyle( const TQString & id, TQt::PenStyle value ); + void setDataPenCapStyle( const TQString & id, TQt::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 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 TQString penStyleToID( TQt::PenStyle style ); + static TQt::PenStyle idToPenStyle( const TQString & id ); + static TQString penCapStyleToID( TQt::PenCapStyle style ); + static TQt::PenCapStyle idToPenCapStyle( const TQString & id ); - 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 ); + static TQString penStyleToName( TQt::PenStyle style ); + static TQt::PenStyle nameToPenStyle( const TQString & name ); + static TQString penCapStyleToName( TQt::PenCapStyle style ); + static TQt::PenCapStyle nameToPenCapStyle( const TQString & name ); }; #endif |