summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/AudioManagerDialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
commit4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch)
tree19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/gui/dialogs/AudioManagerDialog.cpp
parente6d6692eda797b10f322a83ffdcf23fca719709e (diff)
downloadrosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.tar.gz
rosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/gui/dialogs/AudioManagerDialog.cpp')
-rw-r--r--src/gui/dialogs/AudioManagerDialog.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/dialogs/AudioManagerDialog.cpp b/src/gui/dialogs/AudioManagerDialog.cpp
index 0c38cc2..e9a0f7c 100644
--- a/src/gui/dialogs/AudioManagerDialog.cpp
+++ b/src/gui/dialogs/AudioManagerDialog.cpp
@@ -343,7 +343,7 @@ AudioManagerDialog::slotPopulateFileList()
//
length = (*it)->getLength();
msecs.sprintf("%03d", length.nsec / 1000000);
- item->setText(1, TQString("%1.%2s").tqarg(length.sec).tqarg(msecs));
+ item->setText(1, TQString("%1.%2s").arg(length.sec).arg(msecs));
// set start time and duration
item->setStartTime(RealTime::zeroTime);
@@ -361,11 +361,11 @@ AudioManagerDialog::slotPopulateFileList()
// Resolution
//
- item->setText(5, TQString("%1 bits").tqarg((*it)->getBitsPerSample()));
+ item->setText(5, TQString("%1 bits").arg((*it)->getBitsPerSample()));
// Channels
//
- item->setText(4, TQString("%1").tqarg((*it)->getChannels()));
+ item->setText(4, TQString("%1").arg((*it)->getChannels()));
// Sample rate
//
@@ -384,7 +384,7 @@ AudioManagerDialog::slotPopulateFileList()
findSelection = false;
}
- // Add tqchildren
+ // Add children
//
for (iit = segments.begin(); iit != segments.end(); iit++) {
if ((*iit)->getAudioFileId() == (*it)->getId()) {
@@ -404,8 +404,8 @@ AudioManagerDialog::slotPopulateFileList()
//
msecs.sprintf("%03d", segmentDuration.nsec / 1000000);
childItem->setText(1, TQString("%1.%2s")
- .tqarg(segmentDuration.sec)
- .tqarg(msecs));
+ .arg(segmentDuration.sec)
+ .arg(msecs));
try {
m_doc->getAudioFileManager().
@@ -433,7 +433,7 @@ AudioManagerDialog::slotPopulateFileList()
foundSelection = true;
}
- // Add tqchildren
+ // Add children
}
}
}
@@ -607,7 +607,7 @@ AudioManagerDialog::slotRemove()
if (haveSegments) {
TQString question = i18n("This will unload audio file \"%1\" and remove all associated segments. Are you sure?")
- .tqarg(TQString(audioFile->getFilename().c_str()));
+ .arg(TQString(audioFile->getFilename().c_str()));
// Ask the question
int reply = KMessageBox::warningContinueCancel(this, question);
@@ -885,7 +885,7 @@ AudioManagerDialog::slotDeleteUnused()
std::cerr << i << ": " << names[i].ascii() << std::endl;
TQFile file(names[i]);
if (!file.remove()) {
- KMessageBox::error(this, i18n("File %1 could not be deleted.").tqarg(names[i]));
+ KMessageBox::error(this, i18n("File %1 could not be deleted.").arg(names[i]));
} else {
if (nameMap.find(names[i]) != nameMap.end()) {
m_doc->getAudioFileManager().removeFile(nameMap[names[i]]);
@@ -894,7 +894,7 @@ AudioManagerDialog::slotDeleteUnused()
std::cerr << "WARNING: Audio file name " << names[i].ascii() << " not in name map" << std::endl;
}
- TQFile peakFile(TQString("%1.pk").tqarg(names[i]));
+ TQFile peakFile(TQString("%1.pk").arg(names[i]));
peakFile.remove();
}
}
@@ -1179,7 +1179,7 @@ AudioManagerDialog::slotClose()
}
void
-AudioManagerDialog::setAudioSubsystemtqStatus(bool ok)
+AudioManagerDialog::setAudioSubsystemStatus(bool ok)
{
// We can do something more fancy in the future but for the moment
// this will suffice.