summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2003-05-26 03:43:09 (UTC)
committer llornkcor <llornkcor>2003-05-26 03:43:09 (UTC)
commit4a9831b570a60075650863b571b0875e96ca8ad6 (patch) (unidiff)
treec4c76096f954067301609d1a89d00276d418ea49
parent830bab619ea396c018ccd29b20ce81cb47e113e1 (diff)
downloadopie-4a9831b570a60075650863b571b0875e96ca8ad6.zip
opie-4a9831b570a60075650863b571b0875e96ca8ad6.tar.gz
opie-4a9831b570a60075650863b571b0875e96ca8ad6.tar.bz2
remove extra includes
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stockticker/helpwindow.cpp19
-rw-r--r--noncore/todayplugins/stockticker/stockticker/inputDialog.cpp2
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.cpp4
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginwidget.cpp13
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,52 +1,33 @@
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
40HelpWindow::HelpWindow( const QString& home_, const QString& _path, QWidget* parent, const char *name ) 21HelpWindow::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 );
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,24 +1,22 @@
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
24InputDialog::InputDialog( ) 22InputDialog::InputDialog( )
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
@@ -4,46 +4,42 @@
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
39StocktickerPluginConfig::StocktickerPluginConfig( QWidget *parent, const char* name) 35StocktickerPluginConfig::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
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,48 +1,35 @@
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
36extern "C" { 23extern "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
44QString output; 31QString output;
45OTicker *stocktickerTicker; 32OTicker *stocktickerTicker;
46 33
47void getStocks(char *blah) { 34void getStocks(char *blah) {
48 35