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

KDECore

kkernel_win.h File Reference

#include <QtCore/QString>
#include <kdecore_export.h>

Go to the source code of this file.

Functions

QByteArray getWin32LocaleName ()
QString getWin32ShellFoldersPath (const QString &folder)
bool isExecutable (const QString &filename)
bool showWin32FilePropertyDialog (const QString &fileName)

Function Documentation

QByteArray getWin32LocaleName (  ) 
Returns:
two-letter locale name (like "en" or "pl") taken from MS Windows native registry. Useful when we don't want to rely on KSyCoCa. Used e.g. by kbuildsycoca application.

Definition at line 186 of file kkernel_win.cpp.

QString getWin32ShellFoldersPath ( const QString &  folder  ) 

Windows-specific functions needed in kdecore.

Author:
Christian Ehrlicher <ch.ehrlicher@gmx.de>

This file provides some Windows-specific functions which Qt do not provide access to.

Returns:
a value from MS Windows native registry for shell folder folder.
a value from MS Windows native registry for shell folder folder.

Definition at line 205 of file kkernel_win.cpp.

bool isExecutable ( const QString &  filename  ) 
Returns:
true when the file is an executable on windows.

Definition at line 452 of file kkernel_win.cpp.

bool showWin32FilePropertyDialog ( const QString &  fileName  ) 

Shows native MS Windows file property dialog for a file fileName.

Return true on success. Only works for local absolute paths. Used by KPropertiesDialog, if possible.

Definition at line 170 of file kkernel_win.cpp.

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • 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
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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