Warning, file /frameworks/kwindowsystem/src/platforms/osx/kwindowinfo_mac_p.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 This file is part of the KDE libraries 0003 SPDX-FileCopyrightText: 2008 Marijn Kruisselbrink <m.kruisselbrink@student.tue.nl> 0004 0005 SPDX-License-Identifier: LGPL-2.1-or-later 0006 */ 0007 #ifndef KWINDOWINFO_MAC_P_H 0008 #define KWINDOWINFO_MAC_P_H 0009 0010 #include "kwindowinfo.h" 0011 #include <Carbon/Carbon.h> 0012 #include <QList> 0013 #include <QString> 0014 0015 // bah, why do header files invade my namespace and define such normal words as check... 0016 #ifdef check 0017 #undef check 0018 #endif 0019 0020 struct Q_DECL_HIDDEN KWindowInfo::Private { 0021 Private(); 0022 ~Private(); 0023 int ref; 0024 WId win; 0025 bool isLocal; 0026 AXUIElementRef axElement() const 0027 { 0028 return m_axWin; 0029 } 0030 void setAxElement(const AXUIElementRef &axWin); 0031 ProcessSerialNumber psn() const 0032 { 0033 return m_psn; 0034 } 0035 pid_t pid() const 0036 { 0037 return m_pid; 0038 } 0039 void setProcessSerialNumber(const ProcessSerialNumber &psn); 0040 QString name; 0041 #ifdef Q_OS_MAC32 0042 FSSpec iconSpec; 0043 #else 0044 FSRef iconSpec; 0045 #endif 0046 bool loadedData; 0047 void updateData(); 0048 AXUIElementRef m_axWin; 0049 QList<KWindowInfo::Private *> children; 0050 KWindowInfo::Private *parent; 0051 0052 private: 0053 Private(const Private &); 0054 void operator=(const Private &); 0055 ProcessSerialNumber m_psn; 0056 pid_t m_pid; 0057 }; 0058 0059 #endif