mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 08:34:08 +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);
|
|
}
|