KDevelop API Documentation

AutoProjectTool Class Reference

Very small helper class. More...

#include <misc.h>

List of all members.

Static Public Member Functions

QString execFlagsDialog (const QString &compiler, const QString &flags, QWidget *parent)
 Loads the compiler options plugin for the given compiler, executes the dialog with some initial flags, and returns the new flags.

QString canonicalize (const QString &str)
 Returns the canonicalized version of a file name, i.e.

void parseMakefileam (const QString &filename, QMap< QString, QString > *variables)
 Parses a Makefile.am and stores its variable assignments in a map.

void modifyMakefileam (const QString &filename, QMap< QString, QString > variables)
void removeFromMakefileam (const QString &filename, QMap< QString, QString > variables)
QStringList configureinLoadMakefiles (QString configureinpath)
 Parses configure.in and splits AC_OUTPUT into a QStringList.

void configureinSaveMakefiles (QString configureinpath, QStringList makefiles)
 Recieves a QStringList and puts it into configure.in as arguments to AC_OUTPUT.


Detailed Description

Very small helper class.

It has just static methods.

Definition at line 22 of file misc.h.


Member Function Documentation

QString AutoProjectTool::canonicalize const QString str  )  [static]
 

Returns the canonicalized version of a file name, i.e.

the file name with special characters replaced by underscores

Definition at line 60 of file misc.cpp.

References canonicalize().

Referenced by canonicalize().

QStringList AutoProjectTool::configureinLoadMakefiles QString  configureinpath  )  [static]
 

Parses configure.in and splits AC_OUTPUT into a QStringList.

Definition at line 224 of file misc.cpp.

References configureinLoadMakefiles().

Referenced by configureinLoadMakefiles().

void AutoProjectTool::configureinSaveMakefiles QString  configureinpath,
QStringList  makefiles
[static]
 

Recieves a QStringList and puts it into configure.in as arguments to AC_OUTPUT.

Definition at line 264 of file misc.cpp.

References configureinSaveMakefiles().

Referenced by configureinSaveMakefiles().

QString AutoProjectTool::execFlagsDialog const QString compiler,
const QString flags,
QWidget parent
[static]
 

Loads the compiler options plugin for the given compiler, executes the dialog with some initial flags, and returns the new flags.

Definition at line 46 of file misc.cpp.

References createCompilerOptions(), KDevCompilerOptions::exec(), and execFlagsDialog().

Referenced by execFlagsDialog().

void AutoProjectTool::modifyMakefileam const QString filename,
QMap< QString, QString variables
[static]
 

Definition at line 104 of file misc.cpp.

References endl(), and modifyMakefileam().

Referenced by modifyMakefileam().

void AutoProjectTool::parseMakefileam const QString filename,
QMap< QString, QString > *  variables
[static]
 

Parses a Makefile.am and stores its variable assignments in a map.

Definition at line 70 of file misc.cpp.

References parseMakefileam().

Referenced by parseMakefileam().

void AutoProjectTool::removeFromMakefileam const QString filename,
QMap< QString, QString variables
[static]
 

Definition at line 168 of file misc.cpp.

References endl(), and removeFromMakefileam().

Referenced by removeFromMakefileam().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:01:59 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003