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.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/gui/configuration/AudioPropertiesPage.cpp b/src/gui/configuration/AudioPropertiesPage.cpp
index b81655b..23c60ec 100644
--- a/src/gui/configuration/AudioPropertiesPage.cpp
+++ b/src/gui/configuration/AudioPropertiesPage.cpp
@@ -45,7 +45,7 @@
#include <tqstring.h>
#include <tqtabwidget.h>
#include <tqwidget.h>
-#include <tqlayout.h>
+#include <layout.h>
namespace Rosegarden
@@ -59,28 +59,28 @@ AudioPropertiesPage::AudioPropertiesPage(RosegardenGUIDoc *doc,
AudioFileManager &afm = doc->getAudioFileManager();
TQFrame *frame = new TQFrame(m_tabWidget);
- TQGridLayout *tqlayout = new TQGridLayout(frame, 4, 3, 10, 5);
- tqlayout->addWidget(new TQLabel(i18n("Audio file path:"), frame), 0, 0);
+ TQGridLayout *layout = new TQGridLayout(frame, 4, 3, 10, 5);
+ layout->addWidget(new TQLabel(i18n("Audio file path:"), frame), 0, 0);
m_path = new TQLabel(TQString(afm.getAudioPath().c_str()), frame);
- tqlayout->addWidget(m_path, 0, 1);
+ layout->addWidget(m_path, 0, 1);
m_changePathButton =
new TQPushButton(i18n("Choose..."), frame);
- tqlayout->addWidget(m_changePathButton, 0, 2);
+ layout->addWidget(m_changePathButton, 0, 2);
m_diskSpace = new TQLabel(frame);
- tqlayout->addWidget(new TQLabel(i18n("Disk space remaining:"), frame), 1, 0);
- tqlayout->addWidget(m_diskSpace, 1, 1);
+ layout->addWidget(new TQLabel(i18n("Disk space remaining:"), frame), 1, 0);
+ layout->addWidget(m_diskSpace, 1, 1);
m_minutesAtStereo = new TQLabel(frame);
- tqlayout->addWidget(
+ layout->addWidget(
new TQLabel(i18n("Equivalent minutes of 16-bit stereo:"),
frame), 2, 0);
- tqlayout->addWidget(m_minutesAtStereo, 2, 1, AlignCenter);
+ layout->addWidget(m_minutesAtStereo, 2, 1, AlignCenter);
- tqlayout->setRowStretch(3, 2);
+ layout->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)")
- .tqarg(KIO::convertSizeFromKB(kBAvail))
- .tqarg(KIO::convertSizeFromKB(kBSize))
- .tqarg( 100 - (int)(100.0 * kBAvail / kBSize) ));
+ .arg(KIO::convertSizeFromKB(kBAvail))
+ .arg(KIO::convertSizeFromKB(kBSize))
+ .arg( 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").tqarg(minsStr)
- .tqarg(i18n("minutes at"))
- .tqarg(sampleRate));
+ setText(TQString("%1 %2 %3Hz").arg(minsStr)
+ .arg(i18n("minutes at"))
+ .arg(sampleRate));
}
void