qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
src
widget
about
aboutfriendform.h
Go to the documentation of this file.
1
/*
2
Copyright © 2019 by The qTox Project Contributors
3
4
This file is part of qTox, a Qt-based graphical interface for Tox.
5
6
qTox is libre software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
qTox is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with qTox. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#pragma once
21
22
#include "
src/model/about/iaboutfriend.h
"
23
24
#include <QDialog>
25
#include <QPointer>
26
27
#include <memory>
28
29
namespace
Ui
{
30
class
AboutFriendForm
;
31
}
32
33
class
AboutFriendForm
:
public
QDialog
34
{
35
Q_OBJECT
36
37
public
:
38
AboutFriendForm
(std::unique_ptr<IAboutFriend>
about
, QWidget* parent =
nullptr
);
39
~AboutFriendForm
();
40
41
private
:
42
Ui::AboutFriendForm*
ui
;
43
const
std::unique_ptr<IAboutFriend>
about
;
44
45
signals:
46
void
histroyRemoved
();
47
48
public
slots:
49
void
reloadTheme
();
50
51
private
slots:
52
void
onAutoAcceptDirChanged
(
const
QString& path);
53
void
onAcceptedClicked
();
54
void
onAutoAcceptDirClicked
();
55
void
onAutoAcceptCallClicked
();
56
void
onAutoGroupInvite
();
57
void
onSelectDirClicked
();
58
void
onRemoveHistoryClicked
();
59
};
AboutFriendForm::onAutoAcceptCallClicked
void onAutoAcceptCallClicked()
Definition:
aboutfriendform.cpp:109
AboutFriendForm::onAutoAcceptDirChanged
void onAutoAcceptDirChanged(const QString &path)
Definition:
aboutfriendform.cpp:100
AboutFriendForm::reloadTheme
void reloadTheme()
Definition:
aboutfriendform.cpp:95
AboutFriendForm::~AboutFriendForm
~AboutFriendForm()
Definition:
aboutfriendform.cpp:160
AboutFriendForm::onAutoAcceptDirClicked
void onAutoAcceptDirClicked()
Definition:
aboutfriendform.cpp:82
AboutFriendForm::AboutFriendForm
AboutFriendForm(std::unique_ptr< IAboutFriend > about, QWidget *parent=nullptr)
Definition:
aboutfriendform.cpp:29
Ui
Definition:
filetransferwidget.h:30
AboutFriendForm::about
const std::unique_ptr< IAboutFriend > about
Definition:
aboutfriendform.h:43
AboutFriendForm::onAutoGroupInvite
void onAutoGroupInvite()
Sets the AutoGroupinvite status and saves the settings.
Definition:
aboutfriendform.cpp:119
AboutFriendForm::onSelectDirClicked
void onSelectDirClicked()
Definition:
aboutfriendform.cpp:124
AboutFriendForm::ui
Ui::AboutFriendForm * ui
Definition:
aboutfriendform.h:42
AboutFriendForm::onRemoveHistoryClicked
void onRemoveHistoryClicked()
Definition:
aboutfriendform.cpp:138
AboutFriendForm::histroyRemoved
void histroyRemoved()
AboutFriendForm
Definition:
aboutfriendform.h:33
AboutFriendForm::onAcceptedClicked
void onAcceptedClicked()
Called when user clicks the bottom OK button, save all settings.
Definition:
aboutfriendform.cpp:133
iaboutfriend.h
Generated by
1.8.17