summaryrefslogtreecommitdiffstats
path: root/kplato/kptaccountspanel.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kplato/kptaccountspanel.cc
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-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/kptaccountspanel.cc')
-rw-r--r--kplato/kptaccountspanel.cc38
1 files changed, 19 insertions, 19 deletions
diff --git a/kplato/kptaccountspanel.cc b/kplato/kptaccountspanel.cc
index a27bd908..b5082af0 100644
--- a/kplato/kptaccountspanel.cc
+++ b/kplato/kptaccountspanel.cc
@@ -39,23 +39,23 @@ namespace KPlato
class AccountItem : public KListViewItem {
public:
- AccountItem(AccountsPanel &pan, TQListView *tqparent)
- : KListViewItem(tqparent), account(0), panel(pan)
+ AccountItem(AccountsPanel &pan, TQListView *parent)
+ : KListViewItem(parent), account(0), panel(pan)
{ init(); }
- AccountItem(AccountsPanel &pan, TQListViewItem *tqparent)
- : KListViewItem(tqparent), account(0), panel(pan)
+ AccountItem(AccountsPanel &pan, TQListViewItem *parent)
+ : KListViewItem(parent), account(0), panel(pan)
{ init(); }
- AccountItem(AccountsPanel &pan, TQListView *tqparent, TQString label1, TQString label2 = TQString())
- : KListViewItem(tqparent, label1, label2), account(0), panel(pan)
+ AccountItem(AccountsPanel &pan, TQListView *parent, TQString label1, TQString label2 = TQString())
+ : KListViewItem(parent, label1, label2), account(0), panel(pan)
{ init(); }
- AccountItem(AccountsPanel &pan, TQListViewItem *tqparent, TQString label1, TQString label2 = TQString())
- : KListViewItem(tqparent, label1, label2), account(0), panel(pan)
+ AccountItem(AccountsPanel &pan, TQListViewItem *parent, TQString label1, TQString label2 = TQString())
+ : KListViewItem(parent, label1, label2), account(0), panel(pan)
{ init(); }
- AccountItem(AccountsPanel &pan, TQListView *tqparent, TQListViewItem *after)
- : KListViewItem(tqparent, after), account(0), panel(pan)
+ AccountItem(AccountsPanel &pan, TQListView *parent, TQListViewItem *after)
+ : KListViewItem(parent, after), account(0), panel(pan)
{ init(); }
- AccountItem(AccountsPanel &pan, TQListViewItem *tqparent, TQListViewItem *after)
- : KListViewItem(tqparent, after), account(0), panel(pan)
+ AccountItem(AccountsPanel &pan, TQListViewItem *parent, TQListViewItem *after)
+ : KListViewItem(parent, after), account(0), panel(pan)
{ init(); }
Account *account;
@@ -148,8 +148,8 @@ void AccountsPanel::addItems(TQListViewItem *item, Account *acc) {
}
void AccountsPanel::addElement(const TQListViewItem *item) {
- if (item->tqparent()) {
- removeElement(item->tqparent());
+ if (item->parent()) {
+ removeElement(item->parent());
}
m_elements.replace(item->text(0), item);
//kdDebug()<<k_funcinfo<<item->text(0)<<endl;
@@ -277,8 +277,8 @@ void AccountsPanel::slotNewBtn() {
}
TQListViewItem *n;
if (item) {
- if (item->tqparent()) {
- n = new AccountItem(*this, item->tqparent(), item);
+ if (item->parent()) {
+ n = new AccountItem(*this, item->parent(), item);
} else {
n = new AccountItem(*this, accountList, item);
}
@@ -344,9 +344,9 @@ KCommand *AccountsPanel::save(Part *part, Project &project, TQListViewItem *i) {
//kdDebug()<<k_funcinfo<<"New account: "<<item->text(0)<<endl;
if (!cmd) cmd = new KMacroCommand("");
item->account = new Account(item->text(0), item->text(1));
- if (item->tqparent()) {
+ if (item->parent()) {
//kdDebug()<<k_funcinfo<<"New account: "<<item->text(0)<<endl;
- cmd->addCommand(new AddAccountCmd(part, project, item->account, item->tqparent()->text(0)));
+ cmd->addCommand(new AddAccountCmd(part, project, item->account, item->parent()->text(0)));
} else {
cmd->addCommand(new AddAccountCmd(part, project, item->account));
}
@@ -415,7 +415,7 @@ void AccountsPanel::slotRemoveItem(TQListViewItem *i) {
return;
//kdDebug()<<k_funcinfo<<item->text(0)<<endl;
removeElement(item);
- TQListViewItem *p = item->tqparent();
+ TQListViewItem *p = item->parent();
if (p) {
p->takeItem(item);
if (item->account) {