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

KDEUI

  • sources
  • kde-4.12
  • kdelibs
  • kdeui
  • kernel
Macros | Functions
kapplication_win.cpp File Reference
#include <QtGui/QApplication>
#include <kstandarddirs.h>
#include <klocale.h>
#include <kwindowsystem.h>
#include <QTranslator>
#include <QLocale>
#include <QLibraryInfo>
#include <QLibrary>
#include <stdio.h>
#include <windows.h>
#include <winperf.h>
#include <psapi.h>
#include <signal.h>
#include <unistd.h>
#include <QtCore/QList>
#include <QtCore/QtDebug>
Include dependency graph for kapplication_win.cpp:

Go to the source code of this file.

Macros

#define GETPID_BYTEINCREMENT   1024
 
#define GETPID_PROC_ID_COUNTER   784
 
#define GETPID_PROCESS_OBJECT_INDEX   230
 
#define GETPID_TOTAL   64 * 1024
 

Functions

static PPERF_COUNTER_BLOCK CounterBlock (PPERF_INSTANCE_DEFINITION PerfInst)
 
BOOL CALLBACK EnumWindowsProc (HWND hwnd, LPARAM lParam)
 
static PPERF_COUNTER_DEFINITION FirstCounter (PPERF_OBJECT_TYPE PerfObj)
 
static PPERF_INSTANCE_DEFINITION FirstInstance (PPERF_OBJECT_TYPE PerfObj)
 
static PPERF_OBJECT_TYPE FirstObject (PPERF_DATA_BLOCK PerfData)
 
QString fromWChar (const wchar_t *string, int size=-1)
 
void KApplication_activateWindowForProcess (const QString &executableName)
 
void KApplication_getProcessesIdForName (const QString &processName, QList< int > &pids)
 
void KApplication_init_windows ()
 
bool KApplication_killProcesses (const QString &processName)
 
bool KApplication_otherProcessesExist (const QString &processName)
 
static PPERF_COUNTER_DEFINITION NextCounter (PPERF_COUNTER_DEFINITION PerfCntr)
 
static PPERF_INSTANCE_DEFINITION NextInstance (PPERF_INSTANCE_DEFINITION PerfInst)
 
static PPERF_OBJECT_TYPE NextObject (PPERF_OBJECT_TYPE PerfObj)
 

Macro Definition Documentation

#define GETPID_BYTEINCREMENT   1024

Definition at line 114 of file kapplication_win.cpp.

#define GETPID_PROC_ID_COUNTER   784

Definition at line 116 of file kapplication_win.cpp.

#define GETPID_PROCESS_OBJECT_INDEX   230

Definition at line 115 of file kapplication_win.cpp.

#define GETPID_TOTAL   64 * 1024

Definition at line 113 of file kapplication_win.cpp.

Function Documentation

static PPERF_COUNTER_BLOCK CounterBlock ( PPERF_INSTANCE_DEFINITION  PerfInst)
static

Definition at line 108 of file kapplication_win.cpp.

BOOL CALLBACK EnumWindowsProc ( HWND  hwnd,
LPARAM  lParam 
)

Definition at line 229 of file kapplication_win.cpp.

static PPERF_COUNTER_DEFINITION FirstCounter ( PPERF_OBJECT_TYPE  PerfObj)
static

Definition at line 91 of file kapplication_win.cpp.

static PPERF_INSTANCE_DEFINITION FirstInstance ( PPERF_OBJECT_TYPE  PerfObj)
static

Definition at line 81 of file kapplication_win.cpp.

static PPERF_OBJECT_TYPE FirstObject ( PPERF_DATA_BLOCK  PerfData)
static

Definition at line 76 of file kapplication_win.cpp.

QString fromWChar ( const wchar_t *  string,
int  size = -1 
)

Definition at line 118 of file kapplication_win.cpp.

void KApplication_activateWindowForProcess ( const QString &  executableName)

Definition at line 242 of file kapplication_win.cpp.

void KApplication_getProcessesIdForName ( const QString &  processName,
QList< int > &  pids 
)

Definition at line 125 of file kapplication_win.cpp.

void KApplication_init_windows ( )

MS Windows-related actions for KApplication startup.

  • Use Qt translation which will be usable for QFileDialog and other Qt-only GUIs. The "qt_<language>.qm" file should be stored in the same place as .po files for a given language.
  • Increase the default open file limit with the stdio API from 512 to 2048 (2048 is the hard limit on Windows)

Definition at line 43 of file kapplication_win.cpp.

bool KApplication_killProcesses ( const QString &  processName)

Definition at line 203 of file kapplication_win.cpp.

bool KApplication_otherProcessesExist ( const QString &  processName)

Definition at line 189 of file kapplication_win.cpp.

static PPERF_COUNTER_DEFINITION NextCounter ( PPERF_COUNTER_DEFINITION  PerfCntr)
static

Definition at line 103 of file kapplication_win.cpp.

static PPERF_INSTANCE_DEFINITION NextInstance ( PPERF_INSTANCE_DEFINITION  PerfInst)
static

Definition at line 96 of file kapplication_win.cpp.

static PPERF_OBJECT_TYPE NextObject ( PPERF_OBJECT_TYPE  PerfObj)
static

Definition at line 86 of file kapplication_win.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:16 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

Skip menu "KDEUI"
  • 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
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • 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