comparison main/MainWindow.h @ 86:6113fdda2737

* Add Open Location... * Add support for URLs in Recent Files * Do the right thing with the last location for file open dialogs when opening a URL (i.e. don't change it to the temporary file directory)
author Chris Cannam
date Wed, 10 Jan 2007 12:27:55 +0000
parents 4eae5b521a34
children 51be0daa1386
comparison
equal deleted inserted replaced
85:4eae5b521a34 86:6113fdda2737
112 protected slots: 112 protected slots:
113 void openSession(); 113 void openSession();
114 void importAudio(); 114 void importAudio();
115 void importMoreAudio(); 115 void importMoreAudio();
116 void openSomething(); 116 void openSomething();
117 void openLocation();
117 void openRecentFile(); 118 void openRecentFile();
118 void exportAudio(); 119 void exportAudio();
119 void importLayer(); 120 void importLayer();
120 void exportLayer(); 121 void exportLayer();
121 void saveSession(); 122 void saveSession();
367 AudioFile, 368 AudioFile,
368 LayerFile, 369 LayerFile,
369 AnyFile 370 AnyFile
370 }; 371 };
371 372
373 FileOpenStatus openSomeFile(QString path, QString location,
374 AudioFileOpenMode = AskUser);
375 FileOpenStatus openAudioFile(QString path, QString location,
376 AudioFileOpenMode = AskUser);
377 FileOpenStatus openLayerFile(QString path, QString location);
378 FileOpenStatus openSessionFile(QString path, QString location);
379
372 QString getOpenFileName(FileType type); 380 QString getOpenFileName(FileType type);
373 QString getSaveFileName(FileType type); 381 QString getSaveFileName(FileType type);
374 void registerLastOpenedFilePath(FileType type, QString path); 382 void registerLastOpenedFilePath(FileType type, QString path);
375 383
376 void createPlayTarget(); 384 void createPlayTarget();