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

stocktickerpluginwidget.h

Go to the documentation of this file.
00001 /*
00002  * stocktickerpluginwidget.h
00003  *
00004  * copyright   : (c) 2002 by L.J. Potter
00005  * email       : lornkcor@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 
00018 #ifndef STOCKTICKERL_PLUGIN_WIDGET_H
00019 #define STOCKTICKERL_PLUGIN_WIDGET_H
00020 
00021 #include <qsocket.h>
00022 #include <qstring.h>
00023 #include <qwidget.h>
00024 #include <qlineedit.h>
00025 
00026 #include <opie2/oclickablelabel.h>
00027 #include <opie2/oticker.h>
00028 
00029 #include <sys/types.h>
00030 #include <sys/uio.h>
00031 #include <unistd.h>
00032 #include <stdio.h>
00033 #include <stdlib.h>
00034 #include <string.h>
00035 
00036 class QTimer;
00037 
00038 class StockTickerPluginWidget : public QWidget {
00039 
00040     Q_OBJECT
00041 
00042 public:
00043     StockTickerPluginWidget( QWidget *parent,  const char *name );
00044     ~StockTickerPluginWidget();
00045 
00046 protected slots:
00047     void doStocks();
00048     void isConnected();
00049     void socketError(int);
00050     void checkConnection();
00051 private:
00052     int updateSpeed;
00053     QString symbollist;
00054     bool wasError;
00055     QSocket *Sock;
00056     void timerEvent( QTimerEvent * );
00057     void init();
00058 //    void DefProxy(void);
00059     int timerDelay;
00060 };
00061 
00062 #endif

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