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

doc_lister.h

Go to the documentation of this file.
00001 /*
00002  * GPLv2 zecke@handhelds.org
00003  */
00004 
00005 #ifndef DOC_LISTER_INTERFACE_LISTER_H
00006 #define DOC_LISTER_INTERFACE_LISTER_H
00007 
00008 #include <iface/dirlister.h>
00009 
00010 #include <qpe/applnk.h>
00011 
00012 #include <qstring.h>
00013 #include <qmap.h>
00014 
00015 class Config;
00016 class AppLnk;
00017 class QCopChannel;
00018 
00019 class Doc_DirLister : public PDirLister {
00020     Q_OBJECT
00021 public:
00022     Doc_DirLister();
00023     virtual ~Doc_DirLister();
00024 
00025     QString defaultPath()const;
00026     QString setStartPath( const QString& );
00027     QString currentPath()const;
00028     QStringList folders()const;
00029     QStringList files()const;
00030 
00031     void deleteImage( const QString& );
00032     void thumbNail( const QString&, int, int );
00033     QImage image( const QString&, Factor, int );
00034     void imageInfo( const QString& );
00035     void fullImageInfo( const QString& );
00036     virtual QString nameToFname(const QString&name)const;
00037     QString dirUp( const QString& )const;
00038     QWidget* widget(QWidget*parent);
00039 
00040 protected:
00041     int m_catFilter;
00042     bool matchCat(const AppLnk* app)const;
00043     bool m_docreads;
00044     DocLnkSet m_ds;
00045     QCopChannel *syschannel;
00046 
00047 protected slots:
00048     virtual void slotFullInfo(const QString&, const QString&);
00049     virtual void slotThumbInfo(const QString&, const QString&);
00050     virtual void slotThumbNail(const QString&, const QPixmap&);
00051     virtual void showCategory(int);
00052     void systemMsg(const QCString &, const QByteArray &);
00053 };
00054 
00055 #endif

Generated on Sat Nov 5 16:17:30 2005 for OPIE by  doxygen 1.4.2