summaryrefslogtreecommitdiffstats
path: root/src/gui/configuration/AudioPropertiesPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/configuration/AudioPropertiesPage.cpp')
-rw-r--r--src/gui/configuration/AudioPropertiesPage.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/gui/configuration/AudioPropertiesPage.cpp b/src/gui/configuration/AudioPropertiesPage.cpp
index 9d0191e..85dc0b4 100644
--- a/src/gui/configuration/AudioPropertiesPage.cpp
+++ b/src/gui/configuration/AudioPropertiesPage.cpp
@@ -52,35 +52,35 @@ namespace Rosegarden
{
AudioPropertiesPage::AudioPropertiesPage(RosegardenGUIDoc *doc,
- TQWidget *parent,
+ TQWidget *tqparent,
const char *name)
- : TabbedConfigurationPage(doc, parent, name)
+ : TabbedConfigurationPage(doc, tqparent, name)
{
AudioFileManager &afm = doc->getAudioFileManager();
TQFrame *frame = new TQFrame(m_tabWidget);
- TQGridLayout *layout = new TQGridLayout(frame, 4, 3, 10, 5);
- layout->addWidget(new TQLabel(i18n("Audio file path:"), frame), 0, 0);
+ TQGridLayout *tqlayout = new TQGridLayout(frame, 4, 3, 10, 5);
+ tqlayout->addWidget(new TQLabel(i18n("Audio file path:"), frame), 0, 0);
m_path = new TQLabel(TQString(afm.getAudioPath().c_str()), frame);
- layout->addWidget(m_path, 0, 1);
+ tqlayout->addWidget(m_path, 0, 1);
m_changePathButton =
new TQPushButton(i18n("Choose..."), frame);
- layout->addWidget(m_changePathButton, 0, 2);
+ tqlayout->addWidget(m_changePathButton, 0, 2);
m_diskSpace = new TQLabel(frame);
- layout->addWidget(new TQLabel(i18n("Disk space remaining:"), frame), 1, 0);
- layout->addWidget(m_diskSpace, 1, 1);
+ tqlayout->addWidget(new TQLabel(i18n("Disk space remaining:"), frame), 1, 0);
+ tqlayout->addWidget(m_diskSpace, 1, 1);
m_minutesAtStereo = new TQLabel(frame);
- layout->addWidget(
+ tqlayout->addWidget(
new TQLabel(i18n("Equivalent minutes of 16-bit stereo:"),
frame), 2, 0);
- layout->addWidget(m_minutesAtStereo, 2, 1, AlignCenter);
+ tqlayout->addWidget(m_minutesAtStereo, 2, 1, AlignCenter);
- layout->setRowStretch(3, 2);
+ tqlayout->setRowStretch(3, 2);
calculateStats();
@@ -111,9 +111,9 @@ AudioPropertiesPage::slotFoundMountPoint(const TQString&,
unsigned long kBAvail )
{
m_diskSpace->setText(i18n("%1 out of %2 (%3% used)")
- .arg(KIO::convertSizeFromKB(kBAvail))
- .arg(KIO::convertSizeFromKB(kBSize))
- .arg( 100 - (int)(100.0 * kBAvail / kBSize) ));
+ .tqarg(KIO::convertSizeFromKB(kBAvail))
+ .tqarg(KIO::convertSizeFromKB(kBSize))
+ .tqarg( 100 - (int)(100.0 * kBAvail / kBSize) ));
AudioPluginManager *apm = m_doc->getPluginManager();
@@ -140,9 +140,9 @@ AudioPropertiesPage::slotFoundMountPoint(const TQString&,
minsStr.sprintf("%8.1f", stereoMins);
m_minutesAtStereo->
- setText(TQString("%1 %2 %3Hz").arg(minsStr)
- .arg(i18n("minutes at"))
- .arg(sampleRate));
+ setText(TQString("%1 %2 %3Hz").tqarg(minsStr)
+ .tqarg(i18n("minutes at"))
+ .tqarg(sampleRate));
}
void
@@ -151,7 +151,7 @@ AudioPropertiesPage::slotFileDialog()
AudioFileManager &afm = m_doc->getAudioFileManager();
KFileDialog *fileDialog = new KFileDialog(TQString(afm.getAudioPath().c_str()),
- TQString::null,
+ TQString(),
this, "file dialog", true);
fileDialog->setMode(KFile::Directory);