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

* Refactored the RDListLogs class to use RDApplication.
	* Converted rdadmin(1) to use RDApplication.
This commit is contained in:
Fred Gleason
2018-02-05 22:22:50 -05:00
parent dbbf49e987
commit 2d2d52e408
38 changed files with 315 additions and 311 deletions

View File

@@ -2,7 +2,7 @@
//
// Select a Rivendell Log
//
// (C) Copyright 2007,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2007,2016-2018 Fred Gleason <fredg@paravelsystems.com>
//
// The RDListLogs class creates a basic dialog that displays a list of logs
// (log name, description, and service) and allows the user to select one. If
@@ -26,21 +26,18 @@
#ifndef RDLIST_LOGS_H
#define RDLIST_LOGS_H
#include <qsqldatabase.h>
#include <qdialog.h>
#include <qlistview.h>
#include <qpushbutton.h>
#include <rdlogfilter.h>
#include <rduser.h>
class RDListLogs : public QDialog
{
Q_OBJECT
public:
RDListLogs(QString *logname,RDLogFilter::FilterMode mode,
RDUser *user,RDConfig *config,QWidget *parent=0);
RDListLogs(QString *logname,RDLogFilter::FilterMode mode,QWidget *parent=0);
QSize sizeHint() const;
QSizePolicy sizePolicy() const;
@@ -58,7 +55,6 @@ class RDListLogs : public QDialog
void RefreshList();
QListView *list_log_list;
QString *list_logname;
RDConfig *list_config;
QPushButton *list_ok_button;
QPushButton *list_cancel_button;
RDLogFilter *list_filter_widget;