diff options
Diffstat (limited to 'kalarm/templatedlg.cpp')
-rw-r--r-- | kalarm/templatedlg.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kalarm/templatedlg.cpp b/kalarm/templatedlg.cpp index dab8b45d2..6e493b91e 100644 --- a/kalarm/templatedlg.cpp +++ b/kalarm/templatedlg.cpp @@ -43,8 +43,8 @@ static const char TMPL_DIALOG_NAME[] = "TemplateDialog"; TemplateDlg* TemplateDlg::mInstance = 0; -TemplateDlg::TemplateDlg(TQWidget* parent, const char* name) - : KDialogBase(KDialogBase::Plain, i18n("Alarm Templates"), Close, Ok, parent, name, false, true) +TemplateDlg::TemplateDlg(TQWidget* tqparent, const char* name) + : KDialogBase(KDialogBase::Plain, i18n("Alarm Templates"), Close, Ok, tqparent, name, false, true) { TQWidget* topWidget = plainPage(); TQBoxLayout* topLayout = new TQHBoxLayout(topWidget); @@ -103,11 +103,11 @@ TemplateDlg::~TemplateDlg() /****************************************************************************** * Create an instance, if none already exists. */ -TemplateDlg* TemplateDlg::create(TQWidget* parent, const char* name) +TemplateDlg* TemplateDlg::create(TQWidget* tqparent, const char* name) { if (mInstance) return 0; - mInstance = new TemplateDlg(parent, name); + mInstance = new TemplateDlg(tqparent, name); return mInstance; } @@ -138,9 +138,9 @@ void TemplateDlg::slotCopy() * Create a new template. * If 'event' is non-zero, base the new template on an existing event or template. */ -void TemplateDlg::createTemplate(const KAEvent* event, TQWidget* parent, TemplateListView* view) +void TemplateDlg::createTemplate(const KAEvent* event, TQWidget* tqparent, TemplateListView* view) { - EditAlarmDlg editDlg(true, i18n("New Alarm Template"), parent, 0, event); + EditAlarmDlg editDlg(true, i18n("New Alarm Template"), tqparent, 0, event); if (editDlg.exec() == TQDialog::Accepted) { KAEvent event; @@ -192,14 +192,14 @@ void TemplateDlg::slotDelete() return; int warnErr = 0; - KAlarm::UpdateStatus status = KAlarm::UPDATE_OK; + KAlarm::UpdatetqStatus status = KAlarm::UPDATE_OK; TQValueList<KAEvent> events; AlarmCalendar::templateCalendar()->startUpdate(); // prevent multiple saves of the calendar until we're finished for (TQValueList<EventListViewItemBase*>::Iterator it = items.begin(); it != items.end(); ++it) { TemplateListViewItem* item = (TemplateListViewItem*)(*it); events.append(item->event()); - KAlarm::UpdateStatus st = KAlarm::deleteTemplate(item->event()); + KAlarm::UpdatetqStatus st = KAlarm::deleteTemplate(item->event()); if (st != KAlarm::UPDATE_OK) { status = st; |