summaryrefslogtreecommitdiffstats
path: root/libtdepim/designerfields.cpp
diff options
context:
space:
mode:
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 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 );