#include <filespage.h>
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) | |
| FilePage * | addFile (QString title) |
| void | getFilePages (QPtrList< FilePage > &fileList) |
| QValueList< QString > | getFileExtensions () |
| bool | isModified () const |
| FilePage * FilesPage::addFile | ( | QString | title | ) |
Adds a tab containg a new file.
| title | caption for the new tab, it corresponds to the extension. |
| void FilesPage::getFilePages | ( | QPtrList< FilePage > & | fileList | ) |
| QValueList< QString > FilesPage::getFileExtensions | ( | ) |
Returns a list containing the extensions of the all specific files.
| 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] |
| 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.
| extensions | list containing the extensions of all the specific files. |
1.5.1