Akonadi
            
 
    7#include "resourceselectjob_p.h" 
   10#include "private/imapparser_p.h" 
   11#include "private/protocol_p.h" 
   15class Akonadi::ResourceSelectJobPrivate : 
public JobPrivate
 
   18    explicit ResourceSelectJobPrivate(ResourceSelectJob *parent)
 
   24    QString jobDebuggingString() 
const override;
 
   27QString Akonadi::ResourceSelectJobPrivate::jobDebuggingString()
 const 
   29    return QStringLiteral(
"Select Resource %1").
arg(resourceId);
 
   32ResourceSelectJob::ResourceSelectJob(
const QString &identifier, QObject *parent)
 
   33    : 
Job(new ResourceSelectJobPrivate(this), parent)
 
   35    Q_D(ResourceSelectJob);
 
   36    d->resourceId = identifier;
 
   39void ResourceSelectJob::doStart()
 
   41    Q_D(ResourceSelectJob);
 
   43    d->sendCommand(Protocol::SelectResourceCommandPtr::create(d->resourceId));
 
   46bool ResourceSelectJob::doHandleResponse(qint64 tag, 
const Protocol::CommandPtr &response)
 
   48    if (!response->isResponse() || response->type() != Protocol::Command::SelectResource) {
 
   55#include "moc_resourceselectjob_p.cpp" 
Base class for all actions in the Akonadi storage.
 
virtual bool doHandleResponse(qint64 tag, const Protocol::CommandPtr &response)
This method should be reimplemented in the concrete jobs in case you want to handle incoming data.
 
Helper integration between Akonadi and Qt.
 
QString arg(Args &&... args) const const
 
  
 
  This file is part of the KDE documentation.
  Documentation copyright © 1996-2025 The KDE developers.
  Generated on Fri May 2 2025 11:53:09 by
  
doxygen 1.13.2 written
  by 
Dimitri van Heesch, © 1997-2006
  
  KDE's Doxygen guidelines are available online.