diff options
Diffstat (limited to 'kode/kwsdl/kung/timeinputfield.cpp')
-rw-r--r-- | kode/kwsdl/kung/timeinputfield.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kode/kwsdl/kung/timeinputfield.cpp b/kode/kwsdl/kung/timeinputfield.cpp index 9da18a0cc..29b89fcab 100644 --- a/kode/kwsdl/kung/timeinputfield.cpp +++ b/kode/kwsdl/kung/timeinputfield.cpp @@ -39,29 +39,29 @@ void TimeInputField::setXMLData( const TQDomElement &element ) setData( element.text() ); } -void TimeInputField::xmlData( TQDomDocument &document, TQDomElement &parent ) +void TimeInputField::xmlData( TQDomDocument &document, TQDomElement &tqparent ) { TQDomElement element = document.createElement( mName ); element.setAttribute( "xsi:type", "xsd:time" ); TQDomText text = document.createTextNode( data() ); element.appendChild( text ); - parent.appendChild( element ); + tqparent.appendChild( element ); } void TimeInputField::setData( const TQString &data ) { - mValue = TQTime::fromString( data, Qt::ISODate ); + mValue = TQTime::fromString( data, TQt::ISODate ); } TQString TimeInputField::data() const { - return mValue.toString( Qt::ISODate ); + return mValue.toString( TQt::ISODate ); } -TQWidget *TimeInputField::createWidget( TQWidget *parent ) +TQWidget *TimeInputField::createWidget( TQWidget *tqparent ) { - mInputWidget = new KTimeWidget( parent ); + mInputWidget = new KTimeWidget( tqparent ); mInputWidget->setTime( mValue ); |