summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/recording/recording-configuration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/plugins/recording/recording-configuration.cpp')
-rw-r--r--kradio3/plugins/recording/recording-configuration.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/kradio3/plugins/recording/recording-configuration.cpp b/kradio3/plugins/recording/recording-configuration.cpp
index d41bf01..c80b0ac 100644
--- a/kradio3/plugins/recording/recording-configuration.cpp
+++ b/kradio3/plugins/recording/recording-configuration.cpp
@@ -20,38 +20,38 @@
#include <kurlrequester.h>
#include <kcombobox.h>
-#include <qspinbox.h>
-#include <qlabel.h>
-#include <qcheckbox.h>
+#include <tqspinbox.h>
+#include <tqlabel.h>
+#include <tqcheckbox.h>
#include <ktabwidget.h>
-RecordingConfiguration::RecordingConfiguration (QWidget *parent)
- : RecordingConfigurationUI(parent),
+RecordingConfiguration::RecordingConfiguration (TQWidget *tqparent)
+ : RecordingConfigurationUI(tqparent),
m_dirty(true),
m_ignore_gui_updates(false)
{
editDirectory->setMode(KFile::Directory | KFile::ExistingOnly);
- QObject::connect(editFileFormat, SIGNAL(activated(int)),
- this, SLOT(slotFormatSelectionChanged()));
- QObject::connect(editBits, SIGNAL(activated(int)),
- this, SLOT(slotFormatSelectionChanged()));
-
- connect(editRate, SIGNAL(activated(int)), SLOT(slotSetDirty()));
- connect(editBits, SIGNAL(activated(int)), SLOT(slotSetDirty()));
- connect(editSign, SIGNAL(activated(int)), SLOT(slotSetDirty()));
- connect(editEndianess, SIGNAL(activated(int)), SLOT(slotSetDirty()));
- connect(editChannels, SIGNAL(activated(int)), SLOT(slotSetDirty()));
- connect(editFileFormat, SIGNAL(activated(int)), SLOT(slotSetDirty()));
- connect(editMP3Quality, SIGNAL(valueChanged(int)), SLOT(slotSetDirty()));
- connect(editOggQuality, SIGNAL(valueChanged(int)), SLOT(slotSetDirty()));
- connect(editDirectory, SIGNAL(textChanged(const QString &)), SLOT(slotSetDirty()));
- connect(editBufferSize, SIGNAL(valueChanged(int)), SLOT(slotSetDirty()));
- connect(editBufferCount, SIGNAL(valueChanged(int)), SLOT(slotSetDirty()));
- connect(m_spinboxPreRecordingSeconds, SIGNAL(valueChanged(int)), SLOT(slotSetDirty()));
- connect(m_checkboxPreRecordingEnable, SIGNAL(toggled(bool)), SLOT(slotSetDirty()));
+ TQObject::connect(editFileFormat, TQT_SIGNAL(activated(int)),
+ this, TQT_SLOT(slotFormatSelectionChanged()));
+ TQObject::connect(editBits, TQT_SIGNAL(activated(int)),
+ this, TQT_SLOT(slotFormatSelectionChanged()));
+
+ connect(editRate, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetDirty()));
+ connect(editBits, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetDirty()));
+ connect(editSign, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetDirty()));
+ connect(editEndianess, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetDirty()));
+ connect(editChannels, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetDirty()));
+ connect(editFileFormat, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetDirty()));
+ connect(editMP3Quality, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotSetDirty()));
+ connect(editOggQuality, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotSetDirty()));
+ connect(editDirectory, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotSetDirty()));
+ connect(editBufferSize, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotSetDirty()));
+ connect(editBufferCount, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotSetDirty()));
+ connect(m_spinboxPreRecordingSeconds, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotSetDirty()));
+ connect(m_checkboxPreRecordingEnable, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotSetDirty()));
// attention: remove items with higher index first ;-) otherwise indexes are not valid
#ifndef HAVE_OGG
@@ -358,7 +358,7 @@ bool RecordingConfiguration::noticeOggQualityChanged (float q)
return true;
}
-bool RecordingConfiguration::noticeRecordingDirectoryChanged(const QString &dir)
+bool RecordingConfiguration::noticeRecordingDirectoryChanged(const TQString &dir)
{
m_ignore_gui_updates = true;
m_RecordingConfig.m_Directory = dir;