aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter/filterleaf.cpp
blob: 87cd91d2e85e9153482a504eae28fb9df16b250b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "filterleaf.h"

FilterLeaf::FilterLeaf(FilterLeaf &&other)
{
    m_isBlocking = other.m_isBlocking;
    m_request = std::move(other.m_request);
    m_redirect = std::move(other.m_redirect);
}

FilterLeaf &FilterLeaf::operator=(FilterLeaf &&other)
{
    m_isBlocking = other.m_isBlocking;
    m_request = std::move(other.m_request);
    m_redirect = std::move(other.m_redirect);
    return *this;
}

const QString FilterLeaf::request() const
{
    return m_request;
}

const QString FilterLeaf::redirect() const
{
    return m_redirect;
}