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

KIO

kssld_adaptor.h

Go to the documentation of this file.
00001 /*
00002     This file is part of the KDE libraries
00003 
00004     Copyright (C) 2007 Andreas Hartmetz <ahartmetz@gmail.com>
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 as published by the Free Software Foundation; either
00009     version 2 of the License, or (at your option) any later version.
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 KSSLD_ADAPTOR_H
00023 #define KSSLD_ADAPTOR_H
00024 
00025 #include <QtDBus/QDBusInterface>
00026 #include <QtDBus/QDBusMetaType>
00027 #include <QtDBus/QDBusAbstractAdaptor>
00028 #include <QtDBus/QDBusArgument>
00029 
00030 #include "kssld_dbusmetatypes.h"
00031 
00032 
00033 class KSSLDAdaptor: public QDBusAbstractAdaptor
00034 {
00035     Q_OBJECT
00036     Q_CLASSINFO("D-Bus Interface", "org.kde.KSSLD")
00037 
00038 public:
00039     KSSLDAdaptor(KSSLD *parent)
00040      : QDBusAbstractAdaptor(parent)
00041     {
00042         Q_ASSERT(parent);
00043         registerMetaTypesForKSSLD();
00044     }
00045 
00046 private:
00047     inline KSSLD *p()
00048         { return static_cast<KSSLD *>(parent()); }
00049 
00050 public Q_SLOTS:
00051     inline Q_NOREPLY void setRule(const KSslCertificateRule &rule)
00052         { return p()->setRule(rule); }
00053 
00054     inline Q_NOREPLY void clearRule__rule(const KSslCertificateRule &rule)
00055         { return p()->clearRule(rule); }
00056 
00057     inline Q_NOREPLY void clearRule__certHost(const QSslCertificate &cert, const QString &hostName)
00058         { return p()->clearRule(cert, hostName); }
00059 
00060     inline KSslCertificateRule rule(const QSslCertificate &cert, const QString &hostName)
00061         { return p()->rule(cert, hostName); }
00062 
00063     inline void setRootCertificates(const QList<QSslCertificate> &rootCertificates)
00064         { return p()->setRootCertificates(rootCertificates); }
00065 
00066     inline QList<QSslCertificate> rootCertificates()
00067         { return p()->rootCertificates(); }
00068 };
00069 
00070 #endif //KSSLD_ADAPTOR_H

KIO

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs 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