FilesPage Class Reference

#include <filespage.h>

List of all members.

Public Slots

void addNewFile ()
void removeFile ()
void changeCaption (const QString &caption, FilePage *filePage)
void resetModificationStatus ()

Signals

void fileModification (QValueList< QString > extensions)

Public Member Functions

 FilesPage (QWidget *parent=0, const char *name=0)
FilePageaddFile (QString title)
void getFilePages (QPtrList< FilePage > &fileList)
QValueList< QString > getFileExtensions ()
bool isModified () const


Detailed Description

Container used to group the new files created out of the raw data contained in the .dat file.
Author:
Lynn Hazan


Member Function Documentation

FilePage * FilesPage::addFile ( QString  title  ) 

Adds a tab containg a new file.

Parameters:
title caption for the new tab, it corresponds to the extension.
Returns:
a pointer on the newly created page.

void FilesPage::getFilePages ( QPtrList< FilePage > &  fileList  ) 

Fills the list fileList with pointers to the FilePage.

Parameters:
fileList list to be filled with the current FilePage.

QValueList< QString > FilesPage::getFileExtensions (  ) 

Returns a list containing the extensions of the all specific files.

Returns:
extension list.

bool FilesPage::isModified (  )  const

True if at least one the FilePage has been modified, false otherwise.

void FilesPage::addNewFile (  )  [slot]

Adds a new tab for a new file.

void FilesPage::removeFile (  )  [slot]

Removes the current tab.

void FilesPage::changeCaption ( const QString &  caption,
FilePage filePage 
) [slot]

Changes the caption of the tab corresponding to the FilePage which has its extension changed.

Parameters:
caption the new caption.
filePage a pointer on the FilePage which has its extension changed.

void FilesPage::resetModificationStatus (  )  [slot]

Resets the internal modification status of the the FilePages to false.

void FilesPage::fileModification ( QValueList< QString >  extensions  )  [signal]

This signal is used to update the dropdown list containing the file extensions in the managerView.

Parameters:
extensions list containing the extensions of all the specific files.


The documentation for this class was generated from the following files:
Generated on Sat Sep 15 16:04:45 2007 for ndmanager.kdevelop by  doxygen 1.5.1