#include <fileselector.h>
Inheritance diagram for FileSelectionItemFactory:

Public Member Functions | ||||
| FileSelectionItemFactory (const ASCString &wildcard) | ||||
| ||||
| void | restart () | |||
| int | getLevel (const ASCString &name) | |||
| SelectionWidget * | spawnNextItem (PG_Widget *parent, const PG_Point &pos) | |||
| void | itemMarked (const SelectionWidget *widget) | |||
| void | itemSelected (const SelectionWidget *widget, bool mouse) | |||
Static Public Member Functions | ||||
| static bool | comp (const FileInfo *i1, const FileInfo *i2) | |||
Public Attributes | ||||
| SigC::Signal1< void, const ASCString & > | filenameSelectedMouse | |||
| SigC::Signal1< void, const ASCString & > | filenameSelectedKeyb | |||
| SigC::Signal1< void, const ASCString & > | filenameMarked | |||
Protected Types | ||||
| typedef deallocating_vector< FileInfo * > | Items | |||
Protected Attributes | ||||
| Items::iterator | it | |||
Definition at line 79 of file fileselector.h.
typedef deallocating_vector<FileInfo*> FileSelectionItemFactory::Items [protected] |
Definition at line 81 of file fileselector.h.
| FileSelectionItemFactory::FileSelectionItemFactory | ( | const ASCString & | wildcard | ) |
| wildcard | may be several wildcards concatenated by ';' |
Definition at line 145 of file fileselector.cpp.
References comp(), tfindfile::FileInfo::date, tfindfile::FileInfo::directoryLevel, tfindfile::getnextname(), tfindfile::FileInfo::location, tfindfile::FileInfo::name, and restart().
Definition at line 170 of file fileselector.cpp.
References FileInfo::modificationTime, and FileInfo::name.
Referenced by FileSelectionItemFactory().
| void FileSelectionItemFactory::restart | ( | ) | [virtual] |
Implements SelectionItemFactory.
Definition at line 176 of file fileselector.cpp.
References it.
Referenced by FileSelectionItemFactory().
| int FileSelectionItemFactory::getLevel | ( | const ASCString & | name | ) |
Definition at line 181 of file fileselector.cpp.
References it.
Referenced by FileSelectionWindow::fileNameSelected().
| SelectionWidget * FileSelectionItemFactory::spawnNextItem | ( | PG_Widget * | parent, | |
| const PG_Point & | pos | |||
| ) | [virtual] |
| void FileSelectionItemFactory::itemMarked | ( | const SelectionWidget * | widget | ) | [virtual] |
Reimplemented from SelectionItemFactory.
Definition at line 199 of file fileselector.cpp.
References filenameMarked, and FileWidget::getName().
| void FileSelectionItemFactory::itemSelected | ( | const SelectionWidget * | widget, | |
| bool | mouse | |||
| ) | [virtual] |
Implements SelectionItemFactory.
Definition at line 209 of file fileselector.cpp.
References filenameSelectedKeyb, filenameSelectedMouse, and FileWidget::getName().
Items::iterator FileSelectionItemFactory::it [protected] |
Definition at line 82 of file fileselector.h.
Referenced by getLevel(), restart(), and spawnNextItem().
| SigC::Signal1<void,const ASCString& > FileSelectionItemFactory::filenameSelectedMouse |
Definition at line 99 of file fileselector.h.
Referenced by FileSelectionWindow::FileSelectionWindow(), itemSelected(), and StartMultiplayerGame::userHandler().
| SigC::Signal1<void,const ASCString& > FileSelectionItemFactory::filenameSelectedKeyb |
Definition at line 100 of file fileselector.h.
Referenced by FileSelectionWindow::FileSelectionWindow(), itemSelected(), and StartMultiplayerGame::userHandler().
| SigC::Signal1<void,const ASCString& > FileSelectionItemFactory::filenameMarked |
Definition at line 101 of file fileselector.h.
Referenced by itemMarked(), and StartMultiplayerGame::userHandler().
1.5.1