diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:07:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:07:05 -0600 |
commit | c18386d69b76ef0218b5f0a08ca773fa824322b6 (patch) | |
tree | 0bea571897791e4a9ae01e42d0923c3c7baf0bda /src/gui/configuration/DocumentMetaConfigurationPage.cpp | |
parent | 97f1c43c867725d49f3943a68ef08d7e71767e99 (diff) | |
download | rosegarden-c18386d69b76ef0218b5f0a08ca773fa824322b6.tar.gz rosegarden-c18386d69b76ef0218b5f0a08ca773fa824322b6.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/gui/configuration/DocumentMetaConfigurationPage.cpp')
-rw-r--r-- | src/gui/configuration/DocumentMetaConfigurationPage.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/gui/configuration/DocumentMetaConfigurationPage.cpp b/src/gui/configuration/DocumentMetaConfigurationPage.cpp index ef8b995..2261ba2 100644 --- a/src/gui/configuration/DocumentMetaConfigurationPage.cpp +++ b/src/gui/configuration/DocumentMetaConfigurationPage.cpp @@ -126,42 +126,42 @@ DocumentMetaConfigurationPage::DocumentMetaConfigurationPage(RosegardenGUIDoc *d } TQFrame *frame = new TQFrame(m_tabWidget); - TQGridLayout *tqlayout = new TQGridLayout(frame, + TQGridLayout *layout = new TQGridLayout(frame, 6, 2, 10, 5); - tqlayout->addWidget(new TQLabel(i18n("Filename:"), frame), 0, 0); - tqlayout->addWidget(new TQLabel(doc->getTitle(), frame), 0, 1); + layout->addWidget(new TQLabel(i18n("Filename:"), frame), 0, 0); + layout->addWidget(new TQLabel(doc->getTitle(), frame), 0, 1); - tqlayout->addWidget(new TQLabel(i18n("Formal duration (to end marker):"), frame), 1, 0); + layout->addWidget(new TQLabel(i18n("Formal duration (to end marker):"), frame), 1, 0); timeT d = comp.getEndMarker(); RealTime rtd = comp.getElapsedRealTime(d); - tqlayout->addWidget(new TQLabel(durationToString(comp, 0, d, rtd), frame), 1, 1); + layout->addWidget(new TQLabel(durationToString(comp, 0, d, rtd), frame), 1, 1); - tqlayout->addWidget(new TQLabel(i18n("Playing duration:"), frame), 2, 0); + layout->addWidget(new TQLabel(i18n("Playing duration:"), frame), 2, 0); d = comp.getDuration(); rtd = comp.getElapsedRealTime(d); - tqlayout->addWidget(new TQLabel(durationToString(comp, 0, d, rtd), frame), 2, 1); + layout->addWidget(new TQLabel(durationToString(comp, 0, d, rtd), frame), 2, 1); - tqlayout->addWidget(new TQLabel(i18n("Tracks:"), frame), 3, 0); - tqlayout->addWidget(new TQLabel(i18n("%1 used, %2 total") + layout->addWidget(new TQLabel(i18n("Tracks:"), frame), 3, 0); + layout->addWidget(new TQLabel(i18n("%1 used, %2 total") .arg(usedTracks.size()) .arg(comp.getNbTracks()), frame), 3, 1); - tqlayout->addWidget(new TQLabel(i18n("Segments:"), frame), 4, 0); - tqlayout->addWidget(new TQLabel(i18n("%1 MIDI, %2 audio, %3 total") + layout->addWidget(new TQLabel(i18n("Segments:"), frame), 4, 0); + layout->addWidget(new TQLabel(i18n("%1 MIDI, %2 audio, %3 total") .arg(internalSegments) .arg(audioSegments) .arg(internalSegments + audioSegments), frame), 4, 1); - tqlayout->setRowStretch(5, 2); + layout->setRowStretch(5, 2); addTab(frame, i18n("Statistics")); frame = new TQFrame(m_tabWidget); - tqlayout = new TQGridLayout(frame, 1, 1, 10, 5); + layout = new TQGridLayout(frame, 1, 1, 10, 5); TQTable *table = new TQTable(1, 11, frame, "Segment Table"); table->setSelectionMode(TQTable::NoSelection); @@ -312,7 +312,7 @@ DocumentMetaConfigurationPage::DocumentMetaConfigurationPage(RosegardenGUIDoc *d ++i; } - tqlayout->addWidget(table, 0, 0); + layout->addWidget(table, 0, 0); addTab(frame, i18n("Segment Summary")); |