diff options
Diffstat (limited to 'klinkstatus/src/engine/linkchecker.cpp')
-rw-r--r-- | klinkstatus/src/engine/linkchecker.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/klinkstatus/src/engine/linkchecker.cpp b/klinkstatus/src/engine/linkchecker.cpp index 7efe5a45..bf54a59b 100644 --- a/klinkstatus/src/engine/linkchecker.cpp +++ b/klinkstatus/src/engine/linkchecker.cpp @@ -44,8 +44,8 @@ int LinkChecker::count_ = 0; LinkChecker::LinkChecker(LinktqStatus* linkstatus, int time_out, - TQObject *tqparent, const char *name) - : TQObject(tqparent, name), search_manager_(0), + TQObject *parent, const char *name) + : TQObject(parent, name), search_manager_(0), linkstatus_(linkstatus), t_job_(0), time_out_(time_out), checker_(0), document_charset_(), redirection_(false), header_checked_(false), finnished_(false), parsing_(false), is_charset_checked_(false), has_defined_charset_(false) @@ -84,8 +84,8 @@ void LinkChecker::check() t_job_->addMetaData("PropagateHttpHeader", "true"); // to have the http header - if (linkstatus_->tqparent()) { - t_job_->addMetaData("referrer", linkstatus_->tqparent()->absoluteUrl().prettyURL()); + if (linkstatus_->parent()) { + t_job_->addMetaData("referrer", linkstatus_->parent()->absoluteUrl().prettyURL()); } if(search_manager_->sendIdentification()) @@ -550,7 +550,7 @@ void LinkChecker::checkRef() int i_ref = -1; if(linktqStatus()->originalUrl().startsWith("#")) - ls_parent = linktqStatus()->tqparent(); + ls_parent = linktqStatus()->parent(); else { |