buildtools/autotools/misc.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2001-2002 by Bernd Gehrmann * 00003 * bernd@kdevelop.org * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 ***************************************************************************/ 00011 00012 #ifndef _MISC_H_ 00013 #define _MISC_H_ 00014 00015 #include <qcstring.h> 00016 #include <qmap.h> 00017 #include <qwidget.h> 00018 00022 class AutoProjectTool 00023 { 00024 public: 00029 static QString execFlagsDialog(const QString &compiler, const QString &flags, QWidget *parent); 00034 static QString canonicalize(const QString &str); 00039 static void parseMakefileam(const QString &filename, QMap<QString,QString> *variables); 00040 static void modifyMakefileam(const QString &filename, QMap<QString,QString> variables); 00041 static void removeFromMakefileam(const QString &filename, QMap<QString,QString> variables); 00042 00046 static QStringList configureinLoadMakefiles(QString configureinpath); 00047 00052 static void configureinSaveMakefiles(QString configureinpath, QStringList makefiles); 00053 00054 }; 00055 00056 00057 #endif