summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2003-05-26 13:08:35 (UTC)
committer llornkcor <llornkcor>2003-05-26 13:08:35 (UTC)
commitcf116ca13c0f1b67d9ead91786d247e996ca2dea (patch) (unidiff)
tree52379f45cbc607eb469e8937af956b8c5d6f9bf4
parent60dae558c1b3df55ff08614fa170212cd9cd679d (diff)
downloadopie-cf116ca13c0f1b67d9ead91786d247e996ca2dea.zip
opie-cf116ca13c0f1b67d9ead91786d247e996ca2dea.tar.gz
opie-cf116ca13c0f1b67d9ead91786d247e996ca2dea.tar.bz2
fix compile
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.cpp
index e3d378b..d740b6f 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.cpp
+++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerconfig.cpp
@@ -1,54 +1,56 @@
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>
20 21
21#include <qapplication.h> 22#include <qapplication.h>
22 23
24#include <qlayout.h>
23#include <qspinbox.h> 25#include <qspinbox.h>
24#include <qcheckbox.h> 26#include <qcheckbox.h>
25#include <qlineedit.h> 27#include <qlineedit.h>
26#include <qvariant.h> 28#include <qvariant.h>
27#include <qpushbutton.h> 29#include <qpushbutton.h>
28#include <qwhatsthis.h> 30#include <qwhatsthis.h>
29#include <qlabel.h> 31#include <qlabel.h>
30#include <qstringlist.h> 32#include <qstringlist.h>
31#include <qmainwindow.h> 33#include <qmainwindow.h>
32 34
33#include <stdlib.h> 35#include <stdlib.h>
34 36
35StocktickerPluginConfig::StocktickerPluginConfig( QWidget *parent, const char* name) 37StocktickerPluginConfig::StocktickerPluginConfig( QWidget *parent, const char* name)
36 : TodayConfigWidget(parent, name ) { 38 : TodayConfigWidget(parent, name ) {
37 39
38 QGridLayout *layout = new QGridLayout( this ); 40 QGridLayout *layout = new QGridLayout( this );
39 layout->setSpacing(2); 41 layout->setSpacing(2);
40 layout->setMargin( 2); 42 layout->setMargin( 2);
41 43
42 LineEdit1 = new QLineEdit( this, "LineEdit1" ); 44 LineEdit1 = new QLineEdit( this, "LineEdit1" );
43 LineEdit1->setFocus(); 45 LineEdit1->setFocus();
44// QWhatsThis::add( LineEdit1, tr("Enter the stock symbols you want to be shown here.")); 46// QWhatsThis::add( LineEdit1, tr("Enter the stock symbols you want to be shown here."));
45 47
46 layout->addMultiCellWidget( LineEdit1, 0, 0, 0, 4); 48 layout->addMultiCellWidget( LineEdit1, 0, 0, 0, 4);
47 49
48 Config cfg( "stockticker"); 50 Config cfg( "stockticker");
49 cfg.setGroup( "Symbols" ); 51 cfg.setGroup( "Symbols" );
50 QString symbollist; 52 QString symbollist;
51 symbollist = cfg.readEntry("Symbols", ""); 53 symbollist = cfg.readEntry("Symbols", "");
52 LineEdit1->setText(symbollist); 54 LineEdit1->setText(symbollist);
53 55
54 QLabel *label; 56 QLabel *label;