Codey
Loading...
Searching...
No Matches
rent.h
Go to the documentation of this file.
1
#ifndef RENT_H
2
#define RENT_H
3
4
#include <QDialog>
5
6
namespace
Ui
{
7
class
Rent;
8
}
9
10
class
Rent
:
public
QDialog
11
{
12
Q_OBJECT
13
14
public
:
15
explicit
Rent
(
const
QString &user,
const
QString &title,
const
QString &author,
const
QString &genre, QWidget *parent =
nullptr
);
16
~Rent
();
17
18
int
getDaysRented
()
const
;
19
20
private
slots:
21
void
onRentButtonClicked();
22
23
private
:
24
Ui::Rent *ui;
25
QString username;
26
QString bookTitle;
27
QString bookAuthor;
28
QString bookGenre;
29
int
daysRented;
30
};
31
32
#endif
Rent::~Rent
~Rent()
Definition
rent.cpp:26
Rent::getDaysRented
int getDaysRented() const
Definition
rent.cpp:31
Rent::Rent
Rent(const QString &user, const QString &title, const QString &author, const QString &genre, QWidget *parent=nullptr)
Definition
rent.cpp:9
Ui
Definition
authwindow.h:7
rent.h
Generated by
1.13.1