summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stockticker/helpwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/todayplugins/stockticker/stockticker/helpwindow.cpp b/noncore/todayplugins/stockticker/stockticker/helpwindow.cpp
index db662e8..410d642 100644
--- a/noncore/todayplugins/stockticker/stockticker/helpwindow.cpp
+++ b/noncore/todayplugins/stockticker/stockticker/helpwindow.cpp
@@ -2,32 +2,36 @@
2** 2**
3** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. 3** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
4** 4**
5** This file is part of an example program for Qt. This example 5** This file is part of an example program for Qt. This example
6** program may be used, distributed and modified without limitation. 6** program may be used, distributed and modified without limitation.
7** 7**
8*****************************************************************************/ 8*****************************************************************************/
9 9
10#include "helpwindow.h" 10#include "helpwindow.h"
11#include <qstatusbar.h> 11#include <qstatusbar.h>
12 12
13#include <qmenubar.h> 13#include <qmenubar.h>
14#include <qtoolbar.h> 14#include <qtoolbar.h>
15#include <qtoolbutton.h> 15#include <qtoolbutton.h>
16#include <qcombobox.h> 16#include <qcombobox.h>
17 17
18#ifndef QT_NO_FILEDIALOG
19#include <qfiledialog.h>
20#endif
21
18#include <ctype.h> 22#include <ctype.h>
19 23
20HelpWindow::HelpWindow( const QString& home_, const QString& _path, QWidget* parent, const char *name ) 24HelpWindow::HelpWindow( const QString& home_, const QString& _path, QWidget* parent, const char *name )
21 : QMainWindow( parent, name, WDestructiveClose ), pathCombo( 0 ), selectedURL() 25 : QMainWindow( parent, name, WDestructiveClose ), pathCombo( 0 ), selectedURL()
22{ 26{
23 readHistory(); 27 readHistory();
24 readBookmarks(); 28 readBookmarks();
25 29
26 browser = new QTextBrowser( this ); 30 browser = new QTextBrowser( this );
27 QStringList Strlist; 31 QStringList Strlist;
28 Strlist.append( home_); 32 Strlist.append( home_);
29 33
30 browser->mimeSourceFactory()->setFilePath( Strlist ); 34 browser->mimeSourceFactory()->setFilePath( Strlist );
31 35
32 browser->setFrameStyle( QFrame::Panel | QFrame::Sunken ); 36 browser->setFrameStyle( QFrame::Panel | QFrame::Sunken );
33 37