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

osplitter_mail.h

Go to the documentation of this file.
00001 /*
00002  * You may use, modify and distribute this code without any limitation
00003  */
00004 
00005 /*
00006  * Header file for a more complete email client like
00007  * layout
00008  */
00009 
00010 #ifndef OPIE_SPLITTER_MAIL_EXAMPLE_H
00011 #define OPIE_SPLITTER_MAIL_EXAMPLE_H
00012 
00013 #include <qwidget.h>
00014 #include <qlist.h>
00015 #include <qlistview.h>
00016 
00017 #include <opie2/osplitter.h>
00018 
00019 
00020 class Folder;
00021 class QLabel;
00022 
00023 class ListViews : public QWidget {
00024     Q_OBJECT
00025 public:
00026     static QString appName() { return QString::fromLatin1("osplitter-mail"); }
00027     ListViews( QWidget* parent, const char * name, WFlags fl );
00028     ~ListViews();
00029 
00030     bool eventFilter( QObject* , QEvent* );
00031 private:
00032     void initFolders();
00033     void initFolder( Folder *folder, unsigned int &count );
00034 
00035     QListView *m_messages, *m_overview;
00036     QLabel *m_message, *m_attach;
00037     QList<QListView> m_folders; // used in tab mode
00038     QList<Folder> m_lstFolders;
00039     bool m_mode : 1; // bitfield
00040     Opie::Ui::OSplitter *m_splitter;
00041     Opie::Ui::OSplitter *splitti;
00042     QListView *folder1;
00043 #if 0
00044 //private slots:
00045 //    void slotFolderChanged( QListViewItem* );
00046 //    void slotMessageChanged();
00047 //    void slotSizeChange( bool, const QSize& );
00048 #endif
00049 };
00050 
00051 #endif

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