• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.3 API Reference
  • KDE Home
  • Contact Us
 

KXMLRPC Client Library

  • KXmlRpc
  • Query
Public Slots | Signals | Static Public Member Functions
KXmlRpc::Query Class Reference

#include <query.h>

Inherits QObject.

List of all members.

Public Slots

void call (const QString &server, const QString &method, const QList< QVariant > &args, const QMap< QString, QString > &jobMetaData)

Signals

void fault (int, const QString &, const QVariant &id)
void finished (Query *)
void message (const QList< QVariant > &result, const QVariant &id)

Static Public Member Functions

static Query * create (const QVariant &id=QVariant(), QObject *parent=0)

Detailed Description

Query is a class that represents an individual XML-RPC call.

This is an internal class and is only used by the KXmlRpc::Client class.

Definition at line 44 of file query.h.


Member Function Documentation

void Query::call ( const QString &  server,
const QString &  method,
const QList< QVariant > &  args,
const QMap< QString, QString > &  jobMetaData 
) [slot]

Calls the specified method on the specified server with the given argument list.

Parameters:
serverthe server to contact.
methodthe method to call.
argsan argument list to pass to said method.
jobMetaDataadditional arguments to pass to the KIO::Job.

Definition at line 399 of file query.cpp.

Query * Query::create ( const QVariant &  id = QVariant(),
QObject *  parent = 0 
) [static]

Constructs a query.

Parameters:
idan optional id for the query.
parentan optional parent for the query.

Definition at line 394 of file query.cpp.

void KXmlRpc::Query::fault ( int  ,
const QString &  ,
const QVariant &  id 
) [signal]

A signal sent when we receive an error from the server.

void KXmlRpc::Query::finished ( Query *  ) [signal]

A signal sent when a query finishes.

void KXmlRpc::Query::message ( const QList< QVariant > &  result,
const QVariant &  id 
) [signal]

A signal sent when we receive a result from the server.


The documentation for this class was generated from the following files:
  • query.h
  • query.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 22:17:44 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KXMLRPC Client Library

Skip menu "KXMLRPC Client Library"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.8.3 API Reference

Skip menu "kdepimlibs-4.8.3 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal