2020-03-10 Fred Gleason <fredg@paravelsystems.com>

* Removed the 'Source URL' and 'Source Text' controls from the
	'Edit Cast' dialog in rdcastmanager(1).
This commit is contained in:
Fred Gleason
2020-03-10 18:59:08 -04:00
parent 8209958cd7
commit 4aedc573ca
10 changed files with 162 additions and 161 deletions

View File

@@ -2,7 +2,7 @@
//
// Edit a Rivendell Cast
//
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -28,6 +28,7 @@
#include <qlabel.h>
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qradiobutton.h>
#include <qtextedit.h>
#include <rddialog.h>
@@ -50,27 +51,46 @@ class EditCast : public RDDialog
void reportData();
void okData();
void cancelData();
protected:
void resizeEvent(QResizeEvent *e);
private:
RDFeed *cast_feed;
RDPodcast *cast_cast;
QLabel *cast_item_medialink_label;
QLineEdit *cast_item_medialink_edit;
QLabel *cast_item_title_label;
QLineEdit *cast_item_title_edit;
QLabel *cast_item_author_label;
QLineEdit *cast_item_author_edit;
QLineEdit *cast_item_origin_edit;
QTextEdit *cast_item_description_edit;
QLabel *cast_item_category_label;
QLineEdit *cast_item_category_edit;
QLineEdit *cast_item_comments_edit;
QLineEdit *cast_item_sourcetext_edit;
QLineEdit *cast_item_sourceurl_edit;
QLabel *cast_item_link_label;
QLineEdit *cast_item_link_edit;
QLabel *cast_item_description_label;
QTextEdit *cast_item_description_edit;
QLabel *cast_item_comments_label;
QLineEdit *cast_item_comments_edit;
QLabel *cast_item_origin_label;
QLineEdit *cast_item_origin_edit;
QLabel *cast_item_expiration_box_label;
QComboBox *cast_item_expiration_box;
QLabel *cast_item_expiration_label;
QRadioButton *cast_hold_rbutton;
QLabel *cast_hold_label;
QRadioButton *cast_active_rbutton;
QLabel *cast_active_label;
QLabel *cast_status_label;
QPushButton *cast_item_expiration_button;
QDateEdit *cast_item_expiration_edit;
QLabel *cast_item_effective_label;
QDateTimeEdit *cast_item_effective_edit;
QPushButton *cast_item_effective_button;
QButtonGroup *cast_item_status_group;
int cast_ypos;
QPushButton *cast_report_button;
QPushButton *cast_ok_button;
QPushButton *cast_cancel_button;
RDPodcast::Status cast_status;
};