qTbot
0.89.ee6949a
qTbot is base back end library for your c++ Qt projects.
filewaiter.h
Go to the documentation of this file.
1
//#
2
//# Copyright (C) 2023-2024 QuasarApp.
3
//# Distributed under the GPLv3 software license, see the accompanying
4
//# Everyone is permitted to copy and distribute verbatim copies
5
//# of this license document, but changing it is not allowed.
6
//#
7
8
9
#ifndef FILEWAITER_H
10
#define FILEWAITER_H
11
12
#include "
ifile.h
"
13
14
namespace
qTbot
{
15
20
class
QTBOT_EXPORT
FileWaiter
:
public
QObject
21
{
22
Q_OBJECT
23
public
:
24
FileWaiter
();
25
32
void
wait(
const
QSharedPointer<iFile>& file);
33
34
private
slots:
35
void
handleFileFinished();
36
37
private
:
38
QHash<size_t, QSharedPointer<iFile>> _files;
39
40
41
};
42
}
43
#endif
// FILEWAITER_H
qTbot::FileWaiter
The FileWaiter class. This is a simple storage for the shared pointer of files. All added files will ...
Definition
filewaiter.h:21
QTBOT_EXPORT
#define QTBOT_EXPORT
Definition
global.h:18
ifile.h
qTbot
Definition
telegramdeletemessage.cpp:8
src
qTbot
src
public
qTbot
filewaiter.h
Generated by
1.9.8