KDevelop API Documentation

KDevCreateFile Class Reference

KDevelop Authors. More...

#include <kdevcreatefile.h>

Inheritance diagram for KDevCreateFile:

KDevPlugin QObject KXMLGUIClient FileCreatePart List of all members.

Public Member Functions

 KDevCreateFile (const QString &pluginName, const QString &icon, QObject *parent=0, const char *name=0)
virtual ~KDevCreateFile ()
virtual CreatedFile createNewFile (QString ext=QString::null, QString dir=QString::null, QString name=QString::null, QString subtype=QString::null)=0
 Call this method to create a new file, within or without the project.


Detailed Description

KDevelop Authors.

Definition at line 32 of file kdevcreatefile.h.


Constructor & Destructor Documentation

KDevCreateFile::KDevCreateFile const QString pluginName,
const QString icon,
QObject parent = 0,
const char *  name = 0
 

Definition at line 23 of file kdevcreatefile.cpp.

References KDevCreateFile().

Referenced by KDevCreateFile().

KDevCreateFile::~KDevCreateFile  )  [virtual]
 

Definition at line 28 of file kdevcreatefile.cpp.


Member Function Documentation

virtual CreatedFile KDevCreateFile::createNewFile QString  ext = QString::null,
QString  dir = QString::null,
QString  name = QString::null,
QString  subtype = QString::null
[pure virtual]
 

Call this method to create a new file, within or without the project.

Supply as much information as you know. Leave what you don't know as QString::null. The user will be prompted as necessary for the missing information, and the file created, and added to the project as necessary.

Implemented in FileCreatePart.

Referenced by AddMethodDialog::accept(), AutoDetailsView::slotAddNewFile(), TrollProjectWidget::slotDetailsContextMenu(), TrollProjectWidget::slotNewFile(), and GenericProjectWidget::slotNewFile().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:22 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003