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

NepomukDaemons

strigiserviceadaptor.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    Based on code generated by dbusxml2cpp version 0.6
00005    dbusxml2cpp is Copyright (C) 2006 Trolltech ASA. All rights reserved.
00006 
00007    This library is free software; you can redistribute it and/or
00008    modify it under the terms of the GNU Library General Public
00009    License version 2 as published by the Free Software Foundation.
00010 
00011    This library is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014    Library General Public License for more details.
00015 
00016    You should have received a copy of the GNU Library General Public License
00017    along with this library; see the file COPYING.LIB.  If not, write to
00018    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019    Boston, MA 02110-1301, USA.
00020 */
00021 
00022 #ifndef _STRIGISERVICE_ADAPTOR_H_
00023 #define _STRIGISERVICE_ADAPTOR_H_
00024 
00025 #include <QtDBus/QDBusAbstractAdaptor>
00026 
00027 namespace Nepomuk {
00028 
00029     class IndexScheduler;
00030     class StrigiService;
00031 
00032     class StrigiServiceAdaptor: public QDBusAbstractAdaptor
00033     {
00034         Q_OBJECT
00035         Q_CLASSINFO("D-Bus Interface", "org.kde.nepomuk.Strigi")
00036         Q_CLASSINFO("D-Bus Introspection", ""
00037                     "  <interface name=\"org.kde.nepomuk.Strigi\" >\n"
00038                     "    <method name=\"isIndexing\" >\n"
00039                     "      <arg direction=\"out\" type=\"b\" />\n"
00040                     "    </method>\n"
00041                     "    <method name=\"isSuspended\" >\n"
00042                     "      <arg direction=\"out\" type=\"b\" />\n"
00043                     "    </method>\n"
00044                     "    <method name=\"currentFolder\" >\n"
00045                     "      <arg direction=\"out\" type=\"s\" />\n"
00046                     "    </method>\n"
00047                     "    <method name=\"suspend\" />\n"
00048                     "    <method name=\"resume\" />\n"
00049                     "    <method name=\"updateFolder\" >\n"
00050                     "      <arg name=\"path\" direction=\"in\" type=\"s\" />\n"
00051                     "    </method>\n"
00052                     "    <method name=\"updateAllFolders\" />\n"
00053                     "    <method name=\"analyzeResource\" >\n"
00054                     "      <arg name=\"uri\" direction=\"in\" type=\"s\" />\n"
00055                     "      <arg name=\"lastModificationDate\" direction=\"in\" type=\"u\" />\n"
00056                     "      <arg name=\"data\" direction=\"in\" type=\"ay\" />\n"
00057                     "    </method>\n"
00058                     "    <method name=\"analyzeResourceFromTempFileAndDeleteTempFile\" >\n"
00059                     "      <arg name=\"uri\" direction=\"in\" type=\"s\" />\n"
00060                     "      <arg name=\"lastModificationDate\" direction=\"in\" type=\"u\" />\n"
00061                     "      <arg name=\"tmpFileName\" direction=\"in\" type=\"s\" />\n"
00062                     "    </method>\n"
00063                     "    <signal name=\"indexingStarted\" />\n"
00064                     "    <signal name=\"indexingStopped\" />\n"
00065                     "    <signal name=\"indexingFolder\" >\n"
00066                     "      <arg type=\"s\" name=\"path\" />\n"
00067                     "    </signal>\n"
00068                     "  </interface>\n"
00069                     "")
00070 
00071     public:
00072         StrigiServiceAdaptor( IndexScheduler* scheduler, StrigiService* parent );
00073         ~StrigiServiceAdaptor();
00074 
00075     public Q_SLOTS:
00076         bool isIndexing();
00077         bool isSuspended();
00078         QString currentFolder();
00079         void resume();
00080         void suspend();
00081         void updateFolder( const QString& path );
00082         void updateAllFolders();
00083         void analyzeResource( const QString& uri, uint mTime, const QByteArray& data );
00084         void analyzeResourceFromTempFileAndDeleteTempFile( const QString& uri, uint mTime, const QString& tmpFile );
00085 
00086     Q_SIGNALS:
00087         void indexingFolder( const QString& path );
00088         void indexingStarted();
00089         void indexingStopped();
00090 
00091     private:
00092         IndexScheduler* m_indexScheduler;
00093     };
00094 }
00095 
00096 #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.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