mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-01 01:44:09 +00:00
21 lines
427 B
C++
21 lines
427 B
C++
#include "articleviewagent.hh"
|
|
|
|
ArticleViewAgent::ArticleViewAgent(QObject *parent)
|
|
: QObject{parent}
|
|
{
|
|
|
|
}
|
|
ArticleViewAgent::ArticleViewAgent(ArticleView *articleView)
|
|
: articleView(articleView)
|
|
{
|
|
|
|
}
|
|
|
|
void ArticleViewAgent::onJsActiveArticleChanged(QString const & id){
|
|
articleView->onJsActiveArticleChanged(id);
|
|
}
|
|
|
|
void ArticleViewAgent::linkClickedInHtml(QUrl const & url){
|
|
articleView->linkClickedInHtml(url);
|
|
}
|