FreeDiskSpaceChecker Class Reference

#include <freediskspacechecker.h>

Inheritance diagram for FreeDiskSpaceChecker:
Collaboration diagram for FreeDiskSpaceChecker:

Public Slots

void check ()


void checked (qint64 freeSpaceSize)

Public Member Functions

 FreeDiskSpaceChecker ()=default

Detailed Description

Definition at line 33 of file freediskspacechecker.h.

Constructor & Destructor Documentation

◆ FreeDiskSpaceChecker()

FreeDiskSpaceChecker::FreeDiskSpaceChecker ( )

Member Function Documentation

◆ check

void FreeDiskSpaceChecker::check ( )

Definition at line 34 of file freediskspacechecker.cpp.

35 {
36  const qint64 freeDiskSpace = Utils::Fs::freeDiskSpaceOnPath(BitTorrent::Session::instance()->savePath());
37  emit checked(freeDiskSpace);
38 }
static Session * instance()
Definition: session.cpp:997
void checked(qint64 freeSpaceSize)
qint64 freeDiskSpaceOnPath(const QString &path)
Definition: fs.cpp:271

References checked(), Utils::Fs::freeDiskSpaceOnPath(), and BitTorrent::Session::instance().

Referenced by SyncController::invokeChecker().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ checked

void FreeDiskSpaceChecker::checked ( qint64  freeSpaceSize)

Referenced by check(), and SyncController::SyncController().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: