summaryrefslogtreecommitdiff
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
parent400ab91d83abc1247de58351ceed7d698bd61623 (diff)
downloadopie-7baa63828530612f972eb9a157abafa794b3b63a.zip
opie-7baa63828530612f972eb9a157abafa794b3b63a.tar.gz
opie-7baa63828530612f972eb9a157abafa794b3b63a.tar.bz2
changed icon
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/opie-today-stocktickerplugin.control2
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp4
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp4
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.h2
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
@@ -25,33 +25,33 @@ StockTickerPlugin::StockTickerPlugin() {
StockTickerPlugin::~StockTickerPlugin() {
}
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";
}
bool StockTickerPlugin::excludeFromRefresh() const {
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");
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
@@ -45,17 +45,17 @@ public:
~StockTickerPluginWidget();
protected slots:
void doStocks();
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