diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:00 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:00 -0600 |
commit | 81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9 (patch) | |
tree | 984088ab9d226a14ccfea73720e580c16884702f /kmymoney2/views/kgloballedgerview.cpp | |
parent | c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6 (diff) | |
download | kmymoney-81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9.tar.gz kmymoney-81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kmymoney2/views/kgloballedgerview.cpp')
-rw-r--r-- | kmymoney2/views/kgloballedgerview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp index bb64c10..8209d3f 100644 --- a/kmymoney2/views/kgloballedgerview.cpp +++ b/kmymoney2/views/kgloballedgerview.cpp @@ -177,13 +177,13 @@ KGlobalLedgerView::KGlobalLedgerView(TQWidget *parent, const char *name ) m_toolbar->alignItemRight(1); #endif m_toolbar->setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Fixed); - tqlayout()->addWidget(m_toolbarFrame); + layout()->addWidget(m_toolbarFrame); // create the register frame m_registerFrame = new TQFrame(this); TQVBoxLayout* registerFrameLayout = new TQVBoxLayout(m_registerFrame, 0, 0); - tqlayout()->addWidget(m_registerFrame); - tqlayout()->setStretchFactor(m_registerFrame, 2); + layout()->addWidget(m_registerFrame); + layout()->setStretchFactor(m_registerFrame, 2); m_register = new KMyMoneyRegister::Register(m_registerFrame); registerFrameLayout->addWidget(m_register); m_register->installEventFilter(this); @@ -210,12 +210,12 @@ KGlobalLedgerView::KGlobalLedgerView(TQWidget *parent, const char *name ) spacer = new TQSpacerItem( 20, 1, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); summaryFrameLayout->addItem(spacer); summaryFrameLayout->addWidget(m_rightSummaryLabel); - tqlayout()->addWidget(m_summaryFrame); + layout()->addWidget(m_summaryFrame); // create the button frame m_buttonFrame = new TQFrame(this); TQVBoxLayout* buttonLayout = new TQVBoxLayout(m_buttonFrame, 0, 0); - tqlayout()->addWidget(m_buttonFrame); + layout()->addWidget(m_buttonFrame); m_buttonbar = new KToolBar(m_buttonFrame, 0, true); m_buttonbar->setIconText(KToolBar::IconTextRight); buttonLayout->addWidget(m_buttonbar); @@ -236,7 +236,7 @@ KGlobalLedgerView::KGlobalLedgerView(TQWidget *parent, const char *name ) frameLayout->addWidget(m_form); m_formFrame->setFrameShape( TQFrame::Panel ); m_formFrame->setFrameShadow( TQFrame::Raised ); - tqlayout()->addWidget(m_formFrame); + layout()->addWidget(m_formFrame); connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotLoadView())); connect(m_register, TQT_SIGNAL(focusChanged(KMyMoneyRegister::Transaction*)), m_form, TQT_SLOT(slotSetTransaction(KMyMoneyRegister::Transaction*))); |