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

KDECore

  • kdecore
  • kernel
kkernel_mac.h
Go to the documentation of this file.
1/* This file is part of the KDE libraries
2 Copyright (C) 2007 Christian Ehrlicher <ch.ehrlicher@gmx.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
19#ifndef KKERNEL_MAC_H
20#define KKERNEL_MAC_H
21
22#include <QtCore/qglobal.h> // defines Q_OS_MACX
23
24#ifdef Q_OS_MACX
25
26#include <kdecore_export.h>
27#include <QtCore/QString>
28
29#include <CoreFoundation/CFString.h>
30
43QString convert_CFString_to_QString(CFStringRef str);
44
48KDECORE_EXPORT void mac_fork_and_reexec_self();
49
53KDECORE_EXPORT void mac_initialize_dbus();
54
58KDECORE_EXPORT QString mac_app_filename();
59
60#endif // Q_OS_MACX
61#endif // KKERNEL_MAC_H
QString
kdecore_export.h
mac_app_filename
QString mac_app_filename()
Get the application name.
Definition: kkernel_mac.cpp:188
mac_initialize_dbus
void mac_initialize_dbus()
Initialize D-Bus Mac-specific stuff if necessary.
Definition: kkernel_mac.cpp:134
mac_fork_and_reexec_self
void mac_fork_and_reexec_self()
Fork and reexec to work around CoreFoundation issues.
Definition: kkernel_mac.cpp:75
convert_CFString_to_QString
QString convert_CFString_to_QString(CFStringRef str)
Mac-specific functions needed in kdecore.
Definition: kkernel_mac.cpp:54
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 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
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