diff options
Diffstat (limited to 'kplato/kptcalendarlistdialog.cc')
-rw-r--r-- | kplato/kptcalendarlistdialog.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kplato/kptcalendarlistdialog.cc b/kplato/kptcalendarlistdialog.cc index 5fe590ec..b5a2d59c 100644 --- a/kplato/kptcalendarlistdialog.cc +++ b/kplato/kptcalendarlistdialog.cc @@ -87,7 +87,7 @@ public: macro->addCommand(new CalendarModifyNameCmd(part, original, calendar->name())); } Calendar *c = base ? base->baseCalendar() : 0; - if (c != original->tqparent()) { + if (c != original->parent()) { if (macro == 0) macro = new KMacroCommand(""); macro->addCommand(new CalendarModifyParentCmd(part, original, c)); //kdDebug()<<k_funcinfo<<"Base modified: "<<c->name()<<endl; @@ -163,8 +163,8 @@ private: }; //---------------------------------------------------- -CalendarListDialog::CalendarListDialog(Project &p, TQWidget *tqparent, const char *name) - : KDialogBase( Swallow, i18n("Calendar's Settings"), Ok|Cancel, Ok, tqparent, name, true, true), +CalendarListDialog::CalendarListDialog(Project &p, TQWidget *parent, const char *name) + : KDialogBase( Swallow, i18n("Calendar's Settings"), Ok|Cancel, Ok, parent, name, true, true), project(p) { //kdDebug()<<k_funcinfo<<&p<<endl; @@ -224,8 +224,8 @@ void CalendarListDialog::slotOk() { } //-------------------------------------------------- -CalendarListDialogImpl::CalendarListDialogImpl (Project &p, TQWidget *tqparent) - : CalendarListDialogBase(tqparent), +CalendarListDialogImpl::CalendarListDialogImpl (Project &p, TQWidget *parent) + : CalendarListDialogBase(parent), project(p), m_renameItem(0) { @@ -263,7 +263,7 @@ void CalendarListDialogImpl::setBaseCalendars() { for (;it.current(); ++it) { CalendarListViewItem *item = dynamic_cast<CalendarListViewItem *>(it.current()); if (item) { - item->base = findItem(item->calendar->tqparent()); + item->base = findItem(item->calendar->parent()); } } } @@ -311,7 +311,7 @@ void CalendarListDialogImpl::slotSelectionChanged(TQListViewItem *listItem) { i++; if (item == cal->base) { me = i; - //kdDebug()<<k_funcinfo<<"item="<<item<<": cal="<<cal->calendar->name()<<" has tqparent "<<cal->base->calendar->name()<<endl; + //kdDebug()<<k_funcinfo<<"item="<<item<<": cal="<<cal->calendar->name()<<" has parent "<<cal->base->calendar->name()<<endl; } } } |