summaryrefslogtreecommitdiffstats
path: root/kalarm/templatedlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/templatedlg.cpp')
-rw-r--r--kalarm/templatedlg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kalarm/templatedlg.cpp b/kalarm/templatedlg.cpp
index 64a247c7d..fa176f8b9 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* tqparent, const char* name)
- : KDialogBase(KDialogBase::Plain, i18n("Alarm Templates"), Close, Ok, tqparent, name, false, true)
+TemplateDlg::TemplateDlg(TQWidget* parent, const char* name)
+ : KDialogBase(KDialogBase::Plain, i18n("Alarm Templates"), Close, Ok, parent, 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* tqparent, const char* name)
+TemplateDlg* TemplateDlg::create(TQWidget* parent, const char* name)
{
if (mInstance)
return 0;
- mInstance = new TemplateDlg(tqparent, name);
+ mInstance = new TemplateDlg(parent, 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* tqparent, TemplateListView* view)
+void TemplateDlg::createTemplate(const KAEvent* event, TQWidget* parent, TemplateListView* view)
{
- EditAlarmDlg editDlg(true, i18n("New Alarm Template"), tqparent, 0, event);
+ EditAlarmDlg editDlg(true, i18n("New Alarm Template"), parent, 0, event);
if (editDlg.exec() == TQDialog::Accepted)
{
KAEvent event;