diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kplato/kptaccountsview.cc | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kplato/kptaccountsview.cc')
-rw-r--r-- | kplato/kptaccountsview.cc | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kplato/kptaccountsview.cc b/kplato/kptaccountsview.cc index d9e0c33d..9825d9c2 100644 --- a/kplato/kptaccountsview.cc +++ b/kplato/kptaccountsview.cc @@ -64,10 +64,10 @@ public: } }; -AccountsView::AccountItem::AccountItem(Account *a, TQListView *tqparent, bool highlight) - : DoubleListViewBase::MasterListItem(tqparent, a->name(), highlight), +AccountsView::AccountItem::AccountItem(Account *a, TQListView *parent, bool highlight) + : DoubleListViewBase::MasterListItem(parent, a->name(), highlight), account(a) { - if (tqparent->columns() >= 3) { + if (parent->columns() >= 3) { setText(2, a->description()); } //kdDebug()<<k_funcinfo<<endl; @@ -81,8 +81,8 @@ AccountsView::AccountItem::AccountItem(Account *a, TQListViewItem *p, bool highl //kdDebug()<<k_funcinfo<<endl; } -AccountsView::AccountItem::AccountItem(TQString text, Account *a, TQListViewItem *tqparent, bool highlight) - : DoubleListViewBase::MasterListItem(tqparent, text, highlight), +AccountsView::AccountItem::AccountItem(TQString text, Account *a, TQListViewItem *parent, bool highlight) + : DoubleListViewBase::MasterListItem(parent, text, highlight), account(a) { //kdDebug()<<k_funcinfo<<endl; } @@ -93,8 +93,8 @@ void AccountsView::AccountItem::add(int col, const TQDate &date, const EffortCos m_slaveItem->setText(col, KGlobal::locale()->formatMoney(cm.cost(), "", 0)); } -AccountsView::AccountsView(Project &project, View *view, TQWidget *tqparent) - : TQWidget(tqparent, "Accounts view"), +AccountsView::AccountsView(Project &project, View *view, TQWidget *parent) + : TQWidget(parent, "Accounts view"), m_mainview(view), m_project(project), m_accounts(project.accounts()) { @@ -165,32 +165,32 @@ void AccountsView::initAccList(const AccountList &list) { createPeriods(); } -void AccountsView::initAccSubItems(Account *acc, AccountsView::AccountItem *tqparent) { +void AccountsView::initAccSubItems(Account *acc, AccountsView::AccountItem *parent) { if (!acc->accountList().isEmpty()) { -/* AccountsView::AccountItem *a = new AccountsView::AccountItem(i18n("Subaccounts"), acc, tqparent); - DoubleListViewBase::SlaveListItem *i = new DoubleListViewBase::SlaveListItem(a, tqparent->period); +/* AccountsView::AccountItem *a = new AccountsView::AccountItem(i18n("Subaccounts"), acc, parent); + DoubleListViewBase::SlaveListItem *i = new DoubleListViewBase::SlaveListItem(a, parent->period); a->period = i;*/ - initAccList(acc->accountList(), tqparent); + initAccList(acc->accountList(), parent); } -// AccountsView::AccountItem *a = new AccountsView::AccountItem(i18n("Variance"), acc, tqparent, true); -// DoubleListViewBase::SlaveListItem *i = new DoubleListViewBase::SlaveListItem(a, tqparent->period, true); +// AccountsView::AccountItem *a = new AccountsView::AccountItem(i18n("Variance"), acc, parent, true); +// DoubleListViewBase::SlaveListItem *i = new DoubleListViewBase::SlaveListItem(a, parent->period, true); // a->period = i; // -// a = new AccountsView::AccountItem(i18n("Actual"), acc, tqparent); -// i = new DoubleListViewBase::SlaveListItem(a, tqparent->period); +// a = new AccountsView::AccountItem(i18n("Actual"), acc, parent); +// i = new DoubleListViewBase::SlaveListItem(a, parent->period); // a->period = i; // -// a = new AccountsView::AccountItem(i18n("Planned"), acc, tqparent); -// i = new DoubleListViewBase::SlaveListItem(a, tqparent->period); +// a = new AccountsView::AccountItem(i18n("Planned"), acc, parent); +// i = new DoubleListViewBase::SlaveListItem(a, parent->period); // a->period = i; } -void AccountsView::initAccList(const AccountList &list, AccountsView::AccountItem *tqparent) { +void AccountsView::initAccList(const AccountList &list, AccountsView::AccountItem *parent) { AccountListIterator it = list; for (it.toLast(); it.current(); --it) { - AccountsView::AccountItem *a = new AccountsView::AccountItem(it.current(), tqparent); + AccountsView::AccountItem *a = new AccountsView::AccountItem(it.current(), parent); a->setOpen(true); a->setExpandable(!it.current()->isElement()); initAccSubItems(it.current(), a); |