languages/pascal/compiler/dccoptions/dccoptionsplugin.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2003 Alexander Dymo * 00003 * cloudtemple@mksat.net * 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 #ifndef DCCOPTIONSPLUGIN_H 00012 #define DCCOPTIONSPLUGIN_H 00013 00014 #include <kdialogbase.h> 00015 00016 #include "kdevcompileroptions.h" 00017 00018 class DccOptionsPlugin : public KDevCompilerOptions 00019 { 00020 Q_OBJECT 00021 00022 public: 00023 DccOptionsPlugin( QObject *parent, const char *name, const QStringList/* &args */); 00024 ~DccOptionsPlugin(); 00025 00026 virtual QString exec(QWidget *parent, const QString &flags); 00027 }; 00028 00029 class GeneralTab; 00030 class LinkerTab; 00031 class LocationsTab; 00032 class Locations2Tab; 00033 class CodegenTab; 00034 class DebugOptimTab; 00035 00036 class DccOptionsDialog : public KDialogBase 00037 { 00038 public: 00039 DccOptionsDialog( QWidget *parent=0, const char *name=0 ); 00040 ~DccOptionsDialog(); 00041 00042 void setFlags(const QString &flags); 00043 QString flags() const; 00044 00045 private: 00046 GeneralTab *general; 00047 LinkerTab *linker; 00048 LocationsTab *locations; 00049 Locations2Tab *locations2; 00050 CodegenTab *codegen; 00051 DebugOptimTab *debug_optim; 00052 QStringList unrecognizedFlags; 00053 }; 00054 00055 00056 #endif