author | llornkcor <llornkcor> | 2002-11-05 03:08:57 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-05 03:08:57 (UTC) |
commit | 7baa63828530612f972eb9a157abafa794b3b63a (patch) (side-by-side diff) | |
tree | 89903e7d6652ab589e22c4f18670f1571e7d96bd | |
parent | 400ab91d83abc1247de58351ceed7d698bd61623 (diff) | |
download | opie-7baa63828530612f972eb9a157abafa794b3b63a.zip opie-7baa63828530612f972eb9a157abafa794b3b63a.tar.gz opie-7baa63828530612f972eb9a157abafa794b3b63a.tar.bz2 |
changed icon
4 files changed, 6 insertions, 6 deletions
diff --git a/noncore/todayplugins/stockticker/opie-today-stocktickerplugin.control b/noncore/todayplugins/stockticker/opie-today-stocktickerplugin.control index ddfe9b0..128b7cd 100644 --- a/noncore/todayplugins/stockticker/opie-today-stocktickerplugin.control +++ b/noncore/todayplugins/stockticker/opie-today-stocktickerplugin.control @@ -1,8 +1,8 @@ -Files: plugins/today/libtodaystocktickerplugin.so* bin/stockticker +Files: plugins/today/libtodaystocktickerplugin.so* bin/stockticker pics/stockticker/stockticker.png Priority: optional Section: opie/applications Maintainer: ljp <llornkcor@handhelds.org> Architecture: arm Version: $QPE_VERSION-$SUB_VERSION Depends: qt-embedded (>=$QTE_VERSION), opie-today Description: stockticker plugin for today diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp index 2eb1697..628431c 100644 --- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp @@ -29,25 +29,25 @@ QString StockTickerPlugin::pluginName() const { return QObject::tr( "StockTicker plugin" ); } double StockTickerPlugin::versionNumber() const { return 0.6; } QString StockTickerPlugin::pixmapNameWidget() const { - return "pass"; + return "stockticker/stockticker"; } QWidget* StockTickerPlugin::widget( QWidget * wid ) { return new StockTickerPluginWidget( wid, "StockTicker " ); } QString StockTickerPlugin::pixmapNameConfig() const { - return 0l; + return "stockticker/stockticker"; } TodayConfigWidget* StockTickerPlugin::configWidget( QWidget* wid ) { return new StocktickerPluginConfig( wid , "Stockticker" ); } QString StockTickerPlugin::appName() const { return "stockticker"; diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp index 572a720..1d53344 100644 --- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp @@ -247,17 +247,17 @@ void StockTickerPluginWidget::doStocks() { if (!symbollist.isEmpty()) { pthread_t thread1; pthread_create(&thread1,NULL, (void * (*)(void *))getStocks, &symbollist); } // pthread_join(thread1,NULL); // getStocks( symbollist.latin1() ); } -void StockTickerPluginWidget::DefProxy(void) { +//void StockTickerPluginWidget::DefProxy(void) { // char *proxy; // libstocks_return_code error; // /* Proxy support */ // /* Checks for "http_proxy" environment variable */ // proxy = getenv("http_proxy"); // if(proxy) { // /* printf("proxy set\n"); */ @@ -266,17 +266,17 @@ void StockTickerPluginWidget::DefProxy(void) { // // printf("Proxy error (%d)\n", error); // QString tempString; // tempString.sprintf("Proxy error (%d)\n", error); // output = tempString; // return; // // exit(1); // } // } -} +//} void StockTickerPluginWidget::timerEvent( QTimerEvent *e ) { killTimer(e->timerId()); checkConnection(); } void StockTickerPluginWidget::checkConnection() { // qDebug("checking connection"); diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h index c8de806..970a561 100644 --- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h @@ -49,13 +49,13 @@ protected slots: void isConnected(); void socketError(int); void checkConnection(); private: bool wasError; QSocket *Sock; void timerEvent( QTimerEvent * ); void init(); - void DefProxy(void); +// void DefProxy(void); int timerDelay; }; #endif |