summaryrefslogtreecommitdiffstats
path: root/noatun/library/pref.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/library/pref.cpp')
-rw-r--r--noatun/library/pref.cpp10
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();
}