2016-05-24 Fred Gleason <fredg@paravelsystems.com>

* Removed all CVS tags.
	* Removed 'const char *name' parameter from all QObject contructors.
This commit is contained in:
Fred Gleason
2016-05-24 13:13:26 -04:00
parent db9da6dc62
commit 698b475933
1059 changed files with 4795 additions and 7935 deletions

View File

@@ -35,11 +35,8 @@
#include <list_aux_fields.h>
#include <globals.h>
EditReplicator::EditReplicator(const QString &repl_name,
QWidget *parent,const char *name)
: QDialog(parent,name,true)
EditReplicator::EditReplicator(const QString &repl_name,QWidget *parent)
: QDialog(parent,"",true)
{
QString sql;
RDSqlQuery *q;
@@ -68,12 +65,11 @@ EditReplicator::EditReplicator(const QString &repl_name,
//
// Replicator Name
//
repl_name_edit=new QLineEdit(this,"repl_name_edit");
repl_name_edit=new QLineEdit(this);
repl_name_edit->setGeometry(105,11,sizeHint().width()-115,19);
repl_name_edit->setMaxLength(32);
repl_name_edit->setReadOnly(true);
QLabel *repl_name_label=new QLabel(repl_name_edit,tr("Name:"),this,
"repl_name_label");
QLabel *repl_name_label=new QLabel(repl_name_edit,tr("Name:"),this);
repl_name_label->setGeometry(10,11,90,19);
repl_name_label->setFont(font);
repl_name_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
@@ -81,11 +77,11 @@ EditReplicator::EditReplicator(const QString &repl_name,
//
// Replicator Description
//
repl_description_edit=new QLineEdit(this,"repl_description_edit");
repl_description_edit=new QLineEdit(this);
repl_description_edit->setGeometry(105,33,sizeHint().width()-115,19);
repl_description_edit->setMaxLength(64);
QLabel *repl_description_label=new QLabel(repl_description_edit,tr("Description:"),this,
"repl_description_label");
QLabel *repl_description_label=
new QLabel(repl_description_edit,tr("Description:"),this);
repl_description_label->setGeometry(10,33,90,19);
repl_description_label->setFont(font);
repl_description_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
@@ -93,7 +89,7 @@ EditReplicator::EditReplicator(const QString &repl_name,
//
// Replicator Type
//
repl_type_box=new QComboBox(this,"repl_type_box");
repl_type_box=new QComboBox(this);
repl_type_box->setGeometry(105,55,sizeHint().width()-115,19);
for(unsigned i=0;i<(int)RDReplicator::TypeLast;i++) {
repl_type_box->insertItem(RDReplicator::typeString((RDReplicator::Type)i));
@@ -101,8 +97,7 @@ EditReplicator::EditReplicator(const QString &repl_name,
repl_type_box->setCurrentItem(i);
}
}
QLabel *repl_type_label=new QLabel(repl_type_box,tr("Type:"),this,
"repl_type_label");
QLabel *repl_type_label=new QLabel(repl_type_box,tr("Type:"),this);
repl_type_label->setGeometry(10,55,90,19);
repl_type_label->setFont(font);
repl_type_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
@@ -110,7 +105,7 @@ EditReplicator::EditReplicator(const QString &repl_name,
//
// Host System
//
repl_station_box=new QComboBox(this,"repl_station_box");
repl_station_box=new QComboBox(this);
repl_station_box->setGeometry(155,77,sizeHint().width()-165,19);
sql="select NAME from STATIONS order by NAME";
q=new RDSqlQuery(sql);
@@ -122,7 +117,7 @@ EditReplicator::EditReplicator(const QString &repl_name,
}
delete q;
QLabel *repl_station_label=
new QLabel(repl_station_box,tr("Host System:"),this,"repl_station_label");
new QLabel(repl_station_box,tr("Host System:"),this);
repl_station_label->setGeometry(10,77,140,19);
repl_station_label->setFont(font);
repl_station_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
@@ -130,13 +125,10 @@ EditReplicator::EditReplicator(const QString &repl_name,
//
// Upload Audio URL
//
repl_url_edit=
new QLineEdit(this,"repl_url_edit");
repl_url_edit=new QLineEdit(this);
repl_url_edit->setGeometry(155,99,335,19);
repl_url_edit->setMaxLength(255);
repl_url_label=
new QLabel(repl_url_edit,tr("Audio Upload URL:"),this,
"repl_url_label");
repl_url_label=new QLabel(repl_url_edit,tr("Audio Upload URL:"),this);
repl_url_label->setGeometry(20,99,130,19);
repl_url_label->setFont(font);
repl_url_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
@@ -144,13 +136,10 @@ EditReplicator::EditReplicator(const QString &repl_name,
//
// Upload Username
//
repl_username_edit=
new QLineEdit(this,"repl_username_edit");
repl_username_edit=new QLineEdit(this);
repl_username_edit->setGeometry(225,121,95,19);
repl_username_edit->setMaxLength(64);
repl_username_label=
new QLabel(repl_username_edit,tr("Username:"),this,
"repl_username_label");
repl_username_label=new QLabel(repl_username_edit,tr("Username:"),this);
repl_username_label->setGeometry(40,121,180,19);
repl_username_label->setFont(font);
repl_username_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
@@ -158,14 +147,11 @@ EditReplicator::EditReplicator(const QString &repl_name,
//
// Upload Password
//
repl_password_edit=
new QLineEdit(this,"repl_password_edit");
repl_password_edit=new QLineEdit(this);
repl_password_edit->setGeometry(395,121,95,19);
repl_password_edit->setMaxLength(64);
repl_password_edit->setEchoMode(QLineEdit::Password);
repl_password_label=
new QLabel(repl_password_edit,tr("Password:"),this,
"repl_password_label");
repl_password_label=new QLabel(repl_password_edit,tr("Password:"),this);
repl_password_label->setGeometry(320,121,70,19);
repl_password_label->setFont(font);
repl_password_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
@@ -173,15 +159,14 @@ EditReplicator::EditReplicator(const QString &repl_name,
//
// Audio Format
//
repl_format_edit=new QLineEdit(this,"repl_format_edit");
repl_format_edit=new QLineEdit(this);
repl_format_edit->setGeometry(155,143,285,20);
repl_format_edit->setReadOnly(true);
repl_format_label=new QLabel(repl_format_edit,
tr("Upload Format:"),this,"repl_format_label");
repl_format_label=new QLabel(repl_format_edit,tr("Upload Format:"),this);
repl_format_label->setGeometry(5,143,145,20);
repl_format_label->setFont(font);
repl_format_label->setAlignment(AlignRight|AlignVCenter|ShowPrefix);
repl_format_button=new QPushButton(this,"format_button");
repl_format_button=new QPushButton(this);
repl_format_button->setGeometry(450,142,40,24);
repl_format_button->setFont(small_font);
repl_format_button->setText(tr("S&et"));
@@ -190,11 +175,11 @@ EditReplicator::EditReplicator(const QString &repl_name,
//
// Normalize Check Box
//
repl_normalize_box=new QCheckBox(this,"repl_normalize_box");
repl_normalize_box=new QCheckBox(this);
repl_normalize_box->setGeometry(155,167,15,15);
repl_normalize_box->setChecked(true);
repl_normalize_check_label=new QLabel(repl_normalize_box,tr("Normalize"),
this,"normalize_check_label");
repl_normalize_check_label=
new QLabel(repl_normalize_box,tr("Normalize"),this);
repl_normalize_check_label->setGeometry(175,165,83,20);
repl_normalize_check_label->setFont(font);
repl_normalize_check_label->setAlignment(AlignLeft|AlignVCenter);
@@ -204,15 +189,14 @@ EditReplicator::EditReplicator(const QString &repl_name,
//
// Normalize Level
//
repl_normalize_spin=new QSpinBox(this,"repl_normalize_spin");
repl_normalize_spin=new QSpinBox(this);
repl_normalize_spin->setGeometry(295,165,40,20);
repl_normalize_spin->setRange(-30,-1);
repl_normalize_label=new QLabel(repl_normalize_spin,tr("Level:"),
this,"normalize_spin_label");
repl_normalize_label=new QLabel(repl_normalize_spin,tr("Level:"),this);
repl_normalize_label->setGeometry(245,165,45,20);
repl_normalize_label->setFont(font);
repl_normalize_label->setAlignment(AlignRight|AlignVCenter);
repl_normalize_unit_label=new QLabel(tr("dBFS"),this,"normalize_unit_label");
repl_normalize_unit_label=new QLabel(tr("dBFS"),this);
repl_normalize_unit_label->setGeometry(340,165,40,20);
repl_normalize_unit_label->setFont(font);
repl_normalize_unit_label->setAlignment(AlignLeft|AlignVCenter);
@@ -220,7 +204,7 @@ EditReplicator::EditReplicator(const QString &repl_name,
//
// Groups Selector
//
repl_groups_sel=new RDListSelector(this,"repl_groups_sel");
repl_groups_sel=new RDListSelector(this);
repl_groups_sel->setGeometry(60,192,380,130);
repl_groups_sel->sourceSetLabel(tr("Available Groups"));
repl_groups_sel->destSetLabel(tr("Active Groups"));
@@ -228,7 +212,7 @@ EditReplicator::EditReplicator(const QString &repl_name,
//
// Ok Button
//
QPushButton *ok_button=new QPushButton(this,"ok_button");
QPushButton *ok_button=new QPushButton(this);
ok_button->setGeometry(sizeHint().width()-180,sizeHint().height()-60,80,50);
ok_button->setDefault(true);
ok_button->setFont(font);
@@ -238,7 +222,7 @@ EditReplicator::EditReplicator(const QString &repl_name,
//
// Cancel Button
//
QPushButton *cancel_button=new QPushButton(this,"cancel_button");
QPushButton *cancel_button=new QPushButton(this);
cancel_button->setGeometry(sizeHint().width()-90,sizeHint().height()-60,
80,50);
cancel_button->setFont(font);