NepomukDaemons
dbusoperators.h
Go to the documentation of this file.00001 /* 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 #ifndef _NEPOMUK_SEARCH_DBUS_OPERATORS_H_ 00020 #define _NEPOMUK_SEARCH_DBUS_OPERATORS_H_ 00021 00022 #include <QtDBus/QDBusArgument> 00023 00024 #include "result.h" 00025 #include "query.h" 00026 #include "term.h" 00027 00028 #include <nepomuk/nepomuk_export.h> 00029 00030 namespace Nepomuk { 00031 namespace Search { 00032 NEPOMUK_EXPORT void registerDBusTypes(); 00033 } 00034 } 00035 00036 NEPOMUK_EXPORT QDBusArgument& operator<<( QDBusArgument& arg, const Soprano::Node& ); 00037 NEPOMUK_EXPORT const QDBusArgument& operator>>( const QDBusArgument& arg, Soprano::Node& ); 00038 00039 NEPOMUK_EXPORT QDBusArgument& operator<<( QDBusArgument& arg, const Nepomuk::Search::Term& term ); 00040 NEPOMUK_EXPORT const QDBusArgument& operator>>( const QDBusArgument& arg, Nepomuk::Search::Term& ); 00041 00042 NEPOMUK_EXPORT QDBusArgument& operator<<( QDBusArgument& arg, const Nepomuk::Search::Query& query ); 00043 NEPOMUK_EXPORT const QDBusArgument& operator>>( const QDBusArgument& arg, Nepomuk::Search::Query& ); 00044 00045 NEPOMUK_EXPORT QDBusArgument& operator<<( QDBusArgument& arg, const Nepomuk::Search::Result& ); 00046 NEPOMUK_EXPORT const QDBusArgument& operator>>( const QDBusArgument& arg, Nepomuk::Search::Result& ); 00047 00048 #endif