diff data/fileio/AudioFileReaderFactory.h @ 290:92e8dbde73cd

* Revert revision 713. We do like QStrings after all.
author Chris Cannam
date Fri, 24 Aug 2007 11:41:48 +0000
parents 20028c634494
children c022976d18e8
line wrap: on
line diff
--- a/data/fileio/AudioFileReaderFactory.h	Thu Aug 16 16:47:07 2007 +0000
+++ b/data/fileio/AudioFileReaderFactory.h	Fri Aug 24 11:41:48 2007 +0000
@@ -16,7 +16,7 @@
 #ifndef _AUDIO_FILE_READER_FACTORY_H_
 #define _AUDIO_FILE_READER_FACTORY_H_
 
-#include <string>
+#include <QString>
 
 class AudioFileReader;
 
@@ -28,7 +28,7 @@
      * in a format suitable for use with QFileDialog.  For example,
      * "*.wav *.aiff *.ogg".
      */
-    static std::string getKnownExtensions();
+    static QString getKnownExtensions();
 
     /**
      * Return an audio file reader initialised to the file at the
@@ -36,7 +36,7 @@
      * available or the file cannot be opened.
      * Caller owns the returned object and must delete it after use.
      */
-    static AudioFileReader *createReader(std::string path);
+    static AudioFileReader *createReader(QString path);
 };
 
 #endif