KDevelop API Documentation

GccOptionsPlugin Class Reference

#include <gccoptionsplugin.h>

Inheritance diagram for GccOptionsPlugin:

Inheritance graph
[legend]
Collaboration diagram for GccOptionsPlugin:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Type { GCC, GPP, G77, Unknown }

Public Member Functions

 GccOptionsPlugin (QObject *parent, const char *name, const QStringList &args)
 ~GccOptionsPlugin ()
virtual QString exec (QWidget *parent, const QString &flags)
 Opens a dialog which allows the user to configure the compiler options.

Static Public Member Functions

QString captionForType (Type type)

Private Attributes

Type gcctype

Member Enumeration Documentation

enum GccOptionsPlugin::Type
 

Enumeration values:
GCC 
GPP 
G77 
Unknown 

Definition at line 32 of file gccoptionsplugin.h.


Constructor & Destructor Documentation

GccOptionsPlugin::GccOptionsPlugin QObject parent,
const char *  name,
const QStringList args
 

Definition at line 628 of file gccoptionsplugin.cpp.

References gcctype.

GccOptionsPlugin::~GccOptionsPlugin  ) 
 

Definition at line 647 of file gccoptionsplugin.cpp.


Member Function Documentation

QString GccOptionsPlugin::captionForType Type  type  )  [static]
 

Definition at line 651 of file gccoptionsplugin.cpp.

References G77, GCC, and GPP.

QString GccOptionsPlugin::exec QWidget parent,
const QString flags
[virtual]
 

Opens a dialog which allows the user to configure the compiler options.

The initial settings in the dialog will be set from the flags argument of this method. After the dialog is accepted, the new settings will be returned as a string. If the dialog was cancelled, QString::null is returned.

Implements KDevCompilerOptions.

Definition at line 663 of file gccoptionsplugin.cpp.

References GccOptionsDialog::flags(), gcctype, and GccOptionsDialog::setFlags().


Member Data Documentation

Type GccOptionsPlugin::gcctype [private]
 

Definition at line 41 of file gccoptionsplugin.h.

Referenced by exec(), and GccOptionsPlugin().


The documentation for this class was generated from the following files:
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:42:55 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003