kpilot/lib

PluginUtility Class Reference

#include <plugin.h>

List of all members.


Detailed Description

A class containing only static helper methods.

Definition at line 238 of file plugin.h.


Static Public Member Functions

static int findHandle (const QStringList &)
static bool isModal (const QStringList &a)
static bool isRunning (const QCString &appName)
static long pluginVersion (const KLibrary *)
static QString pluginVersionString (const KLibrary *)

Member Function Documentation

int PluginUtility::findHandle ( const QStringList &   )  [static]

Searches the string list for --handle=NN and returns the number.

Definition at line 341 of file plugin.cc.

bool PluginUtility::isModal ( const QStringList &  a  )  [static]

Searches the string list for --modal and returns true if found.

Definition at line 380 of file plugin.cc.

bool PluginUtility::isRunning ( const QCString &  appName  )  [static]

This function attempts to detect whether or not the given application is running.

If it is, true is returned, otherwise false.

The current approach is to ask the DCOP server if the application has registered.

Definition at line 385 of file plugin.cc.

long PluginUtility::pluginVersion ( const KLibrary  )  [static]

Check a given library for its version, returning 0 if no version symbol is found.

Definition at line 393 of file plugin.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys