AutoProjectTool Class Reference
Very small helper class. More...
#include <misc.h>
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
|
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. Referenced by RemoveTargetDialog::accept(), RemoveFileDialog::accept(), ChooseTargetDialog::accept(), AddTargetDialog::accept(), AddFileDialog::accept(), AutoProjectWidget::addToTarget(), FileItem::changeMakefileEntry(), RemoveTargetDialog::init(), AutoSubprojectView::parsePrimary(), AddExistingFilesDialog::slotOk(), and TargetOptionsDialog::storeConfig(). |
|
Parses configure.in and splits AC_OUTPUT into a QStringList.
Definition at line 251 of file misc.cpp. Referenced by AddSubprojectDialog::accept(), AddExistingDirectoriesDialog::slotOk(), and AutoSubprojectView::slotRemoveSubproject(). |
|
Recieves a QStringList and puts it into configure.in as arguments to AC_OUTPUT.
Definition at line 291 of file misc.cpp. Referenced by AddSubprojectDialog::accept(), AddExistingDirectoriesDialog::slotOk(), and AutoSubprojectView::slotRemoveSubproject(). |
|
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(), and KDevCompilerOptions::exec(). Referenced by SubprojectOptionsDialog::cflagsClicked(), SubprojectOptionsDialog::cxxFlagsClicked(), and SubprojectOptionsDialog::fflagsClicked(). |
|
|
Parses a Makefile.am and stores its variable assignments in a map.
Definition at line 70 of file misc.cpp. Referenced by AutoSubprojectView::parse(). |
|
Definition at line 195 of file misc.cpp. Referenced by RemoveTargetDialog::accept(). |
The documentation for this class was generated from the following files: