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

KDECore

  • sources
  • kde-4.14
  • kdelibs
  • kdecore
  • util
kexportplugin.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2007 Bernhard Loos <nhuh.put@web.de>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 #ifndef KDECORE_KEXPORTPLUGIN_H
19 #define KDECORE_KEXPORTPLUGIN_H
20 
21 #include <kglobal.h>
22 #include <kdeversion.h>
23 
24 #include <QtCore/QPluginLoader>
25 #include <QtCore/QtPlugin>
26 
32 struct KDEPluginVerificationData
33 {
34  enum { PluginVerificationDataVersion = 1 };
35 
42  quint8 dataVersion;
43  quint32 KDEVersion;
44  const char *KDEVersionString;
45 };
46 
52 #define K_PLUGIN_VERIFICATION_DATA \
53 Q_EXTERN_C KDE_EXPORT const KDEPluginVerificationData kde_plugin_verification_data = \
54 { KDEPluginVerificationData::PluginVerificationDataVersion, KDE_VERSION, KDE_VERSION_STRING };
55 
61 #define K_EXPORT_PLUGIN_VERSION(version) \
62 Q_EXTERN_C KDE_EXPORT const quint32 kde_plugin_version = version;
63 
64 
71 #define K_EXPORT_PLUGIN(factory) \
72 Q_EXPORT_PLUGIN(factory) \
73 K_PLUGIN_VERIFICATION_DATA
74 
75 #endif // KDECORE_KEXPORTPLUGIN_H
76 
KDEPluginVerificationData::KDEVersion
quint32 KDEVersion
Definition: kexportplugin.h:43
quint32
KDEPluginVerificationData
Definition: kexportplugin.h:32
kglobal.h
KDEPluginVerificationData::KDEVersionString
const char * KDEVersionString
Definition: kexportplugin.h:44
KDEPluginVerificationData::dataVersion
quint8 dataVersion
Definition: kexportplugin.h:42
KDEPluginVerificationData::PluginVerificationDataVersion
Definition: kexportplugin.h:34
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal