summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
authorllornkcor <llornkcor>2002-11-05 03:08:57 (UTC)
committer llornkcor <llornkcor>2002-11-05 03:08:57 (UTC)
commit7baa63828530612f972eb9a157abafa794b3b63a (patch) (side-by-side diff)
tree89903e7d6652ab589e22c4f18670f1571e7d96bd /noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp
parent400ab91d83abc1247de58351ceed7d698bd61623 (diff)
downloadopie-7baa63828530612f972eb9a157abafa794b3b63a.zip
opie-7baa63828530612f972eb9a157abafa794b3b63a.tar.gz
opie-7baa63828530612f972eb9a157abafa794b3b63a.tar.bz2
changed icon
Diffstat (limited to 'noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp4
1 files changed, 2 insertions, 2 deletions
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
@@ -243,44 +243,44 @@ void StockTickerPluginWidget::doStocks() {
symbollist = cfg.readEntry("Symbols", "");
symbollist.replace(QRegExp(" "),"+");//seperated by +
// qDebug(symbollist);
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"); */
// error = set_proxy(proxy);
// if (error) {
// // 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");
// Sock = new QSocket( this );
// if( wasError)
// stocktickerTicker->setText("Checking connection");