author | llornkcor <llornkcor> | 2002-11-20 16:53:04 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-20 16:53:04 (UTC) |
commit | 95f1c2be3c6de39935f0b0b8ac19046c5ef29fb5 (patch) (unidiff) | |
tree | 4cc9020584b4c377f7bdf6210f40b6a18c451628 | |
parent | f028217d1bae612e6e88b34f640e4fe4dd020a5a (diff) | |
download | opie-95f1c2be3c6de39935f0b0b8ac19046c5ef29fb5.zip opie-95f1c2be3c6de39935f0b0b8ac19046c5ef29fb5.tar.gz opie-95f1c2be3c6de39935f0b0b8ac19046c5ef29fb5.tar.bz2 |
simpler char * to thread
-rw-r--r-- | noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp index 0d90d0f..5ddf03c 100644 --- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp | |||
@@ -46,3 +46,3 @@ OTicker *stocktickerTicker; | |||
46 | 46 | ||
47 | void getStocks( const QString *blah) { | 47 | void getStocks( const char *blah) { |
48 | 48 | ||
@@ -51,3 +51,5 @@ void getStocks( const QString *blah) { | |||
51 | stock *stocks_tmp; | 51 | stock *stocks_tmp; |
52 | qDebug("%s", blah->latin1()); | 52 | char *stock_liste = blah; |
53 | // char *stock_liste = (char *)blah->latin1(); | ||
54 | qDebug("%s", stock_liste ); | ||
53 | QString tempString; | 55 | QString tempString; |
@@ -98,3 +100,2 @@ void getStocks( const QString *blah) { | |||
98 | } | 100 | } |
99 | char *stock_liste = (char *)blah->latin1(); | ||
100 | // char *stock_liste = (char *)blah; | 101 | // char *stock_liste = (char *)blah; |
@@ -253,3 +254,4 @@ void StockTickerPluginWidget::doStocks() { | |||
253 | pthread_t thread1; | 254 | pthread_t thread1; |
254 | pthread_create(&thread1,NULL, (void * (*)(void *))getStocks, &symbollist); | 255 | char *blah = symbollist.latin1(); |
256 | pthread_create(&thread1,NULL, (void * (*)(void *))getStocks, blah); | ||
255 | } | 257 | } |