2020-12-15 Fred Gleason <fredg@paravelsystems.com>

* Added a 'RDLogLine::refreshCart()' method.
	* Refactored the 'Edit Log' dialog in rdlogedit(1) to use Qt's
	MVC API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2020-12-15 12:53:29 -05:00
parent 0bd165a823
commit 0b57b4b8de
40 changed files with 2355 additions and 901 deletions

View File

@@ -2,7 +2,7 @@
//
// The Log Editor Utility for Rivendell.
//
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -21,6 +21,8 @@
#ifndef RDLOGEDIT_H
#define RDLOGEDIT_H
#include <QList>
#include <rdlog_line.h>
#include <rdlogfilter.h>
#include <rdnotification.h>
@@ -77,7 +79,7 @@ class MainWidget : public RDWidget
int log_stream_no;
RDLogFilter *log_filter_widget;
Q3ListView *log_log_list;
std::vector<RDLogLine> log_clipboard;
QList<RDLogLine> log_clipboard;
QPushButton *log_add_button;
QPushButton *log_edit_button;
QPushButton *log_delete_button;