diff options
Diffstat (limited to 'kmymoney2/widgets/transactionform.cpp')
-rw-r--r-- | kmymoney2/widgets/transactionform.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/widgets/transactionform.cpp b/kmymoney2/widgets/transactionform.cpp index 8e56571..b1d55cd 100644 --- a/kmymoney2/widgets/transactionform.cpp +++ b/kmymoney2/widgets/transactionform.cpp @@ -47,8 +47,8 @@ using namespace KMyMoneyTransactionForm; -TabBar::TabBar(TQWidget* tqparent, const char* name) : - TQTabBar(tqparent, name), +TabBar::TabBar(TQWidget* parent, const char* name) : + TQTabBar(parent, name), m_signalType(SignalNormal) { connect(this, TQT_SIGNAL(selected(int)), this, TQT_SLOT(slotTabSelected(int))); @@ -165,8 +165,8 @@ void TabBar::copyTabs(const TabBar* otabbar) } } -TransactionForm::TransactionForm(TQWidget *tqparent, const char *name) : - TransactionEditorContainer(tqparent, name), +TransactionForm::TransactionForm(TQWidget *parent, const char *name) : + TransactionEditorContainer(parent, name), m_transaction(0), m_tabBar(0) { @@ -266,12 +266,12 @@ void TransactionForm::paintCell(TQPainter* painter, int row, int col, const TQRe } } -TabBar* TransactionForm::tabBar(TQWidget* tqparent) +TabBar* TransactionForm::tabBar(TQWidget* parent) { - if(!m_tabBar && tqparent) { + if(!m_tabBar && parent) { // determine the height of the objects in the table // create the tab bar - m_tabBar = new TabBar( tqparent ); + m_tabBar = new TabBar( parent ); m_tabBar->setSignalEmission(TabBar::SignalAlways); m_tabBar->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, m_tabBar->sizePolicy().hasHeightForWidth() ) ); connect(m_tabBar, TQT_SIGNAL(tabSelected(int)), this, TQT_SLOT(slotActionSelected(int))); |