summaryrefslogtreecommitdiffstats
path: root/libtdepim/designerfields.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /libtdepim/designerfields.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'libtdepim/designerfields.cpp')
-rw-r--r--libtdepim/designerfields.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/libtdepim/designerfields.cpp b/libtdepim/designerfields.cpp
index 1a07655f7..8ead24b98 100644
--- a/libtdepim/designerfields.cpp
+++ b/libtdepim/designerfields.cpp
@@ -23,11 +23,11 @@
#include <tqcheckbox.h>
#include <tqcombobox.h>
#include <tqdatetimeedit.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqobjectlist.h>
#include <tqspinbox.h>
#include <tqregexp.h>
-#include <tqtextedit.h>
+#include <textedit.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 *tqlayout = new TQVBoxLayout( this );
+ TQVBoxLayout *layout = 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();
- tqlayout->addWidget( wdg );
+ layout->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::tqcurrentDateTime() );
+ wdg->setDateTime( TQDateTime::currentDateTime() );
} else if ( widIt.data()->inherits( "KDateTimeWidget" ) ) {
KDateTimeWidget *wdg = static_cast<KDateTimeWidget*>( widIt.data() );
- wdg->setDateTime( TQDateTime::tqcurrentDateTime() );
+ wdg->setDateTime( TQDateTime::currentDateTime() );
} else if ( widIt.data()->inherits( "KDatePicker" ) ) {
KDatePicker *wdg = static_cast<KDatePicker*>( widIt.data() );
- wdg->setDate( TQDate::tqcurrentDate() );
+ wdg->setDate( TQDate::currentDate() );
} else if ( widIt.data()->inherits( TQCOMBOBOX_OBJECT_NAME_STRING ) ) {
TQComboBox *wdg = static_cast<TQComboBox*>( widIt.data() );
wdg->setCurrentItem( 0 );