diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:05:00 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-21 14:05:00 -0600 |
commit | 81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9 (patch) | |
tree | 984088ab9d226a14ccfea73720e580c16884702f /kmymoney2/widgets/kmymoneycategory.cpp | |
parent | c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6 (diff) | |
download | kmymoney-81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9.tar.gz kmymoney-81ed92522a3cc6b80e9d790bd7a52b0eb4d412b9.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kmymoney2/widgets/kmymoneycategory.cpp')
-rw-r--r-- | kmymoney2/widgets/kmymoneycategory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/widgets/kmymoneycategory.cpp b/kmymoney2/widgets/kmymoneycategory.cpp index 3e74bd3..39f4b63 100644 --- a/kmymoney2/widgets/kmymoneycategory.cpp +++ b/kmymoney2/widgets/kmymoneycategory.cpp @@ -60,7 +60,7 @@ KMyMoneyCategory::KMyMoneyCategory(TQWidget* parent, const char * name, bool spl if(splitButton) { d->frame = new TQFrame(0); d->frame->setFocusProxy(this); - TQHBoxLayout* tqlayout = new TQHBoxLayout(d->frame); + TQHBoxLayout* layout = new TQHBoxLayout(d->frame); // make sure not to use our own overridden version of reparent() here KMyMoneyCombo::reparent(d->frame, getWFlags() & ~WType_Mask, TQPoint(0, 0), true); if(parent) @@ -72,8 +72,8 @@ KMyMoneyCategory::KMyMoneyCategory(TQWidget* parent, const char * name, bool spl KIcon::SizeSmall)), "", ""); d->splitButton = new KPushButton(splitButtonItem, d->frame, "splitButton"); - tqlayout->addWidget(this, 5); - tqlayout->addWidget(d->splitButton); + layout->addWidget(this, 5); + layout->addWidget(d->splitButton); } m_completion = new kMyMoneyAccountCompletion(this, 0); @@ -83,7 +83,7 @@ KMyMoneyCategory::KMyMoneyCategory(TQWidget* parent, const char * name, bool spl KMyMoneyCategory::~KMyMoneyCategory() { - // make sure to wipe out the frame, button and tqlayout + // make sure to wipe out the frame, button and layout if(d->frame && !d->frame->parentWidget()) d->frame->deleteLater(); |