summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-01-14 19:30:54 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-01-14 19:30:54 +0200
commit0635dcaa5cdb0e2966135b4d6611ae19f0fab749 (patch)
tree758e6973251528ecb524f39629443475e464664d /src
parent64816b38dabe0bb0b2424c45146460122a203715 (diff)
downloadklamav-0635dcaa5cdb0e2966135b4d6611ae19f0fab749.tar.gz
klamav-0635dcaa5cdb0e2966135b4d6611ae19f0fab749.zip
Implemented slotSchedule()
Klamscan's own slotSchedule had to be made public for this to be possible. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/klamav.cpp4
-rw-r--r--src/klamscan.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/klamav.cpp b/src/klamav.cpp
index 035e34b..638f0a3 100644
--- a/src/klamav.cpp
+++ b/src/klamav.cpp
@@ -247,7 +247,9 @@ void Klamav::updateTabState( int tabId, bool init ) {
// Menu slots
void Klamav::slotScanFile() {}
void Klamav::slotScanDir() {}
-void Klamav::slotScheduleScan() {}
+void Klamav::slotScheduleScan() {
+ klamscan->slotSchedule();
+}
void Klamav::slotOptions() {
slotConfigKlamav("Archive Limits");
}
diff --git a/src/klamscan.h b/src/klamscan.h
index c8e02f5..a294751 100644
--- a/src/klamscan.h
+++ b/src/klamscan.h
@@ -97,10 +97,10 @@ signals:
public slots:
void scanURLs(const TQString &urls);
+ void slotSchedule();
private slots:
void slotScan();
void slotAdvOptions();
- void slotSchedule();
void slotStopScanning();
void slotStartAgain();