summaryrefslogtreecommitdiffstats
path: root/src/drawparts/drawpart.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-04 22:03:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:34:05 +0900
commit420fcb6c991b2c21d5919db2af202e7f444f9326 (patch)
treec6a2c38cdd7ab8a193f25a0a51ebb5aa7fe8c386 /src/drawparts/drawpart.h
parent4f72176a0ff3c10fa366a67a45a11cf538d1c4eb (diff)
downloadktechlab-420fcb6c.tar.gz
ktechlab-420fcb6c.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c5554a5f82ebc79fbda3940ee904e71490fb13d6)
Diffstat (limited to 'src/drawparts/drawpart.h')
-rw-r--r--src/drawparts/drawpart.h24
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