kpilot/lib
PluginUtility Namespace Reference
A namespace containing only static helper methods. More...
Functions | |
TQString | findArgument (const TQStringList &a, const TQString &arg) |
bool | isRunning (const TQCString &appName) |
unsigned long | pluginVersion (const KLibrary *) |
TQString | pluginVersionString (const KLibrary *lib) |
TQString | findArgument (const TQStringList &a, const TQString argname) |
Detailed Description
A namespace containing only static helper methods.
Function Documentation
TQString PluginUtility::findArgument | ( | const TQStringList & | a, | |
const TQString | argname | |||
) |
Searches the argument list for --foo=bar and returns bar, TQString::null if not found.
Don't include the -- in the argname.
bool PluginUtility::isRunning | ( | const TQCString & | appName | ) |
unsigned long PluginUtility::pluginVersion | ( | const KLibrary * | lib | ) |