diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 3fcef18c75f7cd751ed706c12977230242fb817d (patch) | |
tree | a94c2497a3923ed9972e71c5bbba0697882c1427 /src/document/RosegardenGUIDoc.cpp | |
parent | 80ee419f074dc252449791628d4584b5c0ea0c9b (diff) | |
download | rosegarden-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/document/RosegardenGUIDoc.cpp')
-rw-r--r-- | src/document/RosegardenGUIDoc.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/document/RosegardenGUIDoc.cpp b/src/document/RosegardenGUIDoc.cpp index 71c3c2a..9f2bcd6 100644 --- a/src/document/RosegardenGUIDoc.cpp +++ b/src/document/RosegardenGUIDoc.cpp @@ -117,11 +117,11 @@ namespace Rosegarden using namespace BaseProperties; -RosegardenGUIDoc::RosegardenGUIDoc(TQWidget *tqparent, +RosegardenGUIDoc::RosegardenGUIDoc(TQWidget *parent, AudioPluginManager *pluginManager, bool skipAutoload, const char *name) - : TQObject(tqparent, name), + : TQObject(parent, name), m_modified(false), m_autoSaved(false), m_audioPreviewThread(&m_audioFileManager), @@ -321,7 +321,7 @@ bool RosegardenGUIDoc::saveIfModified() return completed; - RosegardenGUIApp *win = (RosegardenGUIApp *)tqparent(); + RosegardenGUIApp *win = (RosegardenGUIApp *)parent(); int wantSave = KMessageBox::warningYesNoCancel (win, @@ -584,7 +584,7 @@ bool RosegardenGUIDoc::openDocument(const TQString& filename, ProgressDialog progressDlg(i18n("Reading file..."), 100, - (TQWidget*)tqparent()); + (TQWidget*)parent()); connect(&progressDlg, TQT_SIGNAL(cancelClicked()), &m_audioFileManager, TQT_SLOT(slotStopPreview())); @@ -1224,7 +1224,7 @@ bool RosegardenGUIDoc::saveDocumentActual(const TQString& filename, progressDlg = new ProgressDialog(i18n("Saving file..."), 100, - (TQWidget*)tqparent()); + (TQWidget*)parent()); progress = progressDlg->progressBar(); progressDlg->setMinimumDuration(500); @@ -1232,7 +1232,7 @@ bool RosegardenGUIDoc::saveDocumentActual(const TQString& filename, } else { - progress = ((RosegardenGUIApp *)tqparent())->getProgressBar(); + progress = ((RosegardenGUIApp *)parent())->getProgressBar(); } // Send out Composition (this includes Tracks, Instruments, Tempo @@ -1556,7 +1556,7 @@ void RosegardenGUIDoc::saveSegment(TQTextStream& outStream, Segment *segment, bool RosegardenGUIDoc::isSequencerRunning() { - RosegardenGUIApp* parentApp = dynamic_cast<RosegardenGUIApp*>(tqparent()); + RosegardenGUIApp* parentApp = dynamic_cast<RosegardenGUIApp*>(parent()); if (!parentApp) { RG_DEBUG << "RosegardenGUIDoc::isSequencerRunning() : parentApp == 0\n"; return false; @@ -2317,7 +2317,7 @@ RosegardenGUIDoc::syncDevices() } delete proc; - RosegardenGUIApp *app = (RosegardenGUIApp*)tqparent(); + RosegardenGUIApp *app = (RosegardenGUIApp*)parent(); app->slotSequencerExited(0); return ; } @@ -2786,7 +2786,7 @@ RosegardenGUIDoc::finalizeAudioFile(InstrumentId iid) // Create a progress dialog // ProgressDialog *progressDlg = new ProgressDialog - (i18n("Generating audio preview..."), 100, (TQWidget*)tqparent()); + (i18n("Generating audio preview..."), 100, (TQWidget*)parent()); progressDlg->setAutoClose(false); progressDlg->setAutoReset(false); progressDlg->show(); @@ -3070,7 +3070,7 @@ RosegardenGUIDoc::clearAllPlugins() Clipboard* RosegardenGUIDoc::getClipboard() { - RosegardenGUIApp *app = (RosegardenGUIApp*)tqparent(); + RosegardenGUIApp *app = (RosegardenGUIApp*)parent(); return app->getClipboard(); } |