summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
authordrw <drw>2004-03-02 16:38:47 (UTC)
committer drw <drw>2004-03-02 16:38:47 (UTC)
commit2c00fdd8f3b0c9680ee642a78dfd6587f32e8460 (patch) (side-by-side diff)
treeba73624ab704354f7c14db80dc4f2322920a7407 /noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
parentc4c97ef4ccf9d379ff59560c3ae3c32f95fc51d1 (diff)
downloadopie-2c00fdd8f3b0c9680ee642a78dfd6587f32e8460.zip
opie-2c00fdd8f3b0c9680ee642a78dfd6587f32e8460.tar.gz
opie-2c00fdd8f3b0c9680ee642a78dfd6587f32e8460.tar.bz2
Today stock ticker plugin: libopie -> libopie2
Diffstat (limited to 'noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
index fedc79c..51113ba 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
@@ -11,19 +11,19 @@
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
- #include <qlayout.h>
+ #include <opie2/oticker.h>
#include <qpe/config.h>
- #include <opie/oticker.h>
+ #include <qlayout.h>
- extern "C" {
+extern "C" {
#include "libstocks/stocks.h"
}
#include <pthread.h>
#include "stocktickerpluginwidget.h"
@@ -207,13 +207,13 @@ void getStocks(char *blah) {
output +=tempString;
// printf("----------------------------------------\n\n");
tempString.sprintf("||==++==|");
output +=tempString;
- /* Simple function which help to browse in the stocks list */
+ /* Simple function which help to browse in the stocks list */
stocks_tmp = next_stock(stocks_tmp);
}
stocktickerTicker->setText( output.latin1() );
/* frees stocks */
@@ -279,13 +279,13 @@ void getStocks(char *blah) {
// qDebug("checking connection");
// Sock = new QSocket( this );
// if( wasError)
// stocktickerTicker->setText("Checking connection");
- // if(Sock->state() == QSocket::Idle) {
+ // if(Sock->state() == QSocket::Idle) {
// Sock->connectToHost("finance.yahoo.com", 80);
// connect( Sock, SIGNAL( error(int) ), SLOT(socketError(int)) );
// connect( Sock, SIGNAL( hostFound() ), SLOT(isConnected()) );
// } else {
// qDebug("State is not Idle");
isConnected();