mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-13 08:05:55 +01:00
2018-03-24 Fred Gleason <fredg@paravelsystems.com>
* Added a 'LogType' value to the 'RDNotification::Type enumeration. * Added support for notifications to rdlogedit(1).
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
|
||||
#include <rdlog_line.h>
|
||||
#include <rdlogfilter.h>
|
||||
#include <rdnotification.h>
|
||||
|
||||
#include "list_listviewitem.h"
|
||||
|
||||
@@ -61,6 +62,7 @@ class MainWidget : public QMainWindow
|
||||
void filterChangedData(const QString &str);
|
||||
void logSelectionChangedData();
|
||||
void logDoubleclickedData(QListViewItem *item,const QPoint &pt,int col);
|
||||
void notificationReceivedData(RDNotification *notify);
|
||||
void quitMainWidget();
|
||||
|
||||
protected:
|
||||
@@ -71,7 +73,9 @@ class MainWidget : public QMainWindow
|
||||
void RefreshList();
|
||||
unsigned SelectedLogs(std::vector<ListListViewItem *> *items,
|
||||
int *tracks=NULL) const;
|
||||
// QSqlDatabase *log_db;
|
||||
void SendNotification(RDNotification::Action action,const QString &logname);
|
||||
void LockList();
|
||||
void UnlockList();
|
||||
QString log_filename;
|
||||
QString log_import_path;
|
||||
QLabel *log_user_label;
|
||||
@@ -96,6 +100,8 @@ class MainWidget : public QMainWindow
|
||||
QString log_group;
|
||||
QString log_schedcode;
|
||||
bool log_resize;
|
||||
bool log_list_locked;
|
||||
QStringList log_deleted_logs;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user