diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-09 10:37:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-10 09:18:39 +0900 |
commit | 7a712e6185fe1086345a4ad970291444548f60a2 (patch) | |
tree | 6dd0b17b51cc004a16901d02e791fb031d927d51 /libtdepim/designerfields.cpp | |
parent | 8a66634debeb3242ec542056469b6e07d5427968 (diff) | |
download | tdepim-7a712e6185fe1086345a4ad970291444548f60a2.tar.gz tdepim-7a712e6185fe1086345a4ad970291444548f60a2.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 98876ba8c52c0fc2f38c258476bc9637f055d576)
Diffstat (limited to 'libtdepim/designerfields.cpp')
-rw-r--r-- | libtdepim/designerfields.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libtdepim/designerfields.cpp b/libtdepim/designerfields.cpp index 71089c917..8e67e55d0 100644 --- a/libtdepim/designerfields.cpp +++ b/libtdepim/designerfields.cpp @@ -187,13 +187,13 @@ void DesignerFields::load( DesignerFields::Storage *storage ) wdg->setChecked( value == "true" || value == "1" ); } else if ( it.data()->inherits( "TQDateTimeEdit" ) ) { TQDateTimeEdit *wdg = static_cast<TQDateTimeEdit*>( it.data() ); - wdg->setDateTime( TQDateTime::fromString( value, Qt::ISODate ) ); + wdg->setDateTime( TQDateTime::fromString( value, TQt::ISODate ) ); } else if ( it.data()->inherits( "KDateTimeWidget" ) ) { KDateTimeWidget *wdg = static_cast<KDateTimeWidget*>( it.data() ); - wdg->setDateTime( TQDateTime::fromString( value, Qt::ISODate ) ); + wdg->setDateTime( TQDateTime::fromString( value, TQt::ISODate ) ); } else if ( it.data()->inherits( "KDatePicker" ) ) { KDatePicker *wdg = static_cast<KDatePicker*>( it.data() ); - wdg->setDate( TQDate::fromString( value, Qt::ISODate ) ); + wdg->setDate( TQDate::fromString( value, TQt::ISODate ) ); } else if ( it.data()->inherits( "TQComboBox" ) ) { TQComboBox *wdg = static_cast<TQComboBox*>( it.data() ); wdg->setCurrentText( value ); @@ -221,13 +221,13 @@ void DesignerFields::save( DesignerFields::Storage *storage ) value = ( wdg->isChecked() ? "true" : "false" ); } else if ( it.data()->inherits( "TQDateTimeEdit" ) ) { TQDateTimeEdit *wdg = static_cast<TQDateTimeEdit*>( it.data() ); - value = wdg->dateTime().toString( Qt::ISODate ); + value = wdg->dateTime().toString( TQt::ISODate ); } else if ( it.data()->inherits( "KDateTimeWidget" ) ) { KDateTimeWidget *wdg = static_cast<KDateTimeWidget*>( it.data() ); - value = wdg->dateTime().toString( Qt::ISODate ); + value = wdg->dateTime().toString( TQt::ISODate ); } else if ( it.data()->inherits( "KDatePicker" ) ) { KDatePicker *wdg = static_cast<KDatePicker*>( it.data() ); - value = wdg->date().toString( Qt::ISODate ); + value = wdg->date().toString( TQt::ISODate ); } else if ( it.data()->inherits( "TQComboBox" ) ) { TQComboBox *wdg = static_cast<TQComboBox*>( it.data() ); value = wdg->currentText(); |