From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kalarm/undo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kalarm/undo.cpp') diff --git a/kalarm/undo.cpp b/kalarm/undo.cpp index 4d951c17f..63168f45e 100644 --- a/kalarm/undo.cpp +++ b/kalarm/undo.cpp @@ -320,7 +320,7 @@ void Undo::removeRedos(const TQString& eventID) * Undo or redo a specified item. * Reply = true if success, or if the item no longer exists. */ -bool Undo::undo(Undo::Iterator it, Undo::Type type, TQWidget* tqparent, const TQString& action) +bool Undo::undo(Undo::Iterator it, Undo::Type type, TQWidget* parent, const TQString& action) { UndoItem::mRestoreError = UndoItem::ERR_NONE; UndoItem::mRestoreWarning = UndoItem::WARN_NONE; @@ -347,7 +347,7 @@ bool Undo::undo(Undo::Iterator it, Undo::Type type, TQWidget* tqparent, const TQ default: return true; } - KAlarm::displayKOrgUpdateError(tqparent, errcode, UndoItem::mRestoreWarningCount); + KAlarm::displayKOrgUpdateError(parent, errcode, UndoItem::mRestoreWarningCount); return true; } case UndoItem::ERR_NOT_FOUND: err = i18n("Alarm not found"); break; @@ -357,7 +357,7 @@ bool Undo::undo(Undo::Iterator it, Undo::Type type, TQWidget* tqparent, const TQ case UndoItem::ERR_PROG: err = i18n("Program error"); break; default: err = i18n("Unknown error"); break; } - KMessageBox::sorry(tqparent, i18n("Undo-action: message", "%1: %2").tqarg(action).tqarg(err)); + KMessageBox::sorry(parent, i18n("Undo-action: message", "%1: %2").tqarg(action).tqarg(err)); return false; } -- cgit v1.2.1