#include <QuarantinePage.hpp>
Public Member Functions | |
| QuarantinePage () | |
| void | updateMonitor () |
Private Member Functions | |
| bool | refreshList () |
| void | onRestoreFile (const std::string &filepath) |
| void | onDeleteFile (const std::string &filepath) |
| void | onDirChanged (const Glib::RefPtr< Gio::File > &file, const Glib::RefPtr< Gio::File > &other_file, Gio::FileMonitor::Event event) |
Private Attributes | |
| Gtk::ListBox | listBox |
| Gtk::Label | emptyLabel |
| Glib::RefPtr< Gio::FileMonitor > | monitor |
Definition at line 29 of file QuarantinePage.hpp.
| QuarantinePage::QuarantinePage | ( | ) |
Definition at line 32 of file QuarantinePage.cpp.
References _, emptyLabel, listBox, refreshList(), and updateMonitor().
|
private |
Definition at line 169 of file QuarantinePage.cpp.
References refreshList(), and Quarantine::remove().
|
private |
Definition at line 175 of file QuarantinePage.cpp.
References refreshList().
Referenced by updateMonitor().
|
private |
Definition at line 163 of file QuarantinePage.cpp.
References refreshList(), and Quarantine::restore().
|
private |
Definition at line 81 of file QuarantinePage.cpp.
References _, emptyLabel, Quarantine::getQuarantinePath(), listBox, refreshList(), Quarantine::remove(), and Quarantine::restore().
Referenced by onDeleteFile(), onDirChanged(), onRestoreFile(), QuarantinePage(), and refreshList().
| void QuarantinePage::updateMonitor | ( | ) |
Definition at line 54 of file QuarantinePage.cpp.
References _, Quarantine::getQuarantinePath(), monitor, and onDirChanged().
Referenced by QuarantinePage().
|
private |
Definition at line 45 of file QuarantinePage.hpp.
Referenced by QuarantinePage(), and refreshList().
|
private |
Definition at line 44 of file QuarantinePage.hpp.
Referenced by QuarantinePage(), and refreshList().
|
private |
Definition at line 47 of file QuarantinePage.hpp.
Referenced by updateMonitor().