diff options
Diffstat (limited to 'kugar/kudesigner_lib/field.cpp')
-rw-r--r-- | kugar/kudesigner_lib/field.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kugar/kudesigner_lib/field.cpp b/kugar/kudesigner_lib/field.cpp index c029f8e4..c9a5b480 100644 --- a/kugar/kudesigner_lib/field.cpp +++ b/kugar/kudesigner_lib/field.cpp @@ -31,7 +31,7 @@ namespace Kudesigner Field::Field( int x, int y, int width, int height, Canvas *canvas, bool reg ) : Label( x, y, width, height, canvas ) { - QMap<QString, QString> m; + TQMap<TQString, TQString> m; props.setGroupDescription( "Field", i18n( "Field" ) ); @@ -67,7 +67,7 @@ Field::Field( int x, int y, int width, int height, Canvas *canvas, bool reg ) //TODO: make currency locale-aware props.addProperty( new Property( "Currency", 32, i18n( "Currency" ), i18n( "Currency Symbol" ), KoProperty::Symbol ), "Field" ); - props.addProperty( new Property( "NegValueColor", QColor( 0, 0, 0 ), i18n( "Negative Value Color" ), i18n( "Negative Value Color" ), KoProperty::Color ), "Field" ); + props.addProperty( new Property( "NegValueColor", TQColor( 0, 0, 0 ), i18n( "Negative Value Color" ), i18n( "Negative Value Color" ), KoProperty::Color ), "Field" ); props.addProperty( new Property( "CommaSeparator", 44, i18n( "Comma Separator" ), i18n( "Comma Separator" ), KoProperty::Symbol ), "Field" ); @@ -77,14 +77,14 @@ Field::Field( int x, int y, int width, int height, Canvas *canvas, bool reg ) registerAs( Rtti_Field ); } -void Field::draw( QPainter &painter ) +void Field::draw( TQPainter &painter ) { props[ "Text" ].setValue( "[" + props[ "Field" ].value().toString() + "]" ); Label::draw( painter ); props[ "Text" ].setValue( "" ); } -QString Field::getXml() +TQString Field::getXml() { return "\t\t<Field" + ReportItem::getXml() + " />\n"; } @@ -92,8 +92,8 @@ QString Field::getXml() void Field::fastProperty() { bool accepted; - QString sValue = props[ "Field" ].value().toString(); - QString sText = KLineEditDlg::getText( i18n( "Change Field" ), + TQString sValue = props[ "Field" ].value().toString(); + TQString sText = KLineEditDlg::getText( i18n( "Change Field" ), "Enter field name:", sValue , &accepted ); if ( accepted ) |