diff options
Diffstat (limited to 'noatun-plugins/oblique/cmodule.cpp')
-rw-r--r-- | noatun-plugins/oblique/cmodule.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/noatun-plugins/oblique/cmodule.cpp b/noatun-plugins/oblique/cmodule.cpp index d97c21f..a43f0a2 100644 --- a/noatun-plugins/oblique/cmodule.cpp +++ b/noatun-plugins/oblique/cmodule.cpp @@ -28,8 +28,8 @@ #include <tqtabwidget.h> #include <tqheader.h> -SchemaConfig::SchemaConfig(TQWidget *tqparent, Oblique *oblique) - : TQWidget(tqparent) +SchemaConfig::SchemaConfig(TQWidget *parent, Oblique *oblique) + : TQWidget(parent) { mOblique = oblique; mIgnore = true; @@ -159,7 +159,7 @@ SchemaConfig::SchemaConfig(TQWidget *tqparent, Oblique *oblique) connect(mOptionPlayable, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCurrent())); mOptionChildrenVisible = new TQCheckBox(i18n("&Children visible"), groupbox); - TQWhatsThis::add(mOptionChildrenVisible, i18n("Don't create this node, this nodes tqchildren become direct tqchildren of this node's tqparent")); + TQWhatsThis::add(mOptionChildrenVisible, i18n("Don't create this node, this nodes tqchildren become direct tqchildren of this node's parent")); connect(mOptionChildrenVisible, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateCurrent())); mOptionAutoOpen = new TQCheckBox(i18n("Auto &open"), groupbox); @@ -176,14 +176,14 @@ class QueryGroupItem : public KListViewItem QueryGroup *mItem; public: - QueryGroupItem(QueryGroupItem *tqparent, QueryGroup *group, QueryGroupItem *after=0) - : KListViewItem(tqparent, after) + QueryGroupItem(QueryGroupItem *parent, QueryGroup *group, QueryGroupItem *after=0) + : KListViewItem(parent, after) { init(group); } - QueryGroupItem(KListView *tqparent, QueryGroup *group, QueryGroupItem *after=0) - : KListViewItem(tqparent, after) + QueryGroupItem(KListView *parent, QueryGroup *group, QueryGroupItem *after=0) + : KListViewItem(parent, after) { init(group); } @@ -198,8 +198,8 @@ public: setText(2, item()->presentation()); } - QueryGroupItem *tqparent() - { return static_cast<QueryGroupItem*>(KListViewItem::tqparent()); } + QueryGroupItem *parent() + { return static_cast<QueryGroupItem*>(KListViewItem::parent()); } KListView *listView() { return static_cast<KListView*>(KListViewItem::listView()); } @@ -218,8 +218,8 @@ private: { if (QueryGroup *after = group->nextSibling()) { - if (tqparent()) - new QueryGroupItem(tqparent(), after, this); + if (parent()) + new QueryGroupItem(parent(), after, this); else new QueryGroupItem(listView(), after, this); } @@ -413,7 +413,7 @@ void SchemaConfig::move(TQListViewItem *_item, TQListViewItem *, TQListViewItem QueryGroupItem *afterNow = static_cast<QueryGroupItem*>(_afterNow); QueryGroup *after, *under; - under = item->tqparent() ? item->tqparent()->item() : 0; + under = item->parent() ? item->parent()->item() : 0; after = afterNow ? afterNow->item() : 0; item->item()->move(¤tQuery()->query, under, after); @@ -436,8 +436,8 @@ void SchemaConfig::addSibling() // now match the action in the tree QueryGroupItem *created; - if (item->tqparent()) - created = new QueryGroupItem(item->tqparent(), g, item); + if (item->parent()) + created = new QueryGroupItem(item->parent(), g, item); else created = new QueryGroupItem(item->listView(), g, item); @@ -500,8 +500,8 @@ SchemaConfig::QueryItem *SchemaConfig::currentQuery() } -SliceConfig::SliceConfig(TQWidget *tqparent, Oblique *oblique) - : TQWidget(tqparent) +SliceConfig::SliceConfig(TQWidget *parent, Oblique *oblique) + : TQWidget(parent) { mOblique = oblique; (new TQVBoxLayout(this, 11, 7))->setAutoAdd(true); @@ -539,16 +539,16 @@ class SliceListItem : public KListViewItem { Slice *mSlice; public: - SliceListItem(KListView *tqparent, Slice *slice) - : KListViewItem(tqparent, slice->name()), mSlice(slice) + SliceListItem(KListView *parent, Slice *slice) + : KListViewItem(parent, slice->name()), mSlice(slice) { } /** * new item **/ - SliceListItem(KListView *tqparent) - : KListViewItem(tqparent, i18n("New Slice")), mSlice(0) + SliceListItem(KListView *parent) + : KListViewItem(parent, i18n("New Slice")), mSlice(0) { } |