48 Ui::NexusModDialog*
ui;
Header for the nexus::Api class.
QString bbcodeToHtml(const QString &bbcode)
Converts the given BBCode formatted string to a string formatted with HTML tags.
Definition nexusmoddialog.cpp:205
int mod_id_
Limo mod id for the mod to which the page belongs.
Definition nexusmoddialog.h:52
Ui::NexusModDialog * ui
Contains auto-generated UI elements.
Definition nexusmoddialog.h:48
NexusModDialog(QWidget *parent=nullptr)
Initializes the UI.
Definition nexusmoddialog.cpp:17
nexus::Page page_
Contains all data necessary for the dialog.
Definition nexusmoddialog.h:54
~NexusModDialog()
Deletes the UI.
Definition nexusmoddialog.cpp:23
void setupDialog(int app_id, int mod_id, const nexus::Page &page)
Initializes the dialog with the data for the given Page.
Definition nexusmoddialog.cpp:28
int app_id_
ModdedApplication to which the mod, whose page is being shown, belongs.
Definition nexusmoddialog.h:50
void modDownloadRequested(int app_id, int mod_id, int file_id, QString mod_url, QString version)
Sends a download request for the given file.
void onDownloadClicked(int file_id, int file_id_copy)
Sends a download request for the given file.
Definition nexusmoddialog.cpp:246
Contains all data for a mod available through the NexusMods api.
Definition api.h:23