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

KXMLRPC Client Library

  • sources
  • kde-4.12
  • kdepimlibs
  • kxmlrpcclient
query.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (C) 2003 - 2004 by Frerich Raabe <raabe@kde.org> *
3  * Tobias Koenig <tokoe@kde.org> *
4  * Copyright (C) 2006 by Narayan Newton <narayannewton@gmail.com> *
5  * *
6  * This program is distributed in the hope that it will be useful, but *
7  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY *
8  * or FITNESS FOR A PARTICULAR PURPOSE. For licensing and distribution *
9  * details, check the accompanying file 'COPYING.BSD'. *
10  *****************************************************************************/
21 #ifndef KXML_RPC_QUERY_H
22 #define KXML_RPC_QUERY_H
23 
24 #include "kxmlrpcclient_export.h"
25 
26 #include <QtCore/QList>
27 #include <QtCore/QObject>
28 #include <QtCore/QVariant>
29 #include <QtCore/QMap>
30 #include <kio/job.h>
31 
32 class QString;
33 
35 namespace KXmlRpc {
36 
44 class KXMLRPCCLIENT_EXPORT Query : public QObject
45 {
46  friend class Result;
47  Q_OBJECT
48 
49  public:
56  static Query *create( const QVariant &id = QVariant(), QObject *parent = 0 );
57 
58  public Q_SLOTS:
68  void call( const QString &server, const QString &method,
69  const QList<QVariant> &args,
70  const QMap<QString, QString> &jobMetaData );
71 
72  Q_SIGNALS:
76  void message( const QList<QVariant> &result, const QVariant &id );
77 
81  void fault( int, const QString &, const QVariant &id );
82 
86  void finished( Query * );
87 
88  private:
89  explicit Query( const QVariant &id, QObject *parent = 0 );
90  ~Query();
91 
92  class Private;
93  Private *const d;
94 
95  Q_PRIVATE_SLOT( d, void slotData( KIO::Job *, const QByteArray & ) )
96  Q_PRIVATE_SLOT( d, void slotResult( KJob * ) )
97 };
98 
99 } // namespace XmlRpc
100 
101 #endif
102 
KXmlRpc::Query
Query is a class that represents an individual XML-RPC call.
Definition: query.h:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:17 by doxygen 1.8.7 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 API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



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