From 27edf28be2772229a7974a007313ea30d92c3ffd 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/kdemultimedia@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- noatun/library/pref.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'noatun/library/pref.cpp') diff --git a/noatun/library/pref.cpp b/noatun/library/pref.cpp index 04e301ff..98c05453 100644 --- a/noatun/library/pref.cpp +++ b/noatun/library/pref.cpp @@ -8,9 +8,9 @@ //#include #include "cmodule.h" -NoatunPreferences::NoatunPreferences(TQWidget *tqparent) +NoatunPreferences::NoatunPreferences(TQWidget *parent) : KDialogBase(TreeList, i18n("Preferences - Noatun"), - Ok|Apply|Cancel|Help, Ok, tqparent, "NoatunPreferences", false, true) + Ok|Apply|Cancel|Help, Ok, parent, "NoatunPreferences", false, true) { resize(640, 480); // KDE is required to support 800x600 min. setShowIconsInTreeList(true); @@ -32,7 +32,7 @@ void NoatunPreferences::show() void NoatunPreferences::show(CModule *page) { - int index = pageIndex( static_cast(TQT_TQWIDGET(page->tqparent())) ); + int index = pageIndex( static_cast(TQT_TQWIDGET(page->parent())) ); if (index != -1) showPage(index); show(); @@ -65,7 +65,7 @@ CModule::CModule(const TQString &name, const TQString &description, const TQStri napp->preferencesBox()->add(this); - TQFrame *page=static_cast(TQT_TQWIDGET(tqparent())); + TQFrame *page=static_cast(TQT_TQWIDGET(parent())); (new TQHBoxLayout(page))->addWidget(this); } @@ -78,7 +78,7 @@ CModule::~CModule() void CModule::ownerDeleted() { - TQObject *p=tqparent(); + TQObject *p=parent(); delete this; p->deleteLater(); } -- cgit v1.2.1