Commit c8ab1739 authored by Rémi Duraffort's avatar Rémi Duraffort

QT4_vlm: really fix #3938.

parent f6f5286a
......@@ -199,6 +199,11 @@ QString OpenDialog::getMRL( bool b_all )
: itemsMRL[0];
}
QString OpenDialog::getOptions()
{
return ui.advancedLineInput->text();
}
/* Finish the dialog and decide if you open another one after */
void OpenDialog::setMenuAction()
{
......
......@@ -71,6 +71,7 @@ public:
void showTab( int = OPEN_FILE_TAB );
QString getMRL( bool b = true );
QString getOptions();
public slots:
void selectSlots();
......
This diff is collapsed.
......@@ -83,6 +83,8 @@ private:
Ui::Vlm ui;
QString inputOptions;
QList<VLMAWidget *> vlmItems;
int currentIndex;
......@@ -117,21 +119,25 @@ public:
VLMWrapper( vlm_t * );
virtual ~VLMWrapper();
static void AddBroadcast( const QString&, const QString&, const QString&,
bool b_enabled = true,
bool b_loop = false );
static void EditBroadcast( const QString&, const QString&, const QString&,
bool b_enabled = true,
bool b_loop = false );
static void EditSchedule( const QString&, const QString&, const QString&,
static void AddBroadcast( const QString&, const QString&,
const QString&, const QString&,
bool b_enabled = true, bool b_loop = false );
static void EditBroadcast( const QString&, const QString&,
const QString&, const QString&,
bool b_enabled = true, bool b_loop = false );
static void EditSchedule( const QString&, const QString&,
const QString&, const QString&,
QDateTime _schetime, QDateTime _schedate,
int _scherepeatnumber, int _repeatDays,
bool b_enabled = true, const QString& mux = "" );
static void AddVod( const QString&, const QString&, const QString&,
static void AddVod( const QString&, const QString&,
const QString&, const QString&,
bool b_enabled = true, const QString& mux = "" );
static void EditVod( const QString&, const QString&, const QString&,
static void EditVod( const QString&, const QString&,
const QString&, const QString&,
bool b_enabled = true, const QString& mux = "" );
static void AddSchedule( const QString&, const QString&, const QString&,
static void AddSchedule( const QString&, const QString&,
const QString&, const QString&,
QDateTime _schetime, QDateTime _schedate,
int _scherepeatnumber, int _repeatDays,
bool b_enabled = true, const QString& mux = "" );
......@@ -153,13 +159,15 @@ class VLMAWidget : public QGroupBox
Q_OBJECT
friend class VLMDialog;
public:
VLMAWidget( const QString& name, const QString& input, const QString& output,
VLMAWidget( const QString& name, const QString& input,
const QString& inputOptions, const QString& output,
bool _enable, VLMDialog *parent, int _type = QVLM_Broadcast );
virtual void update() = 0;
protected:
QLabel *nameLabel;
QString name;
QString input;
QString inputOptions;
QString output;
bool b_enabled;
int type;
......@@ -176,7 +184,8 @@ class VLMBroadcast : public VLMAWidget
Q_OBJECT
friend class VLMDialog;
public:
VLMBroadcast( const QString& name, const QString& input, const QString& output,
VLMBroadcast( const QString& name, const QString& input,
const QString& inputOptions, const QString& output,
bool _enable, bool _loop, VLMDialog *parent );
void update();
private:
......@@ -194,7 +203,8 @@ class VLMVod : public VLMAWidget
Q_OBJECT
friend class VLMDialog;
public:
VLMVod( const QString& name, const QString& input, const QString& output,
VLMVod( const QString& name, const QString& input,
const QString& inputOptions, const QString& output,
bool _enable, const QString& _mux, VLMDialog *parent );
void update();
private:
......@@ -207,7 +217,8 @@ class VLMSchedule : public VLMAWidget
Q_OBJECT
friend class VLMDialog;
public:
VLMSchedule( const QString& name, const QString& input, const QString& output,
VLMSchedule( const QString& name, const QString& input,
const QString& inputOptions, const QString& output,
QDateTime schetime, QDateTime schedate, int repeatnumber,
int repeatdays, bool enabled, VLMDialog *parent );
void update();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment