qBittorrent
FreeDiskSpaceChecker Class Reference

#include <freediskspacechecker.h>

Inheritance diagram for FreeDiskSpaceChecker:
Collaboration diagram for FreeDiskSpaceChecker:

Public Slots

void check ()
 

Signals

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 ( )
default

Member Function Documentation

◆ check

void FreeDiskSpaceChecker::check ( )
slot

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)
signal

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: