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

mailpluginwidget.h

Go to the documentation of this file.
00001 /*
00002  * mailpluginwidget.h
00003  *
00004  * copyright   : (c) 2002,2003,2004 by Maximilian Reiß
00005  * email       : harlekin@handhelds.org
00006  *
00007  */
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 #ifndef MAIL_PLUGIN_WIDGET_H
00018 #define MAIL_PLUGIN_WIDGET_H
00019 
00020 #include <qlayout.h>
00021 
00022 #include <opie2/oclickablelabel.h>
00023 
00024 
00025 class MailPluginWidget : public QWidget {
00026 
00027     Q_OBJECT
00028 
00029 public:
00030     MailPluginWidget( QWidget *parent,  const char *name );
00031     ~MailPluginWidget();
00032 
00033     void refresh();
00034 
00035 protected slots:
00036     void startMail();
00037 
00038 private:
00039     Opie::Ui::OClickableLabel* m_mailLabel;
00040     QHBoxLayout* m_layout;
00041     void readConfig();
00042     void getInfo();
00043 
00044     int m_newMails;
00045     int m_outgoing;
00046 
00047 private slots:
00048     void channelReceived(const QCString &msg, const QByteArray & data);
00049 };
00050 
00051 #endif

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