summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneycategory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/kmymoneycategory.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneycategory.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/widgets/kmymoneycategory.cpp b/kmymoney2/widgets/kmymoneycategory.cpp
index 85652f9..3e74bd3 100644
--- a/kmymoney2/widgets/kmymoneycategory.cpp
+++ b/kmymoney2/widgets/kmymoneycategory.cpp
@@ -53,8 +53,8 @@ public:
bool recursive;
};
-KMyMoneyCategory::KMyMoneyCategory(TQWidget* tqparent, const char * name, bool splitButton) :
- KMyMoneyCombo(true, tqparent, name),
+KMyMoneyCategory::KMyMoneyCategory(TQWidget* parent, const char * name, bool splitButton) :
+ KMyMoneyCombo(true, parent, name),
d(new Private)
{
if(splitButton) {
@@ -63,8 +63,8 @@ KMyMoneyCategory::KMyMoneyCategory(TQWidget* tqparent, const char * name, bool s
TQHBoxLayout* tqlayout = 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(tqparent)
- d->frame->reparent(tqparent, TQPoint(0, 0), true);
+ if(parent)
+ d->frame->reparent(parent, TQPoint(0, 0), true);
// create button
KGuiItem splitButtonItem("",
@@ -102,12 +102,12 @@ void KMyMoneyCategory::setPalette(const TQPalette& palette)
KMyMoneyCombo::setPalette(palette);
}
-void KMyMoneyCategory::reparent(TQWidget *tqparent, WFlags w, const TQPoint& pos, bool showIt)
+void KMyMoneyCategory::reparent(TQWidget *parent, WFlags w, const TQPoint& pos, bool showIt)
{
if(d->frame)
- d->frame->reparent(tqparent, w, pos, showIt);
+ d->frame->reparent(parent, w, pos, showIt);
else
- KMyMoneyCombo::reparent(tqparent, w, pos, showIt);
+ KMyMoneyCombo::reparent(parent, w, pos, showIt);
}
kMyMoneyAccountSelector* KMyMoneyCategory::selector(void) const
@@ -183,8 +183,8 @@ void KMyMoneyCategory::setDisabled(bool disable)
setEnabled(!disable);
}
-KMyMoneySecurity::KMyMoneySecurity(TQWidget* tqparent, const char * name) :
- KMyMoneyCategory(tqparent, name, false)
+KMyMoneySecurity::KMyMoneySecurity(TQWidget* parent, const char * name) :
+ KMyMoneyCategory(parent, name, false)
{
}