summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kbudgetvaluesdecl.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:17 -0600
commit1f9d00360b9018301630ce062d7dda0c6583edfb (patch)
tree1013b917f9a8ad41ed928d62250e9bfe1ed91414 /kmymoney2/widgets/kbudgetvaluesdecl.cpp
parent252fce5a2a5384702fbcc1c9987284d7bd2e6943 (diff)
downloadkmymoney-1f9d00360b9018301630ce062d7dda0c6583edfb.tar.gz
kmymoney-1f9d00360b9018301630ce062d7dda0c6583edfb.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 252fce5a2a5384702fbcc1c9987284d7bd2e6943.
Diffstat (limited to 'kmymoney2/widgets/kbudgetvaluesdecl.cpp')
-rw-r--r--kmymoney2/widgets/kbudgetvaluesdecl.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmymoney2/widgets/kbudgetvaluesdecl.cpp b/kmymoney2/widgets/kbudgetvaluesdecl.cpp
index 7bd47e6..385cbfa 100644
--- a/kmymoney2/widgets/kbudgetvaluesdecl.cpp
+++ b/kmymoney2/widgets/kbudgetvaluesdecl.cpp
@@ -23,7 +23,7 @@ inline TQString kmm_i18n(const char* msg) { return i18n(msg); }
#include <kpushbutton.h>
#include <tqbuttongroup.h>
#include <tqradiobutton.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
@@ -169,21 +169,21 @@ KBudgetValuesDecl::KBudgetValuesDecl( TQWidget* parent, const char* name, WFlags
KBudgetValuesDeclLayout->addWidget( m_firstItemStack, 0, 3 );
- layout12 = new TQVBoxLayout( 0, 0, 6, "layout12");
+ tqlayout12 = new TQVBoxLayout( 0, 0, 6, "tqlayout12");
m_clearButton = new KPushButton( this, "m_clearButton" );
- layout12->addWidget( m_clearButton );
+ tqlayout12->addWidget( m_clearButton );
spacer7 = new TQSpacerItem( 20, 21, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
- layout12->addItem( spacer7 );
+ tqlayout12->addItem( spacer7 );
- KBudgetValuesDeclLayout->addMultiCellLayout( layout12, 0, 5, 1, 1 );
+ KBudgetValuesDeclLayout->addMultiCellLayout( tqlayout12, 0, 5, 1, 1 );
m_periodGroup = new TQButtonGroup( this, "m_periodGroup" );
m_periodGroup->setColumnLayout(0, Qt::Vertical );
- m_periodGroup->layout()->setSpacing( 6 );
- m_periodGroup->layout()->setMargin( 11 );
- m_periodGroupLayout = new TQVBoxLayout( m_periodGroup->layout() );
- m_periodGroupLayout->setAlignment( TQt::AlignTop );
+ m_periodGroup->tqlayout()->setSpacing( 6 );
+ m_periodGroup->tqlayout()->setMargin( 11 );
+ m_periodGroupLayout = new TQVBoxLayout( m_periodGroup->tqlayout() );
+ m_periodGroupLayout->tqsetAlignment( TQt::AlignTop );
m_monthlyButton = new TQRadioButton( m_periodGroup, "m_monthlyButton" );
m_periodGroupLayout->addWidget( m_monthlyButton );
@@ -198,7 +198,7 @@ KBudgetValuesDecl::KBudgetValuesDecl( TQWidget* parent, const char* name, WFlags
KBudgetValuesDeclLayout->addMultiCellWidget( m_periodGroup, 0, 5, 0, 0 );
languageChange();
- resize( TQSize(553, 188).expandedTo(minimumSizeHint()) );
+ resize( TQSize(553, 188).expandedTo(tqminimumSizeHint()) );
clearWState( WState_Polished );
// tab order