summaryrefslogtreecommitdiffstats
path: root/kplato/kptcalendareditbase.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kplato/kptcalendareditbase.cc
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
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 df46d3af..aaa6fab0 100644
--- a/kplato/kptcalendareditbase.cc
+++ b/kplato/kptcalendareditbase.cc
@@ -31,7 +31,7 @@
#include <tqheader.h>
#include <tqlistview.h>
#include <tqdatetimeedit.h>
-#include <layout.h>
+#include <tqlayout.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->layout()->setSpacing( 6 );
- groupBox2->layout()->setMargin( 6 );
- groupBox2Layout = new TQGridLayout( groupBox2->layout() );
- groupBox2Layout->setAlignment( TQt::AlignTop );
+ groupBox2->tqlayout()->setSpacing( 6 );
+ groupBox2->tqlayout()->setMargin( 6 );
+ groupBox2Layout = new TQGridLayout( groupBox2->tqlayout() );
+ groupBox2Layout->tqsetAlignment( 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->layout()->setSpacing( 6 );
- day->layout()->setMargin( 6 );
- dayLayout = new TQVBoxLayout( day->layout() );
- dayLayout->setAlignment( TQt::AlignTop );
+ day->tqlayout()->setSpacing( 6 );
+ day->tqlayout()->setMargin( 6 );
+ dayLayout = new TQVBoxLayout( day->tqlayout() );
+ dayLayout->tqsetAlignment( TQt::AlignTop );
- layout8 = new TQHBoxLayout( 0, 0, 6, "layout8");
+ tqlayout8 = new TQHBoxLayout( 0, 0, 6, "tqlayout8");
state = new TQComboBox( FALSE, day, "state" );
- layout8->addWidget( state );
+ tqlayout8->addWidget( state );
bApply = new TQPushButton( day, "bApply" );
- layout8->addWidget( bApply );
- dayLayout->addLayout( layout8 );
+ tqlayout8->addWidget( bApply );
+ dayLayout->addLayout( tqlayout8 );
groupBox4 = new TQGroupBox( day, "groupBox4" );
groupBox4->setColumnLayout(0, Qt::Vertical );
- groupBox4->layout()->setSpacing( 6 );
- groupBox4->layout()->setMargin( 6 );
- groupBox4Layout = new TQVBoxLayout( groupBox4->layout() );
- groupBox4Layout->setAlignment( TQt::AlignTop );
+ groupBox4->tqlayout()->setSpacing( 6 );
+ groupBox4->tqlayout()->setMargin( 6 );
+ groupBox4Layout = new TQVBoxLayout( groupBox4->tqlayout() );
+ groupBox4Layout->tqsetAlignment( TQt::AlignTop );
intervalList = new TQListView( groupBox4, "intervalList" );
intervalList->addColumn( tr2i18n( "Work Interval" ) );
groupBox4Layout->addWidget( intervalList );
- layout6 = new TQHBoxLayout( 0, 0, 6, "layout6");
+ tqlayout6 = new TQHBoxLayout( 0, 0, 6, "tqlayout6");
startTime = new TQTimeEdit( groupBox4, "startTime" );
- layout6->addWidget( startTime );
+ tqlayout6->addWidget( startTime );
endTime = new TQTimeEdit( groupBox4, "endTime" );
- layout6->addWidget( endTime );
- groupBox4Layout->addLayout( layout6 );
+ tqlayout6->addWidget( endTime );
+ groupBox4Layout->addLayout( tqlayout6 );
- layout5 = new TQHBoxLayout( 0, 0, 6, "layout5");
+ tqlayout5 = new TQHBoxLayout( 0, 0, 6, "tqlayout5");
bClear = new TQPushButton( groupBox4, "bClear" );
- layout5->addWidget( bClear );
+ tqlayout5->addWidget( bClear );
bAddInterval = new TQPushButton( groupBox4, "bAddInterval" );
- layout5->addWidget( bAddInterval );
- groupBox4Layout->addLayout( layout5 );
+ tqlayout5->addWidget( bAddInterval );
+ groupBox4Layout->addLayout( tqlayout5 );
dayLayout->addWidget( groupBox4 );
groupBox2Layout->addWidget( day, 1, 1 );
CalendarEditBaseLayout->addWidget( groupBox2 );
languageChange();
- resize( TQSize(540, 340).expandedTo(minimumSizeHint()) );
+ resize( TQSize(540, 340).expandedTo(tqminimumSizeHint()) );
clearWState( WState_Polished );
}