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

dirview.h File Reference

#include <qmap.h>
#include <qpe/config.h>

Include dependency graph for dirview.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PHUNK_VIEW_INTERFACE(NAME, IMPL)

Typedefs

typedef PDirView *(* phunkViewCreateFunc )(const Config &)
typedef QMap< QString, phunkViewCreateFuncViewMap

Functions

ViewMapviewMap ()
PDirViewcurrentView ()
void setCurrentView (PDirView *)


Define Documentation

#define PHUNK_VIEW_INTERFACE NAME,
IMPL   ) 
 

Value:

static PDirView *create_ ## IMPL( const Config& cfg ) { \
        return new IMPL( cfg ); \
    }                                          \
    static ViewMap::Iterator dummy_ ## IMPL = viewMap()->insert( NAME, create_ ## IMPL );

Definition at line 34 of file dirview.h.


Typedef Documentation

typedef PDirView*(* phunkViewCreateFunc)(const Config &)
 

Definition at line 25 of file dirview.h.

typedef QMap<QString,phunkViewCreateFunc> ViewMap
 

Definition at line 26 of file dirview.h.


Function Documentation

PDirView* currentView  ) 
 

Definition at line 18 of file viewmap.cpp.

References _dirView.

Referenced by PImageCache::cachedImage(), PIconView::slotChangeDir(), PIconView::slotDirUp(), PIconView::slotImageInfo(), PIconView::slotShowImage(), PIconView::slotTrash(), and PIconView::slotViewChanged().

void setCurrentView PDirView  ) 
 

Definition at line 23 of file viewmap.cpp.

References _dirView.

Referenced by PIconView::slotViewChanged().

ViewMap* viewMap  ) 
 

Definition at line 7 of file viewmap.cpp.

References _viewMap, and m_view.


Generated on Sat Nov 5 16:59:37 2005 for OPIE by  doxygen 1.4.2