From c18386d69b76ef0218b5f0a08ca773fa824322b6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:07:05 -0600 Subject: Rename obsolete tq methods to standard names --- .../DocumentMetaConfigurationPage.cpp | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/gui/configuration/DocumentMetaConfigurationPage.cpp') 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")); -- cgit v1.2.3