Logo Search packages:      
Sourcecode: rosegarden version File versions  Download package

void Rosegarden::RosegardenGUIApp::slotMergeRG21 (  )  [slot]

Let the user select a MIDI file for merge

Definition at line 4007 of file RosegardenGUIApp.cpp.

References mergeFile().

Referenced by setupActions().

    KURL url = KFileDialog::getOpenURL
                i18n("*.rose|Rosegarden-2 files\n*|All files"), this,
                i18n("Open Rosegarden 2.1 File"));
    if (url.isEmpty()) {
        return ;

    QString tmpfile;
    KIO::NetAccess::download(url, tmpfile, this);
    mergeFile(tmpfile, ImportRG21);

    KIO::NetAccess::removeTempFile( tmpfile );

Generated by  Doxygen 1.6.0   Back to index