• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

SolidModules

bluezcalljob.h

Go to the documentation of this file.
00001 /*  This file is part of the KDE project
00002     Copyright (C) 2006 Kevin Ottens <ervin@kde.org>
00003     Copyright (C) 2007 Daniel Gollub <dgollub@suse.de>
00004 
00005 
00006     This library is free software; you can redistribute it and/or
00007     modify it under the terms of the GNU Library General Public
00008     License version 2 as published by the Free Software Foundation.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Library General Public License for more details.
00014 
00015     You should have received a copy of the GNU Library General Public License
00016     along with this library; see the file COPYING.LIB.  If not, write to
00017     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018     Boston, MA 02110-1301, USA.
00019 
00020 */
00021 
00022 #ifndef BLUEZCALLJOB_H
00023 #define BLUEZCALLJOB_H
00024 
00025 #include <kjob.h>
00026 #include <QtDBus/QDBusConnection>
00027 #include <QtDBus/QDBusMessage>
00028 #include <QList>
00029 #include <QVariant>
00030 
00031 class BluezCallJob : public KJob
00032 {
00033     Q_OBJECT
00034 public:
00035     BluezCallJob(const QDBusConnection &connection, const QString &dest,
00036                  const QString &path, const QString &interface,  const QString &methodName,
00037                  const QList<QVariant> &params);
00038     virtual ~BluezCallJob();
00039 
00040     void start();
00041     void kill(bool quietly);
00042 
00043 private Q_SLOTS:
00044     void doStart();
00045     void callError(const QDBusError &error);
00046     void callReply(const QDBusMessage &reply);
00047 
00048 private:
00049     QDBusConnection m_connection;
00050     QString m_dest;
00051     QString m_path;
00052     QString m_iface;
00053     QString m_method;
00054     QList<QVariant> m_params;
00055 };
00056 
00057 #endif

SolidModules

Skip menu "SolidModules"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal