summaryrefslogtreecommitdiffstats
path: root/noatun/library/noatuntags
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/library/noatuntags')
-rw-r--r--noatun/library/noatuntags/tags.cpp14
-rw-r--r--noatun/library/noatuntags/tagsgetter.h4
2 files changed, 10 insertions, 8 deletions
diff --git a/noatun/library/noatuntags/tags.cpp b/noatun/library/noatuntags/tags.cpp
index 268f7bd9..47e2d92a 100644
--- a/noatun/library/noatuntags/tags.cpp
+++ b/noatun/library/noatuntags/tags.cpp
@@ -177,8 +177,8 @@ Tags::~Tags()
}
-Control::Control(TagsGetter *parent)
- : CModule(i18n("Tagging"), i18n("Settings for Tag Loaders"), "edit", parent)
+Control::Control(TagsGetter *tqparent)
+ : CModule(i18n("Tagging"), i18n("Settings for Tag Loaders"), "edit", tqparent)
{
// todo
(void)I18N_NOOP("Rescan All Tags");
@@ -201,7 +201,7 @@ Control::Control(TagsGetter *parent)
", and updates tags (e.g., ID3)",
"Interval:"), intervalLine);
TQSlider *slider=new TQSlider(
- 0, 2000, 100, 0, Horizontal, intervalLine
+ 0, 2000, 100, 0,Qt::Horizontal, intervalLine
);
TQSpinBox *spin=new TQSpinBox(
0, 2000, 10, intervalLine
@@ -212,14 +212,14 @@ Control::Control(TagsGetter *parent)
connect(slider, TQT_SIGNAL(valueChanged(int)), spin, TQT_SLOT(setValue(int)));
connect(spin, TQT_SIGNAL(valueChanged(int)), slider, TQT_SLOT(setValue(int)));
- slider->setValue(parent->interval());
- connect(slider, TQT_SIGNAL(valueChanged(int)), parent, TQT_SLOT(setInterval(int)));
+ slider->setValue(tqparent->interval());
+ connect(slider, TQT_SIGNAL(valueChanged(int)), tqparent, TQT_SLOT(setInterval(int)));
connect(onPlay, TQT_SIGNAL(toggled(bool)), intervalLine, TQT_SLOT(setEnabled(bool)));
}
- connect(onPlay, TQT_SIGNAL(toggled(bool)), parent, TQT_SLOT(setLoadAuto(bool)));
+ connect(onPlay, TQT_SIGNAL(toggled(bool)), tqparent, TQT_SLOT(setLoadAuto(bool)));
- onPlay->setChecked(parent->loadAuto());
+ onPlay->setChecked(tqparent->loadAuto());
}
diff --git a/noatun/library/noatuntags/tagsgetter.h b/noatun/library/noatuntags/tagsgetter.h
index 8b6eddb9..bd66ab3f 100644
--- a/noatun/library/noatuntags/tagsgetter.h
+++ b/noatun/library/noatuntags/tagsgetter.h
@@ -10,6 +10,7 @@
class TagsGetter : public TQObject, public PlaylistNotifier
{
Q_OBJECT
+ TQ_OBJECT
public:
TagsGetter();
void associate(Tags *t);
@@ -47,8 +48,9 @@ private:
class Control : public CModule
{
Q_OBJECT
+ TQ_OBJECT
public:
- Control(TagsGetter* parent);
+ Control(TagsGetter* tqparent);
};