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

NepomukDaemons

servicestubadaptor.h

Go to the documentation of this file.
00001 /* This file is part of the KDE Project
00002    Copyright (c) 2008 Sebastian Trueg <trueg@kde.org>
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License version 2 as published by the Free Software Foundation.
00007 
00008    This library is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011    Library General Public License for more details.
00012 
00013    You should have received a copy of the GNU Library General Public License
00014    along with this library; see the file COPYING.LIB.  If not, write to
00015    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00016    Boston, MA 02110-1301, USA.
00017 */
00018 
00019 
00020 #ifndef _SERVICESTUB_ADAPTOR_H_
00021 #define _SERVICESTUB_ADAPTOR_H_
00022 
00023 #include <QtCore/QObject>
00024 #include <QtDBus/QtDBus>
00025 
00026 #include <Nepomuk/Service>
00027 
00028 
00029 class ServiceControlAdaptor: public QDBusAbstractAdaptor
00030 {
00031     Q_OBJECT
00032     Q_CLASSINFO("D-Bus Interface", "org.kde.nepomuk.ServiceControl")
00033     Q_CLASSINFO("D-Bus Introspection", ""
00034                 "  <interface name=\"org.kde.nepomuk.ServiceControl\" >\n"
00035                 "    <method name=\"shutdown\" />\n"
00036                 "    <method name=\"isInitialized\">\n"
00037                 "      <arg name=\"state\" type=\"b\" direction=\"out\" />\n"
00038                 "    </method>\n"
00039                 "    <signal name=\"serviceInitialized\">\n"
00040                 "      <arg name=\"success\" type=\"b\" direction=\"out\" />\n"
00041                 "    </signal>\n"
00042                 "  </interface>\n"
00043                 "")
00044 
00045 public:
00046     ServiceControlAdaptor( Nepomuk::Service *parent );
00047     virtual ~ServiceControlAdaptor();
00048 
00049     inline Nepomuk::Service *parent() const
00050     { return static_cast<Nepomuk::Service *>(QObject::parent()); }
00051 
00052 public Q_SLOTS:
00053     bool isInitialized() const;
00054 
00055 Q_SIGNALS:
00056     void serviceInitialized( bool success );
00057 
00058 public Q_SLOTS:
00059     void shutdown();
00060 };
00061 
00062 #endif

NepomukDaemons

Skip menu "NepomukDaemons"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KCMShell
  • KNotify
  • KStyles
  • Nepomuk Daemons
Generated for API Reference by doxygen 1.5.4
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