summaryrefslogtreecommitdiffstats
path: root/src/gui/application/RosegardenGUIApp.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit3fcef18c75f7cd751ed706c12977230242fb817d (patch)
treea94c2497a3923ed9972e71c5bbba0697882c1427 /src/gui/application/RosegardenGUIApp.cpp
parent80ee419f074dc252449791628d4584b5c0ea0c9b (diff)
downloadrosegarden-3fcef18c75f7cd751ed706c12977230242fb817d.tar.gz
rosegarden-3fcef18c75f7cd751ed706c12977230242fb817d.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/application/RosegardenGUIApp.cpp')
-rw-r--r--src/gui/application/RosegardenGUIApp.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/gui/application/RosegardenGUIApp.cpp b/src/gui/application/RosegardenGUIApp.cpp
index 520d363..7bfdfb1 100644
--- a/src/gui/application/RosegardenGUIApp.cpp
+++ b/src/gui/application/RosegardenGUIApp.cpp
@@ -3105,7 +3105,7 @@ void RosegardenGUIApp::slotTempoToSegmentLength()
slotTempoToSegmentLength(this);
}
-void RosegardenGUIApp::slotTempoToSegmentLength(TQWidget* tqparent)
+void RosegardenGUIApp::slotTempoToSegmentLength(TQWidget* parent)
{
RG_DEBUG << "RosegardenGUIApp::slotTempoToSegmentLength" << endl;
@@ -3135,7 +3135,7 @@ void RosegardenGUIApp::slotTempoToSegmentLength(TQWidget* tqparent)
int beats = 0;
// Get user to tell us how many beats or bars the segment contains
- BeatsBarsDialog dialog(tqparent);
+ BeatsBarsDialog dialog(parent);
if (dialog.exec() == TQDialog::Accepted) {
beats = dialog.getQuantity(); // beats (or bars)
if (dialog.getMode() == 1) // bars (multiply by time sig)
@@ -5705,16 +5705,16 @@ void RosegardenGUIApp::slotEditTempo(timeT atTime)
slotEditTempo(this, atTime);
}
-void RosegardenGUIApp::slotEditTempo(TQWidget *tqparent)
+void RosegardenGUIApp::slotEditTempo(TQWidget *parent)
{
- slotEditTempo(tqparent, m_doc->getComposition().getPosition());
+ slotEditTempo(parent, m_doc->getComposition().getPosition());
}
-void RosegardenGUIApp::slotEditTempo(TQWidget *tqparent, timeT atTime)
+void RosegardenGUIApp::slotEditTempo(TQWidget *parent, timeT atTime)
{
RG_DEBUG << "RosegardenGUIApp::slotEditTempo\n";
- TempoDialog tempoDialog(tqparent, m_doc);
+ TempoDialog tempoDialog(parent, m_doc);
connect(&tempoDialog,
TQT_SIGNAL(changeTempo(timeT,
@@ -5740,19 +5740,19 @@ void RosegardenGUIApp::slotEditTimeSignature(timeT atTime)
slotEditTimeSignature(this, atTime);
}
-void RosegardenGUIApp::slotEditTimeSignature(TQWidget *tqparent)
+void RosegardenGUIApp::slotEditTimeSignature(TQWidget *parent)
{
- slotEditTimeSignature(tqparent, m_doc->getComposition().getPosition());
+ slotEditTimeSignature(parent, m_doc->getComposition().getPosition());
}
-void RosegardenGUIApp::slotEditTimeSignature(TQWidget *tqparent,
+void RosegardenGUIApp::slotEditTimeSignature(TQWidget *parent,
timeT time)
{
Composition &composition(m_doc->getComposition());
TimeSignature sig = composition.getTimeSignatureAt(time);
- TimeSignatureDialog dialog(tqparent, &composition, time, sig);
+ TimeSignatureDialog dialog(parent, &composition, time, sig);
if (dialog.exec() == TQDialog::Accepted) {
@@ -5775,9 +5775,9 @@ void RosegardenGUIApp::slotEditTransportTime()
slotEditTransportTime(this);
}
-void RosegardenGUIApp::slotEditTransportTime(TQWidget *tqparent)
+void RosegardenGUIApp::slotEditTransportTime(TQWidget *parent)
{
- TimeDialog dialog(tqparent, i18n("Move playback pointer to time"),
+ TimeDialog dialog(parent, i18n("Move playback pointer to time"),
&m_doc->getComposition(),
m_doc->getComposition().getPosition(),
true);
@@ -6915,12 +6915,12 @@ RosegardenGUIApp::slotControlEditorClosed()
}
void
-RosegardenGUIApp::slotShowPluginDialog(TQWidget *tqparent,
+RosegardenGUIApp::slotShowPluginDialog(TQWidget *parent,
InstrumentId instrumentId,
int index)
{
- if (!tqparent)
- tqparent = this;
+ if (!parent)
+ parent = this;
int key = (index << 16) + instrumentId;
@@ -6954,7 +6954,7 @@ RosegardenGUIApp::slotShowPluginDialog(TQWidget *tqparent,
// Create the plugin dialog
//
AudioPluginDialog *dialog =
- new AudioPluginDialog(tqparent,
+ new AudioPluginDialog(parent,
m_doc->getPluginManager(),
#ifdef HAVE_LIBLO
m_pluginGUIManager,