From 53fa609d585216173c834cd1f22678a087394cde Mon Sep 17 00:00:00 2001 From: mickeyl Date: Thu, 15 Jan 2004 15:50:38 +0000 Subject: - add oapplicationfactory to opiecore - add big screen examples --- (limited to 'libopie2/examples/opieui/osplitter_example/osplitter_mail.h') diff --git a/libopie2/examples/opieui/osplitter_example/osplitter_mail.h b/libopie2/examples/opieui/osplitter_example/osplitter_mail.h new file mode 100644 index 0000000..b7e7efe --- a/dev/null +++ b/libopie2/examples/opieui/osplitter_example/osplitter_mail.h @@ -0,0 +1,49 @@ +/* + * You may use, modify and distribute this code without any limitation + */ + +/* + * Header file for a more complete email client like + * layout + */ + +#ifndef OPIE_SPLITTER_MAIL_EXAMPLE_H +#define OPIE_SPLITTER_MAIL_EXAMPLE_H + +#include +#include +#include + +class Folder; +class QLabel; + +class OSplitter; +class ListViews : public QWidget { + Q_OBJECT +public: + static QString appName() { return QString::fromLatin1("osplitter-mail"); } + ListViews( QWidget* parent, const char * name, WFlags fl ); + ~ListViews(); + + bool eventFilter( QObject* , QEvent* ); +private: + void initFolders(); + void initFolder( Folder *folder, unsigned int &count ); + + QListView *m_messages, *m_overview; + QLabel *m_message, *m_attach; + QList m_folders; // used in tab mode + QList m_lstFolders; + bool m_mode : 1; // bitfield + OSplitter *m_splitter; + OSplitter *splitti; + QListView *folder1; +#if 0 +//private slots: +// void slotFolderChanged( QListViewItem* ); +// void slotMessageChanged(); +// void slotSizeChange( bool, const QSize& ); +#endif +}; + +#endif -- cgit v0.9.0.2