KNetwork::KResolverWorkerBase::ResolverLocker Class Reference

#include <k3resolverworkerbase.h>

Public Member Functions

 ResolverLocker (KResolverWorkerBase *parent)
 ~ResolverLocker ()
void openClose ()

Detailed Description

Helper class for locking the resolver subsystem.

Similar to QMutexLocker.

Luís Pedro Coelho

Definition at line 75 of file k3resolverworkerbase.h.

Constructor & Destructor Documentation

KNetwork::KResolverWorkerBase::ResolverLocker::ResolverLocker ( KResolverWorkerBase parent)


Acquires a lock.

Definition at line 81 of file k3resolverworkerbase.h.

KNetwork::KResolverWorkerBase::ResolverLocker::~ResolverLocker ( )


Releases the lock.

Definition at line 90 of file k3resolverworkerbase.h.

Member Function Documentation

void KNetwork::KResolverWorkerBase::ResolverLocker::openClose ( )

Releases the lock and then reacquires it.

It may be necessary to call this if the resolving function decides to retry.

Definition at line 100 of file k3resolverworkerbase.h.

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Aug 12 2020 22:58:32 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.