From 45117f6d2f2ccfb47af840d4416f43607d83d518 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 10 Oct 2008 08:42:15 +0000 Subject: cue sheet support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@575 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/fileloader.h | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'src/ui/fileloader.h') diff --git a/src/ui/fileloader.h b/src/ui/fileloader.h index a67ec3567..d2dcc0748 100644 --- a/src/ui/fileloader.h +++ b/src/ui/fileloader.h @@ -27,46 +27,46 @@ class PlayListItem; /*! - * This class represents fileloader object that + * This class represents fileloader object that * processes file list in separate thread and emits * \b newPlayListItem(PlayListItem*) signal for every newly * created media file. - @author Ilya Kotov + @author Ilya Kotov */ class FileLoader : public QThread { -Q_OBJECT + Q_OBJECT public: FileLoader(QObject *parent = 0); ~FileLoader(); - virtual void run(); - - /*! - * Call this method when you want to notify the thread about finishing - */ - void finish(); - - /*! - * Sets filelist to load( directory to load will be cleaned ) - */ - void setFilesToLoad(const QStringList&); - - /*! - * Sets directory to load( filelist to load will be cleaned ) - */ - void setDirectoryToLoad(const QString&); + virtual void run(); + + /*! + * Call this method when you want to notify the thread about finishing + */ + void finish(); + + /*! + * Sets filelist to load( directory to load will be cleaned ) + */ + void setFilesToLoad(const QStringList&); + + /*! + * Sets directory to load( filelist to load will be cleaned ) + */ + void setDirectoryToLoad(const QString&); signals: - void newPlayListItem(PlayListItem*); + void newPlayListItem(PlayListItem*); protected: - void addFiles(const QStringList &files); - void addDirectory(const QString& s); + void addFiles(const QStringList &files); + void addDirectory(const QString& s); private: QFileInfoList list; QStringList m_filters; - QStringList m_files_to_load; - QString m_directory; - bool m_finished; + QStringList m_files_to_load; + QString m_directory; + bool m_finished; }; #endif -- cgit v1.2.3-13-gbd6f