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

* Removed the 'RDLogLine::listViewItem()' and
	'RDLogLine::setListViewItem()' methods.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-02-14 14:08:13 -05:00
parent b3ce3a51b0
commit d3607fbe00
7 changed files with 16 additions and 26 deletions

View File

@ -21123,3 +21123,6 @@
in rdlogmanager(1).
2021-02-14 Fred Gleason <fredg@paravelsystems.com>
* Removed dead code from rdcatch(1).
2021-02-14 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'RDLogLine::listViewItem()' and
'RDLogLine::setListViewItem()' methods.

View File

@ -24,6 +24,7 @@
#include <QColor>
#include <QMap>
#include <QMimeData>
#include <QMimeSource>
#include <QPixmap>
#include <rdcart.h>

View File

@ -2,7 +2,7 @@
//
// A container class for a Rivendell Log Line.
//
// (C) Copyright 2002-2020 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
// it under the terms of the GNU General Public License version 2 as
@ -20,8 +20,6 @@
#include <syslog.h>
#include <qobject.h>
#include "rdapplication.h"
#include "rddb.h"
#include "rdconf.h"
@ -189,7 +187,7 @@ void RDLogLine::clear()
log_marker_comment="";
log_marker_label="";
log_marker_post_time=QTime();
log_listview=NULL;
// log_listview=NULL;
log_grace_time=0;
log_forced_stop=false;
log_play_position_changed=false;
@ -1255,18 +1253,6 @@ void RDLogLine::setEndDatetime(const QDateTime &datetime)
}
RDListViewItem *RDLogLine::listViewItem() const
{
return log_listview;
}
void RDLogLine::setListViewItem(RDListViewItem *listview)
{
log_listview=listview;
}
RDLogLine::Type RDLogLine::type() const
{
return log_type;

View File

@ -2,7 +2,7 @@
//
// A container class for a Rivendell Log Line.
//
// (C) Copyright 2002-2020 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
// it under the terms of the GNU General Public License version 2 as
@ -21,13 +21,12 @@
#ifndef RDLOG_LINE_H
#define RDLOG_LINE_H
#include <qcolor.h>
#include <qdatetime.h>
#include <qmap.h>
#include <qobject.h>
#include <QColor>
#include <QDateTime>
#include <QMap>
#include <QObject>
#include <rdcart.h>
#include <rdlistviewitem.h>
class RDLogLine
{
@ -188,8 +187,6 @@ class RDLogLine
void setStartDatetime(const QDateTime &datetime);
QDateTime endDatetime() const;
void setEndDatetime(const QDateTime &datetime);
RDListViewItem *listViewItem() const;
void setListViewItem(RDListViewItem *);
RDLogLine::Type type() const;
void setType(RDLogLine::Type type);
QString markerComment() const;
@ -354,7 +351,6 @@ class RDLogLine
QString log_marker_comment;
QString log_marker_label;
QTime log_marker_post_time;
RDListViewItem *log_listview;
QString log_port_name;
int log_grace_time;
bool log_forced_stop;

View File

@ -22,6 +22,7 @@
#include <QApplication>
#include <QMessageBox>
#include <QScrollBar>
#include <QTranslator>
#include <rdprofile.h>

View File

@ -2,7 +2,7 @@
//
// Add a Rivendell Log Manager Clock
//
// (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
// it under the terms of the GNU General Public License version 2 as
@ -21,6 +21,8 @@
#ifndef ADD_CLOCK_H
#define ADD_CLOCK_H
#include <QLineEdit>
#include <rdclock.h>
#include <rddialog.h>

View File

@ -23,6 +23,7 @@
#include <QApplication>
#include <QFileDialog>
#include <QMessageBox>
#include <QScrollBar>
#include <QTranslator>
#include <rdaudioimport.h>