diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:50 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:50 -0600 |
commit | 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch) | |
tree | ab537a329b9613e11dce8195761f93ffe82aed24 /libtdepim/designerfields.cpp | |
parent | 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff) | |
download | tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'libtdepim/designerfields.cpp')
-rw-r--r-- | libtdepim/designerfields.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libtdepim/designerfields.cpp b/libtdepim/designerfields.cpp index 8ead24b98..1a07655f7 100644 --- a/libtdepim/designerfields.cpp +++ b/libtdepim/designerfields.cpp @@ -23,11 +23,11 @@ #include <tqcheckbox.h> #include <tqcombobox.h> #include <tqdatetimeedit.h> -#include <layout.h> +#include <tqlayout.h> #include <tqobjectlist.h> #include <tqspinbox.h> #include <tqregexp.h> -#include <textedit.h> +#include <tqtextedit.h> #include <tqwidgetfactory.h> #include <kdatepicker.h> @@ -50,7 +50,7 @@ DesignerFields::DesignerFields( const TQString &uiFile, TQWidget *parent, void DesignerFields::initGUI( const TQString &uiFile ) { - TQVBoxLayout *layout = new TQVBoxLayout( this ); + TQVBoxLayout *tqlayout = new TQVBoxLayout( this ); TQWidget *wdg = TQWidgetFactory::create( uiFile, 0, this ); if ( !wdg ) { @@ -61,7 +61,7 @@ void DesignerFields::initGUI( const TQString &uiFile ) mTitle = wdg->caption(); mIdentifier = wdg->name(); - layout->addWidget( wdg ); + tqlayout->addWidget( wdg ); TQObjectList *list = wdg->queryList( TQWIDGET_OBJECT_NAME_STRING ); TQObjectListIt it( *list ); @@ -154,13 +154,13 @@ void DesignerFields::load( DesignerFields::Storage *storage ) wdg->setChecked( false ); } else if ( widIt.data()->inherits( TQDATETIMEEDIT_OBJECT_NAME_STRING ) ) { TQDateTimeEdit *wdg = static_cast<TQDateTimeEdit*>( widIt.data() ); - wdg->setDateTime( TQDateTime::currentDateTime() ); + wdg->setDateTime( TQDateTime::tqcurrentDateTime() ); } else if ( widIt.data()->inherits( "KDateTimeWidget" ) ) { KDateTimeWidget *wdg = static_cast<KDateTimeWidget*>( widIt.data() ); - wdg->setDateTime( TQDateTime::currentDateTime() ); + wdg->setDateTime( TQDateTime::tqcurrentDateTime() ); } else if ( widIt.data()->inherits( "KDatePicker" ) ) { KDatePicker *wdg = static_cast<KDatePicker*>( widIt.data() ); - wdg->setDate( TQDate::currentDate() ); + wdg->setDate( TQDate::tqcurrentDate() ); } else if ( widIt.data()->inherits( TQCOMBOBOX_OBJECT_NAME_STRING ) ) { TQComboBox *wdg = static_cast<TQComboBox*>( widIt.data() ); wdg->setCurrentItem( 0 ); |