author | llornkcor <llornkcor> | 2003-05-26 03:43:09 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-05-26 03:43:09 (UTC) |
commit | 4a9831b570a60075650863b571b0875e96ca8ad6 (patch) (unidiff) | |
tree | c4c76096f954067301609d1a89d00276d418ea49 | |
parent | 830bab619ea396c018ccd29b20ce81cb47e113e1 (diff) | |
download | opie-4a9831b570a60075650863b571b0875e96ca8ad6.zip opie-4a9831b570a60075650863b571b0875e96ca8ad6.tar.gz opie-4a9831b570a60075650863b571b0875e96ca8ad6.tar.bz2 |
remove extra includes
4 files changed, 0 insertions, 38 deletions
diff --git a/noncore/todayplugins/stockticker/stockticker/helpwindow.cpp b/noncore/todayplugins/stockticker/stockticker/helpwindow.cpp index 33dcac0..23e78f2 100644 --- a/noncore/todayplugins/stockticker/stockticker/helpwindow.cpp +++ b/noncore/todayplugins/stockticker/stockticker/helpwindow.cpp | |||
@@ -1,84 +1,65 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** $Id$ | 2 | ** $Id$ |
3 | ** | 3 | ** |
4 | ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. | 4 | ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. |
5 | ** | 5 | ** |
6 | ** This file is part of an example program for Qt. This example | 6 | ** This file is part of an example program for Qt. This example |
7 | ** program may be used, distributed and modified without limitation. | 7 | ** program may be used, distributed and modified without limitation. |
8 | ** | 8 | ** |
9 | *****************************************************************************/ | 9 | *****************************************************************************/ |
10 | 10 | ||
11 | #include "helpwindow.h" | 11 | #include "helpwindow.h" |
12 | #include <qstatusbar.h> | 12 | #include <qstatusbar.h> |
13 | #include <qstringlist.h> | ||
14 | 13 | ||
15 | #include <qpixmap.h> | ||
16 | #include <qpopupmenu.h> | ||
17 | #include <qmenubar.h> | 14 | #include <qmenubar.h> |
18 | #include <qtoolbar.h> | 15 | #include <qtoolbar.h> |
19 | #include <qtoolbutton.h> | 16 | #include <qtoolbutton.h> |
20 | #include <qiconset.h> | ||
21 | #include <qfile.h> | ||
22 | #include <qtextstream.h> | ||
23 | #include <qstylesheet.h> | ||
24 | #include <qmessagebox.h> | ||
25 | #include <qfiledialog.h> | ||
26 | #include <qapplication.h> | ||
27 | #include <qcombobox.h> | 17 | #include <qcombobox.h> |
28 | #include <qevent.h> | ||
29 | #include <qlineedit.h> | ||
30 | #include <qobjectlist.h> | ||
31 | #include <qfileinfo.h> | ||
32 | #include <qfile.h> | ||
33 | #include <qdatastream.h> | ||
34 | #include <qprinter.h> | ||
35 | #include <qsimplerichtext.h> | ||
36 | #include <qpaintdevicemetrics.h> | ||
37 | 18 | ||
38 | #include <ctype.h> | 19 | #include <ctype.h> |
39 | 20 | ||
40 | HelpWindow::HelpWindow( const QString& home_, const QString& _path, QWidget* parent, const char *name ) | 21 | HelpWindow::HelpWindow( const QString& home_, const QString& _path, QWidget* parent, const char *name ) |
41 | : QMainWindow( parent, name, WDestructiveClose ), pathCombo( 0 ), selectedURL() | 22 | : QMainWindow( parent, name, WDestructiveClose ), pathCombo( 0 ), selectedURL() |
42 | { | 23 | { |
43 | readHistory(); | 24 | readHistory(); |
44 | readBookmarks(); | 25 | readBookmarks(); |
45 | 26 | ||
46 | browser = new QTextBrowser( this ); | 27 | browser = new QTextBrowser( this ); |
47 | QStringList Strlist; | 28 | QStringList Strlist; |
48 | Strlist.append( home_); | 29 | Strlist.append( home_); |
49 | 30 | ||
50 | browser->mimeSourceFactory()->setFilePath( Strlist ); | 31 | browser->mimeSourceFactory()->setFilePath( Strlist ); |
51 | 32 | ||
52 | browser->setFrameStyle( QFrame::Panel | QFrame::Sunken ); | 33 | browser->setFrameStyle( QFrame::Panel | QFrame::Sunken ); |
53 | 34 | ||
54 | connect( browser, SIGNAL( textChanged() ), | 35 | connect( browser, SIGNAL( textChanged() ), |
55 | 36 | ||
56 | this, SLOT( textChanged() ) ); | 37 | this, SLOT( textChanged() ) ); |
57 | 38 | ||
58 | setCentralWidget( browser ); | 39 | setCentralWidget( browser ); |
59 | 40 | ||
60 | if ( !home_.isEmpty() ) | 41 | if ( !home_.isEmpty() ) |
61 | 42 | ||
62 | //////////////////////////////// | 43 | //////////////////////////////// |
63 | browser->setSource( home_ ); | 44 | browser->setSource( home_ ); |
64 | 45 | ||
65 | //////////////////////////////// | 46 | //////////////////////////////// |
66 | connect( browser, SIGNAL( highlighted( const QString&) ), | 47 | connect( browser, SIGNAL( highlighted( const QString&) ), |
67 | statusBar(), SLOT( message( const QString&)) ); | 48 | statusBar(), SLOT( message( const QString&)) ); |
68 | 49 | ||
69 | setGeometry( 0,0,236,280); | 50 | setGeometry( 0,0,236,280); |
70 | 51 | ||
71 | QPopupMenu* file = new QPopupMenu( this ); | 52 | QPopupMenu* file = new QPopupMenu( this ); |
72 | // file->insertItem( tr("&New Window"), this, SLOT( newWindow() ), ALT | Key_N ); | 53 | // file->insertItem( tr("&New Window"), this, SLOT( newWindow() ), ALT | Key_N ); |
73 | file->insertItem( tr("&Open File"), this, SLOT( openFile() ), ALT | Key_O ); | 54 | file->insertItem( tr("&Open File"), this, SLOT( openFile() ), ALT | Key_O ); |
74 | // file->insertItem( tr("&Print"), this, SLOT( print() ), ALT | Key_P ); | 55 | // file->insertItem( tr("&Print"), this, SLOT( print() ), ALT | Key_P ); |
75 | file->insertSeparator(); | 56 | file->insertSeparator(); |
76 | file->insertItem( tr("&Close"), this, SLOT( close() ), ALT | Key_Q ); | 57 | file->insertItem( tr("&Close"), this, SLOT( close() ), ALT | Key_Q ); |
77 | // file->insertItem( tr("E&xit"), qApp, SLOT( closeAllWindows() ), ALT | Key_X ); | 58 | // file->insertItem( tr("E&xit"), qApp, SLOT( closeAllWindows() ), ALT | Key_X ); |
78 | 59 | ||
79 | // The same three icons are used twice each. | 60 | // The same three icons are used twice each. |
80 | ////F FIXME | 61 | ////F FIXME |
81 | QString pixs=(QDir::homeDirPath ()) +"/Applications/gutenbrowser/pix/"; | 62 | QString pixs=(QDir::homeDirPath ()) +"/Applications/gutenbrowser/pix/"; |
82 | QIconSet icon_back( QPixmap(pixs+"back.png") ); | 63 | QIconSet icon_back( QPixmap(pixs+"back.png") ); |
83 | QIconSet icon_forward( QPixmap(pixs+"forward.png") ); | 64 | QIconSet icon_forward( QPixmap(pixs+"forward.png") ); |
84 | QIconSet icon_home( QPixmap(pixs+"home.png") ); | 65 | QIconSet icon_home( QPixmap(pixs+"home.png") ); |
diff --git a/noncore/todayplugins/stockticker/stockticker/inputDialog.cpp b/noncore/todayplugins/stockticker/stockticker/inputDialog.cpp index 18021c2..42a3885 100644 --- a/noncore/todayplugins/stockticker/stockticker/inputDialog.cpp +++ b/noncore/todayplugins/stockticker/stockticker/inputDialog.cpp | |||
@@ -1,56 +1,54 @@ | |||
1 | #include "inputDialog.h" | 1 | #include "inputDialog.h" |
2 | 2 | ||
3 | #include <qapplication.h> | 3 | #include <qapplication.h> |
4 | 4 | ||
5 | #include <qcheckbox.h> | 5 | #include <qcheckbox.h> |
6 | #include <qlayout.h> | ||
7 | #include <qlineedit.h> | 6 | #include <qlineedit.h> |
8 | #include <qlayout.h> | ||
9 | #include <qvariant.h> | 7 | #include <qvariant.h> |
10 | #include <qpushbutton.h> | 8 | #include <qpushbutton.h> |
11 | #include <qwhatsthis.h> | 9 | #include <qwhatsthis.h> |
12 | #include <qlabel.h> | 10 | #include <qlabel.h> |
13 | #include <qpe/config.h> | 11 | #include <qpe/config.h> |
14 | #include <qstringlist.h> | 12 | #include <qstringlist.h> |
15 | #include <qmainwindow.h> | 13 | #include <qmainwindow.h> |
16 | #include "helpwindow.h" | 14 | #include "helpwindow.h" |
17 | 15 | ||
18 | #include <opie/oprocess.h> | 16 | #include <opie/oprocess.h> |
19 | 17 | ||
20 | #include <stdlib.h> | 18 | #include <stdlib.h> |
21 | // #include <sys/stat.h> | 19 | // #include <sys/stat.h> |
22 | // #include <unistd.h> | 20 | // #include <unistd.h> |
23 | 21 | ||
24 | InputDialog::InputDialog( ) | 22 | InputDialog::InputDialog( ) |
25 | : QMainWindow( 0x0, 0x0, WStyle_ContextHelp ) { | 23 | : QMainWindow( 0x0, 0x0, WStyle_ContextHelp ) { |
26 | setCaption( tr("Symbol Lookup")); | 24 | setCaption( tr("Symbol Lookup")); |
27 | 25 | ||
28 | QGridLayout *layout = new QGridLayout( this ); | 26 | QGridLayout *layout = new QGridLayout( this ); |
29 | layout->setSpacing(6); | 27 | layout->setSpacing(6); |
30 | layout->setMargin( 2); | 28 | layout->setMargin( 2); |
31 | 29 | ||
32 | LineEdit1 = new QLineEdit( this, "LineEdit1" ); | 30 | LineEdit1 = new QLineEdit( this, "LineEdit1" ); |
33 | LineEdit1->setFocus(); | 31 | LineEdit1->setFocus(); |
34 | 32 | ||
35 | layout->addMultiCellWidget( LineEdit1, 0, 0, 0, 3); | 33 | layout->addMultiCellWidget( LineEdit1, 0, 0, 0, 3); |
36 | 34 | ||
37 | QLabel *label; | 35 | QLabel *label; |
38 | label = new QLabel(this); | 36 | label = new QLabel(this); |
39 | label->setText( tr("Enter something to lookup / search.")); | 37 | label->setText( tr("Enter something to lookup / search.")); |
40 | label->setMaximumHeight(60); | 38 | label->setMaximumHeight(60); |
41 | layout->addMultiCellWidget( label, 1, 1, 0, 3); | 39 | layout->addMultiCellWidget( label, 1, 1, 0, 3); |
42 | 40 | ||
43 | connect(LineEdit1,SIGNAL(returnPressed()),this,SLOT(doLookup())); | 41 | connect(LineEdit1,SIGNAL(returnPressed()),this,SLOT(doLookup())); |
44 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Expanding ); | 42 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Expanding ); |
45 | layout->addItem( spacer, 8, 0 ); | 43 | layout->addItem( spacer, 8, 0 ); |
46 | 44 | ||
47 | } | 45 | } |
48 | 46 | ||
49 | InputDialog::~InputDialog() { | 47 | InputDialog::~InputDialog() { |
50 | } | 48 | } |
51 | 49 | ||
52 | void InputDialog::doLookup() { | 50 | void InputDialog::doLookup() { |
53 | // http://finance.yahoo.com/l?m=&s=siemens&t= | 51 | // http://finance.yahoo.com/l?m=&s=siemens&t= |
54 | 52 | ||
55 | QString url = "\"http://finance.yahoo.com/l?m=&s="+LineEdit1->text()+"\""; | 53 | QString url = "\"http://finance.yahoo.com/l?m=&s="+LineEdit1->text()+"\""; |
56 | QString tempHtml = "/tmp/stockticker.html"; | 54 | QString tempHtml = "/tmp/stockticker.html"; |
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.cpp index fdabd5c..e3d378b 100644 --- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.cpp +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.cpp | |||
@@ -1,81 +1,77 @@ | |||
1 | /* | 1 | /* |
2 | * stocktickeRconfig.cpp | 2 | * stocktickeRconfig.cpp |
3 | * | 3 | * |
4 | * copyright : (c) 2002 by ljp | 4 | * copyright : (c) 2002 by ljp |
5 | * email : llornkcor@handhelds.org | 5 | * email : llornkcor@handhelds.org |
6 | * | 6 | * |
7 | */ | 7 | */ |
8 | /*************************************************************************** | 8 | /*************************************************************************** |
9 | * * | 9 | * * |
10 | * This program is free software; you can redistribute it and/or modify * | 10 | * This program is free software; you can redistribute it and/or modify * |
11 | * it under the terms of the GNU General Public License as published by * | 11 | * it under the terms of the GNU General Public License as published by * |
12 | * the Free Software Foundation; either version 2 of the License, or * | 12 | * the Free Software Foundation; either version 2 of the License, or * |
13 | * (at your option) any later version. * | 13 | * (at your option) any later version. * |
14 | * * | 14 | * * |
15 | ***************************************************************************/ | 15 | ***************************************************************************/ |
16 | 16 | ||
17 | #include "stocktickerconfig.h" | 17 | #include "stocktickerconfig.h" |
18 | #include <opie/todayconfigwidget.h> | 18 | #include <opie/todayconfigwidget.h> |
19 | 19 | ||
20 | #include <qpe/config.h> | ||
21 | 20 | ||
22 | #include <qapplication.h> | 21 | #include <qapplication.h> |
23 | 22 | ||
24 | #include <qspinbox.h> | 23 | #include <qspinbox.h> |
25 | #include <qcheckbox.h> | 24 | #include <qcheckbox.h> |
26 | #include <qlayout.h> | ||
27 | #include <qlineedit.h> | 25 | #include <qlineedit.h> |
28 | #include <qlayout.h> | ||
29 | #include <qvariant.h> | 26 | #include <qvariant.h> |
30 | #include <qpushbutton.h> | 27 | #include <qpushbutton.h> |
31 | #include <qwhatsthis.h> | 28 | #include <qwhatsthis.h> |
32 | #include <qlabel.h> | 29 | #include <qlabel.h> |
33 | #include <qpe/config.h> | ||
34 | #include <qstringlist.h> | 30 | #include <qstringlist.h> |
35 | #include <qmainwindow.h> | 31 | #include <qmainwindow.h> |
36 | 32 | ||
37 | #include <stdlib.h> | 33 | #include <stdlib.h> |
38 | 34 | ||
39 | StocktickerPluginConfig::StocktickerPluginConfig( QWidget *parent, const char* name) | 35 | StocktickerPluginConfig::StocktickerPluginConfig( QWidget *parent, const char* name) |
40 | : TodayConfigWidget(parent, name ) { | 36 | : TodayConfigWidget(parent, name ) { |
41 | 37 | ||
42 | QGridLayout *layout = new QGridLayout( this ); | 38 | QGridLayout *layout = new QGridLayout( this ); |
43 | layout->setSpacing(2); | 39 | layout->setSpacing(2); |
44 | layout->setMargin( 2); | 40 | layout->setMargin( 2); |
45 | 41 | ||
46 | LineEdit1 = new QLineEdit( this, "LineEdit1" ); | 42 | LineEdit1 = new QLineEdit( this, "LineEdit1" ); |
47 | LineEdit1->setFocus(); | 43 | LineEdit1->setFocus(); |
48 | // QWhatsThis::add( LineEdit1, tr("Enter the stock symbols you want to be shown here.")); | 44 | // QWhatsThis::add( LineEdit1, tr("Enter the stock symbols you want to be shown here.")); |
49 | 45 | ||
50 | layout->addMultiCellWidget( LineEdit1, 0, 0, 0, 4); | 46 | layout->addMultiCellWidget( LineEdit1, 0, 0, 0, 4); |
51 | 47 | ||
52 | Config cfg( "stockticker"); | 48 | Config cfg( "stockticker"); |
53 | cfg.setGroup( "Symbols" ); | 49 | cfg.setGroup( "Symbols" ); |
54 | QString symbollist; | 50 | QString symbollist; |
55 | symbollist = cfg.readEntry("Symbols", ""); | 51 | symbollist = cfg.readEntry("Symbols", ""); |
56 | LineEdit1->setText(symbollist); | 52 | LineEdit1->setText(symbollist); |
57 | 53 | ||
58 | QLabel *label; | 54 | QLabel *label; |
59 | label = new QLabel(this); | 55 | label = new QLabel(this); |
60 | label->setText( tr("Enter stock symbols seperated\nby a space.")); | 56 | label->setText( tr("Enter stock symbols seperated\nby a space.")); |
61 | label->setMaximumHeight(60); | 57 | label->setMaximumHeight(60); |
62 | layout->addMultiCellWidget( label, 1, 1, 0, 4); | 58 | layout->addMultiCellWidget( label, 1, 1, 0, 4); |
63 | 59 | ||
64 | cfg.setGroup( "Fields" ); | 60 | cfg.setGroup( "Fields" ); |
65 | 61 | ||
66 | timeCheck= new QCheckBox ( "Time",this ); | 62 | timeCheck= new QCheckBox ( "Time",this ); |
67 | timeCheck->setChecked( cfg.readBoolEntry("timeCheck",1)); | 63 | timeCheck->setChecked( cfg.readBoolEntry("timeCheck",1)); |
68 | layout->addMultiCellWidget(timeCheck, 2, 2, 0, 0 ); | 64 | layout->addMultiCellWidget(timeCheck, 2, 2, 0, 0 ); |
69 | QWhatsThis::add( timeCheck, tr("Toggles Time of current price field")); | 65 | QWhatsThis::add( timeCheck, tr("Toggles Time of current price field")); |
70 | 66 | ||
71 | dateCheck= new QCheckBox ( "Date", this ); | 67 | dateCheck= new QCheckBox ( "Date", this ); |
72 | dateCheck->setChecked( cfg.readBoolEntry("dateCheck",1)); | 68 | dateCheck->setChecked( cfg.readBoolEntry("dateCheck",1)); |
73 | layout->addMultiCellWidget( dateCheck, 2, 2, 1, 1 ); | 69 | layout->addMultiCellWidget( dateCheck, 2, 2, 1, 1 ); |
74 | QWhatsThis::add(dateCheck, tr("Toggles date field")); | 70 | QWhatsThis::add(dateCheck, tr("Toggles date field")); |
75 | 71 | ||
76 | symbolCheck= new QCheckBox ( "Symbol", this ); | 72 | symbolCheck= new QCheckBox ( "Symbol", this ); |
77 | symbolCheck->setChecked( cfg.readBoolEntry("symbolCheck",1)); | 73 | symbolCheck->setChecked( cfg.readBoolEntry("symbolCheck",1)); |
78 | layout->addMultiCellWidget( symbolCheck, 2, 2, 2, 2 ); | 74 | layout->addMultiCellWidget( symbolCheck, 2, 2, 2, 2 ); |
79 | QWhatsThis::add(symbolCheck, tr("Toggles Symbol field")); | 75 | QWhatsThis::add(symbolCheck, tr("Toggles Symbol field")); |
80 | 76 | ||
81 | nameCheck= new QCheckBox ( "Name", this ); | 77 | nameCheck= new QCheckBox ( "Name", this ); |
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp index a740b58..c3ca52d 100644 --- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp | |||
@@ -1,80 +1,67 @@ | |||
1 | /* | 1 | /* |
2 | * stocktickerpluginwidget.cpp | 2 | * stocktickerpluginwidget.cpp |
3 | * | 3 | * |
4 | * copyright : (c) 2002 by L.J. Potter | 4 | * copyright : (c) 2002 by L.J. Potter |
5 | * email : llornkcor@handhelds.org | 5 | * email : llornkcor@handhelds.org |
6 | * | 6 | * |
7 | */ | 7 | */ |
8 | /*************************************************************************** | 8 | /*************************************************************************** |
9 | * * | 9 | * * |
10 | * This program is free software; you can redistribute it and/or modify * | 10 | * This program is free software; you can redistribute it and/or modify * |
11 | * it under the terms of the GNU General Public License as published by * | 11 | * it under the terms of the GNU General Public License as published by * |
12 | * the Free Software Foundation; either version 2 of the License, or * | 12 | * the Free Software Foundation; either version 2 of the License, or * |
13 | * (at your option) any later version. * | 13 | * (at your option) any later version. * |
14 | * * | 14 | * * |
15 | ***************************************************************************/ | 15 | ***************************************************************************/ |
16 | 16 | ||
17 | #include <qsocket.h> | ||
18 | #include <qvaluelist.h> | ||
19 | #include <qtl.h> | ||
20 | #include <qstring.h> | ||
21 | #include <qstringlist.h> | ||
22 | #include <qobject.h> | ||
23 | #include <qlayout.h> | 17 | #include <qlayout.h> |
24 | #include <qlineedit.h> | ||
25 | #include <qregexp.h> | ||
26 | #include <qtimer.h> | ||
27 | #include <qmessagebox.h> | ||
28 | 18 | ||
29 | #include <qpe/config.h> | 19 | #include <qpe/config.h> |
30 | #include <qpe/timestring.h> | ||
31 | #include <qpe/qcopenvelope_qws.h> | ||
32 | #include <qpe/network.h> | ||
33 | 20 | ||
34 | #include <opie/oticker.h> | 21 | #include <opie/oticker.h> |
35 | 22 | ||
36 | extern "C" { | 23 | extern "C" { |
37 | #include "libstocks/stocks.h" | 24 | #include "libstocks/stocks.h" |
38 | } | 25 | } |
39 | 26 | ||
40 | #include <pthread.h> | 27 | #include <pthread.h> |
41 | 28 | ||
42 | #include "stocktickerpluginwidget.h" | 29 | #include "stocktickerpluginwidget.h" |
43 | 30 | ||
44 | QString output; | 31 | QString output; |
45 | OTicker *stocktickerTicker; | 32 | OTicker *stocktickerTicker; |
46 | 33 | ||
47 | void getStocks(char *blah) { | 34 | void getStocks(char *blah) { |
48 | 35 | ||
49 | // stocktickerTicker->setText( "Downloading stock data."); | 36 | // stocktickerTicker->setText( "Downloading stock data."); |
50 | stock *stocks_quotes=NULL; | 37 | stock *stocks_quotes=NULL; |
51 | stock *stocks_tmp; | 38 | stock *stocks_tmp; |
52 | QCString stock_liste = blah; | 39 | QCString stock_liste = blah; |
53 | ::free ( blah ); | 40 | ::free ( blah ); |
54 | // char *stock_liste = (char *)blah->latin1(); | 41 | // char *stock_liste = (char *)blah->latin1(); |
55 | qDebug("%s", stock_liste.data() ); | 42 | qDebug("%s", stock_liste.data() ); |
56 | QString tempString; | 43 | QString tempString; |
57 | output = ""; | 44 | output = ""; |
58 | 45 | ||
59 | libstocks_return_code error; | 46 | libstocks_return_code error; |
60 | 47 | ||
61 | Config cfg( "stockticker"); | 48 | Config cfg( "stockticker"); |
62 | cfg.setGroup( "Fields" ); | 49 | cfg.setGroup( "Fields" ); |
63 | bool dotimeCheck, dodateCheck, dosymbolCheck, donameCheck; | 50 | bool dotimeCheck, dodateCheck, dosymbolCheck, donameCheck; |
64 | bool docurrentPriceCheck, dolastPriceCheck, doopenPriceCheck; | 51 | bool docurrentPriceCheck, dolastPriceCheck, doopenPriceCheck; |
65 | bool dominPriceCheck, domaxPriceCheck, dovariationCheck, dovolumeCheck; | 52 | bool dominPriceCheck, domaxPriceCheck, dovariationCheck, dovolumeCheck; |
66 | 53 | ||
67 | dotimeCheck=dodateCheck=dosymbolCheck=donameCheck= docurrentPriceCheck=dolastPriceCheck=doopenPriceCheck=dominPriceCheck=domaxPriceCheck=dovariationCheck=dovolumeCheck=false; | 54 | dotimeCheck=dodateCheck=dosymbolCheck=donameCheck= docurrentPriceCheck=dolastPriceCheck=doopenPriceCheck=dominPriceCheck=domaxPriceCheck=dovariationCheck=dovolumeCheck=false; |
68 | 55 | ||
69 | dotimeCheck=cfg.readBoolEntry("timeCheck",1); | 56 | dotimeCheck=cfg.readBoolEntry("timeCheck",1); |
70 | dodateCheck=cfg.readBoolEntry("dateCheck",1); | 57 | dodateCheck=cfg.readBoolEntry("dateCheck",1); |
71 | dosymbolCheck=cfg.readBoolEntry("symbolCheck",1); | 58 | dosymbolCheck=cfg.readBoolEntry("symbolCheck",1); |
72 | donameCheck=cfg.readBoolEntry("nameCheck",1); | 59 | donameCheck=cfg.readBoolEntry("nameCheck",1); |
73 | docurrentPriceCheck=cfg.readBoolEntry("currentPriceCheck",1); | 60 | docurrentPriceCheck=cfg.readBoolEntry("currentPriceCheck",1); |
74 | dolastPriceCheck=cfg.readBoolEntry("lastPriceCheck",1); | 61 | dolastPriceCheck=cfg.readBoolEntry("lastPriceCheck",1); |
75 | doopenPriceCheck=cfg.readBoolEntry("openPriceCheck",1); | 62 | doopenPriceCheck=cfg.readBoolEntry("openPriceCheck",1); |
76 | dominPriceCheck=cfg.readBoolEntry("minPriceCheck",1); | 63 | dominPriceCheck=cfg.readBoolEntry("minPriceCheck",1); |
77 | domaxPriceCheck=cfg.readBoolEntry("maxPriceCheck",1); | 64 | domaxPriceCheck=cfg.readBoolEntry("maxPriceCheck",1); |
78 | dovariationCheck=cfg.readBoolEntry("variationCheck",1); | 65 | dovariationCheck=cfg.readBoolEntry("variationCheck",1); |
79 | dovolumeCheck=cfg.readBoolEntry("volumeCheck",1); | 66 | dovolumeCheck=cfg.readBoolEntry("volumeCheck",1); |
80 | 67 | ||