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

OFileViewInterface Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/libopie/ofileselector_p.h>

Inheritance diagram for OFileViewInterface:

Inheritance graph
[legend]
Collaboration diagram for OFileViewInterface:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OFileViewInterface (OFileSelector *selector)
virtual ~OFileViewInterface ()
virtual QString selectedName () const =0
virtual QString selectedPath () const =0
virtual QString directory () const =0
virtual void reread ()=0
virtual int fileCount () const =0
virtual DocLnk selectedDocument () const
virtual QWidget * widget (QWidget *parent)=0
virtual void activate (const QString &)
QString name () const

Protected Member Functions

OFileSelectorselector () const
void setName (const QString &)
bool showNew () const
bool showClose () const
MimeTypes mimeTypes () const
QStringList currentMimeType () const
QString startDirectory () const
void ok ()
void cancel ()
void closeMe ()
void fileSelected (const QString &)
void fileSelected (const DocLnk &)
void setCurrentFileName (const QString &)
QString currentFileName () const

Private Attributes

QString m_name
OFileSelectorm_selector

Constructor & Destructor Documentation

OFileViewInterface::OFileViewInterface OFileSelector selector  ) 
 

Definition at line 24 of file ofileselector.cpp.

OFileViewInterface::~OFileViewInterface  )  [virtual]
 

Definition at line 27 of file ofileselector.cpp.


Member Function Documentation

void OFileViewInterface::activate const QString  )  [virtual]
 

Reimplemented in OFileViewFileSystem.

Definition at line 53 of file ofileselector.cpp.

Referenced by OFileSelector::slotViewChange().

void OFileViewInterface::cancel  )  [protected]
 

Definition at line 59 of file ofileselector.cpp.

References selector().

void OFileViewInterface::closeMe  )  [protected]
 

Definition at line 62 of file ofileselector.cpp.

References selector().

Referenced by ODocumentFileView::widget().

QString OFileViewInterface::currentFileName  )  const [protected]
 

Definition at line 74 of file ofileselector.cpp.

References selector().

Referenced by OFileViewFileSystem::selectedName().

QStringList OFileViewInterface::currentMimeType  )  const [protected]
 

Definition at line 50 of file ofileselector.cpp.

References selector().

Referenced by ODocumentFileView::reread(), and ODocumentFileView::widget().

virtual QString OFileViewInterface::directory  )  const [pure virtual]
 

Implemented in OFileViewFileSystem, and ODocumentFileView.

virtual int OFileViewInterface::fileCount  )  const [pure virtual]
 

Implemented in OFileViewFileSystem, and ODocumentFileView.

void OFileViewInterface::fileSelected const DocLnk  )  [protected]
 

Definition at line 68 of file ofileselector.cpp.

References selector().

void OFileViewInterface::fileSelected const QString  )  [protected]
 

Definition at line 65 of file ofileselector.cpp.

References selector().

Referenced by ODocumentFileView::widget().

MimeTypes OFileViewInterface::mimeTypes  )  const [protected]
 

Definition at line 47 of file ofileselector.cpp.

References selector().

QString OFileViewInterface::name  )  const
 

Definition at line 29 of file ofileselector.cpp.

References m_name.

void OFileViewInterface::ok  )  [protected]
 

Definition at line 56 of file ofileselector.cpp.

References selector().

virtual void OFileViewInterface::reread  )  [pure virtual]
 

Implemented in OFileViewFileSystem, and ODocumentFileView.

Referenced by OFileSelector::slotViewChange().

DocLnk OFileViewInterface::selectedDocument  )  const [virtual]
 

Reimplemented in ODocumentFileView.

Definition at line 38 of file ofileselector.cpp.

References selectedName().

virtual QString OFileViewInterface::selectedName  )  const [pure virtual]
 

Implemented in OFileViewFileSystem, and ODocumentFileView.

Referenced by selectedDocument().

virtual QString OFileViewInterface::selectedPath  )  const [pure virtual]
 

Implemented in OFileViewFileSystem, and ODocumentFileView.

OFileSelector * OFileViewInterface::selector  )  const [protected]
 

Definition at line 35 of file ofileselector.cpp.

References m_selector.

Referenced by cancel(), closeMe(), currentFileName(), currentMimeType(), fileSelected(), mimeTypes(), ok(), setCurrentFileName(), showClose(), showNew(), startDirectory(), OFileViewFileSystem::widget(), and ODocumentFileView::widget().

void OFileViewInterface::setCurrentFileName const QString  )  [protected]
 

Definition at line 71 of file ofileselector.cpp.

References selector().

void OFileViewInterface::setName const QString  )  [protected]
 

Definition at line 32 of file ofileselector.cpp.

References m_name.

Referenced by ODocumentFileView::ODocumentFileView().

bool OFileViewInterface::showClose  )  const [protected]
 

Definition at line 44 of file ofileselector.cpp.

References selector().

Referenced by ODocumentFileView::reread(), and ODocumentFileView::widget().

bool OFileViewInterface::showNew  )  const [protected]
 

Definition at line 41 of file ofileselector.cpp.

References selector().

Referenced by ODocumentFileView::reread(), and ODocumentFileView::widget().

QString OFileViewInterface::startDirectory  )  const [protected]
 

Definition at line 77 of file ofileselector.cpp.

References selector().

Referenced by OFileViewFileSystem::widget().

virtual QWidget* OFileViewInterface::widget QWidget *  parent  )  [pure virtual]
 

Implemented in OFileViewFileSystem, and ODocumentFileView.

Referenced by OFileSelector::slotViewChange().


Member Data Documentation

QString OFileViewInterface::m_name [private]
 

Definition at line 61 of file ofileselector_p.h.

Referenced by name(), and setName().

OFileSelector* OFileViewInterface::m_selector [private]
 

Reimplemented in ODocumentFileView.

Definition at line 62 of file ofileselector_p.h.

Referenced by selector().


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