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

fortunepluginwidget.h

Go to the documentation of this file.
00001 /*
00002  * fortunepluginwidget.h
00003  *
00004  * copyright   : (c) 2002 by Chris Larson
00005  * email       : kergoth@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 FORTUNE_PLUGIN_WIDGET_H
00018 #define FORTUNE_PLUGIN_WIDGET_H
00019 
00020 #include <opie2/oprocess.h>
00021 #include <opie2/oticker.h>
00022 
00023 #include <qstring.h>
00024 #include <qwidget.h>
00025 
00026 class FortunePluginWidget : public QWidget
00027 {
00028 
00029         Q_OBJECT
00030 
00031 public:
00032         FortunePluginWidget( QWidget *parent,  const char *name );
00033         ~FortunePluginWidget();
00034 
00035 private:
00036         Opie::Ui::OTicker *fortune;
00037         Opie::Core::OProcess *fortuneProcess;
00038 
00039         void getFortune();
00040 
00041 private slots:
00042         void slotStdOut( Opie::Core::OProcess*, char*, int );
00043 };
00044 
00045 #endif

Generated on Sat Nov 5 16:18:00 2005 for OPIE by  doxygen 1.4.2