diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-10-10 08:42:15 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-10-10 08:42:15 +0000 |
| commit | 45117f6d2f2ccfb47af840d4416f43607d83d518 (patch) | |
| tree | ee3e2b99914fa6907ce7e1173e1fc87575fe8a37 /src/ui/fileloader.h | |
| parent | 0bb73fcbfda56e4cb064a7bc1ceda89312087f3d (diff) | |
| download | qmmp-45117f6d2f2ccfb47af840d4416f43607d83d518.tar.gz qmmp-45117f6d2f2ccfb47af840d4416f43607d83d518.tar.bz2 qmmp-45117f6d2f2ccfb47af840d4416f43607d83d518.zip | |
cue sheet support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@575 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/fileloader.h')
| -rw-r--r-- | src/ui/fileloader.h | 50 |
1 files changed, 25 insertions, 25 deletions
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 <forkotov02@hotmail.ru> + @author Ilya Kotov <forkotov02@hotmail.ru> */ 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 |
