summaryrefslogtreecommitdiff
path: root/interchange.cxx
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-14 11:09:15 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-14 11:09:15 +0800
commit9de5897f3769ef17e146d436d9e14d1f13c3510e (patch)
tree3d7a74c303d198ccff7a3c7753914307f31e21ac /interchange.cxx
parentc7437e1a93fc9ee7ab466aafe393daf967f3771c (diff)
Back to page
Diffstat (limited to 'interchange.cxx')
-rw-r--r--interchange.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/interchange.cxx b/interchange.cxx
index ead53ce..22561cc 100644
--- a/interchange.cxx
+++ b/interchange.cxx
@@ -22,12 +22,12 @@ namespace QInterchange {
interchange_cleanup();
}
- void Interchange::flypage(QString const& path)
+ void Interchange::page(QString const& path)
{
currentPath = &path;
- interchange_flypage(path.toLatin1().constData(),
+ interchange_page(path.toLatin1().constData(),
[](interchange_response* response) {
- interchange->emitFlypage(*currentPath,
+ interchange->emitPage(*currentPath,
QString{response->data});
interchange_free_response(response);
});
@@ -66,10 +66,9 @@ namespace QInterchange {
defaultCatalog("All-Products");
}
- void Interchange::emitFlypage(QString const& path,
- QString const& response)
+ void Interchange::emitPage(QString const& path, QString const& response)
{
- emit gotFlypage(path, response);
+ emit gotPage(path, response);
}
void Interchange::emitCatalog(QString const& response)