KDevelop API Documentation

pgioptionsplugin.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2001 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 _PGIOPTIONSPLUGIN_H_
00013 #define _PGIOPTIONSPLUGIN_H_
00014 
00015 #include <kdialogbase.h>
00016 
00017 #include "kdevcompileroptions.h"
00018 
00019 class GeneralTab;
00020 class OptimizationTab;
00021 class HpfTab;
00022 
00023 
00024 class PgiOptionsPlugin : public KDevCompilerOptions
00025 {
00026     Q_OBJECT
00027 
00028 public:
00029     enum Type { PGHPF, PGF77 };
00030     
00031     PgiOptionsPlugin( Type type, QObject *parent=0, const char *name=0 );
00032     ~PgiOptionsPlugin();
00033 
00034     virtual QString exec(QWidget *parent, const QString &flags);
00035 
00036 private:
00037     Type pgitype;
00038 };
00039 
00040 
00041 class PgiOptionsDialog : public KDialogBase
00042 {
00043 public:
00044     PgiOptionsDialog(PgiOptionsPlugin::Type type, QWidget *parent=0, const char *name=0 );
00045     ~PgiOptionsDialog();
00046 
00047     void setFlags(const QString &flags);
00048     QString flags() const;
00049 
00050 private:
00051     OptimizationTab *optimization;
00052     HpfTab *hpf;
00053 };
00054 
00055 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:30 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003