summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit6612bcfa1e491fbb2f441f2060f700b6ad589ffd (patch)
tree01ab5692b3735b315708ecef00f3a1a3d3e07d51 /kmymoney2/widgets
parent6aa61ac2c4eb5a0c0882b2255a9dd6789a428bc7 (diff)
downloadkmymoney-6612bcfa1e491fbb2f441f2060f700b6ad589ffd.tar.gz
kmymoney-6612bcfa1e491fbb2f441f2060f700b6ad589ffd.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/widgets')
-rw-r--r--kmymoney2/widgets/kaccounttemplateselectordecl.ui2
-rw-r--r--kmymoney2/widgets/kbudgetvaluesdecl.ui2
-rw-r--r--kmymoney2/widgets/klistviewsearchline.cpp2
-rw-r--r--kmymoney2/widgets/klistviewsearchline.h4
-rw-r--r--kmymoney2/widgets/kmymoneyaccounttreebase.cpp2
-rw-r--r--kmymoney2/widgets/kmymoneyaccounttreebase.h2
-rw-r--r--kmymoney2/widgets/kmymoneycategory.cpp2
-rw-r--r--kmymoney2/widgets/kmymoneycategory.h8
-rw-r--r--kmymoney2/widgets/kmymoneycombo.cpp2
-rw-r--r--kmymoney2/widgets/kmymoneydateinput.cpp2
-rw-r--r--kmymoney2/widgets/kmymoneygpgconfigdecl.ui2
-rw-r--r--kmymoney2/widgets/kmymoneyonlinequoteconfigdecl.ui2
-rw-r--r--kmymoney2/widgets/kmymoneyreportconfigtab1decl.ui2
-rw-r--r--kmymoney2/widgets/kmymoneyreportconfigtab2decl.ui2
-rw-r--r--kmymoney2/widgets/kmymoneyreportconfigtab3decl.ui2
-rw-r--r--kmymoney2/widgets/kmymoneyreportconfigtabchartdecl.ui2
-rw-r--r--kmymoney2/widgets/kmymoneyreportcontroldecl.ui2
-rw-r--r--kmymoney2/widgets/kmymoneywizard.h2
-rw-r--r--kmymoney2/widgets/kschedulebriefwidget.ui2
-rw-r--r--kmymoney2/widgets/register.cpp2
-rw-r--r--kmymoney2/widgets/registersearchline.cpp4
-rw-r--r--kmymoney2/widgets/transaction.cpp12
-rw-r--r--kmymoney2/widgets/transactionform.cpp2
-rw-r--r--kmymoney2/widgets/transactionsortoption.ui2
24 files changed, 34 insertions, 34 deletions
diff --git a/kmymoney2/widgets/kaccounttemplateselectordecl.ui b/kmymoney2/widgets/kaccounttemplateselectordecl.ui
index f4f2e55..deb37ab 100644
--- a/kmymoney2/widgets/kaccounttemplateselectordecl.ui
+++ b/kmymoney2/widgets/kaccounttemplateselectordecl.ui
@@ -184,5 +184,5 @@
</widget>
</vbox>
</widget>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/widgets/kbudgetvaluesdecl.ui b/kmymoney2/widgets/kbudgetvaluesdecl.ui
index bfc2d1d..0eb9cb7 100644
--- a/kmymoney2/widgets/kbudgetvaluesdecl.ui
+++ b/kmymoney2/widgets/kbudgetvaluesdecl.ui
@@ -396,5 +396,5 @@
<includes>
<include location="global" impldecl="in implementation">kmymoney/kmymoneyedit.h</include>
</includes>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/widgets/klistviewsearchline.cpp b/kmymoney2/widgets/klistviewsearchline.cpp
index cd27928..a89c45e 100644
--- a/kmymoney2/widgets/klistviewsearchline.cpp
+++ b/kmymoney2/widgets/klistviewsearchline.cpp
@@ -365,7 +365,7 @@ void KListViewSearchLine::checkItemParentsNotVisible()
*
* \p item The list view item to start showing / hiding items at. Typically, this is the first child of another item, or the
* the first child of the list view.
- * \p highestHiddenParent The highest (closest to root) ancestor of \p item which is hidden. If 0, all tqparents of
+ * \p highestHiddenParent The highest (closest to root) ancestor of \p item which is hidden. If 0, all parents of
* \p item must be visible.
* \return \c true if an item which should be visible is found, \c false if all items found should be hidden. If this function
* returns true and \p highestHiddenParent was not 0, highestHiddenParent will have been shown.
diff --git a/kmymoney2/widgets/klistviewsearchline.h b/kmymoney2/widgets/klistviewsearchline.h
index 299f350..b41d3ad 100644
--- a/kmymoney2/widgets/klistviewsearchline.h
+++ b/kmymoney2/widgets/klistviewsearchline.h
@@ -81,7 +81,7 @@ public:
TQValueList<int> searchColumns() const;
/**
- * If this is true (the default) then the tqparents of matched items will also
+ * If this is true (the default) then the parents of matched items will also
* be shown.
*
* @see setKeepParentsVisible()
@@ -114,7 +114,7 @@ public slots:
* a tqparent or ancesestor of an item is does not match the search then it
* will be hidden and as such so too will any tqchildren that match.
*
- * If this is set to true (the default) then the tqparents of matching items
+ * If this is set to true (the default) then the parents of matching items
* will be shown.
*
* @see keepParentsVisible
diff --git a/kmymoney2/widgets/kmymoneyaccounttreebase.cpp b/kmymoney2/widgets/kmymoneyaccounttreebase.cpp
index b64b17c..6d8b026 100644
--- a/kmymoney2/widgets/kmymoneyaccounttreebase.cpp
+++ b/kmymoney2/widgets/kmymoneyaccounttreebase.cpp
@@ -188,7 +188,7 @@ bool KMyMoneyAccountTreeBase::dropAccountOnAccount(const MyMoneyAccount& accFrom
// it does not make sense to reparent an account to oneself
// or to reparent it to it's current tqparent
if(accTo.id() != accFrom.id()
- && accFrom.tqparentAccountId() != accTo.id()) {
+ && accFrom.parentAccountId() != accTo.id()) {
// Moving within a group is generally ok
rc = accTo.accountGroup() == accFrom.accountGroup();
diff --git a/kmymoney2/widgets/kmymoneyaccounttreebase.h b/kmymoney2/widgets/kmymoneyaccounttreebase.h
index 7b27b6a..3bd9e91 100644
--- a/kmymoney2/widgets/kmymoneyaccounttreebase.h
+++ b/kmymoney2/widgets/kmymoneyaccounttreebase.h
@@ -411,7 +411,7 @@ public:
* by @p item.
*
* @param item pointer to other KMyMoneyAccountTreeItem that
- * should be checked for tqparent/grand-tqparenthood of this
+ * should be checked for tqparent/grand-parenthood of this
* object
* @retval true @p this object is a decendant of @p item
* @retval false @p this object is no decendant of @p item
diff --git a/kmymoney2/widgets/kmymoneycategory.cpp b/kmymoney2/widgets/kmymoneycategory.cpp
index 7fc8c5a..85652f9 100644
--- a/kmymoney2/widgets/kmymoneycategory.cpp
+++ b/kmymoney2/widgets/kmymoneycategory.cpp
@@ -84,7 +84,7 @@ KMyMoneyCategory::KMyMoneyCategory(TQWidget* tqparent, const char * name, bool s
KMyMoneyCategory::~KMyMoneyCategory()
{
// make sure to wipe out the frame, button and tqlayout
- if(d->frame && !d->frame->tqparentWidget())
+ if(d->frame && !d->frame->parentWidget())
d->frame->deleteLater();
delete d;
diff --git a/kmymoney2/widgets/kmymoneycategory.h b/kmymoney2/widgets/kmymoneycategory.h
index 5d90983..fa4998e 100644
--- a/kmymoney2/widgets/kmymoneycategory.h
+++ b/kmymoney2/widgets/kmymoneycategory.h
@@ -69,10 +69,10 @@ public:
* TQFrame. It also adds a KPushButton with the "Split" icon to the right of the
* input field. In this case it is important not to use the pointer to this widget
* but it's tqparent when placing the object in a TQLayout, TQTable or some such. The
- * tqparent widget (the TQFrame in this case) can be extracted with the tqparentWidget()
+ * tqparent widget (the TQFrame in this case) can be extracted with the parentWidget()
* method.
*
- * Retqparenting is handled by the object transparently for both cases.
+ * Reparenting is handled by the object transparently for both cases.
*
* Standard usage example (no split button):
*
@@ -88,8 +88,8 @@ public:
* @code
* KMyMoneyCategory* category = new KMyMoneyCategory(0, 0, true);
* category->reparent(newParent);
- * tqlayout->addWidget(category->tqparentWidget());
- * table->setCellWidget(category->tqparentWidget());
+ * tqlayout->addWidget(category->parentWidget());
+ * table->setCellWidget(category->parentWidget());
* @endcode
*/
KMyMoneyCategory(TQWidget* tqparent = 0, const char* name = 0, bool splitButton = false);
diff --git a/kmymoney2/widgets/kmymoneycombo.cpp b/kmymoney2/widgets/kmymoneycombo.cpp
index 387929f..ad2c1f7 100644
--- a/kmymoney2/widgets/kmymoneycombo.cpp
+++ b/kmymoney2/widgets/kmymoneycombo.cpp
@@ -310,7 +310,7 @@ TQSize KMyMoneyCombo::tqsizeHint() const
return KComboBox::tqsizeHint();
// I wanted to use the code below to adjust the size of the combo box
- // according to the largest item in the selector list. Aptqparently that
+ // according to the largest item in the selector list. Apparently that
// does not work too well in the enter and edit schedule dialog for
// the category combo box. So we just use the standard implementation for now.
#if 0
diff --git a/kmymoney2/widgets/kmymoneydateinput.cpp b/kmymoney2/widgets/kmymoneydateinput.cpp
index d0fd547..9cd3963 100644
--- a/kmymoney2/widgets/kmymoneydateinput.cpp
+++ b/kmymoney2/widgets/kmymoneydateinput.cpp
@@ -56,7 +56,7 @@ bool KMyMoneyDateEdit::event(TQEvent* e)
// across the TQDateEdit::event(FocusOutEvent)
bool rc;
- kMyMoneyDateInput* p = dynamic_cast<kMyMoneyDateInput*>(tqparentWidget());
+ kMyMoneyDateInput* p = dynamic_cast<kMyMoneyDateInput*>(parentWidget());
if(e->type() == TQEvent::FocusOut && p) {
TQDate d = p->date();
rc = TQDateEdit::event(e);
diff --git a/kmymoney2/widgets/kmymoneygpgconfigdecl.ui b/kmymoney2/widgets/kmymoneygpgconfigdecl.ui
index aeb9224..fd8efbc 100644
--- a/kmymoney2/widgets/kmymoneygpgconfigdecl.ui
+++ b/kmymoney2/widgets/kmymoneygpgconfigdecl.ui
@@ -193,5 +193,5 @@ This mechanism is provided for the case that you have lost your key and cannot a
</spacer>
</vbox>
</widget>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/widgets/kmymoneyonlinequoteconfigdecl.ui b/kmymoney2/widgets/kmymoneyonlinequoteconfigdecl.ui
index fcd6250..2392f80 100644
--- a/kmymoney2/widgets/kmymoneyonlinequoteconfigdecl.ui
+++ b/kmymoney2/widgets/kmymoneyonlinequoteconfigdecl.ui
@@ -227,5 +227,5 @@
</widget>
<customwidgets>
</customwidgets>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/widgets/kmymoneyreportconfigtab1decl.ui b/kmymoney2/widgets/kmymoneyreportconfigtab1decl.ui
index a744590..4a84ee7 100644
--- a/kmymoney2/widgets/kmymoneyreportconfigtab1decl.ui
+++ b/kmymoney2/widgets/kmymoneyreportconfigtab1decl.ui
@@ -119,5 +119,5 @@
</spacer>
</vbox>
</widget>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/widgets/kmymoneyreportconfigtab2decl.ui b/kmymoney2/widgets/kmymoneyreportconfigtab2decl.ui
index ac0c5f3..04b6e71 100644
--- a/kmymoney2/widgets/kmymoneyreportconfigtab2decl.ui
+++ b/kmymoney2/widgets/kmymoneyreportconfigtab2decl.ui
@@ -278,5 +278,5 @@
</spacer>
</vbox>
</widget>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/widgets/kmymoneyreportconfigtab3decl.ui b/kmymoney2/widgets/kmymoneyreportconfigtab3decl.ui
index 3a29c6e..6b23280 100644
--- a/kmymoney2/widgets/kmymoneyreportconfigtab3decl.ui
+++ b/kmymoney2/widgets/kmymoneyreportconfigtab3decl.ui
@@ -433,5 +433,5 @@
<slot>setDisabled(bool)</slot>
</connection>
</connections>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/widgets/kmymoneyreportconfigtabchartdecl.ui b/kmymoney2/widgets/kmymoneyreportconfigtabchartdecl.ui
index 07415f9..452e69c 100644
--- a/kmymoney2/widgets/kmymoneyreportconfigtabchartdecl.ui
+++ b/kmymoney2/widgets/kmymoneyreportconfigtabchartdecl.ui
@@ -210,5 +210,5 @@
</spacer>
</vbox>
</widget>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/widgets/kmymoneyreportcontroldecl.ui b/kmymoney2/widgets/kmymoneyreportcontroldecl.ui
index 697d0a8..00ba7e0 100644
--- a/kmymoney2/widgets/kmymoneyreportcontroldecl.ui
+++ b/kmymoney2/widgets/kmymoneyreportcontroldecl.ui
@@ -146,5 +146,5 @@
</widget>
</hbox>
</widget>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/widgets/kmymoneywizard.h b/kmymoney2/widgets/kmymoneywizard.h
index d46563e..88d8530 100644
--- a/kmymoney2/widgets/kmymoneywizard.h
+++ b/kmymoney2/widgets/kmymoneywizard.h
@@ -507,7 +507,7 @@ private:
void selectStep(unsigned int step);
/*
- * The tqlayouts
+ * The layouts
*/
TQVBoxLayout* m_wizardLayout;
TQVBoxLayout* m_stepLayout;
diff --git a/kmymoney2/widgets/kschedulebriefwidget.ui b/kmymoney2/widgets/kschedulebriefwidget.ui
index 609dcd2..209e727 100644
--- a/kmymoney2/widgets/kschedulebriefwidget.ui
+++ b/kmymoney2/widgets/kschedulebriefwidget.ui
@@ -347,5 +347,5 @@
</widget>
</vbox>
</widget>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/widgets/register.cpp b/kmymoney2/widgets/register.cpp
index 79293e1..98303b1 100644
--- a/kmymoney2/widgets/register.cpp
+++ b/kmymoney2/widgets/register.cpp
@@ -1952,7 +1952,7 @@ void Register::removeEditWidgets(TQMap<TQString, TQWidget*>& editWidgets)
// remove pointers from map
TQMap<TQString, TQWidget*>::iterator it;
for(it = editWidgets.begin(); it != editWidgets.end(); ) {
- if((*it)->tqparentWidget() == this) {
+ if((*it)->parentWidget() == this) {
editWidgets.remove(it);
it = editWidgets.begin();
} else
diff --git a/kmymoney2/widgets/registersearchline.cpp b/kmymoney2/widgets/registersearchline.cpp
index f130f68..61df5cb 100644
--- a/kmymoney2/widgets/registersearchline.cpp
+++ b/kmymoney2/widgets/registersearchline.cpp
@@ -72,8 +72,8 @@ void RegisterSearchLine::init(Register *reg)
d->reg = reg;
connect(this, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(queueSearch(const TQString&)));
- TQLabel* label = new TQLabel(i18n("label for status combo", "Stat&us"), tqparentWidget());
- d->combo = new TQComboBox(tqparentWidget());
+ TQLabel* label = new TQLabel(i18n("label for status combo", "Stat&us"), parentWidget());
+ d->combo = new TQComboBox(parentWidget());
// don't change the order of the following lines unless updating
// the case labels in RegisterSearchLine::itemMatches() at the same time
d->combo->insertItem(SmallIcon("run"), i18n("Any status"));
diff --git a/kmymoney2/widgets/transaction.cpp b/kmymoney2/widgets/transaction.cpp
index b45abd2..3a077d7 100644
--- a/kmymoney2/widgets/transaction.cpp
+++ b/kmymoney2/widgets/transaction.cpp
@@ -1212,7 +1212,7 @@ void StdTransaction::arrangeWidgetsInForm(TQMap<TQString, TQWidget*>& editWidget
arrangeWidget(m_form, 0, ValueColumn1, editWidgets["account"]);
arrangeWidget(m_form, 1, LabelColumn1, editWidgets["cashflow"]);
arrangeWidget(m_form, 1, ValueColumn1, editWidgets["payee"]);
- arrangeWidget(m_form, 2, ValueColumn1, editWidgets["category"]->tqparentWidget());
+ arrangeWidget(m_form, 2, ValueColumn1, editWidgets["category"]->parentWidget());
arrangeWidget(m_form, 3, ValueColumn1, editWidgets["memo"]);
if(haveNumberField()) {
arrangeWidget(m_form, 1, LabelColumn2, editWidgets["number-label"]);
@@ -1298,7 +1298,7 @@ void StdTransaction::arrangeWidgetsInRegister(TQMap<TQString, TQWidget*>& editWi
arrangeWidget(m_parent, m_startRow + 0, DateColumn, editWidgets["postdate"]);
arrangeWidget(m_parent, m_startRow + 1, DateColumn, editWidgets["status"]);
arrangeWidget(m_parent, m_startRow + 0, DetailColumn, editWidgets["payee"]);
- arrangeWidget(m_parent, m_startRow + 1, DetailColumn, editWidgets["category"]->tqparentWidget());
+ arrangeWidget(m_parent, m_startRow + 1, DetailColumn, editWidgets["category"]->parentWidget());
arrangeWidget(m_parent, m_startRow + 2, DetailColumn, editWidgets["memo"]);
arrangeWidget(m_parent, m_startRow + 0, PaymentColumn, editWidgets["payment"]);
arrangeWidget(m_parent, m_startRow + 0, DepositColumn, editWidgets["deposit"]);
@@ -1890,9 +1890,9 @@ void InvestTransaction::arrangeWidgetsInForm(TQMap<TQString, TQWidget*>& editWid
arrangeWidget(m_form, 1, ValueColumn2, editWidgets["shares"]);
arrangeWidget(m_form, 2, ValueColumn1, editWidgets["asset-account"]);
arrangeWidget(m_form, 2, ValueColumn2, editWidgets["price"]);
- arrangeWidget(m_form, 3, ValueColumn1, editWidgets["fee-account"]->tqparentWidget());
+ arrangeWidget(m_form, 3, ValueColumn1, editWidgets["fee-account"]->parentWidget());
arrangeWidget(m_form, 3, ValueColumn2, editWidgets["fee-amount"]);
- arrangeWidget(m_form, 4, ValueColumn1, editWidgets["interest-account"]->tqparentWidget());
+ arrangeWidget(m_form, 4, ValueColumn1, editWidgets["interest-account"]->parentWidget());
arrangeWidget(m_form, 4, ValueColumn2, editWidgets["interest-amount"]);
arrangeWidget(m_form, 5, ValueColumn1, editWidgets["memo"]);
arrangeWidget(m_form, 5, ValueColumn2, editWidgets["total"]);
@@ -1990,8 +1990,8 @@ void InvestTransaction::arrangeWidgetsInRegister(TQMap<TQString, TQWidget*>& edi
arrangeWidget(m_parent, m_startRow + 0, SecurityColumn, editWidgets["security"]);
arrangeWidget(m_parent, m_startRow + 0, DetailColumn, editWidgets["activity"]);
arrangeWidget(m_parent, m_startRow + 1, DetailColumn, editWidgets["asset-account"]);
- arrangeWidget(m_parent, m_startRow + 2, DetailColumn, editWidgets["interest-account"]->tqparentWidget());
- arrangeWidget(m_parent, m_startRow + 3, DetailColumn, editWidgets["fee-account"]->tqparentWidget());
+ arrangeWidget(m_parent, m_startRow + 2, DetailColumn, editWidgets["interest-account"]->parentWidget());
+ arrangeWidget(m_parent, m_startRow + 3, DetailColumn, editWidgets["fee-account"]->parentWidget());
arrangeWidget(m_parent, m_startRow + 4, DetailColumn, editWidgets["memo"]);
arrangeWidget(m_parent, m_startRow + 0, QuantityColumn, editWidgets["shares"]);
arrangeWidget(m_parent, m_startRow + 0, PriceColumn, editWidgets["price"]);
diff --git a/kmymoney2/widgets/transactionform.cpp b/kmymoney2/widgets/transactionform.cpp
index 8686371..7ace9ba 100644
--- a/kmymoney2/widgets/transactionform.cpp
+++ b/kmymoney2/widgets/transactionform.cpp
@@ -441,7 +441,7 @@ void TransactionForm::removeEditWidgets(TQMap<TQString, TQWidget*>& editWidgets)
{
TQMap<TQString, TQWidget*>::iterator it;
for(it = editWidgets.begin(); it != editWidgets.end(); ) {
- if((*it)->tqparentWidget() == this) {
+ if((*it)->parentWidget() == this) {
editWidgets.remove(it);
it = editWidgets.begin();
} else
diff --git a/kmymoney2/widgets/transactionsortoption.ui b/kmymoney2/widgets/transactionsortoption.ui
index 887be10..36a78d7 100644
--- a/kmymoney2/widgets/transactionsortoption.ui
+++ b/kmymoney2/widgets/transactionsortoption.ui
@@ -283,5 +283,5 @@
<function access="protected" specifier="non virtual" returnType="TQListViewItem *">addEntry( KListView * p, TQListViewItem * after, int idx )</function>
<function specifier="non virtual" returnType="TQString">settings( void ) const</function>
</functions>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
</UI>