mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-11 12:54:10 -07:00
Let's not lambda it and slot it instead.
This commit is contained in:
parent
af2502905e
commit
ea6fbd09f4
2 changed files with 16 additions and 17 deletions
|
|
@ -67,15 +67,6 @@ public:
|
|||
*/
|
||||
QString buildSearchUrl();
|
||||
|
||||
/**
|
||||
* @brief Trigger a search using the current filters
|
||||
*
|
||||
* Sends a network request to the Archidekt API using the URL generated by buildSearchUrl().
|
||||
* Updates the current page display with results asynchronously.
|
||||
*/
|
||||
void doSearch();
|
||||
void doSearchImmediate();
|
||||
|
||||
/**
|
||||
* @brief Retrieve the tab display text
|
||||
* @return QString Human-readable title for the tab
|
||||
|
|
@ -103,6 +94,14 @@ public:
|
|||
QNetworkAccessManager *networkManager;
|
||||
|
||||
public slots:
|
||||
/**
|
||||
* @brief Trigger a search using the current filters
|
||||
*
|
||||
* Sends a network request to the Archidekt API using the URL generated by buildSearchUrl().
|
||||
* Updates the current page display with results asynchronously.
|
||||
*/
|
||||
void doSearch();
|
||||
void doSearchImmediate();
|
||||
/**
|
||||
* @brief Process a network reply containing JSON data
|
||||
* @param reply QNetworkReply object with the API response
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue