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.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kalarm/undo.h') diff --git a/kalarm/undo.h b/kalarm/undo.h index 2bc2ca1e5..6ad5dd513 100644 --- a/kalarm/undo.h +++ b/kalarm/undo.h @@ -44,14 +44,14 @@ class Undo : public TQObject static void saveDeletes(const TQValueList&); static void saveReactivate(const KAEvent&); static void saveReactivates(const TQValueList&); - static bool undo(TQWidget* tqparent, const TQString& action) - { return undo(mUndoList.begin(), UNDO, tqparent, action); } - static bool undo(int id, TQWidget* tqparent, const TQString& action) - { return undo(findItem(id, UNDO), UNDO, tqparent, action); } - static bool redo(TQWidget* tqparent, const TQString& action) - { return undo(mRedoList.begin(), REDO, tqparent, action); } - static bool redo(int id, TQWidget* tqparent, const TQString& action) - { return undo(findItem(id, REDO), REDO, tqparent, action); } + static bool undo(TQWidget* parent, const TQString& action) + { return undo(mUndoList.begin(), UNDO, parent, action); } + static bool undo(int id, TQWidget* parent, const TQString& action) + { return undo(findItem(id, UNDO), UNDO, parent, action); } + static bool redo(TQWidget* parent, const TQString& action) + { return undo(mRedoList.begin(), REDO, parent, action); } + static bool redo(int id, TQWidget* parent, const TQString& action) + { return undo(findItem(id, REDO), REDO, parent, action); } static void clear(); static bool haveUndo() { return !mUndoList.isEmpty(); } static bool haveRedo() { return !mRedoList.isEmpty(); } @@ -76,9 +76,9 @@ class Undo : public TQObject private: typedef TQValueList::Iterator Iterator; - Undo(TQObject* tqparent) : TQObject(tqparent) { } + Undo(TQObject* parent) : TQObject(parent) { } static void removeRedos(const TQString& eventID); - static bool undo(Iterator, Type, TQWidget* tqparent, const TQString& action); + static bool undo(Iterator, Type, TQWidget* parent, const TQString& action); static UndoItem* getItem(int id, Type); static Iterator findItem(int id, Type); void emitChanged(const TQString& undo, const TQString& redo) -- cgit v1.2.1