kpimutils
processes.h
Go to the documentation of this file.00001
00032 #ifndef KDEPIMUTILS_PROCESSES_H
00033 #define KDEPIMUTILS_PROCESSES_H
00034
00035 #include "kpimutils_export.h"
00036
00037 #include <QtCore/QList>
00038
00039 class QString;
00040
00041 namespace KPIMUtils {
00042
00043 #ifdef Q_WS_WIN
00044
00047 KPIMUTILS_EXPORT void getProcessesIdForName( const QString &processName, QList<int> &pids );
00048
00053 KPIMUTILS_EXPORT bool otherProcessesExist( const QString &processName );
00054
00061 KPIMUTILS_EXPORT bool killProcesses( const QString &processName );
00062
00067 KPIMUTILS_EXPORT void activateWindowForProcess( const QString &executableName );
00068 #endif
00069
00070 }
00071
00072 #endif
00073