mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 23:25:57 +01:00
2018-01-31 Fred Gleason <fredg@paravelsystems.com>
* Converted rdlogmanager(1) to use RDApplication.
This commit is contained in:
@@ -24,16 +24,16 @@
|
||||
#include <qwidget.h>
|
||||
#include <qsize.h>
|
||||
#include <qsizepolicy.h>
|
||||
#include <qsqldatabase.h>
|
||||
#include <qlabel.h>
|
||||
#include <qlistview.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qpixmap.h>
|
||||
|
||||
#include <rduser.h>
|
||||
#include <rdripc.h>
|
||||
#include <rdlibrary_conf.h>
|
||||
//#include <rduser.h>
|
||||
//#include <rdripc.h>
|
||||
//#include <rdlibrary_conf.h>
|
||||
#include <rdlog_line.h>
|
||||
#include <rdconfig.h>
|
||||
//#include <rdconfig.h>
|
||||
|
||||
#define RDLOGMANAGER_USAGE "[-P] [-g] [-m] [-t] [-r <rpt-name>] [-d <days>] [-e <days>] -s <svc-name>\n\n-P\n Do not overwrite existing logs or imports.\n\n-g\n Generate a new log for the specified service.\n\n-m\n Merge the Music log for the specified service.\n\n-t\n Merge the Traffic log for the specified service.\n\n-r <rpt-name>\n Generate report <rpt-name>.\n\n-d <days>\n Specify a start date offset. For log operations, this will be added\n to tomorrow's date to arrive at a target date, whereas for report\n operations it will be added to yesterday's date to arrive at a target\n date. Default value is '0'.\n\n-e <days>\n Specify an end date offset. This will be added to yesterday's date\n to arrive at a target end date. Valid only for certain report types.\n Default value is '0'.\n\n-s <service-name>\n Specify service <service-name> for log operations.\n\n"
|
||||
|
||||
@@ -66,7 +66,7 @@ class MainWidget : public QWidget
|
||||
|
||||
private:
|
||||
void LoadConfig();
|
||||
QSqlDatabase *log_db;
|
||||
// QSqlDatabase *log_db;
|
||||
QString log_filename;
|
||||
QLabel *log_user_label;
|
||||
QPushButton *log_events_button;
|
||||
|
||||
Reference in New Issue
Block a user