summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/recording/reccfg_interfaces.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 03:43:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 03:43:07 +0000
commit70b9eea2ba01c3691497f49e4c45cb070c16193c (patch)
tree9a6df61aa247a27275aad9c5245e419e89c2c640 /kradio3/plugins/recording/reccfg_interfaces.cpp
parent998c1384ace4ae4655997c181fa33242148cd0a4 (diff)
downloadtderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.tar.gz
tderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.zip
TQt4 port kradio
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kradio@1238952 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kradio3/plugins/recording/reccfg_interfaces.cpp')
-rw-r--r--kradio3/plugins/recording/reccfg_interfaces.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kradio3/plugins/recording/reccfg_interfaces.cpp b/kradio3/plugins/recording/reccfg_interfaces.cpp
index 3b5f32f..6876f86 100644
--- a/kradio3/plugins/recording/reccfg_interfaces.cpp
+++ b/kradio3/plugins/recording/reccfg_interfaces.cpp
@@ -32,7 +32,7 @@ IF_IMPL_SENDER ( IRecCfg::notifyMP3QualityChanged(int q),
IF_IMPL_SENDER ( IRecCfg::notifyOggQualityChanged(float q),
noticeOggQualityChanged(q)
);
-IF_IMPL_SENDER ( IRecCfg::notifyRecordingDirectoryChanged(const QString &dir),
+IF_IMPL_SENDER ( IRecCfg::notifyRecordingDirectoryChanged(const TQString &dir),
noticeRecordingDirectoryChanged(dir)
);
IF_IMPL_SENDER ( IRecCfg::notifyOutputFormatChanged(RecordingConfig::OutputFormat of),
@@ -59,7 +59,7 @@ IF_IMPL_SENDER ( IRecCfgClient::sendMP3Quality(int q),
IF_IMPL_SENDER ( IRecCfgClient::sendOggQuality(float q),
setOggQuality(q)
);
-IF_IMPL_SENDER ( IRecCfgClient::sendRecordingDirectory(const QString &dir),
+IF_IMPL_SENDER ( IRecCfgClient::sendRecordingDirectory(const TQString &dir),
setRecordingDirectory(dir)
);
IF_IMPL_SENDER ( IRecCfgClient::sendOutputFormat(RecordingConfig::OutputFormat of),
@@ -72,45 +72,45 @@ IF_IMPL_SENDER ( IRecCfgClient::sendRecordingConfig(const RecordingConfig &cf
setRecordingConfig(cfg)
);
-IF_IMPL_QUERY ( void IRecCfgClient::queryEncoderBuffer(size_t &BufferSize, size_t &BufferCount),
+IF_IMPL_TQUERY ( void IRecCfgClient::queryEncoderBuffer(size_t &BufferSize, size_t &BufferCount),
getEncoderBuffer(BufferSize, BufferCount),
);
static SoundFormat defaultSoundFormat;
-IF_IMPL_QUERY ( const SoundFormat &IRecCfgClient::querySoundFormat (),
+IF_IMPL_TQUERY ( const SoundFormat &IRecCfgClient::querySoundFormat (),
getSoundFormat(),
defaultSoundFormat
);
-IF_IMPL_QUERY ( int IRecCfgClient::queryMP3Quality (),
+IF_IMPL_TQUERY ( int IRecCfgClient::queryMP3Quality (),
getMP3Quality(),
7
);
-IF_IMPL_QUERY ( float IRecCfgClient::queryOggQuality (),
+IF_IMPL_TQUERY ( float IRecCfgClient::queryOggQuality (),
getOggQuality(),
7
);
-static QString defaultRecDir("/tmp");
-IF_IMPL_QUERY ( const QString &IRecCfgClient::queryRecordingDirectory(),
+static TQString defaultRecDir("/tmp");
+IF_IMPL_TQUERY ( const TQString &IRecCfgClient::queryRecordingDirectory(),
getRecordingDirectory(),
defaultRecDir
);
-IF_IMPL_QUERY ( RecordingConfig::OutputFormat IRecCfgClient::queryOutputFormat(),
+IF_IMPL_TQUERY ( RecordingConfig::OutputFormat IRecCfgClient::queryOutputFormat(),
getOutputFormat(),
RecordingConfig::outputWAV
);
-IF_IMPL_QUERY ( bool IRecCfgClient::queryPreRecording(int &seconds),
+IF_IMPL_TQUERY ( bool IRecCfgClient::queryPreRecording(int &seconds),
getPreRecording(seconds),
false
);
static RecordingConfig defaultRecConfig;
-IF_IMPL_QUERY ( const RecordingConfig &IRecCfgClient::queryRecordingConfig(),
+IF_IMPL_TQUERY ( const RecordingConfig &IRecCfgClient::queryRecordingConfig(),
getRecordingConfig(),
defaultRecConfig
);