KDevelop API Documentation

AddFilesDialog Class Reference

This class allows you to choose additional modes when adding files to the project. More...

#include <addfilesdialog.h>

Inheritance diagram for AddFilesDialog:

KFileDialog KDialogBase KDialog QDialog List of all members.

Public Types

enum  Mode { Copy, Link, Relative }

Public Member Functions

 AddFilesDialog (const QString &startDir, const QString &filter, QWidget *parent, const char *name, bool modal)
virtual ~AddFilesDialog ()
virtual AddFilesDialog::Mode mode ()

Private Slots

void storePreferred (int index)

Private Attributes

QComboBoxm_extraWidget

Detailed Description

This class allows you to choose additional modes when adding files to the project.

Currently available modes are Copy, Link and Relative. Relative means that file should be not copied but added with the relative path (e.g. ../../dir/filename)

Definition at line 34 of file addfilesdialog.h.


Member Enumeration Documentation

enum AddFilesDialog::Mode
 

Enumeration values:
Copy 
Link 
Relative 

Definition at line 38 of file addfilesdialog.h.

Referenced by mode().


Constructor & Destructor Documentation

AddFilesDialog::AddFilesDialog const QString startDir,
const QString filter,
QWidget parent,
const char *  name,
bool  modal
 

Definition at line 27 of file addfilesdialog.cpp.

References AddFilesDialog(), m_extraWidget, KConfigBase::readNumEntry(), KConfigBase::setGroup(), and storePreferred().

Referenced by AddFilesDialog().

AddFilesDialog::~AddFilesDialog  )  [virtual]
 

Definition at line 64 of file addfilesdialog.cpp.


Member Function Documentation

AddFilesDialog::Mode AddFilesDialog::mode  )  [virtual]
 

Definition at line 68 of file addfilesdialog.cpp.

References m_extraWidget, and Mode.

Referenced by TrollProjectWidget::slotAddFiles(), and TrollProjectWidget::slotDetailsContextMenu().

void AddFilesDialog::storePreferred int  index  )  [private, slot]
 

Definition at line 73 of file addfilesdialog.cpp.

References KConfigBase::setGroup(), storePreferred(), and KConfigBase::writeEntry().

Referenced by AddFilesDialog(), and storePreferred().


Member Data Documentation

QComboBox* AddFilesDialog::m_extraWidget [private]
 

Definition at line 51 of file addfilesdialog.h.

Referenced by AddFilesDialog(), and mode().


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:19 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003