summaryrefslogtreecommitdiffstats
path: root/kplato/kptcalendareditbase.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptcalendareditbase.cc')
-rw-r--r--kplato/kptcalendareditbase.cc52
1 files changed, 26 insertions, 26 deletions
diff --git a/kplato/kptcalendareditbase.cc b/kplato/kptcalendareditbase.cc
index aaa6fab0..df46d3af 100644
--- a/kplato/kptcalendareditbase.cc
+++ b/kplato/kptcalendareditbase.cc
@@ -31,7 +31,7 @@
#include <tqheader.h>
#include <tqlistview.h>
#include <tqdatetimeedit.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
@@ -51,10 +51,10 @@ CalendarEditBase::CalendarEditBase( TQWidget* parent, const char* name, WFlags f
groupBox2 = new TQGroupBox( this, "groupBox2" );
groupBox2->setColumnLayout(0, Qt::Vertical );
- groupBox2->tqlayout()->setSpacing( 6 );
- groupBox2->tqlayout()->setMargin( 6 );
- groupBox2Layout = new TQGridLayout( groupBox2->tqlayout() );
- groupBox2Layout->tqsetAlignment( TQt::AlignTop );
+ groupBox2->layout()->setSpacing( 6 );
+ groupBox2->layout()->setMargin( 6 );
+ groupBox2Layout = new TQGridLayout( groupBox2->layout() );
+ groupBox2Layout->setAlignment( TQt::AlignTop );
calendarPanel = new CalendarPanel( groupBox2, "calendarPanel" );
@@ -62,54 +62,54 @@ CalendarEditBase::CalendarEditBase( TQWidget* parent, const char* name, WFlags f
day = new TQButtonGroup( groupBox2, "day" );
day->setColumnLayout(0, Qt::Vertical );
- day->tqlayout()->setSpacing( 6 );
- day->tqlayout()->setMargin( 6 );
- dayLayout = new TQVBoxLayout( day->tqlayout() );
- dayLayout->tqsetAlignment( TQt::AlignTop );
+ day->layout()->setSpacing( 6 );
+ day->layout()->setMargin( 6 );
+ dayLayout = new TQVBoxLayout( day->layout() );
+ dayLayout->setAlignment( TQt::AlignTop );
- tqlayout8 = new TQHBoxLayout( 0, 0, 6, "tqlayout8");
+ layout8 = new TQHBoxLayout( 0, 0, 6, "layout8");
state = new TQComboBox( FALSE, day, "state" );
- tqlayout8->addWidget( state );
+ layout8->addWidget( state );
bApply = new TQPushButton( day, "bApply" );
- tqlayout8->addWidget( bApply );
- dayLayout->addLayout( tqlayout8 );
+ layout8->addWidget( bApply );
+ dayLayout->addLayout( layout8 );
groupBox4 = new TQGroupBox( day, "groupBox4" );
groupBox4->setColumnLayout(0, Qt::Vertical );
- groupBox4->tqlayout()->setSpacing( 6 );
- groupBox4->tqlayout()->setMargin( 6 );
- groupBox4Layout = new TQVBoxLayout( groupBox4->tqlayout() );
- groupBox4Layout->tqsetAlignment( TQt::AlignTop );
+ groupBox4->layout()->setSpacing( 6 );
+ groupBox4->layout()->setMargin( 6 );
+ groupBox4Layout = new TQVBoxLayout( groupBox4->layout() );
+ groupBox4Layout->setAlignment( TQt::AlignTop );
intervalList = new TQListView( groupBox4, "intervalList" );
intervalList->addColumn( tr2i18n( "Work Interval" ) );
groupBox4Layout->addWidget( intervalList );
- tqlayout6 = new TQHBoxLayout( 0, 0, 6, "tqlayout6");
+ layout6 = new TQHBoxLayout( 0, 0, 6, "layout6");
startTime = new TQTimeEdit( groupBox4, "startTime" );
- tqlayout6->addWidget( startTime );
+ layout6->addWidget( startTime );
endTime = new TQTimeEdit( groupBox4, "endTime" );
- tqlayout6->addWidget( endTime );
- groupBox4Layout->addLayout( tqlayout6 );
+ layout6->addWidget( endTime );
+ groupBox4Layout->addLayout( layout6 );
- tqlayout5 = new TQHBoxLayout( 0, 0, 6, "tqlayout5");
+ layout5 = new TQHBoxLayout( 0, 0, 6, "layout5");
bClear = new TQPushButton( groupBox4, "bClear" );
- tqlayout5->addWidget( bClear );
+ layout5->addWidget( bClear );
bAddInterval = new TQPushButton( groupBox4, "bAddInterval" );
- tqlayout5->addWidget( bAddInterval );
- groupBox4Layout->addLayout( tqlayout5 );
+ layout5->addWidget( bAddInterval );
+ groupBox4Layout->addLayout( layout5 );
dayLayout->addWidget( groupBox4 );
groupBox2Layout->addWidget( day, 1, 1 );
CalendarEditBaseLayout->addWidget( groupBox2 );
languageChange();
- resize( TQSize(540, 340).expandedTo(tqminimumSizeHint()) );
+ resize( TQSize(540, 340).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
}