diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-01-20 13:01:00 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-01-20 13:01:00 +0000 |
| commit | 58eacba4daf81e8b24201c81125c97ff55742869 (patch) | |
| tree | a8b5d89e573cef8ed72e00f654dd495a6a35264b /src/plugins/General/converter/converterdialog.h | |
| parent | 30efd053e33c54a63d009d938dedbc2679f4dcdb (diff) | |
| download | qmmp-58eacba4daf81e8b24201c81125c97ff55742869.tar.gz qmmp-58eacba4daf81e8b24201c81125c97ff55742869.tar.bz2 qmmp-58eacba4daf81e8b24201c81125c97ff55742869.zip | |
converter: multi-thread support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6068 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/converter/converterdialog.h')
| -rw-r--r-- | src/plugins/General/converter/converterdialog.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/plugins/General/converter/converterdialog.h b/src/plugins/General/converter/converterdialog.h index 9072d4e3a..d98756576 100644 --- a/src/plugins/General/converter/converterdialog.h +++ b/src/plugins/General/converter/converterdialog.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2011-2015 by Ilya Kotov * + * Copyright (C) 2011-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -28,6 +28,7 @@ class QAction; class PlayListTrack; class ConverterPreset; +class Converter; /** @author Ilya Kotov <forkotov02@hotmail.ru> @@ -39,14 +40,14 @@ public: explicit ConverterDialog(QList <PlayListTrack *> items, QWidget *parent = 0); virtual ~ConverterDialog(); - QStringList selectedUrls() const; - QVariantMap preset() const; - public slots: virtual void accept(); private slots: void on_dirButton_clicked(); + void on_convertButton_clicked(); + void on_stopButton_clicked(); + void onConvertFinished(Converter *c); void addTitleString(QAction *a); void createPreset(); void editPreset(); @@ -57,10 +58,12 @@ private: void createMenus(); void readPresets(const QString &path); void savePresets(); + QVariantMap preset() const; QString uniqueName(const QString &name); Ui::ConverterDialog m_ui; QList <ConverterPreset* > m_presets; + QList <Converter *> m_converters; }; |
