summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kgloballedgerview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views/kgloballedgerview.cpp')
-rw-r--r--kmymoney2/views/kgloballedgerview.cpp12
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*)));