diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 27edf28be2772229a7974a007313ea30d92c3ffd (patch) | |
tree | 14b9842bbd90c801d89ad5ddb38831fdf8aec1a4 /noatun/library/pref.cpp | |
parent | 7ef01c0f34d9c6732d258154bcd3ba5a88280db9 (diff) | |
download | tdemultimedia-27edf28be2772229a7974a007313ea30d92c3ffd.tar.gz tdemultimedia-27edf28be2772229a7974a007313ea30d92c3ffd.zip |
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
Diffstat (limited to 'noatun/library/pref.cpp')
-rw-r--r-- | noatun/library/pref.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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 <tqlabel.h> #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<TQWidget *>(TQT_TQWIDGET(page->tqparent())) ); + int index = pageIndex( static_cast<TQWidget *>(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<TQFrame*>(TQT_TQWIDGET(tqparent())); + TQFrame *page=static_cast<TQFrame*>(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(); } |