qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
This class provides the ability to import profile. More...
#include <profileimporter.h>
Public Member Functions | |
ProfileImporter (QWidget *parent=nullptr) | |
bool | importProfile (const QString &path) |
Try to import Tox profile. More... | |
bool | importProfile () |
Show a file dialog. Selected file will be imported as Tox profile. More... | |
Private Member Functions | |
bool | askQuestion (QString title, QString message) |
Asks the user a question with Yes/No choices. More... | |
This class provides the ability to import profile.
Definition at line 24 of file profileimporter.h.
|
explicit |
Definition at line 38 of file profileimporter.cpp.
|
private |
Asks the user a question with Yes/No choices.
title | Title of question window. |
message | Text in question window. |
Definition at line 67 of file profileimporter.cpp.
bool ProfileImporter::importProfile | ( | ) |
Show a file dialog. Selected file will be imported as Tox profile.
Definition at line 47 of file profileimporter.cpp.
bool ProfileImporter::importProfile | ( | const QString & | path | ) |
Try to import Tox profile.
path | Path to Tox profile. |
Definition at line 85 of file profileimporter.cpp.