2021-02-06 Fred Gleason <fredg@paravelsystems.com>

* Removed 'Q3DateTimeEdit' dependencies from rdadmin(1).
	* Removed 'Q3ListBox' dependencies from rdadmin(1).
	* Removed 'Q3TextEdit' dependencies from rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-02-06 14:14:01 -05:00
parent 7015e64962
commit 804a144757
13 changed files with 86 additions and 170 deletions

View File

@ -21050,3 +21050,7 @@
* Removed the 'RDHPISoundSelector' widget. * Removed the 'RDHPISoundSelector' widget.
2021-02-06 Fred Gleason <fredg@paravelsystems.com> 2021-02-06 Fred Gleason <fredg@paravelsystems.com>
* Removed 'Q3Frame' dependencies from rdairplay(1). * Removed 'Q3Frame' dependencies from rdairplay(1).
2021-02-06 Fred Gleason <fredg@paravelsystems.com>
* Removed 'Q3DateTimeEdit' dependencies from rdadmin(1).
* Removed 'Q3ListBox' dependencies from rdadmin(1).
* Removed 'Q3TextEdit' dependencies from rdadmin(1).

View File

@ -2,7 +2,7 @@
// //
// Edit an RDLibrary Configuration // Edit an RDLibrary Configuration
// //
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // 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 // it under the terms of the GNU General Public License version 2 as
@ -20,18 +20,8 @@
#include <samplerate.h> #include <samplerate.h>
#include <qdialog.h> #include <QMessageBox>
#include <qstring.h> #include <QPushButton>
#include <qpushbutton.h>
#include <q3listbox.h>
#include <q3textedit.h>
#include <qlabel.h>
#include <qpainter.h>
#include <qevent.h>
#include <qmessagebox.h>
#include <qcheckbox.h>
#include <q3buttongroup.h>
#include <qsqldatabase.h>
#include <rd.h> #include <rd.h>
#include <edit_rdlibrary.h> #include <edit_rdlibrary.h>
@ -41,8 +31,6 @@ EditRDLibrary::EditRDLibrary(RDStation *station,RDStation *cae_station,
QWidget *parent) QWidget *parent)
: RDDialog(parent) : RDDialog(parent)
{ {
setModal(true);
// //
// Fix the Window Size // Fix the Window Size
// //
@ -68,7 +56,6 @@ EditRDLibrary::EditRDLibrary(RDStation *station,RDStation *cae_station,
lib_input_card->setGeometry(sizeHint().width()/5,29,120,117); lib_input_card->setGeometry(sizeHint().width()/5,29,120,117);
QLabel *label=new QLabel(lib_input_card,tr("Input"),this); QLabel *label=new QLabel(lib_input_card,tr("Input"),this);
label->setGeometry(sizeHint().width()/5,10,120,19); label->setGeometry(sizeHint().width()/5,10,120,19);
// label->setGeometry(10,10,110,19);
label->setFont(sectionLabelFont()); label->setFont(sectionLabelFont());
label->setAlignment(Qt::AlignCenter|Qt::AlignVCenter); label->setAlignment(Qt::AlignCenter|Qt::AlignVCenter);
@ -93,7 +80,8 @@ EditRDLibrary::EditRDLibrary(RDStation *station,RDStation *cae_station,
// //
// Maximum Record Length // Maximum Record Length
// //
lib_maxlength_time=new Q3TimeEdit(this); lib_maxlength_time=new QTimeEdit(this);
lib_maxlength_time->setDisplayFormat("hh:mm:ss");
lib_maxlength_time->setGeometry(190,100,85,19); lib_maxlength_time->setGeometry(190,100,85,19);
QLabel *lib_maxlength_label= QLabel *lib_maxlength_label=
new QLabel(lib_maxlength_time,tr("&Max Record Time:"),this); new QLabel(lib_maxlength_time,tr("&Max Record Time:"),this);
@ -663,82 +651,5 @@ void EditRDLibrary::ShowBitRates(int layer,int rate)
break; break;
} }
break; break;
/*
case 2: // MPEG-1 Layer 3
lib_bitrate_box->setEnabled(true);
lib_bitrate_box->insertItem(tr("32 kbps/chan"));
lib_bitrate_box->insertItem(tr("40 kbps/chan"));
lib_bitrate_box->insertItem(tr("48 kbps/chan"));
lib_bitrate_box->insertItem(tr("56 kbps/chan"));
lib_bitrate_box->insertItem(tr("64 kbps/chan"));
lib_bitrate_box->insertItem(tr("80 kbps/chan"));
lib_bitrate_box->insertItem(tr("96 kbps/chan"));
lib_bitrate_box->insertItem(tr("112 kbps/chan"));
lib_bitrate_box->insertItem(tr("128 kbps/chan"));
lib_bitrate_box->insertItem(tr("160 kbps/chan"));
lib_bitrate_box->insertItem(tr("192 kbps/chan"));
lib_bitrate_box->insertItem(tr("224 kbps/chan"));
lib_bitrate_box->insertItem(tr("256 kbps/chan"));
lib_bitrate_box->insertItem(tr("320 kbps/chan"));
switch(lib_lib->defaultLayer()) {
case 32000:
lib_bitrate_box->setCurrentItem(0);
break;
case 40000:
lib_bitrate_box->setCurrentItem(1);
break;
case 48000:
lib_bitrate_box->setCurrentItem(2);
break;
case 56000:
lib_bitrate_box->setCurrentItem(3);
break;
case 64000:
lib_bitrate_box->setCurrentItem(4);
break;
case 80000:
lib_bitrate_box->setCurrentItem(5);
break;
case 96000:
lib_bitrate_box->setCurrentItem(6);
break;
case 112000:
lib_bitrate_box->setCurrentItem(7);
break;
case 128000:
lib_bitrate_box->setCurrentItem(8);
break;
case 160000:
lib_bitrate_box->setCurrentItem(9);
break;
case 192000:
lib_bitrate_box->setCurrentItem(10);
break;
case 224000:
lib_bitrate_box->setCurrentItem(11);
break;
case 256000:
lib_bitrate_box->setCurrentItem(12);
break;
case 320000:
lib_bitrate_box->setCurrentItem(13);
break;
}
break;
*/
} }
} }

View File

@ -21,9 +21,8 @@
#ifndef EDIT_RDLIBRARY_H #ifndef EDIT_RDLIBRARY_H
#define EDIT_RDLIBRARY_H #define EDIT_RDLIBRARY_H
#include <q3datetimeedit.h>
#include <QComboBox> #include <QComboBox>
#include <QDateTimeEdit>
#include <QLineEdit> #include <QLineEdit>
#include <QSpinBox> #include <QSpinBox>
@ -60,7 +59,7 @@ class EditRDLibrary : public RDDialog
QSpinBox *lib_vox_spin; QSpinBox *lib_vox_spin;
QSpinBox *lib_trim_spin; QSpinBox *lib_trim_spin;
QSpinBox *lib_preroll_spin; QSpinBox *lib_preroll_spin;
Q3TimeEdit *lib_maxlength_time; QTimeEdit *lib_maxlength_time;
QLineEdit *lib_ripdev_edit; QLineEdit *lib_ripdev_edit;
QComboBox *lib_paranoia_box; QComboBox *lib_paranoia_box;
QComboBox *lib_isrc_box; QComboBox *lib_isrc_box;

View File

@ -81,7 +81,8 @@ EditRDLogedit::EditRDLogedit(RDStation *station,RDStation *cae_station,
// //
// Maximum Record Length // Maximum Record Length
// //
lib_maxlength_time=new Q3TimeEdit(this); lib_maxlength_time=new QTimeEdit(this);
lib_maxlength_time->setDisplayFormat("hh:mm:ss");
lib_maxlength_time->setGeometry(180,100,85,19); lib_maxlength_time->setGeometry(180,100,85,19);
QLabel *lib_maxlength_label= QLabel *lib_maxlength_label=
new QLabel(lib_maxlength_time,tr("&Max Record Time:"),this); new QLabel(lib_maxlength_time,tr("&Max Record Time:"),this);

View File

@ -2,7 +2,7 @@
// //
// Edit an RDLogEdit Configuration // Edit an RDLogEdit Configuration
// //
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // 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 // it under the terms of the GNU General Public License version 2 as
@ -21,10 +21,8 @@
#ifndef EDIT_RDLOGEDIT_H #ifndef EDIT_RDLOGEDIT_H
#define EDIT_RDLOGEDIT_H #define EDIT_RDLOGEDIT_H
#include <qlineedit.h> #include <QComboBox>
#include <qcombobox.h> #include <QDateTimeEdit>
#include <qspinbox.h>
#include <q3datetimeedit.h>
#include <rdcardselector.h> #include <rdcardselector.h>
#include <rddialog.h> #include <rddialog.h>
@ -61,7 +59,7 @@ class EditRDLogedit : public RDDialog
QSpinBox *lib_preroll_spin; QSpinBox *lib_preroll_spin;
QSpinBox *lib_threshold_spin; QSpinBox *lib_threshold_spin;
QSpinBox *lib_normalization_spin; QSpinBox *lib_normalization_spin;
Q3TimeEdit *lib_maxlength_time; QTimeEdit *lib_maxlength_time;
QLineEdit *lib_waveform_caption_edit; QLineEdit *lib_waveform_caption_edit;
QLineEdit *lib_startcart_edit; QLineEdit *lib_startcart_edit;
QLineEdit *lib_endcart_edit; QLineEdit *lib_endcart_edit;

View File

@ -2,7 +2,7 @@
// //
// Edit a Rivendell Report // Edit a Rivendell Report
// //
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // 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 // it under the terms of the GNU General Public License version 2 as
@ -258,18 +258,21 @@ EditReport::EditReport(QString rptname,QWidget *parent)
edit_daypart_check->setGeometry(60,273,15,15); edit_daypart_check->setGeometry(60,273,15,15);
edit_daypart_label= edit_daypart_label=
new QLabel(edit_daypart_check,tr("Filter by Daypart"),this); new QLabel(edit_daypart_check,tr("Filter by Daypart"),this);
edit_daypart_label->setGeometry(edit_daypart_check->geometry().x()+20,273,155,19); edit_daypart_label->
setGeometry(edit_daypart_check->geometry().x()+20,273,155,19);
edit_daypart_label->setFont(labelFont()); edit_daypart_label->setFont(labelFont());
edit_daypart_label->setAlignment(Qt::AlignLeft|Qt::AlignVCenter); edit_daypart_label->setAlignment(Qt::AlignLeft|Qt::AlignVCenter);
edit_starttime_edit=new Q3TimeEdit(this); edit_starttime_edit=new QTimeEdit(this);
edit_starttime_edit->setDisplayFormat("hh:mm:ss");
edit_starttime_edit->setGeometry(150,294,80,20); edit_starttime_edit->setGeometry(150,294,80,20);
edit_starttime_label=new QLabel(edit_starttime_edit,tr("Start Time:"),this); edit_starttime_label=new QLabel(edit_starttime_edit,tr("Start Time:"),this);
edit_starttime_label->setGeometry(65,294,80,20); edit_starttime_label->setGeometry(65,294,80,20);
edit_starttime_label->setFont(labelFont()); edit_starttime_label->setFont(labelFont());
edit_starttime_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter); edit_starttime_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
edit_endtime_edit=new Q3TimeEdit(this); edit_endtime_edit=new QTimeEdit(this);
edit_endtime_edit->setDisplayFormat("hh:mm:ss");
edit_endtime_edit->setGeometry(335,294,80,20); edit_endtime_edit->setGeometry(335,294,80,20);
edit_endtime_label=new QLabel(edit_endtime_edit,tr("End Time:"),this); edit_endtime_label=new QLabel(edit_endtime_edit,tr("End Time:"),this);
edit_endtime_label->setGeometry(250,294,80,20); edit_endtime_label->setGeometry(250,294,80,20);

View File

@ -2,7 +2,7 @@
// //
// Edit a Rivendell Report // Edit a Rivendell Report
// //
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // 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 // it under the terms of the GNU General Public License version 2 as
@ -21,12 +21,12 @@
#ifndef EDIT_REPORT_H #ifndef EDIT_REPORT_H
#define EDIT_REPORT_H #define EDIT_REPORT_H
#include <qcheckbox.h> #include <QCheckBox>
#include <qcombobox.h> #include <QComboBox>
#include <qlabel.h> #include <QDateTimeEdit>
#include <qlineedit.h> #include <QLabel>
#include <qspinbox.h> #include <QLineEdit>
#include <q3datetimeedit.h> #include <QSpinBox>
#include <rddialog.h> #include <rddialog.h>
#include <rdlistselector.h> #include <rdlistselector.h>
@ -77,11 +77,10 @@ class EditReport : public RDDialog
QCheckBox *edit_daypart_check; QCheckBox *edit_daypart_check;
QLabel *edit_daypart_label; QLabel *edit_daypart_label;
QLabel *edit_starttime_label; QLabel *edit_starttime_label;
Q3TimeEdit *edit_starttime_edit; QTimeEdit *edit_starttime_edit;
QLabel *edit_endtime_label; QLabel *edit_endtime_label;
Q3TimeEdit *edit_endtime_edit; QTimeEdit *edit_endtime_edit;
}; };
#endif #endif // EDIT_REPORT_H

View File

@ -2,7 +2,7 @@
// //
// Display help for audio ports (edit_audios.*) // Display help for audio ports (edit_audios.*)
// //
// (C) Copyright 2006-2019 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2006-2021 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // 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 // it under the terms of the GNU General Public License version 2 as
@ -25,8 +25,6 @@
HelpAudioPorts::HelpAudioPorts(QWidget *parent) HelpAudioPorts::HelpAudioPorts(QWidget *parent)
: RDDialog(parent) : RDDialog(parent)
{ {
setModal(true);
// //
// Fix the Window Size // Fix the Window Size
// //
@ -36,7 +34,7 @@ HelpAudioPorts::HelpAudioPorts(QWidget *parent)
setWindowTitle("RDAdmin - "+tr("Audio Ports Help")); setWindowTitle("RDAdmin - "+tr("Audio Ports Help"));
// Help Text // Help Text
help_edit=new Q3TextEdit(this,"help_edit"); help_edit=new QTextEdit(this);
help_edit-> help_edit->
setGeometry(10,10,sizeHint().width()-20,sizeHint().height()-80); setGeometry(10,10,sizeHint().width()-20,sizeHint().height()-80);
help_edit->setTextFormat(Qt::RichText); help_edit->setTextFormat(Qt::RichText);

View File

@ -2,7 +2,7 @@
// //
// Display help for audio ports (edit_audios.*) // Display help for audio ports (edit_audios.*)
// //
// (C) Copyright 2006-2019 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2006-2021 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // 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 // it under the terms of the GNU General Public License version 2 as
@ -21,7 +21,7 @@
#ifndef HELP_AUDIOS_H #ifndef HELP_AUDIOS_H
#define HELP_AUDIOS_H #define HELP_AUDIOS_H
#include <q3textedit.h> #include <QTextEdit>
#include <rddialog.h> #include <rddialog.h>
@ -37,7 +37,7 @@ class HelpAudioPorts : public RDDialog
void closeData(); void closeData();
private: private:
Q3TextEdit *help_edit; QTextEdit *help_edit;
}; };

View File

@ -2,7 +2,7 @@
// //
// List Rivendell Reports // List Rivendell Reports
// //
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // 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 // it under the terms of the GNU General Public License version 2 as
@ -18,7 +18,7 @@
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
// //
#include <qmessagebox.h> #include <QMessageBox>
#include <rddb.h> #include <rddb.h>
#include <rdescape_string.h> #include <rdescape_string.h>
@ -30,8 +30,6 @@
ListReports::ListReports(QWidget *parent) ListReports::ListReports(QWidget *parent)
: RDDialog(parent) : RDDialog(parent)
{ {
setModal(true);
// //
// Fix the Window Size // Fix the Window Size
// //
@ -75,12 +73,12 @@ ListReports::ListReports(QWidget *parent)
// //
// Report List Box // Report List Box
// //
list_box=new Q3ListBox(this); list_box=new QListWidget(this);
QLabel *list_box_label=new QLabel(list_box,tr("R&eports:"),this); QLabel *list_box_label=new QLabel(list_box,tr("R&eports:"),this);
list_box_label->setFont(labelFont()); list_box_label->setFont(labelFont());
list_box_label->setGeometry(14,10,85,19); list_box_label->setGeometry(14,10,85,19);
connect(list_box,SIGNAL(doubleClicked(Q3ListBoxItem *)), connect(list_box,SIGNAL(doubleClicked(const QModelIndex &)),
this,SLOT(doubleClickedData(Q3ListBoxItem *))); this,SLOT(doubleClickedData(const QModelIndex &)));
RefreshList(); RefreshList();
} }
@ -126,10 +124,13 @@ void ListReports::addData()
void ListReports::editData() void ListReports::editData()
{ {
if(list_box->currentItem()<0) { QModelIndexList rows=list_box->selectionModel()->selectedRows();
if(rows.size()!=1) {
return; return;
} }
EditReport *edit_report=new EditReport(list_box->currentText(),this); EditReport *edit_report
=new EditReport(list_box->item(rows.first().row())->text(),this);
edit_report->exec(); edit_report->exec();
delete edit_report; delete edit_report;
} }
@ -137,20 +138,20 @@ void ListReports::editData()
void ListReports::deleteData() void ListReports::deleteData()
{ {
if(list_box->currentText().isEmpty()) { QModelIndexList rows=list_box->selectionModel()->selectedRows();
if(rows.size()!=1) {
return; return;
} }
QString name=list_box->item(rows.first().row())->text();
if(QMessageBox::warning(this,"RDAdmin - "+tr("Delete Report"), if(QMessageBox::warning(this,"RDAdmin - "+tr("Delete Report"),
tr("Are you sure you want to delete report")+ tr("Are you sure you want to delete report")+
" \""+list_box->currentText()+"\"?", " \""+name+"\"?",
QMessageBox::Yes,QMessageBox::No)== QMessageBox::Yes,QMessageBox::No)==
QMessageBox::Yes) { QMessageBox::Yes) {
DeleteReport(list_box->currentText()); DeleteReport(name);
list_box->removeItem(list_box->currentItem()); list_box->model()->removeRow(rows.first().row());
if(list_box->currentItem()>=0) {
list_box->setSelected(list_box->currentItem(),true);
}
} }
} }
@ -161,7 +162,7 @@ void ListReports::closeData()
} }
void ListReports::doubleClickedData(Q3ListBoxItem *item) void ListReports::doubleClickedData(const QModelIndex &index)
{ {
editData(); editData();
} }
@ -201,14 +202,17 @@ void ListReports::RefreshList(QString rptname)
{ {
QString sql; QString sql;
RDSqlQuery *q; RDSqlQuery *q;
int count=0;
list_box->clear(); list_box->clear();
q=new RDSqlQuery("select NAME from REPORTS"); q=new RDSqlQuery("select NAME from REPORTS");
while (q->next()) { while (q->next()) {
list_box->insertItem(q->value(0).toString()); list_box->insertItem(list_box->count(),q->value(0).toString());
if(rptname==list_box->text(list_box->count()-1)) { if(rptname==q->value(0).toString()) {
list_box->setCurrentItem(list_box->count()-1); list_box->selectionModel()->select(list_box->model()->index(count,0),
QItemSelectionModel::ClearAndSelect);
} }
count++;
} }
delete q; delete q;
} }

View File

@ -2,7 +2,7 @@
// //
// List Rivendell Reports // List Rivendell Reports
// //
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // 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 // it under the terms of the GNU General Public License version 2 as
@ -21,10 +21,8 @@
#ifndef LIST_REPORTS_H #ifndef LIST_REPORTS_H
#define LIST_REPORTS_H #define LIST_REPORTS_H
#include <q3listbox.h> #include <QListWidget>
#include <QPushButton>
#include <qlabel.h>
#include <qpushbutton.h>
#include <rddialog.h> #include <rddialog.h>
@ -41,7 +39,7 @@ class ListReports : public RDDialog
void addData(); void addData();
void editData(); void editData();
void deleteData(); void deleteData();
void doubleClickedData(Q3ListBoxItem *item); void doubleClickedData(const QModelIndex &index);
void closeData(); void closeData();
protected: protected:
@ -51,7 +49,7 @@ class ListReports : public RDDialog
void DeleteReport(QString rptname); void DeleteReport(QString rptname);
void RefreshList(QString rptname=""); void RefreshList(QString rptname="");
QLabel *list_title_label; QLabel *list_title_label;
Q3ListBox *list_box; QListWidget *list_box;
QPushButton *list_add_button; QPushButton *list_add_button;
QPushButton *list_edit_button; QPushButton *list_edit_button;
QPushButton *list_delete_button; QPushButton *list_delete_button;

View File

@ -2,7 +2,7 @@
// //
// Display Audio Adapter Information // Display Audio Adapter Information
// //
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // 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 // it under the terms of the GNU General Public License version 2 as
@ -47,7 +47,7 @@ ViewAdapters::ViewAdapters(RDStation *rdstation,QWidget *parent)
// //
// Resource List // Resource List
// //
view_text_edit=new Q3TextEdit(this,"adapter_edit"); view_text_edit=new QTextEdit(this,"adapter_edit");
view_text_edit->setReadOnly(true); view_text_edit->setReadOnly(true);
QString text; QString text;
if(rdstation->scanned()) { if(rdstation->scanned()) {

View File

@ -2,7 +2,7 @@
// //
// Display Audio Adapter Information // Display Audio Adapter Information
// //
// (C) Copyright 2002-2018 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // 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 // it under the terms of the GNU General Public License version 2 as
@ -21,9 +21,10 @@
#ifndef VIEW_ADAPTER_H #ifndef VIEW_ADAPTER_H
#define VIEW_ADAPTER_H #define VIEW_ADAPTER_H
#include <qlabel.h> //#include <q3textedit.h>
#include <qpushbutton.h>
#include <q3textedit.h> #include <QPushButton>
#include <QTextEdit>
#include <rddialog.h> #include <rddialog.h>
#include <rdstation.h> #include <rdstation.h>
@ -45,7 +46,7 @@ class ViewAdapters : public RDDialog
private: private:
QLabel *view_title_label; QLabel *view_title_label;
Q3TextEdit *view_text_edit; QTextEdit *view_text_edit;
QPushButton *view_close_button; QPushButton *view_close_button;
}; };