Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

FileDialog Class Reference

#include </home/clem/local/src/opie/noncore/games/backgammon/filedialog.h>

Collaboration diagram for FileDialog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FileDialog (QWidget *parent, QString header, QString extension, const char *name=0, bool modal=TRUE, WFlags f=0)
 ~FileDialog ()
QString filename ()

Private Slots

void selectorclicked (QListViewItem *entry)

Private Member Functions

void getCurrentDir ()

Private Attributes

QListView * dirselector
QLineEdit * fileinput
QString ext
QString file_name

Constructor & Destructor Documentation

FileDialog::FileDialog QWidget *  parent,
QString  header,
QString  extension,
const char *  name = 0,
bool  modal = TRUE,
WFlags  f = 0
 

Definition at line 6 of file filedialog.cpp.

References dirselector, ext, file_name, fileinput, getCurrentDir(), selectorclicked(), and QPEApplication::showDialog().

FileDialog::~FileDialog  ) 
 

Definition at line 25 of file filedialog.cpp.


Member Function Documentation

QString FileDialog::filename  ) 
 

Definition at line 58 of file filedialog.cpp.

References file_name.

Referenced by BackGammon::deletegame(), BackGammon::deletetheme(), BackGammon::loadgame(), and BackGammon::loadtheme().

void FileDialog::getCurrentDir  )  [private]
 

Definition at line 37 of file filedialog.cpp.

References QPtrListIterator< type >::current(), dirselector, QDir::entryInfoList(), ext, QFileInfo::fileName(), QDir::Files, QString::left(), QString::length(), QPEApplication::qpeDir(), QString::right(), and QDir::setFilter().

Referenced by FileDialog().

void FileDialog::selectorclicked QListViewItem *  entry  )  [private, slot]
 

Definition at line 29 of file filedialog.cpp.

References file_name, fileinput, and NULL.

Referenced by FileDialog().


Member Data Documentation

QListView* FileDialog::dirselector [private]
 

Definition at line 12 of file filedialog.h.

Referenced by FileDialog(), and getCurrentDir().

QString FileDialog::ext [private]
 

Definition at line 16 of file filedialog.h.

Referenced by FileDialog(), and getCurrentDir().

QString FileDialog::file_name [private]
 

Definition at line 17 of file filedialog.h.

Referenced by FileDialog(), filename(), and selectorclicked().

QLineEdit* FileDialog::fileinput [private]
 

Definition at line 15 of file filedialog.h.

Referenced by FileDialog(), and selectorclicked().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:32:35 2005 for OPIE by  doxygen 1.4.2