KDECore
kkernel_win.cpp
Go to the documentation of this file.
180 QString getWin32RegistryValue ( HKEY key, const QString& subKey, const QString& item, bool *ok )
197 if ( ERROR_SUCCESS!=RegQueryValueExW ( hKey, WIN32_CAST_CHAR item.utf16(), NULL, NULL, NULL, &dwSize ) )
202 if ( ERROR_SUCCESS!=RegQueryValueExW ( hKey, WIN32_CAST_CHAR item.utf16(), NULL, &dwType, ( LPBYTE ) lszValue, &dwSize ) ) {
338 attachConsole = (attachConsolePtr)QLibrary::resolve(QLatin1String("kernel32"), "AttachConsole");
480 kMessageOutputInstaller() : stdoutBuffer("stdout:"), stderrBuffer("stderr:"), oldStdoutBuffer(0), oldStderrBuffer(0)
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved)
The dll entry point - get the instance handle for GetModuleFleNameW Maybe also some special initializ...
Definition: kkernel_win.cpp:135
QString fromNativeSeparators(const QString &pathName)
QString convertSeparators(const QString &pathName)
static int subSystem()
retrieve type of win32 subsystem from the executable header
Definition: kkernel_win.cpp:427
static void redirectToConsole()
redirect stdout, stderr and cout, wcout, cin, wcin, wcerr, cerr, wclog and clog to console ...
Definition: kkernel_win.cpp:353
bool exists() const
QString fromUtf16(const ushort *unicode, int size)
bool isEmpty() const
BOOL(WINAPI * attachConsolePtr)(DWORD dwProcessId)
try to attach to the parents console
Definition: kkernel_win.cpp:330
static void kMessageOutputDebugString(QtMsgType type, const char *msg)
kde and qt debug message printer using windows debug message port
Definition: kkernel_win.cpp:277
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
QString getWin32ShellFoldersPath(const QString &folder)
Windows-specific functions needed in kdecore.
Definition: kkernel_win.cpp:267
#define FAILURE
static class kMessageOutputInstaller kMessageOutputInstallerInstance
typedef BOOL(WINAPI *PtrTzSpecificLocalTimeToSystemTime)(LPTIME_ZONE_INFORMATION lpTimeZoneInformation
QByteArray toLatin1() const
const ushort * utf16() const
void * resolve(const char *symbol)
static void kMessageOutputFileIO(QtMsgType type, const char *msg)
kde and qt debug message printer using FILE pointer based output
Definition: kkernel_win.cpp:308
QString fromLatin1(const char *str, int size)
bool showWin32FilePropertyDialog(const QString &fileName)
Shows native MS Windows file property dialog for a file fileName.
Definition: kkernel_win.cpp:218
QString getWin32RegistryValue(HKEY key, const QString &subKey, const QString &item, bool *ok)
Definition: kkernel_win.cpp:180
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
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.