1
0
mirror of https://github.com/ElvishArtisan/rivendell.git synced 2025-04-11 15:22:46 +02:00

2018-08-15 Fred Gleason <fredg@paravelsystems.com>

* Fixed style inconsistencies in dialogs within rdadmin(1).
This commit is contained in:
Fred Gleason 2018-08-15 17:41:33 +00:00
parent 0931e703f1
commit 3262f398a6
159 changed files with 649 additions and 759 deletions
ChangeLog
rdadmin
add_feed.cppadd_feed.hadd_group.cppadd_group.hadd_hostvar.cppadd_hostvar.hadd_matrix.cppadd_matrix.hadd_replicator.cppadd_replicator.hadd_report.cppadd_report.hadd_schedcodes.cppadd_schedcodes.hadd_station.cppadd_station.hadd_svc.cppadd_svc.hadd_user.cppadd_user.hautofill_carts.cppautofill_carts.hedit_audios.cppedit_audios.hedit_cartslots.cppedit_cartslots.hedit_channelgpios.cppedit_channelgpios.hedit_decks.cppedit_decks.hedit_dropbox.cppedit_dropbox.hedit_endpoint.cppedit_endpoint.hedit_feed.cppedit_feed.hedit_feed_perms.cppedit_feed_perms.hedit_gpi.cppedit_gpi.hedit_group.cppedit_group.hedit_hostvar.cppedit_hostvar.hedit_hotkeys.cppedit_hotkeys.hedit_jack.cppedit_jack.hedit_jack_client.cppedit_jack_client.hedit_livewiregpio.cppedit_livewiregpio.hedit_matrix.cppedit_matrix.hedit_node.cppedit_node.hedit_now_next.cppedit_now_next.hedit_nownextplugin.cppedit_nownextplugin.hedit_rdairplay.cppedit_rdairplay.hedit_rdlibrary.cppedit_rdlibrary.hedit_rdlogedit.cppedit_rdlogedit.hedit_rdpanel.cppedit_rdpanel.hedit_replicator.cppedit_replicator.hedit_report.cppedit_report.hedit_sas_resource.cppedit_sas_resource.hedit_schedcodes.cppedit_schedcodes.hedit_settings.cppedit_settings.hedit_station.cppedit_station.hedit_svc.cppedit_svc.hedit_svc_perms.cppedit_svc_perms.hedit_ttys.cppedit_ttys.hedit_user.cppedit_user.hedit_user_perms.cppedit_user_perms.hedit_user_service_perms.cppedit_user_service_perms.hedit_vguest_resource.cppedit_vguest_resource.hglobals.hhelp_audios.cpphelp_audios.himportfields.cppimportfields.h

@ -17415,3 +17415,5 @@
* Fixed style inconsistencies in dialogs within rdselect(8).
2018-08-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed style inconsistencies in dialogs within rdairplay(1).
2018-08-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed style inconsistencies in dialogs within rdadmin(1).

@ -1,8 +1,8 @@
// add_feed.cpp
//
// Add a Rivendell Service
// Add a Rivendell RSS Feed
//
// (C) Copyright 2002,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -36,8 +36,10 @@
#include "globals.h"
AddFeed::AddFeed(unsigned *id,QString *keyname,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
feed_keyname=keyname;
feed_id=id;
@ -49,7 +51,7 @@ AddFeed::AddFeed(unsigned *id,QString *keyname,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("Add Feed"));
setWindowTitle("RDADmin - "+tr("Add RSS Feed"));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Add a Rivendell Feed
//
// (C) Copyright 2002-2007,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -21,8 +21,8 @@
#ifndef ADD_FEED_H
#define ADD_FEED_H
#include <qdialog.h>
#include <qcheckbox.h>
#include <qdialog.h>
#include <qlineedit.h>
//

@ -2,7 +2,7 @@
//
// Add a Rivendell Group
//
// (C) Copyright 2002,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -29,17 +29,20 @@
#include <qmessagebox.h>
#include <qcheckbox.h>
#include <q3buttongroup.h>
#include <rddb.h>
#include <rdescape_string.h>
#include <edit_group.h>
#include <add_group.h>
#include <rdpasswd.h>
#include <rdtextvalidator.h>
#include <rdescape_string.h>
AddGroup::AddGroup(QString *group,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
group_group=group;
//
@ -50,7 +53,7 @@ AddGroup::AddGroup(QString *group,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("Add Group"));
setCaption("RDAdmin - "+tr("Add Group"));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Add a Rivendell Group
//
// (C) Copyright 2002,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -21,8 +21,8 @@
#ifndef ADD_GROUP_H
#define ADD_GROUP_H
#include <qdialog.h>
#include <qcheckbox.h>
#include <qdialog.h>
#include <qlineedit.h>
class AddGroup : public QDialog

@ -2,7 +2,7 @@
//
// Add a Rivendell Host Variable
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -29,23 +29,15 @@
#include <qmessagebox.h>
#include <qcheckbox.h>
#include <q3buttongroup.h>
#include <qsqldatabase.h>
#include <rdcatch_connect.h>
#include <add_hostvar.h>
#include <edit_rdlibrary.h>
#include <edit_rdairplay.h>
#include <edit_decks.h>
#include <edit_audios.h>
#include <edit_ttys.h>
#include <list_matrices.h>
#include <list_hostvars.h>
AddHostvar::AddHostvar(QString station,QString *var,QString *varvalue,
QString *remark,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
add_name=var;
add_varvalue=varvalue;
add_remark=remark;
@ -56,7 +48,7 @@ AddHostvar::AddHostvar(QString station,QString *var,QString *varvalue,
QFont font=QFont("Helvetica",12,QFont::Bold);
font.setPixelSize(12);
setCaption(tr("Add Host Variable"));
setWindowTitle("RDAdmin - "+tr("Add Host Variable"));
//
// Fix the Window Size

@ -2,7 +2,7 @@
//
// Add a Rivendell Host Variable
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -32,7 +32,6 @@
#include <qspinbox.h>
#include <rdstation.h>
#include <rdcatch_connect.h>
class AddHostvar : public QDialog
{

@ -1,7 +1,8 @@
// add_matrix.cpp
//
// Add a Rivendell Matrix
//
// (C) Copyright 2002-2012,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -18,12 +19,9 @@
//
#include <qdialog.h>
#include <qsqldatabase.h>
#include <qcombobox.h>
#include <qspinbox.h>
#include <qmessagebox.h>
//Added by qt3to4:
#include <QLabel>
#include <rd.h>
#include <rdmatrix.h>
@ -35,8 +33,10 @@
#include "rdpasswd.h"
AddMatrix::AddMatrix(QString station,QWidget *parent)
: QDialog(parent,"")
: QDialog(parent)
{
setModal(true);
add_station=station;
//
@ -47,7 +47,7 @@ AddMatrix::AddMatrix(QString station,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("RDAdmin - Add Switcher"));
setWindowTitle("RDAdmin - "+tr("Add Switcher"));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Add a Rivendell Matrix
//
// (C) Copyright 2002-2003,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -22,7 +22,6 @@
#define ADD_MATRIX_H
#include <qdialog.h>
#include <qsqldatabase.h>
#include <qcombobox.h>
#include <qspinbox.h>

@ -2,7 +2,7 @@
//
// Add a Rivendell Replicator Configuration
//
// (C) Copyright 2010,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2010-2018 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
@ -39,8 +39,10 @@
#include "add_replicator.h"
AddReplicator::AddReplicator(QString *rname,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
repl_name=rname;
//
@ -51,7 +53,7 @@ AddReplicator::AddReplicator(QString *rname,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("Add Replicator"));
setWindowTitle("RDAdmin - "+tr("Add Replicator"));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Add a Rivendell Replicator
//
// (C) Copyright 2002,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -21,8 +21,8 @@
#ifndef ADD_REPLICATOR_H
#define ADD_REPLICATOR_H
#include <qdialog.h>
#include <qcheckbox.h>
#include <qdialog.h>
#include <qlineedit.h>
class AddReplicator : public QDialog

@ -2,7 +2,7 @@
//
// Add a Rivendell Report
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -41,8 +41,10 @@
#include "edit_svc_perms.h"
AddReport::AddReport(QString *rptname,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
//
// Fix the Window Size
//
@ -51,7 +53,7 @@ AddReport::AddReport(QString *rptname,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("Add Report"));
setWindowTitle("RDAdmin - "+tr("Add Report"));
add_name=rptname;
//

@ -2,7 +2,7 @@
//
// Add a Rivendell Report
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -21,10 +21,9 @@
#ifndef ADD_REPORT_H
#define ADD_REPORT_H
#include <qdialog.h>
#include <qsqldatabase.h>
#include <qlineedit.h>
#include <qcombobox.h>
#include <qdialog.h>
#include <qlineedit.h>
#include <rdreport.h>

@ -2,7 +2,8 @@
//
// Add scheduler codes dialog
//
// Copyright 2005-2018 Stefan Gabriel <stg@st-gabriel.de>
// (C) Copyright 2005-2018 Stefan Gabriel <stg@st-gabriel.de>
// (C) Copyright 2018 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
@ -39,8 +40,10 @@
#include "add_schedcodes.h"
AddSchedCode::AddSchedCode(QString *schedCode,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
schedCode_schedCode=schedCode;
//
@ -51,7 +54,7 @@ AddSchedCode::AddSchedCode(QString *schedCode,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("Add Scheduler Code"));
setWindowTitle("RDAdmin - "+tr("Add Scheduler Code"));
//
// Create Fonts

@ -2,7 +2,8 @@
//
// Add scheduler codes dialog
//
// Stefan Gabriel <stg@st-gabriel.de>
// (C) Copyright Stefan Gabriel <stg@st-gabriel.de>
// (C) Copyright 2002-2018 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
@ -21,8 +22,8 @@
#ifndef ADD_SCHEDCODES_H
#define ADD_SCHEDCODES_H
#include <qdialog.h>
#include <qcheckbox.h>
#include <qdialog.h>
#include <qlineedit.h>
class AddSchedCode : public QDialog

@ -40,8 +40,10 @@
#include "edit_station.h"
AddStation::AddStation(QString *stationname,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
add_name=stationname;
//
@ -52,7 +54,7 @@ AddStation::AddStation(QString *stationname,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("Add Host"));
setWindowTitle("RDAdmin - "+tr("Add Host"));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Add a Rivendell Workstation
//
// (C) Copyright 2002-2003,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Add a Rivendell Service
//
// (C) Copyright 2002,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -40,8 +40,10 @@
#include "globals.h"
AddSvc::AddSvc(QString *svcname,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
svc_name=svcname;
//
@ -52,7 +54,7 @@ AddSvc::AddSvc(QString *svcname,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("Add Service"));
setWindowTitle("RDAdmin - "+tr("Add Service"));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Add a Rivendell Service
//
// (C) Copyright 2002,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Add a Rivendell User
//
// (C) Copyright 2002-2008,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -39,8 +39,10 @@
#include <rdescape_string.h>
AddUser::AddUser(QString *username,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
user_name=username;
//
@ -51,7 +53,7 @@ AddUser::AddUser(QString *username,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("Add User"));
setWindowTitle("RDAdmin - "+tr("Add User"));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Add a Rivendell User
//
// (C) Copyright 2002,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Edit a List of Autofill Carts
//
// (C) Copyright 2002-2004,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -42,8 +42,10 @@
#include "globals.h"
AutofillCarts::AutofillCarts(RDSvc *svc,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString str;
//
@ -56,7 +58,7 @@ AutofillCarts::AutofillCarts(RDSvc *svc,QWidget *parent)
svc_svc=svc;
setCaption(tr("Autofill Carts - Service:")+" "+svc_svc->name());
setWindowTitle("RDAdmin - "+tr("Autofill Carts - Service:")+" "+svc_svc->name());
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit a List of Autofill Carts
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Edit a Rivendell Audio Port Configuration
//
// (C) Copyright 2002-2003,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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,15 +28,14 @@
#include <q3buttongroup.h>
#include <qsqldatabase.h>
#include <qsignalmapper.h>
//Added by qt3to4:
#include <QResizeEvent>
#include <QLabel>
#include <edit_audios.h>
#include "edit_audios.h"
EditAudioPorts::EditAudioPorts(QString station,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString str;
//
@ -51,7 +50,7 @@ EditAudioPorts::EditAudioPorts(QString station,QWidget *parent)
edit_card=NULL;
rdstation=NULL;
setCaption(tr("Edit AudioScience Audio Ports"));
setWindowTitle("RDAdmin - "+tr("Edit AudioScience Audio Ports"));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit a Rivendell Audio Port Configuration
//
// (C) Copyright 2002-2003,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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,15 +28,13 @@
#include <qspinbox.h>
#include <qlabel.h>
#include <qlineedit.h>
//Added by qt3to4:
#include <QResizeEvent>
#include <rd.h>
#include <rdaudio_port.h>
#include <help_audios.h>
#include <rdstation.h>
#include "help_audios.h"
class EditAudioPorts : public QDialog
{
Q_OBJECT

@ -2,7 +2,7 @@
//
// Edit Rivendell CartSlot Configuration
//
// (C) Copyright 2012,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2012-2018 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
@ -36,6 +36,8 @@ EditCartSlots::EditCartSlots(RDStation *station,RDStation *cae_station,
QWidget *parent)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
@ -51,7 +53,7 @@ EditCartSlots::EditCartSlots(RDStation *station,RDStation *cae_station,
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("RDAdmin - Edit CartSlots"));
setWindowTitle("RDAdmin - "+tr("Edit CartSlots"));
//
// Fonts

@ -2,7 +2,7 @@
//
// Edit Rivendell CartSlot Configuration
//
// (C) Copyright 2012,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2012-2018 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
@ -27,8 +27,6 @@
#include <qcombobox.h>
#include <qlabel.h>
#include <qpushbutton.h>
//Added by qt3to4:
#include <QCloseEvent>
#include <rdstation.h>

@ -2,7 +2,7 @@
//
// Edit Rivendell Channel GPIO Settings
//
// (C) Copyright 2013,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2013-2018 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
@ -19,18 +19,17 @@
//
#include <edit_channelgpios.h>
//Added by qt3to4:
#include <QResizeEvent>
#include <QLabel>
EditChannelGpios::EditChannelGpios(RDAirPlayConf *conf,
RDAirPlayConf::Channel chan,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
edit_airplay_conf=conf;
edit_channel=chan;
setCaption(QString("RDAdmin - ")+tr("Edit Channel GPIOs"));
setWindowTitle("RDAdmin - "+tr("Edit Channel GPIOs"));
//
// Fonts

@ -2,7 +2,7 @@
//
// Edit Rivendell Channel GPIO Settings
//
// (C) Copyright 2013,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2013-2018 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
@ -26,8 +26,6 @@
#include <qlabel.h>
#include <qpushbutton.h>
#include <qcombobox.h>
//Added by qt3to4:
#include <QResizeEvent>
#include <rdairplay_conf.h>

@ -2,7 +2,7 @@
//
// Edit a Rivendell RDCatch Deck Configuration
//
// (C) Copyright 2002-2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -29,9 +29,6 @@
#include <qcheckbox.h>
#include <q3buttongroup.h>
#include <qstringlist.h>
//Added by qt3to4:
#include <QLabel>
#include <QPaintEvent>
#include <rd.h>
#include <rddb.h>
@ -43,19 +40,20 @@
#include "globals.h"
EditDecks::EditDecks(RDStation *station,RDStation *cae_station,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
//
// Fix the Window Size
//
setMinimumWidth(sizeHint().width());
// setMaximumWidth(sizeHint().width());
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
edit_station=station;
setCaption(tr("Configure RDCatch"));
setWindowTitle("RDAdmin - "+tr("Configure RDCatch"));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit Rivendell Netcatcher Configuration
//
// (C) Copyright 2002-2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -30,8 +30,6 @@
#include <qspinbox.h>
#include <qlabel.h>
#include <qlineedit.h>
//Added by qt3to4:
#include <QPaintEvent>
#include <rddeck.h>
#include <rdcardselector.h>

@ -2,7 +2,7 @@
//
// Edit a Rivendell Dropbox Configuration
//
// (C) Copyright 2002-2007,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -33,8 +33,6 @@
#include <qcolordialog.h>
#include <qvalidator.h>
#include <q3filedialog.h>
//Added by qt3to4:
#include <QLabel>
#include <rdapplication.h>
#include <rdcart_dialog.h>
@ -45,8 +43,10 @@
#include "edit_dropbox.h"
EditDropbox::EditDropbox(int id,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
@ -60,8 +60,8 @@ EditDropbox::EditDropbox(int id,QWidget *parent)
box_dropbox=new RDDropbox(id);
setCaption(tr("Dropbox Configuration")+" ["+
tr("ID")+QString().sprintf(": %d]",id));
setWindowTitle("RDAdmin - "+tr("Dropbox Configuration")+" ["+
tr("ID")+QString().sprintf(": %d]",id));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit a Rivendell Dropbox Configuration
//
// (C) Copyright 2002-2007,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Edit a Rivendell Endpoint
//
// (C) Copyright 2002-2003,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -19,8 +19,6 @@
//
#include <qmessagebox.h>
//Added by qt3to4:
#include <QLabel>
#include <rdtextvalidator.h>
@ -30,8 +28,10 @@ EditEndpoint::EditEndpoint(RDMatrix::Type type,RDMatrix::Endpoint endpoint,
int pointnum,QString *pointname,QString *feedname,
RDMatrix::Mode *mode,int *enginenum,int *devicenum,
QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
edit_type=type;
edit_endpoint=endpoint;
edit_pointnum=pointnum;
@ -42,15 +42,15 @@ EditEndpoint::EditEndpoint(RDMatrix::Type type,RDMatrix::Endpoint endpoint,
edit_devicenum=devicenum;
switch(edit_endpoint) {
case RDMatrix::Input:
edit_table="INPUTS";
setCaption(tr("Edit Input"));
break;
case RDMatrix::Input:
edit_table="INPUTS";
setWindowTitle("RDAdmin - "+tr("Edit Input"));
break;
case RDMatrix::Output:
edit_table="OUTPUTS";
setCaption(tr("Edit Output"));
break;
case RDMatrix::Output:
edit_table="OUTPUTS";
setWindowTitle("RDAdmin - "+tr("Edit Output"));
break;
}
//

@ -2,7 +2,7 @@
//
// Edit a Rivendell Endpoint
//
// (C) Copyright 2002-2003,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -22,7 +22,6 @@
#define EDIT_ENDPOINT_H
#include <qdialog.h>
#include <qsqldatabase.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qlineedit.h>

@ -27,9 +27,6 @@
#include <qpainter.h>
#include <qdatetime.h>
#include <q3url.h>
//Added by qt3to4:
#include <QPaintEvent>
#include <QLabel>
#include <rdapplication.h>
#include <rdexport_settings_dialog.h>
@ -38,8 +35,10 @@
#include "globals.h"
EditFeed::EditFeed(const QString &feed,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
//
// Fix the Window Size
//
@ -50,7 +49,7 @@ EditFeed::EditFeed(const QString &feed,QWidget *parent)
feed_feed=new RDFeed(feed,rda->config(),this);
setCaption(tr("Feed: ")+feed);
setWindowTitle("RDAdmin - "+tr("Feed: ")+feed);
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit a Rivendell Feed
//
// (C) Copyright 2002-2007,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -30,8 +30,6 @@
#include <qlabel.h>
#include <qcombobox.h>
#include <qpushbutton.h>
//Added by qt3to4:
#include <QPaintEvent>
#include <rdfeed.h>
#include <rdsettings.h>

@ -2,7 +2,7 @@
//
// Edit Rivendell RSS Feed Permissions
//
// (C) Copyright 2002-2005,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -38,8 +38,10 @@
#include "edit_feed_perms.h"
EditFeedPerms::EditFeedPerms(RDUser *user,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
@ -53,7 +55,7 @@ EditFeedPerms::EditFeedPerms(RDUser *user,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("User: ")+feed_user->name());
setWindowTitle("RDAdmin - "+tr("User: ")+feed_user->name());
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit Rivendell RSS Feed Permissions
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -22,7 +22,7 @@
#define EDIT_FEED_PERMS_H
#include <qdialog.h>
#include <qsqldatabase.h>
#include <rdlistselector.h>
#include <rduser.h>

@ -2,7 +2,7 @@
//
// Edit a Rivendell Gpi
//
// (C) Copyright 2002-2004,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -20,9 +20,6 @@
#include <qmessagebox.h>
#include <qpainter.h>
//Added by qt3to4:
#include <QLabel>
#include <QPaintEvent>
#include <rdapplication.h>
#include <rdcart_dialog.h>
@ -33,14 +30,16 @@
EditGpi::EditGpi(int gpi,int *oncart,QString *ondesc,
int *offcart,QString *offdesc,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
edit_gpi=gpi;
edit_oncart=oncart;
edit_offcart=offcart;
edit_ondescription=ondesc;
edit_offdescription=offdesc;
setCaption(tr("Edit GPI")+QString().sprintf(" %d",gpi));
setWindowTitle("RDAdmin - "+tr("Edit GPI")+QString().sprintf(" %d",gpi));
//
// Fix the Window Size

@ -2,7 +2,7 @@
//
// Edit a Rivendell GPI
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -22,13 +22,10 @@
#define EDIT_GPI_H
#include <qdialog.h>
#include <qsqldatabase.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qlineedit.h>
#include <qcombobox.h>
//Added by qt3to4:
#include <QPaintEvent>
#include <rduser.h>
#include <rdmatrix.h>

@ -2,7 +2,7 @@
//
// Edit a Rivendell Group
//
// (C) Copyright 2002-2004,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -31,9 +31,6 @@
#include <qcheckbox.h>
#include <q3buttongroup.h>
#include <qcolordialog.h>
//Added by qt3to4:
#include <QResizeEvent>
#include <QLabel>
#include <rddb.h>
#include <rdescape_string.h>
@ -44,8 +41,10 @@
#include "edit_group.h"
EditGroup::EditGroup(QString group,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
@ -59,7 +58,7 @@ EditGroup::EditGroup(QString group,QWidget *parent)
group_group=new RDGroup(group);
setCaption(tr("Group: ")+group);
setWindowTitle("RDAdmin - "+tr("Group: ")+group);
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit a Rivendell Group
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -27,17 +27,13 @@
#include <qpixmap.h>
#include <qspinbox.h>
#include <qcheckbox.h>
#include <qsqldatabase.h>
#include <qlineedit.h>
#include <qcombobox.h>
#include <qlabel.h>
#include <qpushbutton.h>
//Added by qt3to4:
#include <QResizeEvent>
#include <rdlistselector.h>
#include <rdgroup.h>
#include <rdlistselector.h>
class EditGroup : public QDialog
{

@ -2,7 +2,7 @@
//
// Edit a Rivendell Host Variable
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -29,7 +29,6 @@
#include <qmessagebox.h>
#include <qcheckbox.h>
#include <q3buttongroup.h>
#include <qsqldatabase.h>
#include <rdcatch_connect.h>
@ -44,8 +43,9 @@
EditHostvar::EditHostvar(QString station,QString var,QString *varvalue,
QString *remark,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
edit_varvalue=varvalue;
edit_remark=remark;
@ -55,7 +55,7 @@ EditHostvar::EditHostvar(QString station,QString var,QString *varvalue,
QFont font=QFont("Helvetica",12,QFont::Bold);
font.setPixelSize(12);
setCaption(tr("Edit Host Variable"));
setWindowTitle("RDAdmin - "+tr("Edit Host Variable"));
//
// Fix the Window Size

@ -2,7 +2,7 @@
//
// Edit a Rivendell Host Variable
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Edit the Hot Key Configuration for a Rivendell Workstation.
//
// (C) Copyright 2002-2004,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -22,12 +22,8 @@
#include <qdialog.h>
#include <qstring.h>
#include <qpushbutton.h>
#include <qsqldatabase.h>
#include <qmessagebox.h>
#include <q3listbox.h>
//Added by qt3to4:
#include <QLabel>
#include <QKeyEvent>
#include <rdescape_string.h>
#include <rdhotkeylist.h>
@ -38,8 +34,10 @@
EditHotkeys::EditHotkeys(const QString &station,const QString &module,
QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
@ -69,8 +67,8 @@ EditHotkeys::EditHotkeys(const QString &station,const QString &module,
//
// Hot Key Configuration Label
//
setCaption(hotkey_module.upper()+" "+tr("Hot Key Configuration for")+" "+
hotkey_conf);
setWindowTitle("RDAdmin - "+hotkey_module.upper()+" "+
tr("Hot Key Configuration for")+" "+hotkey_conf);
list_view=new Q3ListView(this);
list_view->setGeometry(10,24,320,220);

@ -2,7 +2,7 @@
//
// Edit the Hot Keys Configuration for a Workstation
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -22,14 +22,11 @@
#define EDIT_HOTKEYS_H
#include <qdialog.h>
#include <qsqldatabase.h>
#include <qlineedit.h>
#include <q3listview.h>
#include <qcombobox.h>
#include <qpushbutton.h>
#include <qlabel.h>
//Added by qt3to4:
#include <QKeyEvent>
#include <vector>
#include <rdhotkeys.h>

@ -2,7 +2,7 @@
//
// Edit a Rivendell Jack Configuration
//
// (C) Copyright 2002-2007,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -32,9 +32,6 @@
#include <qcolordialog.h>
#include <qvalidator.h>
#include <q3filedialog.h>
//Added by qt3to4:
#include <QResizeEvent>
#include <QLabel>
#include <rdescape_string.h>
@ -45,8 +42,10 @@
#include <edit_jack_client.h>
EditJack::EditJack(RDStation *station,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
edit_station=station;
@ -57,7 +56,8 @@ EditJack::EditJack(RDStation *station,QWidget *parent)
setMinimumWidth(sizeHint().width());
setMinimumHeight(sizeHint().height());
setCaption(tr("JACK Configuration for ")+edit_station->name());
setWindowTitle("RDAdmin - "+tr("JACK Configuration for ")+
edit_station->name());
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit a Rivendell Jack Configuration
//
// (C) Copyright 2002-2011,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -30,8 +30,6 @@
#include <qpushbutton.h>
#include <qspinbox.h>
#include <q3textedit.h>
//Added by qt3to4:
#include <QResizeEvent>
#include <rdlistview.h>
#include <rdstation.h>

@ -2,7 +2,7 @@
//
// Edit a Rivendell Jack Client Configuration
//
// (C) Copyright 2012,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2012-2018 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
@ -23,13 +23,12 @@
#include <globals.h>
#include <rddb.h>
#include <edit_jack_client.h>
//Added by qt3to4:
#include <QResizeEvent>
#include <QLabel>
EditJackClient::EditJackClient(RDStation *station,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
edit_station=station;
@ -40,7 +39,8 @@ EditJackClient::EditJackClient(RDStation *station,QWidget *parent)
setMinimumWidth(sizeHint().width());
setMinimumHeight(sizeHint().height());
setCaption(tr("JACK Client Configuration for ")+edit_station->name());
setWindowTitle("RDAdmin - "+tr("JACK Client Configuration for ")+
edit_station->name());
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit a Rivendell Jack Client Configuration
//
// (C) Copyright 2012,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2012-2018 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
@ -25,8 +25,6 @@
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qlabel.h>
//Added by qt3to4:
#include <QResizeEvent>
#include <rdstation.h>

@ -2,7 +2,7 @@
//
// Edit a Rivendell Livewire GPIO Slot Association
//
// (C) Copyright 2013,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2013-2018 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,8 +28,10 @@
EditLiveWireGpio::EditLiveWireGpio(int slot,int *source,QHostAddress *addr,
QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
edit_slot=slot;
edit_source=source;
edit_address=addr;
@ -41,7 +43,7 @@ EditLiveWireGpio::EditLiveWireGpio(int slot,int *source,QHostAddress *addr,
setMaximumWidth(sizeHint().width());
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("Edit GPIO Source"));
setWindowTitle("RDAdmin - "+tr("Edit GPIO Source"));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit a Rivendell Livewire GPIO Slot Association
//
// (C) Copyright 2013,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2013-2018 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

@ -2,7 +2,7 @@
//
// Edit a Rivendell Matrix
//
// (C) Copyright 2002-2012,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -23,10 +23,6 @@
#include <q3textedit.h>
#include <qpainter.h>
#include <qmessagebox.h>
//Added by qt3to4:
#include <QLabel>
#include <QPaintEvent>
//#include <qsqldatabase.h>
#include <rd.h>
#include <rdapplication.h>
@ -49,6 +45,8 @@
EditMatrix::EditMatrix(RDMatrix *matrix,QWidget *parent)
: QDialog(parent)
{
setModal(true);
QString str;
edit_matrix=matrix;
@ -63,7 +61,7 @@ EditMatrix::EditMatrix(RDMatrix *matrix,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("RDAdmin - Edit Switcher"));
setWindowTitle("RDAdmin - "+tr("Edit Switcher"));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit a Rivendell Matrix
//
// (C) Copyright 2002-2012,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -22,14 +22,11 @@
#define EDIT_MATRIX_H
#include <qdialog.h>
#include <qsqldatabase.h>
#include <qcombobox.h>
#include <qspinbox.h>
#include <qlabel.h>
#include <qlineedit.h>
#include <qpushbutton.h>
//Added by qt3to4:
#include <QPaintEvent>
#include <rduser.h>
#include <rdmatrix.h>

@ -2,7 +2,7 @@
//
// Edit a Rivendell LiveWire Node
//
// (C) Copyright 2002-2007,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -19,7 +19,6 @@
//
#include <qmessagebox.h>
#include <qsqldatabase.h>
#include <qlabel.h>
#include <qpushbutton.h>
@ -27,16 +26,18 @@
#include <rddb.h>
#include <rdescape_string.h>
#include <edit_node.h>
#include <view_node_info.h>
#include "edit_node.h"
#include "view_node_info.h"
EditNode::EditNode(int *id,RDMatrix *matrix,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
edit_id=id;
edit_matrix=matrix;
edit_password_changed=false;
setCaption(tr("Edit LiveWire Node"));
setWindowTitle("RDAdmin - "+tr("Edit LiveWire Node"));
//
// Fix the Window Size

@ -2,7 +2,7 @@
//
// Edit a Rivendell LiveWire Node
//
// (C) Copyright 2002-2007,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Edit the Now & Next Configuration for a Rivendell Workstation.
//
// (C) Copyright 2002-2004,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -20,8 +20,6 @@
#include <qmessagebox.h>
#include <qsignalmapper.h>
//Added by qt3to4:
#include <QLabel>
#include <rdapplication.h>
#include <rdescape_string.h>
@ -34,8 +32,10 @@
#include "globals.h"
EditNowNext::EditNowNext(RDAirPlayConf *conf,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
RDListViewItem *item;
@ -60,7 +60,7 @@ EditNowNext::EditNowNext(RDAirPlayConf *conf,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("Edit Now & Next Data"));
setWindowTitle("RDAdmin - "+tr("Edit Now & Next Data"));
//
// Text Validator

@ -2,7 +2,7 @@
//
// Edit the Now & Next Configuration for a Rivendell Workstation
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Edit a Rivendell Now & Next Plugin Configuration
//
// (C) Copyright 2008,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2008-2018 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
@ -26,13 +26,14 @@
#include <rd.h>
#include <rdpaths.h>
#include <edit_nownextplugin.h>
#include "edit_nownextplugin.h"
EditNowNextPlugin::EditNowNextPlugin(QString *path,QString *arg,
QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
plugin_path=path;
plugin_arg=arg;
@ -44,7 +45,7 @@ EditNowNextPlugin::EditNowNextPlugin(QString *path,QString *arg,
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("Edit Plugin"));
setWindowTitle("RDAdmin - "+tr("Edit Plugin"));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit a Rivendell Now & Next Plugin Configuration
//
// (C) Copyright 2008,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2008-2018 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

@ -2,7 +2,7 @@
//
// Edit an RDAirPlay Configuration
//
// (C) Copyright 2002-2004,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -31,9 +31,6 @@
#include <q3buttongroup.h>
#include <qpainter.h>
#include <q3filedialog.h>
//Added by qt3to4:
#include <QLabel>
#include <QPaintEvent>
#include <rd.h>
#include <rddb.h>
@ -49,8 +46,10 @@
EditRDAirPlay::EditRDAirPlay(RDStation *station,RDStation *cae_station,
QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
@ -87,7 +86,7 @@ EditRDAirPlay::EditRDAirPlay(RDStation *station,RDStation *cae_station,
//
// Dialog Name
//
setCaption(tr("Configure RDAirPlay"));
setWindowTitle("RDAdmin - "+tr("Configure RDAirPlay"));
//
// Channel Assignments Section

@ -2,7 +2,7 @@
//
// Edit an RDAirPlay Configuration
//
// (C) Copyright 2002-2010,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -22,7 +22,6 @@
#define EDIT_RDAIRPLAY_H
#include <qdialog.h>
#include <qsqldatabase.h>
#include <qlineedit.h>
#include <qcombobox.h>
#include <qspinbox.h>
@ -30,8 +29,6 @@
#include <qlabel.h>
#include <qcheckbox.h>
#include <q3buttongroup.h>
//Added by qt3to4:
#include <QPaintEvent>
#include <rd.h>
#include <rdairplay_conf.h>

@ -37,11 +37,12 @@
#include <edit_rdlibrary.h>
#include <rdtextvalidator.h>
EditRDLibrary::EditRDLibrary(RDStation *station,RDStation *cae_station,
QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
//
// Fix the Window Size
//
@ -68,7 +69,7 @@ EditRDLibrary::EditRDLibrary(RDStation *station,RDStation *cae_station,
//
// Dialog Name
//
setCaption(tr("Configure RDLibrary"));
setWindowTitle("RDAdmin - "+tr("Configure RDLibrary"));
//
// Input Configuration

@ -2,7 +2,7 @@
//
// Edit an RDLibrry Configuration
//
// (C) Copyright 2002-2015 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -22,7 +22,6 @@
#define EDIT_RDLIBRARY_H
#include <qdialog.h>
#include <qsqldatabase.h>
#include <qlineedit.h>
#include <qcombobox.h>
#include <qspinbox.h>
@ -32,7 +31,6 @@
#include <rdlibrary_conf.h>
#include <rdcardselector.h>
class EditRDLibrary : public QDialog
{
Q_OBJECT

@ -39,11 +39,12 @@
#include "edit_rdlogedit.h"
#include "globals.h"
EditRDLogedit::EditRDLogedit(RDStation *station,RDStation *cae_station,
QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
//
// Fix the Window Size
//
@ -65,7 +66,7 @@ EditRDLogedit::EditRDLogedit(RDStation *station,RDStation *cae_station,
//
// Dialog Name
//
setCaption(tr("Configure RDLogedit"));
setWindowTitle("RDAdmin - "+tr("Configure RDLogedit"));
//
// Input Configuration

@ -2,7 +2,7 @@
//
// Edit an RDLogEdit Configuration
//
// (C) Copyright 2002-2015 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -32,7 +32,6 @@
#include <rdlogedit_conf.h>
#include <rdcardselector.h>
class EditRDLogedit : public QDialog
{
Q_OBJECT

@ -2,7 +2,7 @@
//
// Edit an RDPanel Configuration
//
// (C) Copyright 2002-2007,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -31,8 +31,6 @@
#include <q3buttongroup.h>
#include <qpainter.h>
#include <q3filedialog.h>
//Added by qt3to4:
#include <QLabel>
#include <rd.h>
#include <rddb.h>
@ -45,8 +43,10 @@
EditRDPanel::EditRDPanel(RDStation *station,RDStation *cae_station,
QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
@ -78,7 +78,7 @@ EditRDPanel::EditRDPanel(RDStation *station,RDStation *cae_station,
//
// Dialog Name
//
setCaption(tr("Configure RDPanel"));
setWindowTitle("RDAdmin - "+tr("Configure RDPanel"));
//
// Channel Assignments Section

@ -2,7 +2,7 @@
//
// Edit an RDPanel Configuration
//
// (C) Copyright 2002-2007,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -22,7 +22,6 @@
#define EDIT_RDPANEL_H
#include <qdialog.h>
#include <qsqldatabase.h>
#include <qlineedit.h>
#include <qcombobox.h>
#include <qspinbox.h>

@ -38,8 +38,10 @@
#include "globals.h"
EditReplicator::EditReplicator(const QString &repl_name,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
@ -54,7 +56,7 @@ EditReplicator::EditReplicator(const QString &repl_name,QWidget *parent)
repl_replicator=new RDReplicator(repl_name);
repl_settings=new RDSettings();
setCaption(tr("Replicator: ")+repl_name);
setWindowTitle("RDAdmin - "+tr("Replicator: ")+repl_name);
//
// Create Fonts

@ -1,9 +1,8 @@
// edit_replicator.h
//
// Edit a Rivendell Replicator
//
// (C) Copyright 2002-2007,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Edit a Rivendell Report
//
// (C) Copyright 2002-2004,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -43,8 +43,10 @@
#include "test_import.h"
EditReport::EditReport(QString rptname,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
bool ok=false;
@ -58,7 +60,7 @@ EditReport::EditReport(QString rptname,QWidget *parent)
setMaximumHeight(sizeHint().height());
edit_report=new RDReport(rptname,rda->station(),rda->config());
setCaption(tr("Edit Report")+" "+rptname);
setWindowTitle("RDAdmin - "+tr("Edit Report")+" "+rptname);
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit a Rivendell Report
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -22,7 +22,6 @@
#define EDIT_REPORT_H
#include <qdialog.h>
#include <qsqldatabase.h>
#include <qlineedit.h>
#include <qcombobox.h>
#include <qcheckbox.h>

@ -2,7 +2,7 @@
//
// Edit an SAS Resource Record.
//
// (C) Copyright 2002-2005,2011,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -19,8 +19,6 @@
//
#include <qmessagebox.h>
//Added by qt3to4:
#include <QLabel>
#include <rdtextvalidator.h>
@ -28,12 +26,14 @@
EditSasResource::EditSasResource(int *enginenum,int *devicenum,int *relaynum,
QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
edit_enginenum=enginenum;
edit_devicenum=devicenum;
edit_relaynum=relaynum;
setCaption(tr("Edit SAS Switch"));
setWindowTitle("RDAdmin - "+tr("Edit SAS Switch"));
//
// Fix the Window Size

@ -2,7 +2,7 @@
//
// Edit an SAS Resource Record.
//
// (C) Copyright 2002-2005,2011,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -22,7 +22,6 @@
#define EDIT_SAS_RESOURCE_H
#include <qdialog.h>
#include <qsqldatabase.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qlineedit.h>

@ -4,6 +4,7 @@
//
// Stefan Gabriel <stg@st-gabriel.de>
// (C) Copyright 2005-2018
// (C) Copyright 2002-2018 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
@ -27,8 +28,6 @@
#include <qevent.h>
#include <qmessagebox.h>
#include <q3buttongroup.h>
//Added by qt3to4:
#include <QLabel>
#include <rddb.h>
#include <rdescape_string.h>
@ -41,8 +40,10 @@
EditSchedCode::EditSchedCode(QString schedCode,QString description,
QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
//
// Fix the Window Size
//
@ -54,7 +55,7 @@ EditSchedCode::EditSchedCode(QString schedCode,QString description,
schedCode_code=new QString(schedCode);
schedCode_description=new QString(description);
setCaption(tr("Scheduler Code: ")+schedCode);
setWindowTitle("RDAdmin - "+tr("Scheduler Code: ")+schedCode);
//
// Create Fonts

@ -3,6 +3,7 @@
// Edit scheduler codes dialog
//
// Stefan Gabriel <stg@st-gabriel.de>
// (C) Copyright 2002-2018 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

@ -1,8 +1,8 @@
// edit_station.cpp
//
// Edit Rivendell Systemwide Configuration
// Edit Rivendell System-Wide Configuration
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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,8 +28,6 @@
#include <q3progressdialog.h>
#include <qapplication.h>
#include <q3filedialog.h>
//Added by qt3to4:
#include <QLabel>
#include <rdescape_string.h>
#include <rddb.h>
@ -40,8 +38,10 @@
#include <globals.h>
EditSettings::EditSettings(QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
@ -66,7 +66,7 @@ EditSettings::EditSettings(QWidget *parent)
edit_system=new RDSystem();
setCaption(tr("System-Wide Settings"));
setWindowTitle("RDAdmin - "+tr("System-Wide Settings"));
edit_system=new RDSystem();

@ -2,7 +2,7 @@
//
// Edit Rivendell System-wide Settings.
//
// (C) Copyright 2009,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2009-2018 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
@ -30,8 +30,6 @@
#include <qpushbutton.h>
#include <qlineedit.h>
#include <qcombobox.h>
//Added by qt3to4:
#include <QLabel>
#include <rdlabel.h>
#include <rdsystem.h>

@ -2,7 +2,7 @@
//
// Edit a Rivendell Workstation Configuration
//
// (C) Copyright 2002-2010,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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,10 +28,6 @@
#include <qcheckbox.h>
#include <q3buttongroup.h>
#include <qvalidator.h>
//Added by qt3to4:
#include <QLabel>
#include <QResizeEvent>
#include <QPaintEvent>
#include <rdapplication.h>
#include <rdcatch_connect.h>
@ -58,8 +54,10 @@
#include "globals.h"
EditStation::EditStation(QString sname,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
RDSqlQuery *q;
QString sql;
int item=0;
@ -82,7 +80,7 @@ EditStation::EditStation(QString sname,QWidget *parent)
station_station=new RDStation(sname);
station_cae_station=NULL;
setCaption(tr("Host: ")+sname);
setWindowTitle("RDAdmin - "+tr("Host: ")+sname);
GetPrivateProfileString(RD_CONF_FILE,"Identity","Password",temp,"",255);
station_catch_connect=new RDCatchConnect(0,this);

@ -2,7 +2,7 @@
//
// Edit a Rivendell Workstation
//
// (C) Copyright 2002-2010,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -32,9 +32,6 @@
#include <qspinbox.h>
#include <qpushbutton.h>
#include <qlabel.h>
//Added by qt3to4:
#include <QResizeEvent>
#include <QPaintEvent>
#include <rdstation.h>
#include <rdcatch_connect.h>

@ -2,7 +2,7 @@
//
// Edit a Rivendell Service
//
// (C) Copyright 2002-2004,2008,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -33,7 +33,6 @@
#include <rd.h>
#include <rdapplication.h>
#include <rddb.h>
//#include <rduser.h>
#include <rdidvalidator.h>
#include <rdpasswd.h>
#include <rdtextvalidator.h>
@ -45,8 +44,10 @@
#include "test_import.h"
EditSvc::EditSvc(QString svc,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
QString group;
@ -62,7 +63,7 @@ EditSvc::EditSvc(QString svc,QWidget *parent)
svc_svc=new RDSvc(svc,rda->station(),rda->config());
setCaption(tr("Edit Service"));
setWindowTitle("RDAdmin - "+tr("Edit Service"));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit a Rivendell Service
//
// (C) Copyright 2002-2010,2016-2017 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Edit Rivendell Service Permissions
//
// (C) Copyright 2002-2004,2016-2017 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -24,8 +24,10 @@
#include "edit_svc_perms.h"
EditSvcPerms::EditSvcPerms(RDSvc *svc,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
@ -39,7 +41,7 @@ EditSvcPerms::EditSvcPerms(RDSvc *svc,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("Service: ")+svc_svc->name());
setWindowTitle("RDAdmin - "+tr("Service: ")+svc_svc->name());
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit Rivendell Service Permissions
//
// (C) Copyright 2002-2004,2016-2017 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -23,9 +23,8 @@
#include <qdialog.h>
#include <rdlistselector.h>
#include <rddb.h>
#include <rdlistselector.h>
#include <rdsvc.h>
class EditSvcPerms : public QDialog

@ -2,7 +2,7 @@
//
// Edit a Rivendell TTY Configuration
//
// (C) Copyright 2002-2004,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -26,8 +26,6 @@
#include <qmessagebox.h>
#include <qcheckbox.h>
#include <q3buttongroup.h>
//Added by qt3to4:
#include <QLabel>
#include <rdapplication.h>
#include <rddb.h>
@ -39,8 +37,10 @@
#include "globals.h"
EditTtys::EditTtys(QString station,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
//
// Fix the Window Size
//
@ -53,7 +53,7 @@ EditTtys::EditTtys(QString station,QWidget *parent)
for(int i=0;i<MAX_TTYS;i++) {
edit_port_modified[i]=false;
}
setCaption(tr("Edit Serial Ports"));
setWindowTitle("RDAdmin- "+tr("Edit Serial Ports"));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit a Rivendell TTY Configuration
//
// (C) Copyright 2002,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Edit a Rivendell User
//
// (C) Copyright 2002-2003,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -29,9 +29,6 @@
#include <qmessagebox.h>
#include <qcheckbox.h>
#include <q3buttongroup.h>
//Added by qt3to4:
#include <QLabel>
//#include <qsqldatabase.h>
#include <rdapplication.h>
#include <rdpasswd.h>
@ -45,8 +42,10 @@
#include "globals.h"
EditUser::EditUser(const QString &user,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
//
// Fix the Window Size
//
@ -55,7 +54,7 @@ EditUser::EditUser(const QString &user,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("User: ")+user);
setWindowTitle("RDAdmin - "+tr("User: ")+user);
user_user=new RDUser(user);
//

@ -2,7 +2,7 @@
//
// Edit a Rivendell User
//
// (C) Copyright 2002,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Edit Rivendell User/Group Permissions
//
// (C) Copyright 2002-2005,2016-2017 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -26,8 +26,10 @@
#include "edit_user_perms.h"
EditUserPerms::EditUserPerms(RDUser *user,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
@ -41,7 +43,7 @@ EditUserPerms::EditUserPerms(RDUser *user,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("User: ")+user_user->name());
setWindowTitle("RDAdmin - "+tr("User: ")+user_user->name());
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit Rivendell User/Group Permissions
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Edit Rivendell User/Group Permissions
//
// (C) Copyright 2002-2005,2016-2017 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -26,8 +26,10 @@
#include "edit_user_service_perms.h"
EditUserServicePerms::EditUserServicePerms(RDUser *user,QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
QString sql;
RDSqlQuery *q;
@ -41,7 +43,7 @@ EditUserServicePerms::EditUserServicePerms(RDUser *user,QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("User: ")+user_user->name());
setWindowTitle("RDAdmin - "+tr("User: ")+user_user->name());
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Edit Rivendell User/Group Permissions
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Edit a vGuest Resource Record.
//
// (C) Copyright 2002-2005,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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
@ -19,20 +19,19 @@
//
#include <qmessagebox.h>
//Added by qt3to4:
#include <QLabel>
#include <rdtextvalidator.h>
#include <edit_vguest_resource.h>
EditVguestResource::EditVguestResource(RDMatrix::VguestType type,
int *enginenum,int *devicenum,
int *surfacenum,int *relaynum,
QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
edit_type=type;
edit_enginenum=enginenum;
edit_devicenum=devicenum;
@ -129,17 +128,17 @@ EditVguestResource::EditVguestResource(RDMatrix::VguestType type,
edit_surfacenum_edit->setText(QString().sprintf("%04X",*surfacenum));
}
switch(edit_type) {
case RDMatrix::VguestTypeRelay:
setCaption(tr("Edit vGuest Switch"));
if(*relaynum>=0) {
edit_relaynum_edit->setText(QString().sprintf("%04X",*relaynum));
}
break;
case RDMatrix::VguestTypeRelay:
setWindowTitle("RDAdmin - "+tr("Edit vGuest Switch"));
if(*relaynum>=0) {
edit_relaynum_edit->setText(QString().sprintf("%04X",*relaynum));
}
break;
case RDMatrix::VguestTypeDisplay:
setCaption(tr("Edit vGuest Display"));
edit_relaynum_edit->setDisabled(true);
break;
case RDMatrix::VguestTypeDisplay:
setWindowTitle("RDADmin - "+tr("Edit vGuest Display"));
edit_relaynum_edit->setDisabled(true);
break;
}
}

@ -2,7 +2,7 @@
//
// Edit a vGuest Resource Record.
//
// (C) Copyright 2002-2005,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Global Definitions for RDAdmin
//
// (C) Copyright 2002-2003,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2018 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

@ -2,7 +2,7 @@
//
// Display help for audio ports (edit_audios.*)
//
// (C) Copyright 2006,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2006-2018 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
@ -23,8 +23,10 @@
#include <help_audios.h>
HelpAudioPorts::HelpAudioPorts(QWidget *parent)
: QDialog(parent,"",true)
: QDialog(parent)
{
setModal(true);
//
// Fix the Window Size
//
@ -33,7 +35,7 @@ HelpAudioPorts::HelpAudioPorts(QWidget *parent)
setMinimumHeight(sizeHint().height());
setMaximumHeight(sizeHint().height());
setCaption(tr("Audio Ports Help"));
setWindowTitle("RDAdmin - "+tr("Audio Ports Help"));
//
// Create Fonts

@ -2,7 +2,7 @@
//
// Display help for audio ports (edit_audios.*)
//
// (C) Copyright 2006,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2006-2018 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

@ -1,8 +1,8 @@
// importfields.cpp
//
// Parser Parameters for RDAdmin.
// Import Parser Parameters for RDAdmin.
//
// (C) Copyright 2010,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2010-2018 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
@ -21,8 +21,6 @@
#include <rd.h>
#include <importfields.h>
//Added by qt3to4:
#include <QLabel>
ImportFields::ImportFields(QWidget *parent)
: QWidget(parent)

@ -1,8 +1,8 @@
// importfields.h
//
// Parser Parameters for RDAdmin.
// Import Parser Parameters for RDAdmin.
//
// (C) Copyright 2010,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2010-2018 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

Some files were not shown because too many files have changed in this diff Show More