summaryrefslogtreecommitdiffstats
path: root/src/drawparts/drawpart.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
commit87a016680e3677da3993f333561e79eb0cead7d5 (patch)
treecbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/drawparts/drawpart.h
parent6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff)
downloadktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz
ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/drawparts/drawpart.h')
-rw-r--r--src/drawparts/drawpart.h26
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