mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user